Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Aug 5th, 2006, 3:09 PM   #1
leo1502
Newbie
 
Join Date: Apr 2006
Posts: 16
Rep Power: 0 leo1502 is on a distinguished road
Problem with include

I've installed an apache server on my computer so I can learn and run some php.

I'm trying the following :

<?php

/**
 *
 *
 * @version $Id$
 * @copyright 2006
 */

echo "test one<br>";
include "sample.shtml";
//include ("http://www.google.com/index.html");
?>

and I get:
Warning: Failed opening 'http://www.google.com/index.html' for inclusion (include_path='.;C:/phpdev/php/includes;C:/phpdev/php/class') in c:\phpdev\www\index.php on line 12

It seems it won't include anything from the web.

What could be the problem?

Thanks.
leo1502 is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
having problem with data not saving to a file codylee270 C++ 5 Apr 13th, 2006 7:39 PM
Dev-C++ - #include .cpp/.h files Cache C++ 5 Nov 25th, 2005 11:34 AM
Help! I have a problem thomas55 C++ 1 Apr 24th, 2005 1:16 PM
Problem with #include <linux/sched.h> linusoft C++ 1 Mar 28th, 2005 3:13 AM
string problem when passing in linked list quantz C++ 0 Feb 27th, 2005 10:11 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:01 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC