I need some help. I'm new to php and programming.
I have a form that sends a variable with an url $filename="http://www.somewhere.com/file.html"
How can I manipulate this string so that I can get just the "file.html" part?
Thanks,
Luis
I've not used it before but you could try the parse_url() function. goto www.php.net Click on quick ref and enter parse_url
The documentation is on the light side for this function but there is enough to experiment with