RE: [PHP] configuration problem?

From: Date: Thu, 04 Apr 2002 17:57:58 +0000
Subject: RE: [PHP] configuration problem?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-91562@lists.php.net to get a copy of this message
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 including the cgi script won't execute it so this won't work. i'm thinking of including the cgi script via http like: include ('http://www.myurl.com/hello.cgi') but the browser keeps on loading the page and returns a blank page eventually. contrastly, including a cgi script from other domains works just fine. /bw -----Original Message----- From: Boris Wong [mailto:borisw@amazon.com] Sent: Thursday, April 04, 2002 9:32 AM To: php-general@lists.php.net Subject: [PHP] configure problem? 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 include any file located in the same directory structure of itself? or is it more like a configuration problem? here's my configure command from phpinfo(), if this helps: './configure' '--prefix=/opt/third-party/depot/Linux-2.2c2.1-i686/php-4.0.5' '--with-apache=/workplace/dpd/btp/apache_1.3.20' '--enable-bcmath' '--with-config-file-path=/opt/third-party/depot/Linux-2.2c2.1-i686/php-4.0.5 /lib' '--enable-exif' '--enable-track-vars' '--with-calendar=shared' '--enable-safe-mode' '--enable-magic-quotes' '--enable-trans-sid' '--enable-wddx' '--enable-ftp' '--with-ldap' thank you! /bw -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#91562) next »