SitePoint Sponsor |
|
User Tag List
Results 1 to 15 of 15
Thread: SSI Question !
-
Sep 2, 2000, 08:38 #1
- Join Date
- May 2000
- Location
- On some harddisk
- Posts
- 599
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
This may sound stupid to you guys but can I do SSI calls to html files on my friend's server ?
E.g <!--#include virtual="http://www.yahoo.com" -->
Can I do that ?
-
Sep 2, 2000, 09:20 #2
I have tried, tried, and tried again, and I still can't figure that out. Sorry for the bad news...
-
Sep 2, 2000, 10:07 #3
- Join Date
- Apr 2000
- Location
- Los Angeles, California
- Posts
- 1,008
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
No you can not. Very unfortunate too. Really screws things up when you want to do some special things like ad rotators.
-
Sep 2, 2000, 12:31 #4
You can with PHP using the include command!
but thats only if u have php!
-
Sep 2, 2000, 12:51 #5
Please explain...
Thanks in advanced
-
Sep 2, 2000, 12:52 #6
- Join Date
- Apr 2000
- Location
- Los Angeles, California
- Posts
- 1,008
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Really??? How?
-
Sep 2, 2000, 12:57 #7
use this command
<? include("http://www.yourdomain.com/cgi-bin/test.cgi"); ?>
example I used the php command to include a poll script from
http://www.loisandclark.net to http://www.luqman.f2s.com
It should work fine with a add script or any other script but some times you will have to change some parts!
[Edited by Luqman on 09-02-2000 at 02:01 PM]
-
Sep 2, 2000, 13:01 #8
- Join Date
- Apr 2000
- Location
- Los Angeles, California
- Posts
- 1,008
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks!
-
Sep 2, 2000, 13:02 #9
I did as you said, and when I preview it, it just comes up as text. I am not good with this stuff, so I don't know if you are supposed to put something before or after that...
-
Sep 2, 2000, 13:06 #10
The script I want is a view script I guess you could say. I want this script "http://www.superbrawl.com/cgi-bin/news-ssi2.pl" to be on my site "http://www.finheaven.com/" any ideas?
-
Sep 2, 2000, 13:11 #11
Try this
<?
include("http://www.superbrawl.com/cgi-bin/news-ssi2.pl");
?>
Make sure the script works!
-
Sep 2, 2000, 13:15 #12
- Join Date
- May 2000
- Location
- Canada
- Posts
- 533
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
this is just a newer way to slow down your site because it has to get data from a remote site !!! .. and here i am banging my head all the time trying to figure out how to make my code more efficient and speed up the process
---------------------------
( myPHPhost.com ) ( geekarea.org )
-
Sep 2, 2000, 13:25 #13
It does nothing but show a clear page...
-
Sep 3, 2000, 08:13 #14
ok i used the code above and it works look at
http://www.luqman.f2s.com
-
Sep 5, 2000, 08:58 #15
- Join Date
- Apr 2000
- Location
- Melbourne, Australia
- Posts
- 2,571
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
WebMasterAJ,
For PHP code like that above to work, you need to have PHP support installed on your Web server. Check with your ISP or Web host to see if the server you are using has PHP installed.Kevin Yank
CTO, sitepoint.com
I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
Baby’s got back—a hard back, that is: The Ultimate CSS Reference
Bookmarks