Skinbase.org Skinbase.org

SSI include on html pages?

By david_ll
556 views 25 replies
david_ll avatar
david_ll
Member
OP
Nobody knows how to do this?
peter_vazed avatar
peter_vazed
Member
What is the php code of the test3.php? <br /> <br />The link hast to show test3.php with the action and news id. <br /> <br />:car
david_ll avatar
david_ll
Member
I did save the same file, test3.php as a text file (test3.txt). And i uploaded it directly with ftp in ascii mode. I don&acute;t know how to get the code of the page to show, instead of the output? <br /> <br />
david_ll avatar
david_ll
Member
I did save the same file, test3.php as a text file (test3.txt). And i uploaded it directly with ftp in ascii mode. I don&acute;t know how to get the code of the page to show, instead of the output? <br /> <br />
peter_vazed avatar
peter_vazed
Member
Mmmmmmmmm <br />lets try this.... <br />zip the test3.php file <br />upload, give the link, so i can download it. <br /> <br />Or mail it: <br />dvz@zeelandnet.nl <br /> <br /> <br />:car
david_ll avatar
david_ll
Member
I did save the same file, test3.php as a text file (test3.txt). And i uploaded it directly with ftp in ascii mode. I don&acute;t know how to get the code of the page to show, instead of the output? <br /> <br />
david_ll avatar
david_ll
Member
Re: <br /> <br />&quot;What is the php code of the test3.php?&quot; <br /> <br />That can be found here: <br />http://www.terrorists-are-cowards.com/test3.php <br /> <br />This is the php script itself, not the page with the iframe call up code. Before I build the iframe include, i wanted to get the scrolling news box to show the actual current news first. If i can get the scroller to show the right news, then I will work on the iframe call up.
peter_vazed avatar
peter_vazed
Member
Yes, i know. <br />But upload it as txt file, then i can see the real php code. <br /> <br /> <br />:car
david_ll avatar
david_ll
Member
Re: <br /> <br />&quot;What is the php code of the test3.php?&quot; <br /> <br />That can be found here: <br />http://www.terrorists-are-cowards.com/test3.php <br /> <br />This is the php script itself, not the page with the iframe call up code. Before I build the iframe include, i wanted to get the scrolling news box to show the actual current news first. If i can get the scroller to show the right news, then I will work on the iframe call up.
david_ll avatar
david_ll
Member
Peter, <br /> <br />&quot;where is your sitename?&quot; <br /> <br />public_html is the public root of our server. Then of course, the magazine directory name is: NWO_Magazine <br /> <br /> <br />&quot;In the original webmagazine: is ithe scrolling news working?&quot; <br /> <br /> Yes, it is working fine. <br /> <br />
peter_vazed avatar
peter_vazed
Member
In a html page you cannot include. <br /> <br />If you rename the hml extention to php? <br /> <br />Do you know this forum: www.htmlforums.com ? <br />Think Scoutt could help you. <br />Visit the &quot;Html Pagelayout&quot; <br />or <br />&quot;Server side Programming&quot; then at the top &quot;PHP Programming&quot; <br /> <br /> :fighter
david_ll avatar
david_ll
Member
Peter, <br /> <br />&quot;where is your sitename?&quot; <br /> <br />public_html is the public root of our server. Then of course, the magazine directory name is: NWO_Magazine <br /> <br /> <br />&quot;In the original webmagazine: is ithe scrolling news working?&quot; <br /> <br /> Yes, it is working fine. <br /> <br />
david_ll avatar
david_ll
Member
Peter, <br /> <br />&quot;where is your sitename?&quot; <br /> <br />public_html is the public root of our server. Then of course, the magazine directory name is: NWO_Magazine <br /> <br /> <br />&quot;In the original webmagazine: is ithe scrolling news working?&quot; <br /> <br /> Yes, it is working fine. <br /> <br />
david_ll avatar
david_ll
Member
Peter, I am still working at trying to get this code to work. The scrolling news box is showing up ok in a php page I made, but I still cannot get the news inside the box to reflect the actual news on our site. <br /> <br />Would you take a look at the page, and it&acute;s source? <br />http://www.terrorists-are-cowards.com/test3.php <br /> <br />What do I need to do to the code to make it read the actual news on our site? <br /> <br />Thank you again...
peter_vazed avatar
peter_vazed
Member
Link and root <br />you have: <br />a href=\&quot;/public_html/NWO_Magazine/news.php?action=show <br />in my code it is: <br />a href=\&quot;/vazed/webmagazine/test_scrolling_news5.php? <br /> <br />where vazed is my sitename <br />where is your sitename? <br /> <br />In the original webmagazine: is ithe scrolling news working? <br />Not here: http://www.terrorists-are-cowards.com/NWO_Magazine/ <br /> <br /> <br /> <br /> :car
david_ll avatar
david_ll
Member
Peter, I am still working at trying to get this code to work. The scrolling news box is showing up ok in a php page I made, but I still cannot get the news inside the box to reflect the actual news on our site. <br /> <br />Would you take a look at the page, and it&acute;s source? <br />http://www.terrorists-are-cowards.com/test3.php <br /> <br />What do I need to do to the code to make it read the actual news on our site? <br /> <br />Thank you again...
david_ll avatar
david_ll
Member
Thank you so much! <br /> <br />I went to &quot;Update with iframe&quot; your scrolling_news_test5 page, and I copied your source code. I put together my own test page. The scrolling news box did show up in that page, but it was showing the headlines that you had put in. I changed the code to match my own links and paths, but your headlines were still scrolling in the box. <br /> <br />Then I saw a place in the code, where the text said exactly what was scrolling in the box. <br /> <br />From there, I gave up, because I realized that it wasn&acute;t picking out the news stories from my site, and I didn&acute;t know how to make it pick them out. <br /> <br />I will mess around with it some more ( i am a persistant cuss!). But I may come to you at a future time and ask you to set it up for me on my site. Would be happy to pay you for it of course :-)
peter_vazed avatar
peter_vazed
Member
My news? <br />Then you have the link to my site. And yes, this is in the iframe. <br /> <br />So: <br />Get this file: <br />http://members.lycos.nl/vazed/webmagazine/test_scrolling_news5.txt <br />it is the txt file <br />Rename to php <br />upload to the folder where newsmanger is. <br />Then View Source of the html page where the iframe is apart of: <br />http://members.lycos.nl/vazed/webmagazine/scrolling_news_test5.html <br />COPY the code and in the iframe the src has to be yours php file scrolling_news. <br /> <br />gts <br />Peter V <br /> <br /> <br /> <br /> :car
david_ll avatar
david_ll
Member
Thank you so much! <br /> <br />I went to &quot;Update with iframe&quot; your scrolling_news_test5 page, and I copied your source code. I put together my own test page. The scrolling news box did show up in that page, but it was showing the headlines that you had put in. I changed the code to match my own links and paths, but your headlines were still scrolling in the box. <br /> <br />Then I saw a place in the code, where the text said exactly what was scrolling in the box. <br /> <br />From there, I gave up, because I realized that it wasn&acute;t picking out the news stories from my site, and I didn&acute;t know how to make it pick them out. <br /> <br />I will mess around with it some more ( i am a persistant cuss!). But I may come to you at a future time and ask you to set it up for me on my site. Would be happy to pay you for it of course :-)
peter_vazed avatar
peter_vazed
Member
david_ll avatar
david_ll
Member
Ok, thank you. I went over there and they showed me how to use iframe code. But I need to know the exact name of the scrolling newsticker itself. I am unsure of what I am trying to call up. I tried linking the iframe to several files in newsmanager, but so far, I cannot find the right one. <br /> <br />In newsmagazine, in the index.php, i found the bit of code: ShowScrollNews(8,3000,140,120,1) But still cannot find that scrolling news box. <br /> <br />Please advise me as to the exact name of the scrolling news box. <br /> <br />Thanks!

Edited

david_ll avatar
david_ll
Member
Ok, thank you. I went over there and they showed me how to use iframe code. But I need to know the exact name of the scrolling newsticker itself. I am unsure of what I am trying to call up. I tried linking the iframe to several files in newsmanager, but so far, I cannot find the right one. <br /> <br />Please advise me as to the exact name of the scrolling news box. <br /> <br />Thanks!
Sign in to post a reply.