Metlx Posted July 23, 2007 Share Posted July 23, 2007 whenever i try to upload a file with name test.php?select=test it doesnt recognize it as php. how do i fix it? Link to comment https://forums.phpfreaks.com/topic/61383-solved-php-upload-name/ Share on other sites More sharing options...
pocobueno1388 Posted July 23, 2007 Share Posted July 23, 2007 You don't actually name your file "test.php?select=test". You add the "?select=test" in your script if you want it there. So name your file "test.php", then when you are linking to it, just do this: <a href="test.php?select=test">link</a> Link to comment https://forums.phpfreaks.com/topic/61383-solved-php-upload-name/#findComment-305494 Share on other sites More sharing options...
Metlx Posted July 23, 2007 Author Share Posted July 23, 2007 links are fine.. test.php and test.php?select=test are 2 different pages. if i save everything as test.php.. how do i tell it whats gonna be in .php?select=test ? can u actually upload a file with a name that has text behind php? (ie.. php?test) Link to comment https://forums.phpfreaks.com/topic/61383-solved-php-upload-name/#findComment-305532 Share on other sites More sharing options...
pocobueno1388 Posted July 23, 2007 Share Posted July 23, 2007 links are fine.. test.php and test.php?select=test are 2 different pages. No, those are the same files...you are just tacking on GET variables to the URL. can u actually upload a file with a name that has text behind php? (ie.. php?test) No, you can't...you would have to use GET to send that information through the URL. Link to comment https://forums.phpfreaks.com/topic/61383-solved-php-upload-name/#findComment-305680 Share on other sites More sharing options...
Metlx Posted July 24, 2007 Author Share Posted July 24, 2007 ok ty i got it working Link to comment https://forums.phpfreaks.com/topic/61383-solved-php-upload-name/#findComment-305839 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.