Yes and no. I have been working on the script for the past hour and also noticed that the problem is PHP automatic type cast conversion. While UINT is not supported, forcing all the operations to (int) should do the trick as well. Lemme finish the editing and see what the result will be. Another small fix:
if($url_length > 12) {
should be
if($url_length >= 12) {
|