[PHP] Sync CSV files with MySQL Database.

2013-05-10 Thread Carlos Sura
Hello mates, Perhaps this seems to be a silly question, but it is not to me, here is the scenario: I know how to import CSV files with PHP to a MySQL database, the thing is, that CSV file is automatically feed by a third-party application, I want to do something to add just the new records, not a

Re: [PHP] undef func

2013-05-10 Thread georg
Ok, txn ! so yum install php-devel worked, and got me a hole lot of pearl, however, still PHP has odbc_connect() call as undefined function. as per Apache error log. There was some mentioning of php.ini; could that be something here ? /georg - Original Message - From: "James Yerge"

Re: [PHP] undef func

2013-05-10 Thread Ashley Sheridan
James Yerge wrote: >On 05/10/2013 06:08 PM, Gabriel Ricci wrote: >> pear isntall php-dev >> >> >> Att. >> >> Gabriel Ricci >> >> >> Website >> Follow @gabrielricci >> Facebook profile

Re: [PHP] undef func

2013-05-10 Thread James Yerge
On 05/10/2013 06:08 PM, Gabriel Ricci wrote: > pear isntall php-dev > > > Att. > > Gabriel Ricci > > > Website > Follow @gabrielricci > Facebook profile , GitHub > prof

Re: [PHP] undef func

2013-05-10 Thread Gabriel Ricci
Sorry, yum install php-dev Att. Gabriel Ricci Website Follow @gabrielricci Facebook profile , GitHub profile

Re: [PHP] undef func

2013-05-10 Thread Gabriel Ricci
pear isntall php-dev Att. Gabriel Ricci Website Follow @gabrielricci Facebook profile , GitHub profile

Re: [PHP] undef func

2013-05-10 Thread georg
So thanx again, closing in. It turned out that I had tried; yum install php_pear // i.e. with an underscore, should be with hyphen ! so crawling a mm forward; then stuck on; pecl install pdo_odbc// in this case the undrscore is ok (!) which fails as "Cant find php headers in /usr/include/p

Re: [PHP] undef func

2013-05-10 Thread Serge Fonville
Assuming OP is using a distro that uses yum for package management; A "yum whatprovides pecl" should provide the package name that needs to be installed, in case of an apt based distro, this could be done through aptitude. Either way, it seems what might provide more information is details like the

Re: [PHP] undef func

2013-05-10 Thread georg
noop, didnt take, no such package, was my reward /georg - Original Message - From: Gabriel Ricci To: georg Cc: Daniel Brown ; tamouse mailing lists ; PHP General Sent: Friday, May 10, 2013 11:06 PM Subject: Re: [PHP] undef func To have pecl, you need to install PEAR fir

Re: [PHP] undef func

2013-05-10 Thread Gabriel Ricci
To have pecl, you need to install PEAR first, "yum install php-pear" (or "yum install php5-pear") should work. Then you can try "pecl install pdo_odbc." Att. Gabriel Ricci Website Follow @gabrielricci F

Re: [PHP] undef func

2013-05-10 Thread georg
unfortunately that didnt take, pecl is undefined command (my linux is not so strong) trying yum renders no such package - Original Message - From: "Daniel Brown" To: "tamouse mailing lists" Cc: "georg" ; "PHP General" Sent: Friday, May 10, 2013 9:21 PM Subject: Re: [PHP] undef f

Re: [PHP] undef func

2013-05-10 Thread Daniel Brown
On Fri, May 10, 2013 at 3:18 PM, tamouse mailing lists wrote: > > Aren't DLLs a Windows thing? Yeah, I misread the bit about "MS XP" and thought he was using XP for this install. I just realized the remainder of the discussion between us was off-list, so - for posterity - my response, when f

Re: [PHP] undef func

2013-05-10 Thread tamouse mailing lists
On Fri, May 10, 2013 at 12:23 PM, Daniel Brown wrote: > On Fri, May 10, 2013 at 6:15 AM, georg wrote: >> Hello ! >> >> im increasingly frustrated on my effort to get PHP/ODBC going with Apache on >> Linux (did it on MS XP, that was trixy but this is worse, nothing seem to be >> correct; utiliti

Re: [PHP] undef func

2013-05-10 Thread Daniel Brown
On Fri, May 10, 2013 at 6:15 AM, georg wrote: > Hello ! > > im increasingly frustrated on my effort to get PHP/ODBC going with Apache on > Linux (did it on MS XP, that was trixy but this is worse, nothing seem to be > correct; utilities missing, erroneous file-directory references, crapy > stri

Re: [PHP] Having a problem with clone.

2013-05-10 Thread Nick Whiting
Do you have a backtace for this? What is the gender class doing? Have u done a global search for keyword "clone"? On Friday, May 10, 2013, Richard Quadling wrote: > Hi. > > I'm having an issue where I get ... > > Fatal error: Trying to clone an uncloneable object of class Smarty_Variable > in

[PHP] pecl/gender bug in PHP V5.3

2013-05-10 Thread Richard Quadling
Hello all. Very odd behaviour. If using pecl/Gender V0.9.0 with PHP V5.3.3, V5.3.13, V5.3.23, then I get an error ... PHP Fatal error: Trying to clone an uncloneable object of class Variable in - on line 14 No problem with V5.4.14 No idea why this is the case. Changelog for V5.3 doesn't rev

Re: [PHP] Having a problem with clone.

2013-05-10 Thread Richard Quadling
On 10 May 2013 12:18, Richard Quadling wrote: > > On 10 May 2013 12:08, Nick Whiting wrote: > >> >> Do you have a backtace for this? >> >> What is the gender class doing? >> >> Have u done a global search for keyword "clone"? >> >> >> >> On Friday, May 10, 2013, Richard Quadling wrote: >> >>> Hi

Re: [PHP] Having a problem with clone.

2013-05-10 Thread Richard Quadling
On 10 May 2013 12:08, Nick Whiting wrote: > > Do you have a backtace for this? > > What is the gender class doing? > > Have u done a global search for keyword "clone"? > > > > On Friday, May 10, 2013, Richard Quadling wrote: > >> Hi. >> >> I'm having an issue where I get ... >> >> Fatal error: Tr

[PHP] undef func

2013-05-10 Thread georg
Hello ! im increasingly frustrated on my effort to get PHP/ODBC going with Apache on Linux (did it on MS XP, that was trixy but this is worse, nothing seem to be correct; utilities missing, erroneous file-directory references, crapy stringency in description...) well: "undefined function odbc

[PHP] Having a problem with clone.

2013-05-10 Thread Richard Quadling
Hi. I'm having an issue where I get ... Fatal error: Trying to clone an uncloneable object of class Smarty_Variable in xx/trunk.newbuild/includes/frontend/site_includes/classes/smarty-3.10/sysplugins/smarty_internal_template.php on line 269 This issue happens consistently on our live server