Hello,
I want to verify whether my $url variable has got a slash at the end of the URL string. If not, I would like to have it added.
Does it have to be done with ereg_replace? I've tried for hours and can't seem to figure it out.
Could somebody be so kind and tell me how this challenge can be tackled?
Thanks,
sama.