Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 ?url=
Index -> Programming, PHP -> PHP Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Amailer




PostPosted: 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?
Sponsor
Sponsor
Sponsor
sponsor
Dan




PostPosted: Wed Oct 01, 2003 9:21 pm   Post subject: (No subject)

ah, i think we are going to need more info to slove that one Confused

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 Razz
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
Amailer




PostPosted: Wed Oct 01, 2003 9:29 pm   Post subject: (No subject)

Oh hehe,
sry i forgot to tell you.

It was a problem in the php.ini
the GLOBAL was set OFF :S

Thanks!
PaddyLong




PostPosted: Wed Oct 01, 2003 9:59 pm   Post subject: (No 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
Amailer




PostPosted: Wed Oct 01, 2003 10:03 pm   Post subject: (No subject)

people say with globals off,
there are a lot more problems (not just that)

But ya, i knw i should try :S
Blade




PostPosted: Thu Oct 02, 2003 8:11 am   Post subject: (No 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..
Display posts from previous:   
   Index -> Programming, PHP -> PHP Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: