Computer Science Canada ?url= |
Author: | Amailer [ Wed Oct 01, 2003 5:22 pm ] |
Post subject: | ?url= |
Ok, Hmm...My friend can't send info with: http://yourdomain/file.php?variable= INFO It just wont work.... Whats the problem? |
Author: | Dan [ Wed Oct 01, 2003 9:21 pm ] |
Post subject: | |
ah, i think we are going to need more info to slove that one ![]() what do you mean by can't send info? do you mean his browser is giving an error or that the php progame is not wroking right for him? also a real url to the real php file whould be nice so we could see what is going on. i am not one of the best poleop on this fourm with php but my guse whould be: 1. he is not typing it in right 2. there is a error in the php file 3. somting that i dont know about ![]() |
Author: | Amailer [ Wed Oct 01, 2003 9:29 pm ] |
Post subject: | |
Oh hehe, sry i forgot to tell you. It was a problem in the php.ini the GLOBAL was set OFF :S Thanks! |
Author: | PaddyLong [ Wed Oct 01, 2003 9:59 pm ] |
Post subject: | |
yeah, global should be off ... to access those url variables with global off you use $HTTP_GET_VARS['variablename'] or for newer versions just $_GET['variablename'] you should always try to write your scripts so that they will work with globals off |
Author: | Amailer [ Wed Oct 01, 2003 10:03 pm ] |
Post subject: | |
people say with globals off, there are a lot more problems (not just that) But ya, i knw i should try :S |
Author: | Blade [ Thu Oct 02, 2003 8:11 am ] |
Post subject: | |
i use globals on.... it doesnt really have a 'security issue' because its not really up to php... its more up to the server.. |