My web server provider tell me to put my http pages in WWW directory and to put php pages in CGI directory, i have done this. but php pages are not working, not being find.
i made the code like -> form action="mail.php"
is this correct? or i have to put something like that action="//cgi/mail.php"??
cgi and www folder are in the root of the server...
Uploading php to a server
Moderators: egami, macek, gesf
- WiZARD
- Moderator
- Posts: 1240
- Joined: Thu Jun 20, 2002 10:14 pm
- Location: Ukraine, Crimea, Simferopol
- Contact:
parxal wrote:My web server provider tell me to put my http pages in WWW directory and to put php pages in CGI directory, i have done this. but php pages are not working, not being find.
i made the code like -> form action="mail.php"
is this correct? or i have to put something like that action="//cgi/mail.php"??
cgi and www folder are in the root of the server...
Yes, if yor ISP say what all scrips need place in CGI-BIN dir you need place all your's PHP-script into this dir and need may link only at this dir
Code: Select all
action="www.myserver.com/cgi/mail.php" ?>
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";


-
- Last Samuray
- Posts: 824
- Joined: Sun Jun 02, 2002 3:09 am
try to go to your script http://www.domain.com/cgi-bin/mail.php