edawg Posted March 21, 2007 Share Posted March 21, 2007 Hi, Relatively new to PHP, and have a question in regard to a new site im working on.... Q). Is it possible to pass a variable, or a string into another site from my own?. What I have is a database of locations of places and other things, so what I would like to do is enable a visitor to click on the location, and be taken to that location say in Google Maps, or a similar map site, but rather than get there and have to paste the location in the search bar, can I do this for them, so when they get to the map, they will be greeted with the location right on that map?? Can this be done?. Thanks!! Quote Link to comment https://forums.phpfreaks.com/topic/43696-solved-passing-variables-into-other-sites/ Share on other sites More sharing options...
per1os Posted March 21, 2007 Share Posted March 21, 2007 <?php print '<a href="http://www.desiredsite.com/index.php?param=1¶m2=2">Click Here</a> //OR: Header("Location: http://www.desiredsite.com/index.php?param=1¶m2=2"); ?> Quote Link to comment https://forums.phpfreaks.com/topic/43696-solved-passing-variables-into-other-sites/#findComment-212112 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.