Home  |  Linux  | Mysql  | PHP  | XML
From:Peter Scott Date:Tue May 27 23:04:21 2008
Subject:Re: Include PHP file inside the cgi script
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/

Navigate in group perl.beginners.cgi at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants