[PHP] configure problem?

2002-04-04 Thread Boris Wong
hi, got a question on the usage of include: when i do something like this: ? include('http://www.myurl.com'); ? where my php file is located under the same directory structure of www.my.url.com, the browse seems keep on loading until it returns a blank page. does this mean that php can't

RE: [PHP] configuration problem?

2002-04-04 Thread Boris Wong
works just fine. /bw -Original Message- From: Boris Wong [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 9:32 AM To: [EMAIL PROTECTED] Subject: [PHP] configure problem? hi, got a question on the usage of include: when i do something like this: ? include('http://www.myurl.com

RE: [PHP] configure problem?

2002-04-04 Thread Boris Wong
that the 'Virtual Directory Support' is disabled. thought this could be the root of the problem? /bw -Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 04, 2002 10:10 AM To: Boris Wong Cc: [EMAIL PROTECTED] Subject: Re: [PHP] configure problem? On Thu, 4

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 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

RE: [PHP] php and cgi

2002-04-03 Thread Boris Wong
execution failed in /[dir-path]/index.php on line 71 any more clues? thanks! /bw -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 10:46 PM To: Boris Wong Cc: [EMAIL PROTECTED] Subject: Re: [PHP] php and cgi On Tue, 2 Apr 2002, Boris Wong

[PHP] php and cgi

2002-04-02 Thread Boris Wong
hi, i was wondering if anyone knows how i can execute a cgi script (with -rwxrwxrwx mode) written in perl from within php? i tried ?php include ('mycgi.cgi'); ? but the content of the cgi file is displayed instead of executing it. ?php system ('mycgi.cgi'); ? didn't help as well. i also