Click to See Complete Forum and Search --> : php file ?


Code One
11-19-2003, 12:23 AM
does a php file have to be in a cgi-bin folder, in order to be processed by the server, and does the txt file it writes to, have to be in the same folder as the php file is in, or can it be like cgi-bin=php, textfolder=count.txt?

Thanks

Code One

Jeff Mott
11-19-2003, 09:49 PM
PHP and and CGI are unrelated technologies. And thus PHP is unrelated to the cgi-bin directory. Where a PHP file must be to be parsed depends on the server configuration, but generally it can be anywhere and write to anywhere (within your alloted area on the server that is).