mhuffs9017 Posted January 24, 2008 Share Posted January 24, 2008 OK - I have tried to search google endlessly for my issue. I'm using magpie to parse an RSS feed. What I would like to do is pass the $href variable to the source to a page on my site: Feed is on news.php $href=http://news.google.com/etc/etc/etc.gder23%20etc <-- the link the user sees in the status bar What i'm looking form is something like this: foreach ($items as $item) { $href = $item['link']; $title = $item['title']; $description = $item['description']; echo '<a href="mike.php?newslink=', $href, '">' . $title . '</a>'; How do I mask the $href variable to my new page mike.php in variable newslink? So user would see http://{mysite}/newslink={themaskedcodegoingtopagethenhavingheaderredirect} Really lost and any help is appreciated. Link to comment https://forums.phpfreaks.com/topic/87635-solved-mask-outgoing-url-passing-parsed-rss-by-masking-the-url/ Share on other sites More sharing options...
mhuffs9017 Posted January 24, 2008 Author Share Posted January 24, 2008 meant url would be http://{mysite}/mike.php?newslink={thereallymaskedurlpassedinnewslinktobeputinheadervariableonpagemike.phptakingusertolocation:)} Link to comment https://forums.phpfreaks.com/topic/87635-solved-mask-outgoing-url-passing-parsed-rss-by-masking-the-url/#findComment-448221 Share on other sites More sharing options...
mhuffs9017 Posted January 24, 2008 Author Share Posted January 24, 2008 Sorry, I was so..... dumb...... oh my!!!! base64_encode base64_decode Link to comment https://forums.phpfreaks.com/topic/87635-solved-mask-outgoing-url-passing-parsed-rss-by-masking-the-url/#findComment-448300 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.