We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

pass url as parameter

Development and Programming

kmgkid's avatar
kmgkid
50 posts
14 years ago
kmgkid's avatar kmgkid

I have a url like so

http://domain.com/track?target_url=http://www.AstonMauiLuHotel.com

I need to get the value of “target_url”

I tried using a plugin with this function to no avail

function targeturl() { $target_url = $this->EE->input->get(‘target_url’);

return $target_url;

}

anyhelp would be appreciated to how I can pass the target_url through a url.

Thanks

       
Brett Gullan's avatar
Brett Gullan
70 posts
14 years ago
Brett Gullan's avatar Brett Gullan

kmgkid,

I’ve not tried it (yet) myself, but have a look at this plugin: http://devot-ee.com/add-ons/mo-variables/. It should do what you need.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.