Consider the following form in a HTML file:
...
...
Now I'm posting this form into a PHP script. The problem is I can't change
that HTML file. Which means I can't modify the code above into PHP prefered
style:
...
So, how can I get the correct values of the checkbox? $_REQUEST['box'] i
Just edit your 'php.ini' file, if 'register_globals = Off', then set it to
On. It will solve a lot of problems if you are learning PHP from examples.
"Breno Cardoso Perucchi" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> Do you have an example?
>
> Tha
Well, this is exactly what function file() does.
"David Christensen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> When PHP reads from a file using fgets(), does it do it in order?
> Meaning, when reading STDIN from a file, does it read line1, then line2,
> l
If you encounter any problem with session variables, it may not caused by
session. An important change between 4.2.0 or above and versions below is
that the 'register_globals' directive will be set Off by default in
'php.ini' file. So you can't access session variables (e.g. $var) directly,
inst
Great! The sample code in the manual looks much better.
But I feel the function definition is not so visible. I almost didn't find
it when I first look at the manual. I think add a blank line before and
after function definition or use a special color could be better.
"Gabor Hojtsy" <[EMAIL PR
I'm using IE6 under WinXP, I've encountered all the three known bugs in
Sample7. The third one is really unacceptable.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How do I customize the User-Agent when using fopen() or file() to open a
remote file?
PHP use "PHP/4.2.3-dev" on my system as the User-Agent when I using file()
function to retrive a remote file. Howerver, some servers will refuse to
serve browsers other than Mozilla compatible and return a 403
7 matches
Mail list logo