Click here to Skip to main content
15,881,812 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
Questioni have php class and read file from ftp server and work fine on local machine but i hosted on godaddy then not read file from ftp server Pin
Ajeet Lodhi26-Jan-14 23:29
Ajeet Lodhi26-Jan-14 23:29 
Questioninserting excel data to php myadmin database Pin
Member 1055130526-Jan-14 18:09
Member 1055130526-Jan-14 18:09 
AnswerRe: inserting excel data to php myadmin database Pin
Kornfeld Eliyahu Peter26-Jan-14 20:50
professionalKornfeld Eliyahu Peter26-Jan-14 20:50 
Questionhow run redirection in the background Pin
Jassim Rahma26-Jan-14 10:10
Jassim Rahma26-Jan-14 10:10 
AnswerRe: how run redirection in the background Pin
Graham Breach26-Jan-14 23:45
Graham Breach26-Jan-14 23:45 
QuestionObtain Facebook Access-Token Pin
Jassim Rahma26-Jan-14 8:38
Jassim Rahma26-Jan-14 8:38 
AnswerRe: Obtain Facebook Access-Token Pin
Richard MacCutchan26-Jan-14 21:55
mveRichard MacCutchan26-Jan-14 21:55 
QuestionProblem creating a PDO Object with Rewriting On Pin
Mike Dev Br24-Jan-14 2:24
Mike Dev Br24-Jan-14 2:24 
Hi
I'm having a weird situation here.

I'm trying create a PDO object, like this:

PHP
$dbh = new PDO('mysql:host='.$hostname.';dbname='.$dbname,$username, $password);


I have rewriting ON in my .htaccess file. when I try to run the script using a URL that will trigger a rewrite rule, it shows me the following error:

PHP
Fatal error: Class 'PDO' not found


I have a exception rewrite rule for a directory where the script is, named PHP, like this:

RewriteRule ^(php)($|/) - [L]


if I run the scripting directly from the directory, it runs normally with no erros.

I don't know why this is happening. any clues?

Thank you
AnswerRe: Problem creating a PDO Object with Rewriting On Pin
Mike Dev Br26-Jan-14 7:34
Mike Dev Br26-Jan-14 7:34 
GeneralRe: Problem creating a PDO Object with Rewriting On Pin
Mike Dev Br26-Jan-14 13:15
Mike Dev Br26-Jan-14 13:15 
Questionwhy web font is not working on IE Pin
Jassim Rahma21-Jan-14 11:09
Jassim Rahma21-Jan-14 11:09 
AnswerRe: why web font is not working on IE Pin
Graham Breach21-Jan-14 21:30
Graham Breach21-Jan-14 21:30 
Questionwhy my PHP is NOT ignoring the <select>? Pin
Jassim Rahma10-Jan-14 2:44
Jassim Rahma10-Jan-14 2:44 
AnswerRe: why my PHP is NOT ignoring the <select>? Pin
Kornfeld Eliyahu Peter19-Jan-14 23:52
professionalKornfeld Eliyahu Peter19-Jan-14 23:52 
QuestionVideo tag cross browser issue Pin
shajis0019-Jan-14 19:33
professionalshajis0019-Jan-14 19:33 
AnswerRe: Video tag cross browser issue Pin
thatraja19-Jan-14 22:14
professionalthatraja19-Jan-14 22:14 
Questioncan't login to my wordpress Admin page after changing The URL 's Pin
Davood Riazi8-Jan-14 22:45
Davood Riazi8-Jan-14 22:45 
AnswerRe: can't login to my wordpress Admin page after changing The URL 's Pin
Richard MacCutchan8-Jan-14 23:40
mveRichard MacCutchan8-Jan-14 23:40 
GeneralRe: can't login to my wordpress Admin page after changing The URL 's Pin
Davood Riazi9-Jan-14 3:18
Davood Riazi9-Jan-14 3:18 
GeneralRe: can't login to my wordpress Admin page after changing The URL 's Pin
Davood Riazi9-Jan-14 9:46
Davood Riazi9-Jan-14 9:46 
GeneralRe: can't login to my wordpress Admin page after changing The URL 's Pin
User 17164929-Jan-14 10:24
professionalUser 17164929-Jan-14 10:24 
GeneralRe: can't login to my wordpress Admin page after changing The URL 's Pin
Davood Riazi9-Jan-14 19:21
Davood Riazi9-Jan-14 19:21 
GeneralRe: can't login to my wordpress Admin page after changing The URL 's Pin
Richard Deeming10-Jan-14 1:49
mveRichard Deeming10-Jan-14 1:49 
GeneralRe: can't login to my wordpress Admin page after changing The URL 's Pin
User 171649210-Jan-14 4:09
professionalUser 171649210-Jan-14 4:09 
GeneralRe: can't login to my wordpress Admin page after changing The URL 's Pin
Davood Riazi10-Jan-14 9:16
Davood Riazi10-Jan-14 9:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.