Jump to content

[SOLVED] explode help


adam291086

Recommended Posts

I have the url http://www.adamplowman.co.uk/adam/ftp/test.txt I want to remove /adam from it and put it back together

 

http://www.adamplowman.co.uk/ftp/test.tx

 

The problem is that the url could be

 

http://www.adamplowman.co.uk/adam/john/luke/ftp/test.txt and i still only want to remove /adam and only have http://www.adamplowman.co.uk/john/luke/ftp/test.txt

 

Any ideas?

Link to comment
https://forums.phpfreaks.com/topic/85197-solved-explode-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.