Jump to content

Problem with the URL variables...


walkero

Recommended Posts

I have a problem with a pc Win Xp pro installation of apache and php...

I installed it as the manual says, it runs fine with no error

on error.log. I also installed the latest version of MySQL as

a service.

Everything work just fine. The phpMyAdmin 2.5.3-rc1 works great

with no problem...

 

In there I put a folder with a page that I made. I use the same

code on an other computer with an older version of apache and

works just fine. At the new computer with the latest version

there is a problem. It doesn\'t use the extra parameters on a URL.

What I mean is that a URL like

http://morpheus:82/guestbook.php?todo=add

does not return a value of the variable todo. So I can\'t use the

<?php

echo $todo;

?>

to get back that value. It returns nothing.

 

But the phpMyAdmin 2.5.3-rc1 works great without having the problem

that my page have.

 

Does anyone know what\'s wrong?

Link to comment
Share on other sites

you mean that the variable \"todo\" is something that we shouldn\'t use...????

I fixed it by changing the register_globals....

 

Also there is one more problem. The server doesn\'t send the cookies...do you have any clue about that?

 

thanks for your help

Link to comment
Share on other sites

  • 1 month later...

Greetings,

One place to look in regards to the cookie handling,

is in your php.ini file. There is a section specifically

regarding wheather or not, and how PHP will handle

cookies. This does not mean that your script may

not be the reason. It is simply one reason you may be

having trouble.

 

Best wishes,

Chris

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.