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
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") ;
> -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 some
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") ; $year <= date("Y") + 8 ; $year++) {
echo "$y
-
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)
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
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
hi,
i was wondering if anyone knows how i can execute a cgi script
(with -rwxrwxrwx mode) written in perl from within php?
i tried
but the content of the cgi file is displayed instead of executing it.
didn't help as well.
i also tried calling the url where this cgi is located (which is in
:[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
>
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,
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
>
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
[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
>
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
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
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,
I did some research in the archives on this, but couldn't come up with a
straight answer.
I have a CGI script that uses and HTML template/form. I would like to embed
a PHP script in the template to take some of the values of the CGI and put
them in a database. I set up the database, wrote the
17 matches
Mail list logo