jamesl Posted January 13, 2007 Share Posted January 13, 2007 I've seen this done too, where a number or name can be got after a PHP file like so: file.php?274123How is this accomplished? Link to comment https://forums.phpfreaks.com/topic/34038-arguments/ Share on other sites More sharing options...
taith Posted January 13, 2007 Share Posted January 13, 2007 you uset $_GET[]file.php?op=test[code]echo $_GET[op];[/code] Link to comment https://forums.phpfreaks.com/topic/34038-arguments/#findComment-160006 Share on other sites More sharing options...
jamesl Posted January 13, 2007 Author Share Posted January 13, 2007 No, without a variable such as op.... could it just be $_GET[0]? Link to comment https://forums.phpfreaks.com/topic/34038-arguments/#findComment-160007 Share on other sites More sharing options...
taith Posted January 13, 2007 Share Posted January 13, 2007 no... i dont think so... you'd wanna use $_SERVER[QUERY_STRING] Link to comment https://forums.phpfreaks.com/topic/34038-arguments/#findComment-160010 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.