Is there a way of detecting a value of the first character in a string?..
Here's what I mean.
Let's say I pass some value attacheched to URL, can i detect what is the first character in that value?
i.e. mypage.pgp?value1=somevalue
Is it possible to get the
s from mypage.pgp?value1=somevalue
I know I could use if (ereg("value1=s",$REQUEST_URI)) but what if this value1 changes?, which it is?
Any ideas?