ערכתי לאחרונה בתאריך 13.10.08 בשעה 18:42 בברכה, Groove
לא משנה הסתדרתי... function getRoot() { $path = $_SERVER['SCRIPT_FILENAME']; $file = basename( $_SERVER['REQUEST_URI'] ); if ( $pos = strpos( $path, $file ) ) { $dir = substr_replace( $path, '', $pos ); } return $dir; }
|
בכל אופן עצה רצינית לכל מי שחושב להתחיל לגעת ב-mod_rewrite
.
.
.
פשוט לא! =\
