Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
htaccess RewriteRule Capture Multiple /
Old 07-10-2009, 08:25 AM htaccess RewriteRule Capture Multiple /
Themodem's Avatar
Average Talker

Posts: 22
Location: England
Trades: 0
Hi all, i have a RewriteRule in my hraccess file to resize images.

RewriteRule image/(.*)/(.*)/(.*)/(.*) lib/imageresize.php/$1/?width=$2&height=$3&image=$4

This works fine untill i need to send the last paramater $4 this is a path with forward slashes in it like.

http://domain.com/images/imageToResize.jpg

My question is how do i capture all remaining text including the forward slashes?

Thanks

Last edited by Themodem; 07-10-2009 at 02:00 PM..
Themodem is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to htaccess RewriteRule Capture Multiple /
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.64304 seconds with 12 queries