sam06 Posted March 15, 2007 Share Posted March 15, 2007 Hi Is is possible to have a website like this: http://hello.com/view.php? And anything after the ? would become the variable $email Thanks, Sam Link to comment https://forums.phpfreaks.com/topic/42890-easy-problem-i-think/ Share on other sites More sharing options...
aebstract Posted March 15, 2007 Share Posted March 15, 2007 http://hello.com/view.php?email=2 $email = $_GET['mail']; echo "$email"; 2 Link to comment https://forums.phpfreaks.com/topic/42890-easy-problem-i-think/#findComment-208313 Share on other sites More sharing options...
per1os Posted March 15, 2007 Share Posted March 15, 2007 http://hello.com/[email protected] to do it another way you would need to look into .htaccess mod_rewrite. Link to comment https://forums.phpfreaks.com/topic/42890-easy-problem-i-think/#findComment-208314 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.