Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8028175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:03:27+00:00 2026-06-05T00:03:27+00:00

I have developed a Web Application in pyrocms and thats working perfectly. Now i

  • 0

I have developed a Web Application in pyrocms and thats working perfectly. Now i want to create the mobile version of this site in core php as my client ask me to do. I have done almost but facing problem in creating login module in core php as i want to be able the users created by the main site using pyrocms..
So please let me know how i can create login functionality in core php that works same like pyrocms login.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T00:03:29+00:00Added an answer on June 5, 2026 at 12:03 am

    Necessity is the mother of all invention…:)

    Finally i have done this.. There is few steps ..

    1. Get the email and password from login form.
    2. Select user detail from default_users detail using emailid.
    3. Calcuate the encrypted password using  password  and salt in this `sha1($password . $salt)`
    4. Check the encrypted password value with db password value..
    

    Here is the working code.

    $result = fetchuserdetail($email);
                while($row = mysql_fetch_object($result))
                        {
                             $dbpassword =  $row->password;
                             $salt =  $row->salt;
                             $userid =  $row->id;
                        }
                $encrypassword = sha1($password . $salt);
                if($encrypassword == $dbpassword)
                {
                    $_SESSION['user_logged_in'] = TRUE;     
                    $_SESSION['user_logged_id'] = $userid;                  
                    header("Location:$refer");
                }
                else
                {
                    $_SESSION['email'] = $email;
                    $_SESSION['password'] = $password;
                    $_SESSION['loginerro'] = "Please fill the login detail";
                    header('Location:login.php');
                }
    

    Hopefully this will help someone ….Thanks for your time on this question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed a web application which contains 50 pages & now i want
I have developed a web application using ExtJs4.0.7. The application is working fine in
I have developed a web application with fields Keyword,Latitude and Longitude. I want to
I have developed a Web and windows application, both in C#.NET. Now, what I
I have developed an web application using Asp.net ( .Net Framework 3.0). In this
I have developed a web application in Visual Studio 2008 and want to publish
I have developed a web application in asp.net in visual studio 2008. Its working
I have developed an ASP.NET web application in visual studio 2008. I want to
I have developed a web application on Struts2 and used JSP. I want to
I have developed a web application. I put session id in hashtable. I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.