added on Jan 21, 2007 by
Hi im not sure what im doing wrong but I cant see to be able to add that php code from the catergory list to have it
work on my index page. So i had to make a seperate php and it works fine. Does anyone know how to add the php code to
the index page. Thanks in advance.
added on Jan 21, 2007 by
Is your index called .php?
- v0id
added on Jan 21, 2007 by
No...its it's .htm and if i do change it to a .php wouldnt that mess everything up with all the people that have it
bookmarked?
added on Jan 22, 2007 by
Ah. By default .htm does not parse PHP.
You have some options then;
You can force your web server to parse the .htm as PHP. This way you do not need to change anything.
or you can rename your index.htm to index.php. Since this is the index page, going to yourdomain.com/ shows index.php
instead, so the bookmarks still work. Unless of course people have bookmarked the index.htm file. But then you can
consider making either a .htaccess that will redirect people to the right page or just make a redirect tag on the .htm
page
- v0id
added on Jul 26, 2007 by
Or you can download Crimson php editor, download your link page and open it with Crimson, and save it as a php document.
Then paste the code somewhere in between the body tags.