vaibhav1983 1 Junior Poster

Hi All,

I am trying to implement a directory like url rewriting in php.

My URL goes like this www.xyz.com/Parameter1/Parameter2/1
This request is forwarded to a php script, getParams.php
Parameter1 and Parameter2 in the URL are GET parameters. "1" in the url indicates the page number.

The URL rule that I am writing is
RewriteRule ^(.*)/(.*)/([0-9]*)$ getParams.php?para1=$1&para2=$2&page=$3

The problem is that when the URL is rewritten to getParam.php on the ServerSide and I do an echo on para1
i.e echo para1

First letter of every word is converted to lowercase.
Example if I pass my name in para1 as "Vaibhav Ranglani" and then if I do an echo in getParam.php as

echo $para1;

I'll get the output as
vaibhav ranglani

Here the first letter of every word is converted to lowercase.
Same thing is not happening with para2

I would appreciate any help.

Thanks in Advance
Regards
Vaibhav