PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
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:
<!--
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>
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]
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.
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.