Jump to content

[SOLVED] help removing last part of a url


adam291086

Recommended Posts

i have this url

 

/kunden/homepages/12/d214897219/htdocs/rubberduckiee/rubberduckiee/www.adamplowman.co.uk/random

 

and i want to remove the last part of the url i.e random. and then replace with a variable called $foldername

 

can anyone push me in the right directions?

Link to comment
https://forums.phpfreaks.com/topic/122506-solved-help-removing-last-part-of-a-url/
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.