faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

8 of 16 people (50%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

How can i include a PHP PAGE on a non-php server?... I mean i want include a SIMPLE php page...

Mar 15th, 2008 18:10
ha mo, Articles Hosting, Louis Brown, Pierre MARTIN,


1 option - Use javascript.
<SCRIPT LANGUAGE="JavaScript" SRC="http://www.domain.net/feed.php"> 
<SCRIPT>
In your "feed.php" file write out the php variables as you would in 
javasript.
for example:
document.write("$var1 <BR>");
document.write("$var2 <BR>");
document.write("$var3 <BR>");
document.write("$var4 <BR>");
This will render the php include as a normal js file.
======
you can use javascript.
http://americanahost.com
http://www.qwesz.com
http://www.tantofa.com
http://www.fantofa.com
http://www.mantofa.com
http://www.tanpola.com
http://www.tampola.com
http://www.mozmar.com
http://www.yamot.com
http://www.templatestemp.com