Re: CGI BIN PHP

From: Date: Wed, 21 Feb 2001 22:02:01 +0000
Subject: Re: CGI BIN PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-41066@lists.php.net to get a copy of this message
hehehehe...exact same host....ill try that out tonight...as a side note have you been experiencing some problems lately with responsiveness from the server...i dont know if u r on the same one as me (ZEUS) but I was just curious...ive noticed some "issues" as of later.. When You Compensate For A Lack Of Skill By Doubling Your Efforts, There's No End To What You Can't Do. ----- Original Message ----- From: "Hrishi" <hrishi@mediaibc.com> To: <cguilette@att.net>; <php-general@lists.php.net> Sent: Wednesday, February 21, 2001 4:01 AM Subject: Re: [PHP] CGI BIN PHP > hey, > > don't go bald yet :) > > my web host (communitech.net) has the same setup... is that where you're > hosted ? > > i have a script called 'php4.cgi' in my /cgi-bin which contains: > > #!/bin/sh > #echo -e "Content-type: text/plain\n\n"; > #set > SCRIPT_NAME=$REDIRECT_URL;export SCRIPT_NAME; > SCRIPT_FILENAME=$PATH_TRANSLATED;export SCRIPT_FILENAME; > /bin/php4; > #set > the #ed out commands are for debugging you may not need them. > my .htaccess in the documentroot contains : > > Action application/x-php4-script "/cgi-bin/php4.cgi" > AddHandler application/x-php4-script php > > > > i hope you can use this. > if you have any other problems, reply to the list because i'm sure more > people can use this 'technique'. its still under testing, (i made it 2 days > ago) so if there are any changes i need to make, i'll post it here. > > cheers, > hrishi > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > >

« previous php.general (#41066) next »