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 8994273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:23:27+00:00 2026-06-15T23:23:27+00:00

I am trying to migrate my application from the mysql_* Functions over to the

  • 0

I am trying to migrate my application from the mysql_* Functions over to the PDO API and my login box which was working; has stopped Forwarding the details onto the user_check.php file..

My Code is as followed:

<?php
session_start();


if (isset($_SESSION['real_name'])){

include "member_area.php";
die("-");

}
include "Database.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="css/style_002.css">
<link rel="stylesheet" href="css/style.css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Billing Area</title>
<link rel="stylesheet" href="css/tooltip.css" type="text/css">

<div id="indexcpcenter">
 <div class="indexcpcenterbox">

   <form method="post" action="user_check.php">
Member Login <Br>
Email Address:<br>
<input type="text" name="username" type="text">
<br>
Password:<br><input type="password" name="password" type="text"></td>
<br><input type="submit" name="Submit" value="Login">
<br><i>Produced By <a href="http://www.slayer-productions.com">Slayer-Productions</a> Copyright 2012-2015 Slayer-Productions.com
</form>

</div>
</div> 

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/slideshow.js"></script>
<script type="text/javascript" src="js/tooltip.js"></script>
 <div style="position: absolute; margin: 0px; top: 384px; left: 351.5px;" id="popup"><div id="popup_title"></div><div id="popup_body">Seems like this was empty</div> <div id="popup_bottom"></div></div>

 <div id="dp_swf_engine"><object style="position: absolute; top: -1000000px; left: -1000000px;" id="_dp_swf_engine" data="swf/dealply_swf_engine.swf" type="application/x-shockwave-flash" height="1" width="1"><param value="always" name="allowscriptaccess"></object></div>

 </body></html>

an easier readable version is available here: http://pastebin.com/5GQ8Nnud

I have no idea why it’s not forwarding details onto the user_check.php file, does anyone have ideas?

As Requested: Database.php

$hostname = "mysql:dbname=alltables;host=127.0.0.1";
$username = "root";
$password = "xxx";

try
{
    $Con = new PDO ($hostname, $username, $password);
}catch (PDOException $e){
    echo 'Connection failed: ' . $e->getMessage();
}
  • 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-15T23:23:28+00:00Added an answer on June 15, 2026 at 11:23 pm

    The problem was with my member_area.php file. The original contents of the file was:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <link rel="stylesheet" href="css/style_002.css">
    <link rel="stylesheet" href="css/style.css">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Billing Area</title>
    <link rel="stylesheet" href="css/tooltip.css" type="text/css">
    
    Success!
    
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/main.js"></script>
    <script type="text/javascript" src="js/slideshow.js"></script>
    <script type="text/javascript" src="js/tooltip.js"></script>
     <div style="position: absolute; margin: 0px; top: 384px; left: 351.5px;" id="popup"><div id="popup_title"></div><div id="popup_body">Seems like this was empty</div> <div id="popup_bottom"></div></div>
    
     <div id="dp_swf_engine"><object style="position: absolute; top: -1000000px; left: -1000000px;" id="_dp_swf_engine" data="swf/dealply_swf_engine.swf" type="application/x-shockwave-flash" height="1" width="1"><param value="always" name="allowscriptaccess"></object></div>
    
     </body></html>
    

    I changed said file, to just success and the re-direct from the index.php page worked. Strange!

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

Sidebar

Related Questions

I'm trying to migrate my application from the old App Engine db to ndb.
I'm new to Postgresql and I'm trying to migrate my application from MySQL. I
I am trying to migrate an application from OC4J to Weblogic, but I can
I have been using CouchDB. Now i'm trying to migrate my application from CouchDb
I have an application that we're trying to migrate to 64bit from 32bit. It's
I'm trying to migrate my application from Rails 3.0.7 to Rails 3.1.3. I have
I'm trying to migrate an existing application from IIS with ServletExec to tomcat. I
I am trying to migrate an application from PHP 5.2.X to PHP 5.4.4 and
I am trying to migrate my java application from JBoss 5.1 to JBoss 7.0.
I am currently trying to migrate my web application from JBoss 5.1 to JBoss

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.