[PHP] further detail on mysql connect problem

2005-05-24 Thread Jim & Sara Feldman
Hi: Adding a detail to my previous note on the mysql connect problem: At the point where I attempted to connect, I added a printout of the error generated when the instruction ran. The two lines now read: $result = mysql_pconnect("localhost", "api_user", "x97533"); echo "Tried to connect. Pr

[PHP] mysql connect problem

2005-05-24 Thread Jim & Sara Feldman
Hi: I have recently upgraded from a Mac G4 running OS 10.3.9 to a G5 running OS 10.4. I ported a working PHP app and upgraded from PHP 4.3.4 to 4.3.10 and MySQL 4.0.17 to 4.1.11. I am having a problem connecting to MySQL from PHP. I can connect to the database using either phpMyADMIN or

[PHP] update blues

2005-05-20 Thread Jim & Sara Feldman
Hi: I have a partially finished app using PHP and MySQL that runs on Mac G4 running System 10.3.9. Undoubtedly, I upgraded too many things all at the same time. Something broke. PHP and MySQL are both running. I can use the latest phpMyADMIN and everything is there in the database, so that s

[PHP] "calling" one php script from another

2004-03-03 Thread Jim & Sara Feldman
Does anyone know of a way to jump from one php script to another without going through the client browser? The closest I have been able to come to doing that is to use nested frames where the parent frame can call multiple php scripts, one for each child frame. Jim -- Jim Feldman 14 Linda Lane

[PHP] Re: No COOKIE Set?

2004-01-01 Thread Jim & Sara Feldman
Cesar: I think that the problem is the array in the "echo" statement. I have found that I have to do something like: $simple = $_COOKIE["MemberId"]; echo "Member ID = $simple"; Hope that helps. Jim Hi all, My head is about to explode here... I am trying to setup a cookie for every new user

[PHP] Problem with session variables on Mac

2003-12-24 Thread Jim & Sara Feldman
I should first admit to being a php newbie, so the answer may be obvious, but this looks like a bug to me. Global variables are OFF. I start a session at the very top of page "member.php": session_start(); In a function called from the same page, I store some variables in the session array: