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

Linux, Apache, MySQL, PHP

 
GeneralRe: Array loop / string comparison help Pin
Bryant May4-Jul-09 3:03
Bryant May4-Jul-09 3:03 
Questionproblem in inserting the data in database Pin
pallavi shrivastava4-Jul-09 2:03
pallavi shrivastava4-Jul-09 2:03 
AnswerRe: problem in inserting the data in database Pin
fly9044-Jul-09 2:22
fly9044-Jul-09 2:22 
Questionphp project? Pin
Ali_1003-Jul-09 20:58
Ali_1003-Jul-09 20:58 
AnswerRe: php project? Pin
fly9043-Jul-09 21:54
fly9043-Jul-09 21:54 
Questionjoomla,pearl, etc? Pin
Ali_1003-Jul-09 20:50
Ali_1003-Jul-09 20:50 
AnswerRe: joomla,pearl, etc? Pin
fly9043-Jul-09 21:53
fly9043-Jul-09 21:53 
QuestionCovert singleton class for php 4.4.4 to php 5.2 [modified] Pin
malrajphp1-Jul-09 22:11
malrajphp1-Jul-09 22:11 
Hi,
In my project there is singleton pattern used in php 4.4.4 and also Smarty used to display pages. Now we want to convert php 4.4.4 to 5.2.0 or above.
There is error occurred in singleton pattern like below.

"Non-static method" PaDbConnection::getInstance() should not be called statically in config.inc.php on line 177.

In config.php line no 177 is like below.

$db =& PaDbConnection::getInstance();

So I need help that how to modify the singleton class related to php5.2.0. anyone help me.

modified on Friday, July 3, 2009 12:22 AM

AnswerRe: Covert singleton class for php 4.4.4 to php 5.2 Pin
Marc Firth2-Jul-09 4:17
Marc Firth2-Jul-09 4:17 
QuestionNew to PHP Pin
NimishaLad30-Jun-09 8:44
NimishaLad30-Jun-09 8:44 
AnswerRe: New to PHP Pin
EliottA30-Jun-09 9:20
EliottA30-Jun-09 9:20 
AnswerRe: New to PHP [modified] Pin
Marc Firth30-Jun-09 23:40
Marc Firth30-Jun-09 23:40 
AnswerRe: New to PHP Pin
malrajphp2-Jul-09 4:02
malrajphp2-Jul-09 4:02 
AnswerRe: New to PHP Pin
SandipG 3-Jul-09 2:39
SandipG 3-Jul-09 2:39 
QuestionPHP help - unsure how to approach the unique needs for a random order script for a project Pin
Chris Averill30-Jun-09 3:22
Chris Averill30-Jun-09 3:22 
AnswerRe: PHP help - unsure how to approach the unique needs for a random order script for a project Pin
Luc Pattyn30-Jun-09 4:12
sitebuilderLuc Pattyn30-Jun-09 4:12 
Questioncovert excel to pdf Pin
jhyn28-Jun-09 20:00
jhyn28-Jun-09 20:00 
AnswerRe: covert excel to pdf Pin
Marc Firth28-Jun-09 22:24
Marc Firth28-Jun-09 22:24 
AnswerRe: covert excel to pdf Pin
jhyn29-Jun-09 14:02
jhyn29-Jun-09 14:02 
GeneralRe: covert excel to pdf Pin
EliottA29-Jun-09 15:52
EliottA29-Jun-09 15:52 
QuestionHow to save/serialize stdClass (result of SOAP function) to XML? Pin
Michal Drozd28-Jun-09 8:21
Michal Drozd28-Jun-09 8:21 
QuestionCapturing the path to a page link activation Pin
Member 373991027-Jun-09 15:50
Member 373991027-Jun-09 15:50 
AnswerRe: Capturing the path to a page link activation Pin
Marc Firth28-Jun-09 22:22
Marc Firth28-Jun-09 22:22 
GeneralRe: Capturing the path to a page link activation Pin
Member 373991029-Jun-09 14:22
Member 373991029-Jun-09 14:22 
QuestionNeed help to create thumbanil in linux Pin
malrajphp27-Jun-09 3:27
malrajphp27-Jun-09 3:27 

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.