Zubrag.com
September 20, 2018, 08:57:03 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Reading members from MySQL  (Read 3781 times)
rl435
Newbie
*
Posts: 2


« on: June 25, 2010, 02:42:17 PM »

Hi
Is it possible to read the names and passwords from MySQL?
It would be great if you could help with this.
Thanks

Logged
rl435
Newbie
*
Posts: 2


« Reply #1 on: June 28, 2010, 12:36:59 PM »

I struggled with this one for half a day, used what prosaic examples I could find .... then gave up  Shocked
In the end I created a new file (I called it newmanager.php and it gets initialised on start up before forwarding to another page) and then used PHP's fwrite function to populate the user.php file in the same manner as it is now.

It works and that's all I care about.

Its not the most elegant of solutions - that would be to have it read directly from MySQL, but it works just as well as the original, so its integrity is still intact.

Regards
RL435
(sorry about the above signature .... I just wanted to see what the 'marquee' looked like ;-)
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC