Results 1 to 4 of 4
I need to figure out the translation of a asp tag to a php one, if possible.
I want to enclose another web site page into one of my tables.
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-05-2003 #1Linux Engineer
- Join Date
- Mar 2003
- Location
- U.S.A.
- Posts
- 1,025
asp to php conversion
I need to figure out the translation of a asp tag to a php one, if possible.
I want to enclose another web site page into one of my tables.
I could use
What is the PHP way of doing this?
or could I use a frameset within a table like:
<frameset>
<frame src="http://www.domain.com/stuff.html">
</frameset>Dan
\"Keep your friends close and your enemies even closer\" from The Art of War by Sun Tzu\"
- 12-05-2003 #2Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
with php to include a file:
Code:<? require("filename.php"); ?>
- 12-05-2003 #3Linux Engineer
- Join Date
- Mar 2003
- Location
- U.S.A.
- Posts
- 1,025
so to include a file like a pdf it would just be:<? require("filename.php"); ?>
If the file is on another site would it be:<? require(filename.pdf"); ?>
This linking a article from another site within my sites table is what I'm trying to do.<? require(http://www.domain.com/filename.pdf"); ?>Dan
\"Keep your friends close and your enemies even closer\" from The Art of War by Sun Tzu\"
- 12-10-2003 #4Linux Guru
- Join Date
- Apr 2003
- Location
- London, UK
- Posts
- 3,284
AFAIK it cannot be done like that. Require() is for local file only.
Originally Posted by flw
Make a hyperlink "Download Here!" and get the user to get it that way.
Jason


Reply With Quote
