ballhogjoni Posted February 26, 2008 Share Posted February 26, 2008 how would I extract the value of a url key that looks like: custom%20password I have tried $_REQUEST['custom%20password'], $_REQUEST['custom password'], $_GET['custom%20password'], $_GET['custom password'] Link to comment https://forums.phpfreaks.com/topic/93028-url-key-problem/ Share on other sites More sharing options...
DarkerAngel Posted February 26, 2008 Share Posted February 26, 2008 $_GET['custom_password'] Link to comment https://forums.phpfreaks.com/topic/93028-url-key-problem/#findComment-476591 Share on other sites More sharing options...
ratcateme Posted February 26, 2008 Share Posted February 26, 2008 add print_r($_REQUEST); to see what it shows up as Scott. Link to comment https://forums.phpfreaks.com/topic/93028-url-key-problem/#findComment-476592 Share on other sites More sharing options...
ballhogjoni Posted February 26, 2008 Author Share Posted February 26, 2008 thx custom_password worked Link to comment https://forums.phpfreaks.com/topic/93028-url-key-problem/#findComment-476594 Share on other sites More sharing options...
rhodesa Posted February 26, 2008 Share Posted February 26, 2008 You should avoid spaces in the keys. Just use an underscore instead of a space in the code that is submitting the data. Link to comment https://forums.phpfreaks.com/topic/93028-url-key-problem/#findComment-476595 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.