
-----------------------------------
Amailer
Wed Oct 01, 2003 5:22 pm

?url=
-----------------------------------
Ok,
Hmm...My friend can't send info with: http://yourdomain/file.php?variable= INFO

It just wont work....
Whats the problem?

-----------------------------------
Dan
Wed Oct 01, 2003 9:21 pm


-----------------------------------
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    :P

-----------------------------------
Amailer
Wed Oct 01, 2003 9:29 pm


-----------------------------------
Oh hehe,
sry i forgot to tell you.

It was a problem in the php.ini
the GLOBAL was set  OFF :S

Thanks!

-----------------------------------
PaddyLong
Wed Oct 01, 2003 9:59 pm


-----------------------------------
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

-----------------------------------
Amailer
Wed Oct 01, 2003 10:03 pm


-----------------------------------
people say with globals off,
there are a lot more problems (not just that)

But ya, i knw i should try :S

-----------------------------------
Blade
Thu Oct 02, 2003 8:11 am


-----------------------------------
i use globals on.... it doesnt really have a 'security issue' because its not really up to php... its more up to the server..
