Uploading php to a server

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

parxal
New php-forum User
New php-forum User
Posts: 40
Joined: Thu Nov 07, 2002 5:58 am

Uploading php to a server

Postby parxal » Sun Dec 01, 2002 4:24 pm

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...

User avatar
WiZARD
Moderator
Moderator
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: Uploading php to a server

Postby WiZARD » Mon Dec 02, 2002 3:45 am

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" ?>

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby Oleg Butuzov » Mon Dec 02, 2002 3:59 am



Return to “PHP coding => General”

Who is online

Users browsing this forum: Bing [Bot], Google Feedfetcher and 0 guests