Jump to content

Parse Error Help Please


jf3000

Recommended Posts

Can someone explain what this means please :

[code]Warning: parse_url(http://) [function.parse-url]: Unable to parse url in xml/pages/class.http.inc.php on line 107[/code]

First line is 106, then under that is 107 :

[code]$redir = preg_replace('#([^/\:]/)/+#','\\1',$redir);
      $rurl = parse_url($redir);[/code]
Link to comment
https://forums.phpfreaks.com/topic/26991-parse-error-help-please/
Share on other sites

Do you have a space between parse and url?  It looks like it from your post.

Assuming that it is an underbar that's just not showing here, putting this above both lines:  echo "<br />" . $redir.  It sounds to me like it has trouble with that variable.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.