tiimage Posted May 6, 2009 Share Posted May 6, 2009 If my url is something like http://www.mysite.com/thispage.html?writethis How would I get php to take the "writethis" part or any text that might be there after the question mark and put it where I want it on the "thispage.html" webpage? This will be used for URL's so it can not be a javascript, must be done in the background. Quote Link to comment Share on other sites More sharing options...
revraz Posted May 6, 2009 Share Posted May 6, 2009 Are you referring to using $_GET? Or trying not to use it? Quote Link to comment Share on other sites More sharing options...
tiimage Posted May 6, 2009 Author Share Posted May 6, 2009 Are you referring to using $_GET? Or trying not to use it? As long as it is done in the background is what is important. Quote Link to comment Share on other sites More sharing options...
revraz Posted May 6, 2009 Share Posted May 6, 2009 http://www.w3schools.com/PHP/php_get.asp Quote Link to comment Share on other sites More sharing options...
Brian W Posted May 6, 2009 Share Posted May 6, 2009 "thispage.html" won't work, "thispage.php" assuming your server supports php. Secondly, I'm going to venture a guess you asked this somewhere else and they suggested php but you aren't familiar with php at all. right? If so, consider paying someone to do it or starting by reading some tutorials for beginners. Most of the members of this website have recommended reading material. Quote Link to comment Share on other sites More sharing options...
Ken2k7 Posted May 6, 2009 Share Posted May 6, 2009 Well you can have .htaccess treat .html as .php if you want. Quote Link to comment Share on other sites More sharing options...
Brian W Posted May 6, 2009 Share Posted May 6, 2009 fine, you've bested me this time by technicality. On guard! lol Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.