Question : preg_replace code to remove dynamic sub-directory

What would be the correct way to write a line of php to remove the sub-directory from a url?



The "yoursub" is dynamically created in an MU wordpress 3.0 site, so I need to remove that for one of my plugins to call the necessary files from the root instead of the dynamic sub-directory that's not really there.

Answer : preg_replace code to remove dynamic sub-directory

the problem should be in this package itself.
I think it is better to create new package , and create new data flow there. don't copy anything from this package to new package, maybe some settings are wrong. just create new package and set all task manually again.
let me know if you have this problem yet.
Random Solutions  
programming4us programming4us