[PHP] perl, cgi and php

2004-03-10 Thread Edward Peloke
Hello,

First let me say, I know very little about perl and cgi.  I have a friend
who is moving his site to a new hosting company.  One of his php pages has
the following line of code:

 ?php
virtual(./timeline/ganttChart.cgi?user={$gallery-session-username}); ?

but when the page is displayed all that shows up is the content of the .cgi
script.  Is this a configuration issue?

Thanks,
Eddie

 WARNING:  The information contained in this message and any attachments is
intended only for the use of the individual or entity to which it is
addressed.  This message may contain information that is privileged,
confidential and exempt from disclosure under applicable law.  It may also
contain trade secrets and other proprietary information for which you and
your employer may be held liable for disclosing.  You are hereby notified
that any unauthorized dissemination, distribution or copying of this
communication is strictly prohibited.  If you have received this
communication in error,  please notify [EMAIL PROTECTED] by E-Mail and then
destroy this communication in a manner appropriate for privileged
information.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] perl, cgi and php

2004-03-10 Thread joel boonstra
On Wed, Mar 10, 2004 at 04:07:28PM -0500, Edward Peloke wrote:
 First let me say, I know very little about perl and cgi.  I have a friend
 who is moving his site to a new hosting company.  One of his php pages has
 the following line of code:
 
  ?php
 virtual(./timeline/ganttChart.cgi?user={$gallery-session-username}); ?
 
 but when the page is displayed all that shows up is the content of the .cgi
 script.  Is this a configuration issue?

The new hosting company's web servers don't appear to have their servers
setup to parse *.cgi files through CGI.  They will need to fix that, or
he will need to move ganttChart.cgi into a directory that is setup to
handle CGI files -- sometimes you'll have a cgi-bin directory for this
purpose.

joel

-- 
[ joel boonstra | gospelcom.net ]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php