How can I create a php redirect script that's smart enough to automatically add http://?

Zach Skagen

New member
Current redirect script is php, http://example.org/redirect.php?url=_____.

Is it possible to include a php if statement that will correct if the $url variable has http:// or not, and then add it.

Your help is much appreciated.
 
Back
Top