Author Topic: Putting Sessions and Login form on own website pages  (Read 5166 times)

0 Members and 1 Guest are viewing this topic.

Offline zspider

  • Pre-Newbie
  • Posts: 9
    • View Profile
Putting Sessions and Login form on own website pages
« on: April 15, 2005, 12:13:16 AM »
on my site i dont have only the uploader i have other pages that i made that are php, wondering if i can put a login form on the home page of my site so you can log in straight away instead of having to go to the 4images uploader, if you know what i mean, how ya do this ?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Putting Sessions and Login form on own website pages
« Reply #1 on: April 15, 2005, 12:36:56 AM »
yes, u can, just make sure the form is pointing to 4images login.php and if u want it redirect to a page other then 4images index.php then add to the form:
Code: [Select]
<input type="hidden" name="url" value="your_url_here">
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline zspider

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Putting Sessions and Login form on own website pages
« Reply #2 on: April 15, 2005, 12:38:42 AM »
do i need a session thing in the header ? so i can have your logged in as blah

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Putting Sessions and Login form on own website pages
« Reply #3 on: April 15, 2005, 12:54:14 AM »
well, if visitor has blocked cookies, then this might not work if u redirect to other page then 4images.
if cookies are not blocked, then u dont need anything else.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline zspider

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Putting Sessions and Login form on own website pages
« Reply #4 on: April 15, 2005, 01:08:44 AM »
sorry but i still dont understand how to do this :( i put the url of the login page in my form and dont work :( oh i have done the mod where you intergrate with phpbb dunno if that changes anything