Re: GET variable unexpectedly assigned to session variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   Armando;

   First, you can just change these:

$id = (integer)$HTTP_GET_VARS["id"];
$usr_typ = (integer)$HTTP_GET_VARS["typ"];

   .... to:

$id = $_GET['id'];
$usr_typ = $_GET['typ'];


   Second, I see that you're using $row[] variables for your MySQL result
sets.... but where and how are the $rs[] values populated?


On 5/10/07, Robert Cummings <robert@xxxxxxxxxxxxx> wrote:

On Thu, 2007-05-10 at 14:51 -0400, Armando Acosta wrote:
> Let's try to make a long story short.
>
> I realized that the server uses a different PHP configuration,
specially: "register_globals" set to ON. I already got them to change this
value to OFF... but this did not solve the problem.
>
> I will appreciate any help, suggestion, idea.... currently I am
(honestly) clue less...

Did they restart the webserver after changing the config?

BTW, what's the point of abbreviating short words like "user" to "usr"
and "type" to "typ"?

Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

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




--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux