|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Alternative to iframe
Is there an alternative to the iframe tag for allowing people who don't have PHP installed to "include" a PHP script that outputs HTML?
For example, let's say I have a PHP script that outputs a table that has the 5 latest code samples from my Web site, and an image that links back to my site. How could I, without using an iframe, allow my users to put this table on their own Web sites? |
|
#2
|
|||
|
|||
|
RE: Alternative to iframe
Your users need some scripting language installed that can deal with XML or SOAP. So, basicly, your script has to generate an XML file. A script on a server of your user has to process that file
If that's not an option, only (i)Frames can be used... |
|
#3
|
|||
|
|||
|
RE: Alternative to iframe
you can use javascript
|
|
#4
|
|||
|
|||
|
RE: Alternative to iframe
Is there a way to have a javascript file grab the contents of a remote PHP script (that has been executed, so it is really just HTML), and document.write the contents of it into the current page?
|
|
#5
|
|||
|
|||
|
RE: Alternative to iframe
sure. just put this in html page
Code:
<script language="JavaScript" src="http://www.yoursite.com/script.php" type="text/javascript"></script> and in script.php echo smth like this: |
|
#6
|
|||
|
|||
|
RE: Alternative to iframe
Thanks. That's just what I was looking for.
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > Alternative to iframe |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|