RE: Needing help about PHP+mysql on RedHat 9.

2003-11-18 Thread Chris
You could try http://us2.php.net/ , http://us3.php.net/ , or
http://us4.php.net/ .

This isn't a PHP mailing list, but I'll answer your question briefly.

The php.ini setting register_globals is set to 'off', so the $PHP_SELF
variable isn't getting created. Either change $PHP_SELF to
$_SERVER['PHP_SELF'] (recommended) or turn register_globals on.

http://us3.php.net/manual/en/reserved.variables.php

Chris

-Original Message-
From: Mario Miyojim [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 10:18 PM
To: [EMAIL PROTECTED]
Subject: Needing help about PHP+mysql on RedHat 9.


I am trying to revive an existing LAMP system.
I recently installed RedHat9. I had several LAMP
applications
working under RedHat 7.1, but now they don't function
properly. For instance, I have many scripts that use
the
FORM ACTION=?php print($PHP_SELF)  METHOD=post
construct, but they are not working as they should.
I tried to get help from the PHP home site, but
www.php.net
has been unreacheable to me for several days.
I am considering a desperate attempt to go back to
RedHat 7.1
because that configuration supported my PHP scripts,
but now I can't
even read the updated PHP manual.
Please, if anyone knows how to circumvent this
problem, help me!
Thanks

__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Needing help about PHP+mysql on RedHat 9.

2003-11-18 Thread Mario Miyojim
Thank you. It was the king of advice that I needed,
because I was unaware of the existence of this
parameter.
I was struggling with the lack of mysql support when I
tried
to use the new RedHat 9. When I finally solved that 
problem, I became confused with the inability to
transmit
variable values through the POST method, that is why I
asked for help. Now I can help others with the same
dilemma.
Thanks, indeed.
p
--- John Nichel [EMAIL PROTECTED] wrote:
 Mario Miyojim wrote:
  I am trying to revive an existing LAMP system.
  I recently installed RedHat9. I had several LAMP
  applications
  working under RedHat 7.1, but now they don't
 function 
  properly. 

 
 Chances are, register_globals was on with your old
 installation, and now 
 it is off by default in php.  Either turn it on in
 the php.ini 
 (not-recommended), and restart your webserver, or
 rewrite your code to 
 work with globals off (recommended).  Things like
 $PHP_SELF would now 
 be, $_SERVER['PHP_SELF'].
 
 Look here
 
 http://us3.php.net/register_globals
 
 Also, you'll get more help with an item such as this
 from a php mailing 
 list.
 
 -- 
 By-Tor.com
 It's all about the Rush
 http://www.by-tor.com
 


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: Needing help about PHP+mysql on RedHat 9.

2003-11-18 Thread Mario Miyojim
Thank you.
Now I read tutorials at the new PHP web site, so my
old
scripts are refurbished and are functional.
I initialize every variable like this:
$var1 = $_POST['var1'];
for example, and values are correctly passed.
Mario
p
--- Chris [EMAIL PROTECTED] wrote:
 You could try http://us2.php.net/ ,
 http://us3.php.net/ , or
 http://us4.php.net/ .
 
 This isn't a PHP mailing list, but I'll answer your
 question briefly.
 


__
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Needing help about PHP+mysql on RedHat 9.

2003-11-17 Thread John Nichel
Mario Miyojim wrote:
I am trying to revive an existing LAMP system.
I recently installed RedHat9. I had several LAMP
applications
working under RedHat 7.1, but now they don't function 
properly. For instance, I have many scripts that use
the
FORM ACTION=?php print($PHP_SELF)  METHOD=post
construct, but they are not working as they should.
I tried to get help from the PHP home site, but
www.php.net
has been unreacheable to me for several days.
I am considering a desperate attempt to go back to
RedHat 7.1
because that configuration supported my PHP scripts,
but now I can't
even read the updated PHP manual.
Please, if anyone knows how to circumvent this
problem, help me!
Thanks
Chances are, register_globals was on with your old installation, and now 
it is off by default in php.  Either turn it on in the php.ini 
(not-recommended), and restart your webserver, or rewrite your code to 
work with globals off (recommended).  Things like $PHP_SELF would now 
be, $_SERVER['PHP_SELF'].

Look here

http://us3.php.net/register_globals

Also, you'll get more help with an item such as this from a php mailing 
list.

--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]