How would I add zeros to the following url?
For Example I have the below: http://www.yoursite.com/dir/l1.php
But I need this: http://www.yoursite.com/dir/l0001.php
I need atleast 4 numbers so if I had 2 digits I would have to add 2 zeros.
Any help would be appreciated, Richard
rename the file?
That sounds easy enough but the files go from 0001 to 1140. I figured it would be easier to have the script just fix the url.