I develop my php codes using PDO on windows via Xammp server.
now when i deployed it on the server, some of them run , some did not run at all.
what could be the problem.
1: Is there something that i need to enable.
2: Is php PDO not supported on this server
3: Why did all my applications runs execellent on windows via Xammp server but does not run on linux with webhosting account
Take a look at the code below
This code above runs on my Xammp server perfectly and displays a success.php page but here it runs but cannot display the success page.
$ip_adres = strip_tags($_SERVER['REMOTE_ADDR']);
$statement = $db->prepare('INSERT INTO report (offender,offence,reporter_ip)
':offender' => $usern,
':offence' => $pass,
':reporter_ip' => $ip_adres
Almost all my application refuses to run.