Hi, Small problem, I am asking my users to enter a path for something in a textbox.. eg: /home/blah/something
am confused as to how I can see if the entered path has an ending slash, if it has a end slash: $hasSlash=1 else $hasSlash=0 then i can carry on with my output... Thanks in advance. Cheers, -Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php