Jump to content

Login snippet


djscousey

Recommended Posts

Hi all,

 

I have a website currently http://www.scouselandonline.com.

 

I would like to create a login feature for the Site Admin i.e Me and fellow DJ´s.

 

But i want it so, when we log it, a picture on the index.html page (DJ Playing Now) will change to the corresponding one. I.E when i log in it displays "djscousey.jpg"  when MC MiniMat logs in it displays mcminimat.jpg etc. etc.

 

I really am a learner at php, so i thought maybe you guys could put me in the right direction...

 

my server is capable of MySQL if this is needed.

 

Thanks in advance,

 

DJ Scousey

Link to comment
Share on other sites

We are best at helping with code that is already partly written.

 

If you have absolutely nothing so far, suggest you read through several PHP Freaks tutorials on sessions and creating login pages, etc etc... you need to start at first base, so don't worry about jumping to image issues. Get your login page squared away (and yes, I would definitely suggest utilizing the MySQL available to you!).

 

PhREEEk

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.