Jump to content

Search the Community

Showing results for tags 'php help login problem'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. Hi there php freaks im looking at hiding a login form at the index page ,so once the user logs in if he decides to click on home/index page ,he wont see login form again untill he logs out my index page code <?php include 'header.php'; ?> <link rel=”apple-touch-icon” href="http://www.tugapay.com/webicon.png" <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/> <link rel="apple-touch-startup-image" href="/startup.png"> <meta name="apple-mobile-web-app-capable" content="yes" /> <div id="content"> <div class="container inner"> <form action="/account/index.php" method="POST" enctype="multipart/form-data"> <form action="loginprocess.php" method="POST"> <form action="/account/register.php" method="POST" enctype="multipart/form-data"> <div class="one_third"> <label>Email Address: </label> <input type="text" id="login_email" name="login_email" spellcheck="false"> </div> <div class="one_third"> <label>Password: </label> <input type="password" id="login_password" name="login_password" spellcheck="false"> </div> <div class="one_third" style="padding-top: 0px;"> <td><a href="../account/loginprocess.php"<input type="submit" id="login_submit" name="login_submit" style="background: light_blue;" class="button" value="Login to Account">Login to Accounts</a></td> </div> <div class="one_third" style="padding-top: 0px;"> <td><a href="/account/register.php" id="login_submit" name="login_submit" input type="submit" style="background: light_blue;" class="button" value="Register">Register</a></td> </div> </form> </div> </div> <div id="slider" class="flexslider"> <ul class="slides"> <li> <img src="/assets/images/blog/pic.jpg" alt=""> <div class="inner"> <h2 class="flex-caption" style="bottom: 60px;">Want to send money Quick & Easy?</h2> <h3 class="flex-caption" style="bottom: 20px;">Join Us today to see how its done</h3> </div> </li> </ul> <script type="text/javascript"> /* <![CDATA[ */ $(window).load(function(){ $('.flexslider').flexslider({ //smoothHeight: true, controlNav: false, animation: "slide", start: function(slider){ $('body').removeClass('loading'); } }); }); /* ]]> */ </script> </div> <div id="content"> <div class="container inner"> <div class="one_third"> <i class="icon-time large left"></i> <div class="column"> <h2>Easy & Secure</h2> <p>Our Payment System is User friendly and Most Secure to ensure your identity and money is secure .</p> <a href="#" class="button large">Read More</a> </div> </div> <div class="one_third"> <i class="icon-magic large left"></i> <div class="column"> <h2>Fast</h2> <p>Sending and Receiving money is fast and almost instant and covered almost everywhere around the globe.</p> <a href="#" class="button large">Read More</a> </div> </div> <div class="one_third"> <i class="icon-bar-chart large left"></i> <div class="column"> <h2>Grow Your Business</h2> <p>With Our Payment Solution you can make your business income increase rapidly using our tools .</p> <a href="#" class="button large">Read More</a> </div> </div> </div> <div class="separated"> <div class="inner"> <div class="container"> <div class="highlight"> <h2>Solutions that you need</h2> <p>With <strong>TugaPay</strong> Your business will only grow and your profits will only maximize very rapidly and make your business a success . Other payment solutions can be difficult to understand and register for, but our payment solutions are one of the best out there. </p> <p>So why not try it Today?</p> </div> </div> </div> </div> </div> <?php include 'footer.php'; ?> And this is my loginprocess code <?php $email = $_POST('login_email'); $pass = md5($_POST['password']); $query = mysql_query("SELECT * FROM users WHERE login_email = '$email' AND login_password = '$pass' AND activation IS NULL"); $data = mysql_fetch_assoc($query); if mysql_num_rows($query) ?> Also another problem im getting is when i click to login it redirects me to another login page which is in another folder which i have and i want it to redirect me to dashboard anyone out there could help me with this nonsense?
×
×
  • 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.