Re: [PHP] global variable does not exist anymore?

2007-08-01 Thread Patrik Hasibuan
Thank you very much.
===
On Fri, 27 Jul 2007 00:26:24 -0500 (CDT)
"Richard Lynch" <[EMAIL PROTECTED]> wrote:

> It's register_globals, and you should fix this ancient script to not
> rely on register_globals being "on"
> 
> On Wed, July 25, 2007 5:30 pm, Patrik Hasibuan wrote:
> > Dear my friends...
> >
> > I create a very simple script in html and php as a first step. I use
> > suse, apache2, mysql and php.
> >
> > I wonder why this script does not work:
> > 
> > 
> > 
> >
> >> http-equiv="content-type">
> >   Guru - Virtual bookstore who understands you for those want
> > to be a GURU
> >
> >
> > 
> > 
> >
> > Help us for statistic data collection for increasing our service by
> > 'filling our guestbook'.
> > 
> > 
> > Name:  > name="tfnama">
> > Location:  > type="text" name="tflokasi">
> > E-Mail:  > name="tfemail">
> > URL:  > name="tfurl">
> > Comments:  > type="text" name="tfkomentar">
> >  > align="left">
> > 
> > 
> >
> > 
> > 
> >
> > The value of "tfnama" is empty.
> > cgi/cgibukutamu.php
> > 
> > 
> > 
> > Name > ?>
> > 
> > 
> >
> > I had a look the into the "/etc/apache2" but I didn't find any
> > "global_variable" switch as I used to find in httpd.conf
> > "
> > suseonthelap:/etc/apache2 # grep -n -r "global_variable" ./*
> > suseonthelap:/etc/apache2 #
> > "
> >
> > I got used to find "global_variable=on" line in the httpd.conf.
> >
> > What should I do now? Please tell me.
> > --
> > Patrik Hasibuan <[EMAIL PROTECTED]>
> > Junior Programmer
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> 
> 
> -- 
> Some people have a "gift" link here.
> Know what I want?
> I want you to buy a CD from some indie artist.
> http://cdbaby.com/browse/from/lynch
> Yeah, I get a buck. So?
> 
> 
> 


-- 
Patrik Hasibuan <[EMAIL PROTECTED]>
Junior Programmer

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] global variable does not exist anymore?

2007-08-01 Thread Patrik Hasibuan
OK, Thanks Richards.
===
On Wed, 25 Jul 2007 23:54:37 +0100
Richard Davey <[EMAIL PROTECTED]> wrote:

> Hi Patrik,
> 
> Wednesday, July 25, 2007, 11:30:56 PM, you wrote:
> 
> > Dear my friends...
> 
> > I create a very simple script in html and php as a first step. I use suse, 
> > apache2, mysql and php.
> 
> > I wonder why this script does not work:
> > 
> > 
> > 
> 
> >   
> >   Guru - Virtual bookstore who understands you for those want to be 
> > a GURU
> 
> 
> > 
> > 
> 
> > Help us for statistic data collection for increasing our service by 
> > 'filling our guestbook'.
> > 
> > 
> > Name:  > type="text" name="tfnama">
> > Location:  > type="text" name="tflokasi">
> > E-Mail:  > type="text" name="tfemail">
> > URL:  > name="tfurl">
> > Comments:  > type="text" name="tfkomentar">
> >  > align="left">
> > 
> > 
> 
> > 
> > 
> 
> > The value of "tfnama" is empty.
> > cgi/cgibukutamu.php
> > 
> > 
> > 
> > Name > ?>
> > 
> > 
> 
> > I had a look the into the "/etc/apache2" but I didn't find any
> > "global_variable" switch as I used to find in httpd.conf
> > "
> > suseonthelap:/etc/apache2 # grep -n -r "global_variable" ./*
> > suseonthelap:/etc/apache2 #  
> > "
> 
> > I got used to find "global_variable=on" line in the httpd.conf.
> 
> Try looking in php.ini
> 
> Then leave it disabled, and code your script properly so it checks the
> user input and validates it before using it.
> 
> Cheers,
> 
> Rich
> -- 
> Zend Certified Engineer
> http://www.corephp.co.uk
> 
> "Never trust a computer you can't throw out of a window"
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 


-- 
Patrik Hasibuan <[EMAIL PROTECTED]>
Junior Programmer

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] global variable does not exist anymore?

2007-07-26 Thread Richard Lynch
It's register_globals, and you should fix this ancient script to not
rely on register_globals being "on"

On Wed, July 25, 2007 5:30 pm, Patrik Hasibuan wrote:
> Dear my friends...
>
> I create a very simple script in html and php as a first step. I use
> suse, apache2, mysql and php.
>
> I wonder why this script does not work:
> 
> 
> 
>
>http-equiv="content-type">
>   Guru - Virtual bookstore who understands you for those want
> to be a GURU
>
>
> 
> 
>
> Help us for statistic data collection for increasing our service by
> 'filling our guestbook'.
> 
> 
> Name:  name="tfnama">
> Location:  type="text" name="tflokasi">
> E-Mail:  name="tfemail">
> URL:  name="tfurl">
> Comments:  type="text" name="tfkomentar">
>  align="left">
> 
> 
>
> 
> 
>
> The value of "tfnama" is empty.
> cgi/cgibukutamu.php
> 
> 
> 
> Name ?>
> 
> 
>
> I had a look the into the "/etc/apache2" but I didn't find any
> "global_variable" switch as I used to find in httpd.conf
> "
> suseonthelap:/etc/apache2 # grep -n -r "global_variable" ./*
> suseonthelap:/etc/apache2 #
> "
>
> I got used to find "global_variable=on" line in the httpd.conf.
>
> What should I do now? Please tell me.
> --
> Patrik Hasibuan <[EMAIL PROTECTED]>
> Junior Programmer
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] global variable does not exist anymore?

2007-07-25 Thread Patrik Hasibuan
Hi Richard,

You solved my problem.

Thank you very...very much.
===
On Wed, 25 Jul 2007 23:54:37 +0100
Richard Davey <[EMAIL PROTECTED]> wrote:

> Hi Patrik,
> 
> Wednesday, July 25, 2007, 11:30:56 PM, you wrote:
> 
> > Dear my friends...
> 
> > I create a very simple script in html and php as a first step. I use suse, 
> > apache2, mysql and php.
> 
> > I wonder why this script does not work:
> > 
> > 
> > 
> 
> >   
> >   Guru - Virtual bookstore who understands you for those want to be 
> > a GURU
> 
> 
> > 
> > 
> 
> > Help us for statistic data collection for increasing our service by 
> > 'filling our guestbook'.
> > 
> > 
> > Name:  > type="text" name="tfnama">
> > Location:  > type="text" name="tflokasi">
> > E-Mail:  > type="text" name="tfemail">
> > URL:  > name="tfurl">
> > Comments:  > type="text" name="tfkomentar">
> >  > align="left">
> > 
> > 
> 
> > 
> > 
> 
> > The value of "tfnama" is empty.
> > cgi/cgibukutamu.php
> > 
> > 
> > 
> > Name > ?>
> > 
> > 
> 
> > I had a look the into the "/etc/apache2" but I didn't find any
> > "global_variable" switch as I used to find in httpd.conf
> > "
> > suseonthelap:/etc/apache2 # grep -n -r "global_variable" ./*
> > suseonthelap:/etc/apache2 #  
> > "
> 
> > I got used to find "global_variable=on" line in the httpd.conf.
> 
> Try looking in php.ini
> 
> Then leave it disabled, and code your script properly so it checks the
> user input and validates it before using it.
> 
> Cheers,
> 
> Rich
> -- 
> Zend Certified Engineer
> http://www.corephp.co.uk
> 
> "Never trust a computer you can't throw out of a window"
> 
> 
> 


-- 
Patrik Hasibuan <[EMAIL PROTECTED]>
Junior Programmer

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] global variable does not exist anymore?

2007-07-25 Thread Richard Davey
Hi Patrik,

Wednesday, July 25, 2007, 11:30:56 PM, you wrote:

> Dear my friends...

> I create a very simple script in html and php as a first step. I use suse, 
> apache2, mysql and php.

> I wonder why this script does not work:
> 
> 
> 

>   
>   Guru - Virtual bookstore who understands you for those want to be a 
> GURU


> 
> 

> Help us for statistic data collection for increasing our service by 'filling 
> our guestbook'.
> 
> 
> Name:  type="text" name="tfnama">
> Location:  type="text" name="tflokasi">
> E-Mail:  type="text" name="tfemail">
> URL:  name="tfurl">
> Comments:  type="text" name="tfkomentar">
>  align="left">
> 
> 

> 
> 

> The value of "tfnama" is empty.
> cgi/cgibukutamu.php
> 
> 
> 
> Name ?>
> 
> 

> I had a look the into the "/etc/apache2" but I didn't find any
> "global_variable" switch as I used to find in httpd.conf
> "
> suseonthelap:/etc/apache2 # grep -n -r "global_variable" ./*
> suseonthelap:/etc/apache2 #  
> "

> I got used to find "global_variable=on" line in the httpd.conf.

Try looking in php.ini

Then leave it disabled, and code your script properly so it checks the
user input and validates it before using it.

Cheers,

Rich
-- 
Zend Certified Engineer
http://www.corephp.co.uk

"Never trust a computer you can't throw out of a window"

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] global variable does not exist anymore?

2007-07-25 Thread Patrik Hasibuan
Dear my friends...

I create a very simple script in html and php as a first step. I use suse, 
apache2, mysql and php.

I wonder why this script does not work:




  
  Guru - Virtual bookstore who understands you for those want to be a 
GURU





Help us for statistic data collection for increasing our service by 'filling 
our guestbook'.


Name: 
Location: 
E-Mail: 
URL: 
Comments: 







The value of "tfnama" is empty.
cgi/cgibukutamu.php



Name



I had a look the into the "/etc/apache2" but I didn't find any 
"global_variable" switch as I used to find in httpd.conf
"
suseonthelap:/etc/apache2 # grep -n -r "global_variable" ./*
suseonthelap:/etc/apache2 #  
"

I got used to find "global_variable=on" line in the httpd.conf.

What should I do now? Please tell me.
-- 
Patrik Hasibuan <[EMAIL PROTECTED]>
Junior Programmer

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php