Re: Include(remote HTML file) doesn't work since upgrade

From: Date: Fri, 25 Jul 2003 15:29:01 +0000
Subject: Re: Include(remote HTML file) doesn't work since upgrade
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-156882@lists.php.net to get a copy of this message
"Police Trainee" <policetrainee@yahoo.com> wrote in message news:20030725143730.49499.qmail@web11702.mail.yahoo.com... > Warning: main(http://143.43.222.103/sga) > [function.main]: failed to create stream: Invalid > argument in > /hsphere/local/home/domain/mydomain.com/includesite.php > on line 2 > > Warning: main() [function.main]: Failed opening > 'http://143.43.222.103/sga' for inclusion > (include_path='.:/usr/local/lib/php') in > /hsphere/local/home/domain/mydomain.com/includesite.php > on > line 2 > Ok - this is kinda weird, but I got it to work on my machine after getting the same error. I tried including a page off a different server and it worked just fine. So I started messing around and got the following to work for the page you're trying to include: include('http://wiu.edu/SGA/'); Of course, the graphics don't show... Don't ask me why that works instead, but it does for me. Give it a shot. -- Rob > > > What happens when you try to include it? Is there > > an error? > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com

« previous php.general (#156882) next »