RE: [PHP] PHP and CGI
| From: | SpyProductions Support Team | Date: | Tue, 12 Feb 2002 20:27:29 +0000 |
| Subject: | RE: [PHP] PHP and CGI | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84441@lists.php.net to get a copy of this message | ||
I don't know. I was thinking about breaking it off and just doing an
include like in html. I'll try it out by tomorrow morning unless someone
else has a definitive solution. :)
Thanks for the suggestion!
-Mike
> -----Original Message-----
> From: hugh danaher [mailto:hdanaher@earthlink.net]
> Sent: Tuesday, February 12, 2002 3:20 PM
> To: support@spyproductions.com; 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 somehow
> "include"
> a .php file in your script?
> ----- Original Message -----
> From: "SpyProductions Support Team" <support@spyproductions.com>
> To: "hugh danaher" <hdanaher@earthlink.net>; "php"
> <php-general@lists.php.net>
> 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
> >
> >
> > > -----Original Message-----
> > > From: hugh danaher [mailto:hdanaher@earthlink.net]
> > > Sent: Tuesday, February 12, 2002 2:43 PM
> > > To: support@spyproductions.com; php
> > > Subject: Re: [PHP] PHP and CGI
> > >
> > >
> > > is your file extension .php?
> > > hugh
> > > ----- Original Message -----
> > > From: "SpyProductions Support Team" <support@spyproductions.com>
> > > To: <php-general@lists.php.net>
> > > 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
> > > > 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 PHP, but now
> find
> > > that
> > > > the CGI script apparently won't recognize my PHP.
> > > >
> > > > Anyone have any ideas as to what I need to do?
> > > >
> > > > The CGI is a preset thing I can't re-write in PHP (at least for
> > > now). And
> > > I
> > > > don't know much CGI myself.
> > > >
> > > > Thanks!
> > > >
> > > > -Mike
> > > >
> > > >
> > > >
> > > > --
> > > > PHP General Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit:
> > > > http://www.php.net/unsub.php
> > > >
> > >
> > >
> >
> >
>