TimRogers Posted December 30, 2004 Share Posted December 30, 2004 (edited) I have installed Cutenews perfectly now and posted a new article. I have wrote a HTML page to get the information like this: <HTML> <TITLE> Tim Rogers Blog </TITLE> <?PHP include("/cutenews/show_news.php"); ?> </HTML> to try to do it. When I visit it, I just get a blank page. The test page is stored in http://timrogers.host-dot.com/diary and the show_news.php file is stored in http://timrogers.host-dot.com/diary/cutenews. What do I need to do? I have visited the show_news.php page, and the news is there! Edited December 30, 2004 by TimRogers Link to comment Share on other sites More sharing options...
0 TimRogers Posted December 30, 2004 Author Share Posted December 30, 2004 Please also see my web design request @ NeoRequest.net Link to comment Share on other sites More sharing options...
0 Jerry Grey Member Posted December 30, 2004 Member Share Posted December 30, 2004 Please also see my web design request @ NeoRequest.net 585196500[/snapback] Is this code in a .html file or a .php file? <HTML> <TITLE> Tim Rogers Blog </TITLE> <?PHP include("/cutenews/show_news.php"); ?> </HTML> Link to comment Share on other sites More sharing options...
0 TimRogers Posted December 30, 2004 Author Share Posted December 30, 2004 Is this code in a .html file or a .php file? <HTML> <TITLE> Tim Rogers Blog </TITLE> <?PHP include("/cutenews/show_news.php"); ?> </HTML> 585196521[/snapback] My code is in a HTML file. I'm probably wrong about that. If I am, can you give me a script that would work??? Pretty plzzzzzz! Link to comment Share on other sites More sharing options...
0 Jerry Grey Member Posted December 30, 2004 Member Share Posted December 30, 2004 My code is in a HTML file. I'm probably wrong about that. If I am, can you give me a script that would work??? Pretty plzzzzzz! 585196528[/snapback] That code is php code, and it wonldn't work in a html file... Make a new file name it "something.php" and put this code: <html> <head> <title> Tim Rogers Blog </title> </head> <body> <?php include("/cutenews/show_news.php"); ?> </body> </html> Link to comment Share on other sites More sharing options...
0 TimRogers Posted December 30, 2004 Author Share Posted December 30, 2004 When I make these in word or notepad, I can't save them as PHP files. Can you make it into one for me, or tell me software that can? Link to comment Share on other sites More sharing options...
0 The_Decryptor Veteran Posted December 30, 2004 Veteran Share Posted December 30, 2004 get rid of the slash in front of cutenews because that makes it try to find http://timrogers.host-dot.com/cutenews/show_news.php Link to comment Share on other sites More sharing options...
0 TimRogers Posted December 30, 2004 Author Share Posted December 30, 2004 I've managed to do it now! Yey! Now I need to make a layout and put that in it! Link to comment Share on other sites More sharing options...
Question
TimRogers
I have installed Cutenews perfectly now and posted a new article. I have wrote a HTML page to get the information like this:
to try to do it. When I visit it, I just get a blank page. The test page is stored in http://timrogers.host-dot.com/diary and the show_news.php file is stored in http://timrogers.host-dot.com/diary/cutenews. What do I need to do? I have visited the show_news.php page, and the news is there!
Edited by TimRogersLink to comment
Share on other sites
7 answers to this question
Recommended Posts