PHP and Apache on Win 2k Profeesional
Moderator: General Moderators
PHP and Apache on Win 2k Profeesional
Ok,
I made a simple login script and installed newsPHP after following the directions to install php 4.2.2 on a win32 Apache machine. For some reason, it will not execute the scripts. I click 'Submit' and it just clears the fields again not executing at all. I referred to my php script book and carefully checked the code to make sure i was coding my login script properly, and I was...so what is up? Is it a chmod thing? If so, how do I chmod stuff from my own machine that my webserver (Apache 1.3.26) is on? Please help with these problems I am having...I am soo frustrated...thanx!
I made a simple login script and installed newsPHP after following the directions to install php 4.2.2 on a win32 Apache machine. For some reason, it will not execute the scripts. I click 'Submit' and it just clears the fields again not executing at all. I referred to my php script book and carefully checked the code to make sure i was coding my login script properly, and I was...so what is up? Is it a chmod thing? If so, how do I chmod stuff from my own machine that my webserver (Apache 1.3.26) is on? Please help with these problems I am having...I am soo frustrated...thanx!
Oh yea one more thing...
I can't seem to get apache to parse cgi scripts either, which by default, it should do...just a note if that helps with my php issues. I can parse and view php web pages...for somereason the sripts will not work and i am stumpped.
ok, you tried as script on your apache and you saw the php credits?
next test may bedoes this print the content of the last text you submitted?
Code: Select all
<?php phpinfo(); ?>next test may be
Code: Select all
<html><body>
<form action="POST">
<input type="text" name="testfield" />
</form>
<pre>
<?php print_r($_REQUEST); ?>
</pre>
</body></html>Yes it did
..It posted a text entry box field then under that it had
'Array
(
)'
so wtf?
its killing me weird problem....
'Array
(
)'
so wtf?
Ok...it didnt work
quote: NOT Found
the requested url/post was not found on this server
now what...?
can you help?
the requested url/post was not found on this server
now what...?
can you help?
ok NOW it w0rx
it returned my text entered in the field...and i installed php as sapi module
ok.
I assume you're using a session to maintain user login data and your php.ini contains session.save_handler = files and session.save_path = <path> is not too badly malformed (
)
next thing: have you read the sticky posts?
does your php-book refer to php-version < 4.1 and is using $test instead of $_POST['test']?
I assume you're using a session to maintain user login data and your php.ini contains session.save_handler = files and session.save_path = <path> is not too badly malformed (
next thing: have you read the sticky posts?
does your php-book refer to php-version < 4.1 and is using $test instead of $_POST['test']?
the change started on version 4.1 and has more radical impact since 4.2.
please read this thread . does it cover your problem?
please read this thread . does it cover your problem?
yes thanx!
so if i turned that stuff to on in php.ini would it then work?
because some of the scripts are dl-ed programs, so changing the php syntax may not work
What do you think?
because some of the scripts are dl-ed programs, so changing the php syntax may not work
What do you think?
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK