View Single Post
Old 08-12-2011, 04:33 AM  
Inter-Sex
Confirmed User
 
Industry Role:
Join Date: Nov 2005
Location: Spain :)
Posts: 2,231
Smarty Question About "Path" (not a biggy i guess)

Hi,

Got a small smarty script made, and the developper is with holidays right now.
Maby anyone from here is willing to give me the solution.


Code:
$row2['url'] = $_site_www2.'/folder/'.$row2['2_folder'].'-name.ext';
The settings (config.php) of www2 are :

Code:
$_site_www2 = 'http://www.domain2.com';
The directory ['2_folder'] is named like "1XXX1_01" (w/o quotes)

But i need to have the 1XXX1_ deleted from that part of the url, which it output.

How I'd go around that ?

Any help is apreciated,

~ Renaldo,
Inter-Sex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote