Re: Include PHP file inside the cgi script

[email protected] (Peter Scott)
Newsgroups perl.beginners.cgi
Organization Pacific Systems Design Technologies
Message-ID <[email protected]>
On Mon, 26 May 2008 09:47:09 +0530, sivasakthi wrote:
> Is it possible to include php file inside the cgi script??
> 
> I need defined php variable (from php files) inside the cgi script.. 
> 
> how can i achieve that??

Read the PHP file in as ordinary text, look for the variable definition,
parse out the value assigned.  Assuming it's a straightforward variable =
value statement.  If it's computed in some way, that won't work.

-- 
Peter Scott
http://www.perlmedic.com/
http://www.perldebugged.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.