desperate php4 setup snafu

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
overworked1
Forum Newbie
Posts: 2
Joined: Mon Jun 10, 2002 10:30 pm

desperate php4 setup snafu

Post by overworked1 »

Here's the situation on the setup front. I'm running php4.11 on Win2K, IIS5, installed per instructions in Beginning PHP 4 (Wrox). The initial test worked fine -- phpinfo.php ran and I can echo dates -- but form handling is a complete no go and passing anything in the url does no better. Note: I have already checked the code and there are NO case-sensitivity issues.
The php.ini file points to the correct extension directory. I used the php.ini-recommended file, not the php.ini-dist.

Anybody experience this before?
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

You need to read this. I know it refers to 4.2 but the recommended ini file has some additional security features one of which is register_globals set to off.

Mac
overworked1
Forum Newbie
Posts: 2
Joined: Mon Jun 10, 2002 10:30 pm

two thumbs up!

Post by overworked1 »

Many thanks for showing me the solution! I should have dug around longer, but unfortunately my username is overworked1 for a reason.....
User avatar
fatal
Forum Contributor
Posts: 118
Joined: Sat Apr 20, 2002 10:47 am
Location: East Coast

Post by fatal »

use the php.ini-dist, and rename it to php.ini
Post Reply