NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Inserting the html code of 1 document into another

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 09-24-2005, 02:03 AM THREAD STARTER               #1 (permalink)
Senior Member
 
JoshHendo's Avatar
Join Date: Apr 2005
Location: Australia
Posts: 1,092
JoshHendo is a jewel in the roughJoshHendo is a jewel in the roughJoshHendo is a jewel in the rough
 



Inserting the html code of 1 document into another


I am designing a text exchange, and i want to put the HTML code of 1 document (show.php) into another document (the persons website). I have php code in that document that exports some javascript code into the source code, but not into the actual document.

<SCRIPT language="JavaScript" src="http://example.com/show.php"></script>

Does not work becuase the javascript code is in the source code, and i think that only works with .js files.It would be great if someone could tell me what to do
__________________
:bingo: :kickass: :lala: :notme: :great: :gn:
JoshHendo is offline  
Old 09-24-2005, 08:09 AM   #2 (permalink)
Senior Member
 
nasaboy007's Avatar
Join Date: Jul 2005
Location: NJ
Posts: 1,219
nasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud ofnasaboy007 has much to be proud of
 



PHP Code:
<?php include('http://www.example.com/show.php'); ?>

????: NamePros.com http://www.namepros.com/programming/126177-inserting-html-code-1-document-into.html
simple as that
Last edited by nasaboy007; 09-24-2005 at 08:12 AM.
nasaboy007 is offline  
Old 09-24-2005, 11:02 PM THREAD STARTER               #3 (permalink)
Senior Member
 
JoshHendo's Avatar
Join Date: Apr 2005
Location: Australia
Posts: 1,092
JoshHendo is a jewel in the roughJoshHendo is a jewel in the roughJoshHendo is a jewel in the rough
 



Originally Posted by nasaboy007
PHP Code:
<?php include('http://www.example.com/show.php'); ?>

simple as that
Needs to be javascript, or at least NOT php, it can be anything else, because it is a text exchange (as apposed to a banner exchange)......
__________________
:bingo: :kickass: :lala: :notme: :great: :gn:
JoshHendo is offline  
Closed Thread


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Various names - AngloSaxons.info... Catsse Domains For Sale - Make Offer 0 09-14-2005 06:49 PM
[NEEDED] Slicing & Html Code + CSS. ASAP happyyo Web Development Wanted 3 04-26-2005 10:41 AM
Offer your own branded comprehensive FTP/HTML Editing Studio for $35.00(one time fee) jj2ii3344 For Sale / Advertising Board 5 05-19-2004 03:27 PM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 05:31 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger