Jump to content


Photo

virtual() function disabled, need suggestions


  • Please log in to reply
1 reply to this topic

#1 yock

yock
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 25 August 2006 - 06:53 PM

Hi all,
I am running PHP5 on an Apache server and the PHP is run as CGI. My host has disabled the virtual() function for security reasons. What I need to do is include a CGI script from within my PHP files. I dont have the option to use an shtml page due to the configuration of my site. I would prefer to somehow include the CGI script in the PHP files. Thanks for the help.
-Yock

#2 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 25 August 2006 - 06:57 PM

How would you normally go about including a CGI script?  If you're looking for a way to call a script from PHP, I'd suggest looking at the filesystem functions which allow you to make command-line type calls.

Info: PHP Manual





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users