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..
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 a
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
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 f
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
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 increasi
At 10:46 AM 2/8/2006, suresh kumar wrote:
hai,
this is my sample code:
i am having user table with SponsorID as one
field in mysql database,this is my query;
for($j=0;$j<5;$j++):
$result=mysql_query("select * from user where SponsorID='$id[$j]' ")
[snip]
for($j=0;$j<5;$j++):
$result=mysql_query("select * from user where SponsorID='$id[$j]'
");
endfor;
in above code when i print mysql_num_rows($result) inside for loop
its output is 5.when i print outside the for loop its o/p is 0.I searched
weberdev.com website and dec
On 8 Feb 2006, at 14:46, suresh kumar wrote:
this is my sample code:
i am having user table with SponsorID as
one field in mysql database,this is my query;
for($j=0;$j<5;$j++):
$result=mysql_query("select * from user where SponsorID='$id
[$j]' "
hai,
this is my sample code:
i am having user table with SponsorID as one field in
mysql database,this is my query;
for($j=0;$j<5;$j++):
$result=mysql_query("select * from user where SponsorID='$id[$j]' ");
endfor;
in above code when
* Thus wrote Jason Giangrande ([EMAIL PROTECTED]):
> When registered globals is set to off this does not effect the $PHP_SELF
> variable right? In other words I should be able to call $PHP_SELF with
> out having to do this $_SERVER['PHP_SELF'], right?
>
register_globals has nothing to do with $P
Actually, I am running PHP 4.3.2 on a Gentoo Linux box with
registered_globals set to Off and $PHP_SELF does work. The production
box running Red Hat and PHP 4.3.0, with register_globals also set to
Off, doesn't work using $PHP_SELF (as apparently it should), and this is
why I was asking.
Jason
On Wed, 2003-07-23 at 12:19, Jason Giangrande wrote:
> When registered globals is set to off this does not effect the $PHP_SELF
> variable right? In other words I should be able to call $PHP_SELF with
> out having to do this $_SERVER['PHP_SELF'], right?
>
> Thanks,
> Jason Giangrande
Without goi
> When registered globals is set to off this does not effect the $PHP_SELF
> variable right? In other words I should be able to call $PHP_SELF with
> out having to do this $_SERVER['PHP_SELF'], right?
No. With register_globals OFF, $PHP_SELF is not set.
---John Holmes...
--
PHP General Mailin
When registered globals is set to off this does not effect the $PHP_SELF
variable right? In other words I should be able to call $PHP_SELF with
out having to do this $_SERVER['PHP_SELF'], right?
Thanks,
Jason Giangrande
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
Anybody have reason for using $_SERVER['PHP_SELF'] -v- $_SERVER['URL'] ?
They both seem to always be the same in every instance I have seen so
curious is their is a preferance for one or the other and if there is a case
where PHP_SELF!=URL
Cheers,
-Peter
##
Peter
an demonstrate how I did this on my application.
Vlad
-Original Message-
From: Erich Kolb [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 4:07 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Global variable
I have developed a simple login script. Right now it will check a
submitted
u
I have developed a simple login script. Right now it will check a submitted
username and password and verify it against a database. This part works
fairly well, however I want to know how to assign a variable that will pass
through to the next page(s) to do something like:
if verified == 1 then
Hi folks,
small problem with globals:
I would like to set a variable global called "Language".
This seems to be not a really problem, but it is.
Index.php:
But all other pages do not have really access to this variable without
calling "start_session()" from within the other pages().
If I c
On Saturday 10 November 2001 01:29 pm, you wrote:
> if i like to move my scripts to /www/my_newdir i habe to change the
> include() function in every script
A few options:
1. Don't use absolute paths -- use relative paths. Then you don't have to
worry about it as long as the overall structure
hi ppl,
id like to set something like a global variable or constant.
i need this, to set the path of my document root. all scripts should then
use this path.
e.g.
my apache document root is: /www
all my skriptfiles are in /www/my_subdir
i include a special php script in all script files with:
/
Look in the manual:
language.variables.scope.html
'global' is meant to use inside a function for accessing vars that are not
in a function (the main part).
> I use global in this form:
>
> global $a;
> $a=strtotime('now');
> .
> .
> .
> echo $a; but in this line dont echo $a
Using globa
hi.
I use global in this form:
http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
hi.
I want to use glabal variable.
but it doesnot work??
thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I have a class that contains a form, when the form is submitted it
posts back to the class. The class is included inside of another file,
so all of the form variables need to be declared as global in order to
access their values.
On the form are several check boxes (number undetermined until
25 matches
Mail list logo