View Full Version : Index.php - I need help
Batesymon
September 30th, 2005, 06:18 AM
On my site I am using the "index.php" method from this post (http://www.pokecommunity.com/showpost.php?p=708163&postcount=4). Unfortunately, whenever I do this it only brings up the main page.
http://www.new-life.org.au/~josh/pokemon/index.php?id=tcg
That's something I've been trying. Otherwise TCG would be in games.
http://www.new-life.org.au/~josh/pokemon/index.php?id=games/rse
I even try it with that and still brings up the main page.
Any help?
Spectrum
September 30th, 2005, 06:27 AM
On my site I am using the "index.php" method from this post (http://www.pokecommunity.com/showpost.php?p=708163&postcount=4). Unfortunately, whenever I do this it only brings up the main page.
http://www.new-life.org.au/~josh/pokemon/index.php?id=tcg
That's something I've been trying. Otherwise TCG would be in games.
http://www.new-life.org.au/~josh/pokemon/index.php?id=games/rse
I even try it with that and still brings up the main page.
Any help?
...Is there a file for it to read from? O_o For example, if you're trying to make it load tcg.txt, then tcg.txt will need to be in the same directory as index.php, unless you specified otherwise.
Batesymon
September 30th, 2005, 06:32 AM
Yes TCG is in the same place and it is still not working and I am not impressed.
Rukario
September 30th, 2005, 07:21 AM
argh! my eyes!!
ok i'm better now.. does you host support php (including global variables)?
you can check your php enviorment by uploading a page with ONLY: <?php info(); ?> in it and name it something like test.php or whatever.
browse to it and you should see all the php info stuff.
Batesymon
September 30th, 2005, 07:40 AM
Yes my server is PHP supportable (it's our home server and my brother told me it is supportable, when I was learnig basic PHP it worked fine).
Any other ideas?
Geometric-sama
September 30th, 2005, 01:33 PM
That code doesn't work with the latest version of PHP because of security settings. Use mine. http://www.pokecommunity.com/showthread.php?t=29287
Batesymon
September 30th, 2005, 10:52 PM
It worked! I love you JA! *hugs* Well not in that way. :p
Thanks for ya help!
EDIT: Subdirectories aren't working but I can live with it.
EDIT: Nevermind.