Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-06-2003, 12:10 PM   #1
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
php/shtml simple question

i've renamed my index file from index.shtml in to index.php but now when i want to call a file with this line:

PHP Code:
<!--#include virtual="filename.html" --> 

don't work anymore

what line should i use insted that in index.php to call the filename.html ?

Last edited by alex79; 09-06-2003 at 12:13 PM..
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-06-2003, 12:11 PM   #2
Calvinguy
Confirmed User
 
Join Date: Oct 2002
Location: European Union
Posts: 1,752
??
Calvinguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-06-2003, 12:15 PM   #3
Libertine
sex dwarf
 
Libertine's Avatar
 
Join Date: May 2002
Posts: 17,860
Quote:
Originally posted by alex79
i've renamed my index file from index.shtml in to index.php but now when i want to call a file with this line:

PHP Code:
<!--#include virtual="filename.html" --> 

don't work anymore

what line should i use insted that in index.php to call the filename.html ?
Ofcourse it doesn't work anymore. SSI != PHP

Try something like

PHP Code:
<?php
include("filename.html");
?>
__________________
/(bb|[^b]{2})/
Libertine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-06-2003, 12:17 PM   #4
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
ok punkworld.. now is work

thanks
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-06-2003, 12:19 PM   #5
AlienQ - BANNED FOR LIFE
best designer on GFY
 
AlienQ - BANNED FOR LIFE's Avatar
 
Join Date: Mar 2003
Location: IALIEN.COM - High Definition Video and Photographic Productions -ICQ 78943384
Posts: 30,307
Quote:
Originally posted by punkworld


Ofcourse it doesn't work anymore. SSI != PHP

Try something like

PHP Code:
<?php
include("filename.html");
?>
Bingo
AlienQ - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.