Page 1 of 1

Can I have help fixing my code?

Posted: Mon Jan 01, 2007 6:19 pm
by neal41835
feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


Here is my index.php:

Code: Select all

<!--

NOTICE:
ANYTHING INSIDE OF THESE ARROWS TELLS YOU WHAT SOMETHING DOES AND HOW TO EDIT IT! EZ-EDIT!

-->

<HTML>
<HEAD><TITLE>Poker Chips Store: Great Prices</TITLE>
</HEAD>
<BODY MARGINHEIGHT="0" MARGINWIDTH="0" LEFTMARGIN="0" RIGHTMARGIN="0" TOPMARGIN="0" BOTTOMMARGIN="0">
<TABLE BORDER="0" ROWS="3" WIDTH="100%" CELLSPACING="0">
<?php include "top-menu.php"; ?>

<!--
OPEN THE FILE CALLED "top-menu.php" TO EDIT THE MENU AND LINKS!
-->

<?php include "categories.php"; ?>

<!--
OPEN THE FILE CALLED "categories.php" TO EDIT THE LINKS AND TEXT
TO THE TABLE LOCATED TO THE LEFT ON THE FRONT PAGE!
-->

</TD>
<td valign="top">
<table border="0" align="center" cellspacing="0">
<td>
<?php include "main-text.php"; ?> 

<!-- 
OPEN THE FILE CALLED "main-text.php" AND EDIT THE TEXT IN THERE AND IT WILL CHANGE THE
TEXT THAT IS ON THE FRONT PAGE!
-->

</td></table>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
Why won't this load? It becomes: http://neal41835.freepgs.com/pokerchips ... blic_html/ (I have all the files in this fixed too)

Do I need an index.html? If I do how do I link to this?


Thanks just fix the code and repost if you guys know how I appriciate it.


feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]

index

Posted: Mon Jan 01, 2007 9:18 pm
by timclaason
Actually, it looks like PHP may not be running, or something weird is going on with your php configuration. If PHP is running properly, having the tag: <?php should invoke your server to compile it as PHP code. Since it's not, the conclusion is there's something weird with your php configuration or php is not running.

Posted: Mon Jan 01, 2007 9:31 pm
by neal41835
So there is nothing wrong with this code? Can you check my other code?

Thanks

Re: Can I have help fixing my code?

Posted: Tue Jan 02, 2007 2:12 pm
by John Cartwright
neal41835 wrote:Thanks just fix the code and repost if you guys know how I appriciate it.
Sorry it's not how it works around here. This is not a php-code issue, but a server configuration issue. Considering your entire web-root is accessible to the public you should contact your host immediatly and this is a pretty serious security problem.

Posted: Tue Jan 02, 2007 2:27 pm
by Kieran Huggins
Drat. And I'd scheduled the rest of my day to author his website :(

Posted: Tue Jan 02, 2007 2:28 pm
by John Cartwright
:lol: