RE: [PHP] configuration problem?

2002-04-04 Thread Boris Wong
btw, the reason i want to use include() is that i have a cgi script under the same directory structure but i don't want to use exec() since this command can't execute the cgi well enough (for one thing, the cgi script doesn't work well when i include use warnings; or create an object) and

RE: [PHP] configuration problem?

2002-04-04 Thread Kevin Stone
/manual/en/function.system.php -Kevin -Original Message- From: Boris Wong [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 10:58 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] configuration problem? btw, the reason i want to use include() is that i have a cgi script under the same

RE: [PHP] configuration problem?

2002-04-04 Thread Boris Wong
, April 04, 2002 11:14 AM To: 'Boris Wong'; [EMAIL PROTECTED] Subject: RE: [PHP] configuration problem? I believe include() will only work if the CGI script is written in PHP. You should be able to extract the results of a foreign script by running passthru() or system(). For example if I wanted

RE: [PHP] configuration problem?

2002-04-04 Thread SHEETS,JASON (Non-HP-Boise,ex1)
that for a CGI script, the script must generate valid CGI headers. -Original Message- From: Boris Wong [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 12:53 PM To: Kevin Stone; [EMAIL PROTECTED] Subject: RE: [PHP] configuration problem? thanks for the response. i have no problem

RE: [PHP] configuration problem?

2002-04-04 Thread Kevin Stone
-Original Message- From: Boris Wong [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 12:53 PM To: Kevin Stone; [EMAIL PROTECTED] Subject: RE: [PHP] configuration problem? thanks for the response. i have no problem executing a simple perl script using passthru() or system

RE: [PHP] configuration problem?

2002-04-04 Thread Boris Wong
, April 04, 2002 1:45 PM To: 'Boris Wong'; [EMAIL PROTECTED] Subject: RE: [PHP] configuration problem? Have you tried using virtual() ? virtual() is an Apache-specific function which is equivalent to !--#include virtual...-- in mod_include. It performs an Apache sub-request. It is useful for including

RE: [PHP] configuration problem?

2002-04-04 Thread Boris Wong
[mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 2:08 PM To: 'Boris Wong'; [EMAIL PROTECTED] Subject: RE: [PHP] configuration problem? I'm more confused now than ever. Originally you wanted to execute a .CGI script (presumably a PERL script) from inside a PHP script. Now it looks like