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

  • Home
  • SEARCH
  • 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 1093437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T23:49:38+00:00 2026-05-16T23:49:38+00:00

I was following a tutorial I found on how to create a simple login

  • 0

I was following a tutorial I found on how to create a simple login using sessions and a database. I followed it to the T (with the exception of tidying up all of the code because theirs was a mess and I’m OCD like that).

I get no errors at all on the page, it just comes up with a blank screen and I can’t work out for the life of me why it’s doing. I’ve been trying to get it working for the best part of about 3 hours.

There are 4 files:

  1. index.php – Contains the form for the login script
  2. login.php – Where the form data is processed, which is “require_once”‘d into the index.php page at the very start.
  3. config.php – Database connection info
  4. cpanel.php – Where I want the user to be sent once they logged in

And here are those 4 files in action (although I guess they’re not in action since they don’t actually work!):

index.php
login.php
config.php
cpanel.php

And here’s the tutorial I used.

Lastly here’s a link to the original (non-source) index.php file

Hope you guys can help, it’s driving me crazy now.

  • 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-05-16T23:49:39+00:00Added an answer on May 16, 2026 at 11:49 pm

    Just change

    if($jackin) {
    

    to

    if(isset($jackin)) { 
    

    in login.php file

    Also put ini_set('short_open_tag',1)

    in your cpanel.php file if short_open_tag is disabled in php.ini

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

Sidebar

Related Questions

I'm using the following tutorial http://developer.android.com/resources/tutorials/views/hello-mapview.html in order to create a map view and
The following is a simple bit of code that can be used to create
I am trying to create a Repository using the following tutorial http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/implementing-the-repository-and-unit-of-work-patterns-in-an-asp-net-mvc-application I get
Can anyone please help. I'm following a tutorial found here as I have a
I was following Azure Tutorial and found error while trying to run the Azure
I configured a jail with Chroot in SSH following this tutorial . I found
In this tutorial I've found the following snippet: deposit :: (Num a) => a
I found the following lines in a makefile tutorial, but I have some problem
I found the following table structures while I was watching ruby on rails tutorial.
I am following the following tutorial ( http://www.highoncoding.com/Articles/642_Creating_a_Stock_Widget_in_ASP_NET_MVC_Application.aspx ) on using ajax to render

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.