phorcon3 Posted July 20, 2008 Share Posted July 20, 2008 thats the url: url=/online/help/jump/?si=2P132.1kkC5O.3tog3u.W**&goto=/security/&f=c how do i get the si value? i tried <?php $url='<a href="javascript:void(0);" onclick="popup(\'url=/online/help/jump/?si=2P132.1kkC5O.3tog3u.W**&goto=/security/&f=c\');">Link</a>'; preg_match_all("/url=\/online\/help\/jump\/?si=(.*?)&goto=\/security\/&f=c\/",$url,$match); echo $match[1][0]; ?> but that doesnt work ...probably screwed up the regex ... Link to comment https://forums.phpfreaks.com/topic/115712-preg_match_all/ Share on other sites More sharing options...
phorcon3 Posted July 20, 2008 Author Share Posted July 20, 2008 nothin? Link to comment https://forums.phpfreaks.com/topic/115712-preg_match_all/#findComment-594982 Share on other sites More sharing options...
corbin Posted July 20, 2008 Share Posted July 20, 2008 /si=([^&]*)/ Link to comment https://forums.phpfreaks.com/topic/115712-preg_match_all/#findComment-595064 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.