GTROCKSTAR Posted December 28, 2009 Share Posted December 28, 2009 Hi PHPFREAKS Forum, Let me tell u about myself, I am 14 Years old and I love php and web development i currently have over 12 small sites running myself, and my Dad is a Web Developer from the UK He is a Microsoft Technician for boeing company also. But my question is here: I want to use $_GET['╫']; or any type of special character, other then 1-10 and a-z.. Thanks? Have a wonderful new year fellas. Quote Link to comment https://forums.phpfreaks.com/topic/186464-can-i-use-_getspecialcharacter/ Share on other sites More sharing options...
premiso Posted December 28, 2009 Share Posted December 28, 2009 Is there a reason you want to use special characters? As far as I know it is not allowed and would be difficult to do as the url would have to be encoded to display. Your best bet is to try it many different ways to, if you cannot get it, chances are it is not possible. Quote Link to comment https://forums.phpfreaks.com/topic/186464-can-i-use-_getspecialcharacter/#findComment-984651 Share on other sites More sharing options...
Catfish Posted December 28, 2009 Share Posted December 28, 2009 I would say the $_GET array would follow the convention of all array naming and array key naming in PHP: http://au2.php.net/manual/en/language.types.array.php I'm not sure, but I think naming of array keys follows the rules of variable naming conventions: http://au2.php.net/manual/en/language.variables.basics.php Variable names follow the same rules as other labels in PHP. A valid variable name starts with a letter or underscore, followed by any number of letters, numbers, or underscores. As a regular expression, it would be expressed thus: '[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*' Note: For our purposes here, a letter is a-z, A-Z, and the bytes from 127 through 255 (0x7f-0xff). Hope this helps. Quote Link to comment https://forums.phpfreaks.com/topic/186464-can-i-use-_getspecialcharacter/#findComment-984675 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.