Hi,
>
> IIRC if you unset $_SERVER['PHP_AUTH_USER'] and
> $_SERVER['PHP_AUTH_PW'] it will log you out.
I've done some research on this in the past - and not all browsers/web servers
honour that as it's the browser that keeps the username/password cached and
sends it after a 401 response, so th
On Fri, Nov 27, 2009 at 12:12 AM, Ashley Sheridan
wrote:
> Hi all,
>
> I've got a site set up that is using an htaccess file to provide secure
> access to a directory. That is working fine. What I wondered was, is
> there a way to log out via PHP. As I understand it, the login mechanism
> is part
So here is my final test code, notice the check for ' ' in the if.
Since I'm on Linux, this has to do with whats between the last LF and
EOF which is nothing but this nothing will get printed out.
$file = fopen("somefile.txt", "r");
while (! feof($file))
{
$names = trim(fgets(
On Wed, Nov 25, 2009 at 3:01 PM, Allen McCabe wrote:
> *Warning*: Unknown: Your script possibly relies on a session side-effect
> which existed until PHP 4.2.3. Please be advised that the session extension
> does not consider global variables as a source of data, unless
> register_globals is enabl
Acce dot ssRx pro ap vides Men’s He gbh alth prod ak ucts to tr vr eat ere zee
ctile dysf ltm unction (ED). Cho ge ose from all three FD xpq A-appr cz oved ED
pres uq crip ac tion medi gd cations: Via ff gra, Cia iad lis and Lev ja itra.
Only a small per id cent og age of men seek help for ED, a
On Thu, 26 Nov 2009 13:09:48 +1030
James McLean wrote:
> On Thu, Nov 26, 2009 at 11:50 AM, wrote:
> >
> > Has anyone done any work towards packaging of PHP in a manner
> > similar to jar or eggs? I was working on a project the other day
> > with a lot of class files and thought this would be a
I was thinking that if notepad can open it correctly it has headers - but
the link you gave clarify that, my bad.
2009/11/26 Nisse Engström
> On Thu, 26 Nov 2009 15:39:04 +0200, דניאל דנון wrote:
>
> > If windows notepad can detect encoding there must be a way to do it
> > yourself.
> >
> > Mayb
On Thu, 26 Nov 2009 15:39:04 +0200, דניאל דנון wrote:
> If windows notepad can detect encoding there must be a way to do it
> yourself.
>
> Maybe try to get the file's headers, I think it should also contain the
> encoding of the file...
Plain text files don't have any headers. Perhaps they use
Hi all,
I've got a site set up that is using an htaccess file to provide secure
access to a directory. That is working fine. What I wondered was, is
there a way to log out via PHP. As I understand it, the login mechanism
is part of Apache, so I guess what I'm really asking is, is there a way
that
On Thu, 2009-11-26 at 15:39 +0200, דניאל דנון wrote:
> If windows notepad can detect encoding there must be a way to do it
> yourself.
>
> Maybe try to get the file's headers, I think it should also contain the
> encoding of the file...
>
> 2009/11/26 Nitsan Bin-Nun
>
> > Someone have already
If windows notepad can detect encoding there must be a way to do it
yourself.
Maybe try to get the file's headers, I think it should also contain the
encoding of the file...
2009/11/26 Nitsan Bin-Nun
> Someone have already suggested it but I haven't tried it yet.
>
> The thing is that right now
Hi All,
I am implementing the web service through PHP SOAP library.
Actually I want to return the object to the client through web service so
that client can call all the methods of that object.
Please help me out.
Regards,
Manoj
Someone have already suggested it but I haven't tried it yet.
The thing is that right now it contains Hebrew, but tommorrow this file will
be in German or any other accented language.
I'm trying to create a function which would detect the encoding and convert
it into UTF8.
(I don't have much expe
Jonathan Tapicer wrote:
> I also recommend dokuwiki (with a k, not c :) ):
> http://www.dokuwiki.org/
I will add just my 2 cts to that. I have used several wikis but I always
come back to DokuWiki. Among other things that I like about it, like
plugins, is the fact that it is file based. It can
On Thu, 26 Nov 2009 06:55:31 +0200, Nitsan Bin-Nun wrote:
> Hi,
>
> I have been trying for the last couple of hours to determine the
> encoding of a text file (.txt in windowz).
>
> I have this code:
>
> $contents = file_get_contents($config['
> txt_dir'] . $file);
> $encoding =
Skip Evans wrote:
Hey all,
Thanks much for the recommendations. I'll check them out.
We don't need fine grained control over access; basically admins that
can modify content and the public who cannot.
But right now DocuWiki is sounding good, and I'd rather, for some
strange reason, not use
16 matches
Mail list logo