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!
i wrote this script and as u can probably see if loads content, and makes it so u can use page.php?p=bla. But i'm getting another undefined index error, this is the error:
Notice: Undefined index: content in *hidden*\test.php on line 2
That's not an error. That's PHP warning you of a vulnerability because you never defined an index in $_GET. Feel free to ignore that. Also, your PHP is set to display very strict notices, if that's a production server, that's very wierd. To get rid of that error, you can just put this line at the top of your code:
Getran wrote:(...) Notice: Undefined index: content in *hidden*\test.php on line 2 (...)
In this case it complains because you're trying to access an invalid 'content' index from an array ($array['content']) in *hidden*\test.php on line 2. Open test.php, look for this line 2 and see what's wrong.