help me please, the code in the title, i have had in my site for months, and i moved from my old server to x10hosting and it isnt working anymore.
thanks,
wfarr_0817
ps: PHP must hate me, or im just stupid.
help me please, the code in the title, i have had in my site for months, and i moved from my old server to x10hosting and it isnt working anymore.
thanks,
wfarr_0817
ps: PHP must hate me, or im just stupid.
I wouldn't be surprised if the problem lay in the top/bottom.txt. It is case sensitive, so for example if it is name Bottom.txt, a lower case b will not work. Also, make sure its extension is in fact txt.
i thought u must change the TXT file into PHP file
Including a .txt is fine. The include command doesn't care what file extension you use, it will simply pull the text out of the file and "paste" it where you have the command and will then be parsed accordingly.
Are you getting back a PHP error message? If not check your error_log in cPanel and see if it has any entries relating to this.
i have the coding the right way. i kno that the include is just that picky but, i have it in the right cases. This is what the page looks like on:
http://teheataofsoulz.net63.net/lyrics-month.htm<- on my old server
http://teheataofsoulz.elementfx.com/lyrics-month.htm<- x10hosting server
im not getting an error, its just that its not showing up the way i want it to, i have all the right coding.
nope. you just leave it as a *.* (*=anything) and it should work with the page....
Change the .html file to .php. x10hosting servers do not parse .html files as PHP.
Nothing is always absolutely so.