Re: [PHP] register_variables

2003-03-18 Thread Cranky Kong
The problem must certainly come from the register_global turn to off Check this value in your php.ini file "Samug" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > No it's not. > It's a script called LinksCaffe > . > In

[PHP] Re: PHP url variables

2003-03-14 Thread Cranky Kong
Have a look at the parameter register_global in your php.ini By default in the recent version of PHP, this parameter is set by default to off for security reason. So if you want to use $id, you just have to set this parameter to on "Stephen" <[EMAIL PROTECTED]> a écrit dans le message de news: [E

Re: [PHP] javascript

2003-03-07 Thread Cranky Kong
page is very fast. "Marek Kilimajer" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] If the user is disabled, the user will be bothered to wait till the page reloads, sure there MUST be server side check Cranky Kong wrote: >And what are you doing if th

Re: [PHP] javascript

2003-03-07 Thread Cranky Kong
I always test the data server side, never on the client. The set up of the browser can be changed by the client and so a guy whi want to create problem can disable JS. On the server, the visitor of your site can not changed the set up... So you can also check both client side and server side but p

Re: [PHP] javascript

2003-03-07 Thread Cranky Kong
And what are you doing if the javascript is not enabled in the browser of the client ??? There will be no verification and the user can enter what he want in the field of your form And it's a bit dangerous for your DB if your insert data in a DB... "Marek Kilimajer" <[EMAIL PROTECTED]> a écri

[PHP] global var or passing a parameter in classes ?

2003-03-05 Thread Cranky Kong
Hello, here is my problem : I have a class A and I instanciate this class at the beginninf of my script. I have another class B and in some functions of this class B, I need to access the instance of the class A. So in the functions of the class B, to access the class A, is it better to receive a