newb Posted June 4, 2010 Share Posted June 4, 2010 how can i check a URL string for "www" and if it doesnt have it how to add it Quote Link to comment Share on other sites More sharing options...
trq Posted June 4, 2010 Share Posted June 4, 2010 What have you tried? Quote Link to comment Share on other sites More sharing options...
ignace Posted June 4, 2010 Share Posted June 4, 2010 A URL doesn't need the WWW-part (at least in most cases where the server has been put up properly) eg http://phpfreaks.com/forums/ works too. Quote Link to comment Share on other sites More sharing options...
Alex Posted June 4, 2010 Share Posted June 4, 2010 parse_url strpos Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.