I've written a small freeware script that gets installed on a variety of
different platforms running various PHP versions.
I've read through the manual about the super global arrays and how post and
get vars are no longer registered by default, but am confused about when it
would be a good idea t
Does anyone know what encryption is used on passwords in a .htpasswd file?
Zim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
My web host has just upgraded to PHP 4.20. My MySQL database is full of
session_encoded fields, but since the upgrade I can no longer session_decode
them.
After doing phpinfo I find the following settings ...
register_argc_argvon on
register_globals on on
I've been thr
I've been trying to open and end some of the ascii portions of Quark Express
binary files, (I'm using PHP4 on MacOSX, the quark files are OS9 files).
Even if I make the simplest eregi_replace () having done ...
$fd = fopen ($file, "rb+");
$contents = fread ($fd, filesize ($file));
fclose ($fd);
I know that if you call a page like this ...
http://www.domain.com/index.php?thisvar=1&thatvar=2
... that you get $thisvar and $thatvar to use in your script, but exactly
what conditions are necessary for a "POST" and "GET" to be passed as
variables into the PHP engine. I presume that there is
How do you fetch posted form variables from a request that does not have
content type in the headers? I mean, instead of having Content-Type:
x-www-form-urlencoded or something similar, there is nothing - just the raw
data. How can I parse that?
Regards
SImon
--
PHP General Mailing List (http
Thanks Dan, but I don't think I'm explaining well.
Submitting that form will produce, from most browsers, a request that has in
one of it's headers:
content-type: x-www-form-urlencoded
... the variable $Foo will automatically be available within PHP for use in
any script that form is directed t
w.php.net/getallheaders
>
> ---John Holmes...
>
>> -Original Message-
>> From: Simon Troup [mailto:[EMAIL PROTECTED]]
>> Sent: Friday, May 31, 2002 8:23 PM
>> To: [EMAIL PROTECTED]
>> Subject: Re: [PHP] Form content type missing, how to fetch variables
I would ask the question "How much HTML before you break out of PHP and into
HTML". My answer is "any". Surely you're making the engine work just to echo
stuff out? But are you asking for more by making it jump in and out between
all those tags?!
Short tags ...
... easier to read in Mixed? I t
9 matches
Mail list logo