Click to See Complete Forum and Search --> : PHP+IIS5 form get works post don't
Hey what's up?
IIS and php and mysql work great until i try
to post a variable from a form.
get works
post dont
<? echo $HTTP_POST_VARS["name"] ?>
<form method=post>
<input type=text name=name>
<input type=submit>
</form>
~ O.K.
For future reference:
edit php.ini file and
set Register_globals to ON
~OK
nasser
04-03-2001, 02:28 PM
Hello Omar
I have Apache+PHP4+Mysql runing on my Win98 , I’m trying to switch to Win2K with IIS5 , Kindly let me know how can I run ASP + PHP + CGI on Win2K .
Thanx for your support
Nasser
Use ISAPI no cgi
Easy Easy
Its so easy, its so easy, its easy...
*Humming*
Dowload php for Windows
www.php.net/downloads.php
get the first one listed for win32
(3.737kb)
install that.
then
in iis manager right-click on "default web site"
(or whichever site you want to install php on.)
>select properties
>select isapi filters tab
>add > name it PHP then point Executable to the ini file. (example: c:\php\sapi\php4isapi.dll)
OK
then Home directoty tab
click configutaton
add
executable = c:\php\sapi\php4isapi.dll
extension = .php
there your done.
restart iis. (maybe)
then you can run asp or php in that website.
PHP Builder
Copyright Internet.com Inc. All Rights Reserved.