Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
HTML include page
Name: SteveWalsh Date: July 13, 2004 at 10:32:13 Pacific OS: XP Home CPU/Ram: 2.02
Comment:
How can i include a page from a URL into an HTML document. What i'm doing is i have a site which handles my shopping cart, and i want to ingergrate that with my website better. So is there a way to place an HTML document inside of a document using the URL
Name: FBI Agent Date: July 13, 2004 at 13:17:21 Pacific
Reply:
yes, use the php functions:
include("WEB ADDRESS");
or
include_once("WEB ADDRESS");
FBI_Agent
0
Response Number 2
Name: Don Arnett Date: July 13, 2004 at 14:34:38 Pacific
Reply:
FBI
Technically speaking, your answer provides a way to include a webpage inside a PHP document, not a HTML document.
If a site doesn't support PHP, your method will not work.
Steve If PHP is not an option, you might look into the .htaccess file and 'include'. Not sure if that will help.
0
Response Number 3
Name: FBI Agent Date: July 16, 2004 at 16:18:17 Pacific
Reply:
well more than most hosts have php enabled on their servers. all except those stupid free ones like yahoo and anglefire etc. also i didnt know there was another way.
Summary: If you do use the #include virtual statement, you must name your HTML file to ".shtml". This means "server-parsed HTML". You can also include a JavaScript file (.js) that will hold the data for the bo...
Summary: This book would cover the process for you. You don't need to read the whole thing, but its very readable and well organized. PHP 4.3 is covered (PHP5 just came out, but it's mostly additions and bac...
Summary: Well, either way should work.. if you're going to check for null though, just remember not to initialize the string. Also, dont forget that your tags are basically html elements and cant be inside the...