[PHP] URGENT: Session problem not carrying UserName over

2001-04-13 Thread Mike Yuen
I have this calendar and it's supposed to print out the word "Activity" if there is an event booked on that day. Everything works great except the query isn't finding the username. I did a print "$CUserName is CUserName" and it works great - so I know I started my session and it's accessible

[PHP] Repost URGENT: Can't see picture!!!!!!!!

2001-03-17 Thread Mike Yuen
Hi, this is a repost and nothing i've tried is working. Basically, I allow people to upload pictures and they all go to the proper directories but I can't see the picture. I can see the pictures great on my windows server but no one else can see it. Obviously the path to the images is screwed

[PHP] URGENT: Can't see picture

2001-03-14 Thread Mike Yuen
I'm having a ton of trouble trying to get pictures to display. At first, I thought I had the problem fixed - but that's because the pictures reside on my machine. So instead of providing a path to the pictures like: c:/phpweb/userpics/ I tried absolute paths like ../userpics and that doesn't

Re: [PHP] Session not destroying properly

2001-03-06 Thread Mike Yuen
Thanks for the suggestion, I tried that and it still doesn't seem to be working. Here's what i've got so far on my page (index.php). ?PHP if(session_is_registered("CUserName")) { session_destroy(); unset($CUserName); header("Location: $PHP_SELF"); } else

[PHP] Session not destroying properly

2001-03-05 Thread Mike Yuen
Got a problem with sessions. On my index page, there's a place for people to login. Well, when I test with two different user names (ie: mike and jlo) it reverts to the first one when login fails. For example: I enter in the username "myuen" and a wrong password. I get my "Password/Username

[PHP] Macs and PHP

2001-02-18 Thread Mike Yuen
As I mentioned in an earlier email. Mac users can't register for the test site i'm building and I have no idea why this is. Here's some information that may help diagnose this problem: - The site is running on Apache1.3.14 on a Windows O/S. - I'm not checking for browser type - All

[PHP] Session expiry problem

2001-02-17 Thread Mike Yuen
I'm using IE 5 to view a page i'm building for a client of mine. The problem is, on some pages when you press the "Back" button, I get an expiry message. To temporarily fix this problem, i've opened new windows everytime a link is clicked on. This is a pretty unelegant solution but I hope

[PHP] Macs and PHP

2001-02-17 Thread Mike Yuen
I'm got another person working for me on a site. He's a Mac user and for some reason, he can't seem to register as a new person. I know this problem isn't due to the large amount of traffic b/c it's a new site with 3 users max at any time. I haven't found any similar problems in any

[PHP] What's wrong with this link?

2001-01-20 Thread Mike Yuen
I realize my slashes are most likely in the wrong spot and i'm new to this PHP stuff so a little help would be appreciated. I get a parse error print "a href=/"showpictures.php?id=PID/"Click Here/a"; Thanks, Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] BIG PROBLEM WITH SEARCH!!!!!!

2001-01-19 Thread Mike Yuen
I'm developing a site that requires people to sign up. During this time, we get their name, email, city, etc. There is also optional informational like (age, education) that they don't have to fill in. Now, the problem we have is we allow people search through the database using mostly the

[PHP] Image problem

2001-01-19 Thread Mike Yuen
Can anyone tell me how to display both jpg and gif images. Basically, what i've got is: img src="$filedir/$CUserName".jpg Now, I know I probably need slashes in there and I played around with it but no luck. Where do I put them? Thanks, Mike -- PHP General Mailing List