Re: [PHP] PHP and CGI

2009-08-20 Thread sono-io
Hi Tedd, In your .htacess file add this: # handler for phpsuexec. -- makes following prefixes considered for php SetHandler application/x-httpd-php Thanks for the code. I placed it in the .htaccess file for the output templates, but unfortunately it didn't work. It just prints ou

Re: [PHP] PHP and CGI

2009-08-19 Thread tedd
At 5:10 PM -0700 8/18/09, sono...@fannullone.us wrote: I've searched high and low for an answer to this. Hopefully someone here might know. Can PHP be used under a CGI? I tried to put the following code on one of my perl shopping cart pages but it doesn't work: "; for ($year = date("Y") ;

RE: [PHP] PHP and CGI

2009-08-18 Thread Daevid Vincent
> -Original Message- > From: sono...@fannullone.us [mailto:sono...@fannullone.us] > Sent: Tuesday, August 18, 2009 5:10 PM > To: PHP General List > Subject: [PHP] PHP and CGI > > I've searched high and low for an answer to this. > Hopefully someone > here might know. Can PHP

RE: [PHP] php and cgi

2002-04-03 Thread Boris Wong
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 10:46 PM To: Boris Wong Cc: [EMAIL PROTECTED] Subject: Re: [PHP] php and cgi On Tue, 2 Apr 2002, Boris Wong wrote: > i was wondering if anyone knows how i can execute a cgi script > (with -rwxrwxrwx mode)

Re: [PHP] php and cgi

2002-04-02 Thread Terry Carney
On Tue, 2 Apr 2002, Boris Wong wrote: > i was wondering if anyone knows how i can execute a cgi script > (with -rwxrwxrwx mode) written in perl from within php? > > i tried > > include ('mycgi.cgi'); > ?> This worked for me: ALthough I did use absolute paths in the cgi script. Regards, Te

RE: [PHP] php and cgi

2002-04-02 Thread Martin Towell
try exec() or back-ticks `` see how that goes Martin -Original Message- From: Boris Wong [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 11:54 AM To: [EMAIL PROTECTED] Subject: [PHP] php and cgi hi, i was wondering if anyone knows how i can execute a cgi script (with -rwxr

RE: [PHP] PHP and CGI

2002-02-12 Thread Job Miller
:[EMAIL PROTECTED]] > > Sent: Tuesday, February 12, 2002 3:26 PM > > To: 'hugh danaher'; [EMAIL PROTECTED]; > php > > Subject: RE: [PHP] PHP and CGI > > > > > > Good day, > > > > The php file can have whichever extension that you >

RE: [PHP] PHP and CGI

2002-02-12 Thread Darren Gamble
Sent: Tuesday, February 12, 2002 2:28 PM To: Darren Gamble; php Subject: RE: [PHP] PHP and CGI I made some time to test, and no dice. The comment doesn't seem to matter. :( Thanks, -Mike > -Original Message- > From: Darren Gamble [mailto:[EMAIL PROTECTED]] > Sent: Tuesday,

RE: [PHP] PHP and CGI

2002-02-12 Thread Michael R @ Spy
I made some time to test, and no dice. The comment doesn't seem to matter. :( Thanks, -Mike > -Original Message- > From: Darren Gamble [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 12, 2002 3:26 PM > To: 'hugh danaher'; [EMAIL PROTECTED]; php >

RE: [PHP] PHP and CGI

2002-02-12 Thread Darren Gamble
al Message- From: hugh danaher [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 1:20 PM To: [EMAIL PROTECTED]; php Subject: Re: [PHP] PHP and CGI That I know, the file with the php code needs to have the extension of .php I absolutely don't know anything about CGI, but could you some

RE: [PHP] PHP and CGI

2002-02-12 Thread SpyProductions Support Team
[EMAIL PROTECTED]] > Sent: Tuesday, February 12, 2002 3:20 PM > To: [EMAIL PROTECTED]; php > Subject: Re: [PHP] PHP and CGI > > > That I know, the file with the php code needs to have the > extension of .php > I absolutely don't know anything about CGI, but could you som

Re: [PHP] PHP and CGI

2002-02-12 Thread hugh danaher
> To: "hugh danaher" <[EMAIL PROTECTED]>; "php" <[EMAIL PROTECTED]> Sent: Tuesday, February 12, 2002 12:07 PM Subject: RE: [PHP] PHP and CGI > > No, it is in a CGI script. > > And I can't recompile PHP for cgi extensions. :( > > -Mike > &g

RE: [PHP] PHP and CGI

2002-02-12 Thread SpyProductions Support Team
No, it is in a CGI script. And I can't recompile PHP for cgi extensions. :( -Mike > -Original Message- > From: hugh danaher [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 12, 2002 2:43 PM > To: [EMAIL PROTECTED]; php > Subject: Re: [PHP] PHP and CG

Re: [PHP] PHP and CGI

2002-02-12 Thread hugh danaher
is your file extension .php? hugh - Original Message - From: "SpyProductions Support Team" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 12, 2002 11:25 AM Subject: [PHP] PHP and CGI > > I did some research in the archives on this, but couldn't come up with a > strai