Consider the following form in a HTML file:
...
input type=checkbox name=box value=1
input type=checkbox name=box value=2
input type=checkbox name=box value=3
input type=checkbox name=box value=4
...
Now I'm posting this form into a PHP script. The problem is I can't change
that HTML file.
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,
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,
line3,
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?
Thanks.
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
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