I am having a problem with the php require function. With this piece of code:
Now I get this errorPHP Code:if(isset($_GET['upload'])){
require("../forms/upload_pictures.php?number=" . $_GET['upload']);
}
I have checked the link and it is the page I'm trying to reach because when I take the get variable part outCode:Warning: require(../forms/upload_pictures.php?number=5) [function.require]: failed to open stream: No error in C:\wamp\www\getaband.net\phpbin\edit_pictures_musician.php on line 23 Fatal error: require() [function.require]: Failed opening required '../forms/upload_pictures.php?number=5' (include_path='.;C:\php5\pear') in C:\wamp\www\getaband.net\phpbin\edit_pictures_musician.php on line 23?number=" . $_GET['upload']then it loads the page...
If someone could help me through this that would be great, thanks!


Reply With Quote


Bookmarks