PDA

View Full Version : including an html file .. tried everything you have here but still not showing it.


abadeno
06-02-2010, 05:06 AM
Hi guys.
I tried to include an html file
This is my file it has some javascripts and other stuff. ( http://www.se4m.com/forums/newsslider/latest.html )
I tried php include.
I tried the $html = implode('', file('./newsslider/latest.html'));
then pasted the line :$html in the header.
Also tried to do <? echo $html; ?>
Also tried the {vb:raw html}

basically I gave up..
so please help me in here.

a post from Vbulliten.com ..


http://www.vbulletin.com/docs/html/t..._externalfiles


I tried this and it did not work. I tried it before I posted.
this is what i did.
............
Created new global start plugin .. named it includedhtml then copied the code : $includedhtml = implode('', file('./newsslider/latest.html'));
then copy pasted in header the code : {vb:raw includedhtml}
............
i doesn't work .
sure something I am doing is wrong but can't know what!

abadeno
06-03-2010, 08:15 PM
fixed it THANKS

kennykre
06-03-2010, 11:23 PM
How did you fix it?

abadeno
06-04-2010, 08:05 AM
<a href="http://www.vbulletin.com/forum/showthread.php?353392" target="_blank">http://www.vbulletin.com/forum/showthread.php?353392</a>