user login user login
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

user login

Started by fbattikha, March 24, 2005, 06:15:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fbattikha

Hey guys, i've made a page in html, and i've place a login area on it, how can i make it integrate with coppermine?
help is greatly appreceated ;)

sabrewolf

I don't know if you have already solved this issue, but if you have put a login on your html page i assume you have used the <form> tag. In which case, you only have to make sure that the fields are named correctly and that the form points to login.php (wherever it's located) The textfields need to be named "username" and "password", not really nuclear science there, and the submit button needs to be named "submitted". If you want to use a custom gif as your submit button you could use the <style> tag, example posted here:   

<input name="submitted" type="submit" id="submitted"  style="background-image:url(yourimage.gif); width:15px; height:16px; border:0; color:#036;font-family: Verdana; font-weight: bold;" value="" /> //or something like it...

Hope this helps you or someone else :-)




Joachim Müller

just go to coppermine's login page, view the html output (not the source code of login.php, but the html output it generates) and copy'n paste the stuff between <form ...> and </form> into your html page.