Login Problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
phpete0812
Forum Newbie
Posts: 11
Joined: Mon Oct 10, 2005 1:14 pm
Location: Santa Cruz. CA

Login Problem

Post by phpete0812 »

My friend is having me do work on a php script he uses to manage data for his work on an intranet. This script he sent requires a login. I uploaded the script to a server that is MySQL compatible. I used the data dump he sent to fill in the tables in "phpMyAdmin". When trying to access any of the pages on my browser I am defaulted to the login page. I have the list of users and their usernames and passwords. My friend even gave me his username and password, but nothing works. It's telling me that my username + password are "Invalid". Anyone know what's going on??
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

My guess is there's a compatibility issue. What is the PHP version of your machine and your friend's machine?
phpete0812
Forum Newbie
Posts: 11
Joined: Mon Oct 10, 2005 1:14 pm
Location: Santa Cruz. CA

Login Problem

Post by phpete0812 »

I have PHP Version 4.3.11.

All I know about his set-up is this:
1. MySQL version : 4.0.20-standard
2. Webserver: Apache/2.0.46
3. OS: Red Hat Enterprise Linux ES release 3 (Taroon)
4. Kernel: 2.4.21-4.ELsmp

Is there a place within the PHP files that this info might be?
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Code: Select all

<?php phpinfo(); ?>
Although we also need to know the friend's configuration.
phpete0812
Forum Newbie
Posts: 11
Joined: Mon Oct 10, 2005 1:14 pm
Location: Santa Cruz. CA

Post by phpete0812 »

I don't have his ftp settings. Won't I need that?
Post Reply