php-install Digest 9 Jun 2003 14:46:57 -0000 Issue 1415

Topics (messages 11036 through 11040):

Undefined variables in Apache
        11036 by: Brian Ross
        11037 by: \[cz\]Emo
        11038 by: Mitch Pirtle

PHP 4.1.1 upgrade on VPS account with Red Hat 7.1
        11039 by: Vlad Goryachev

PHP Web Mailer
        11040 by: Stewart Walker

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
When I installed Apache 1 and PHP together in Windows and setup everything
correctly. The script.php?variable=value way of posting to the PHP script
will not work. I had this problem once before but it was over a year ago and
I forgot how I fixed it. Please help if you can.



--- End Message ---
--- Begin Message ---
Did you try

register_globals = On

"Brian Ross" <[EMAIL PROTECTED]> píše v diskusním příspěvku
news:[EMAIL PROTECTED]
> When I installed Apache 1 and PHP together in Windows and setup everything
> correctly. The script.php?variable=value way of posting to the PHP script
> will not work. I had this problem once before but it was over a year ago
and
> I forgot how I fixed it. Please help if you can.
>
>



--- End Message ---
--- Begin Message ---
Brian Ross wrote:

> When I installed Apache 1 and PHP together in Windows and setup everything
> correctly. The script.php?variable=value way of posting to the PHP script
> will not work. I had this problem once before but it was over a year ago
> and I forgot how I fixed it. Please help if you can.

With register_globals turned off (default since PHP 4.2.0 and for good
reason) you just reference the variable as part of the $_GET array:

        $_GET['id'] instead of $id

http://www.php.net/manual/en/language.variables.predefined.php

Never, EVER turn register_globals on.  That is, unless you want your web
application stomped and ground into vegemite by all the CSS attacks out
there today.  That's as bad as setting up SQL Server and leaving the sa
account at default.  *gasp!*

HTH,

-- Mitch

--- End Message ---
--- Begin Message ---
I recently upgraded to a VPS account with RedHat 7.1. As an "upgrade" I got
older version of PHP (4.1.1) and no support for it.

I installed PHP 4.3.2 using default prefix not to overwrite the old version
which was installed in a different location, but the Apache was still
picking up the old version.

Then I replaced all the old PHP files and directories with their new
versions, so they would be picked up from their original location. Nothing.
The phpinfo is still giving me 4.1.1

I realized that PHP was originally installed as an RPM package. Is there any
way to switch from the RPM installation to the new one without completely
removing it?


Any help would be appreciated

Vlad Goryachev





--- End Message ---
--- Begin Message ---
Sorry this is off the subject but I'm looking for a
a good in-expensive 
server-side web based, full-featured email/calender package 
that works using/in PHP?
Appreciate it
Thanks
Stew
[EMAIL PROTECTED]


--- End Message ---

Reply via email to