Hi all and thanks in advance, I'm trying to add a url as a parameter but I can not.
My rule is:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^info/([a-zA-Z0-9|]+)/(.*)/(.*)$ info.php?user=$1&text=$2&url=$3
In the browser:
http://localhost/example/info/peter/hi guy/http://www.example.com
Return array $_GET
php
[user] => peter
[text] => hi guy / http:
[url] => www.example.com
What would be correct:
[user] => peter
[text] => hi guy
[url] => http://www.example.com
I hope your help thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…