|
-
Jul 11th, 2003, 08:55 AM
#1
Thread Starter
Hyperactive Member
Non Relative Includes
I want to include a file that isn't relative to my document.
for example:
PHP Code:
<!--#include file="http://www.websiteaddress.com/showpage.asp"-->
which I know doesn't work using an address that isn't relative, but what other code can I use to do this?
ASP, PHP, VB, JavaScript, CSS, HTML, a little C and a little CGI.
Richard Whitehouse.
Join the Footie Predictions League
"Make it idiot proof and someone will make a better idiot."
-
Jul 11th, 2003, 05:31 PM
#2
Addicted Member
In Perl and PHP you would use the server path
/var/www/html/include.file
instead of the browser url
http://www.websiteaddress.com/include.file
It's probably the same for ASP.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|