McDonalds - Credit Counseling - Marketing - Wii Store - Debt Help

PDA

View Full Version : redirect script - shorten url - question about http://


roseau
May 8th 2008, 7:26 pm
Hello

I had a redirect script written years ago and it worked fine but when I wasn't using it anymore, I took it down.

I just installed it again and for some reason when I enter a URL, it comes back with this error msg

Please enter a valid URL.
Please enter your URL again. Be sure to include the "http://" or "https://".

I cannot figure out why since I use the full "http://". I've checked the error msg on search engines but can't find an answer.

Has anyone seen this? Can anyone tell me please what would trigger this?

thx so much

bokiatenxi
May 8th 2008, 8:40 pm
It looks like a custom error message. Are you sure that error message was not generated by your own program?

roseau
May 8th 2008, 9:52 pm
Actually you are right. I should have noticed that before. Looking at the script, this is what it says

<? if ($urs->errors) { ?>
<?= $urs->errorMessage ?>
<br>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">Please
enter your URL again. Be sure to include the "http://" or "https://".<br>
<br>
<? } else { ?>
Your new URL has been created and it is listed below. <br>

So now I have to figure out why it is not processing properly. Shoot!

thx for the comment - it does help

NatalicWolf
May 8th 2008, 9:53 pm
hey, check ur regex if you are using one my good friend. msg me if you need help.