Find URL in parameters string


/ Published in: PHP
Save to your folder(s)

Find URL in parameters string


Copy this code and paste it in your HTML
  1. preg_match('/(?<=http).*?/?(https?.*)/',$url, $match);
  2. $url_in_params = urldecode($match[1]);

Report this snippet


Comments


You need to login to view comments.