Re: [PHP] RSYNC - who knows more?

2010-01-18 Thread Richard
Hi, yes i see the links to the mailing lists, but i can not access them. Ask away then. Someone may be able to help you. I've used it a little before in the past to synchronise dev and live boxes. -- Richard Heyes HTML5 canvas graphing: RGraph - http://www.rgraph.net (updated 16th January)

[PHP] Zend debugger doesn't work

2010-01-18 Thread Ali Asghar Toraby Parizy
Hi I have installed php 5.3.1 (with thread safety = on) recently And I tried to install zend debugger yesterday. I downloaded zend debugger extension from http://downloads.zend.com/pdt/server-debugger/ But I didn't find dll module for 5.3.x release. So I tried dll file in 5_2_x_comp folder. When I

[PHP] integrating shipping with shopping cart site - OT

2010-01-18 Thread Angelo Zanetti
Hi all, We are about to start a new project. Custom written shopping cart - quite simple actually. However we have a concern when it comes to calculating the shipping cost for an order. For each product we can determine the base cost based on weight, therefore we can determine the total weight

Re: [PHP] RSYNC - who knows more?

2010-01-18 Thread Michael Kubler
What is it you want to do? Do you want to create a client for RSYNC, or maybe rsync to AmazonS3 http://jeremy.zawodny.com/blog/archives/007641.html (which is admittedly hard), or maybe use something like rsnapshot http://www.rsnapshot.org/ to have rsync + snapshot functionality, which is

Re: [PHP] RSYNC - who knows more?

2010-01-18 Thread Jens Geier
Hello Michael, usualy i like to make a backup of some Paths of my Laptop. So i think a rsnapshot should be a good idea. So i will have a look to your second Link you provide. Kind Regards Jens Geier Michael Kubler mdk...@gmail.com schrieb im Newsbeitrag news:4b542e73.8040...@gmail.com...

[PHP] 64 Bit IIS 6 ( 32 Bit mode ) + 32Bit php connect with MS-SQL Server

2010-01-18 Thread Edward S.P. Leong
Dear All, I had config the php.ini as the following : extension=php_mssql.dll Then run the cli iisreset and reboot the web server machine... After that, there is NO any MS-SQL within the phpinfo()... So, would you mind to help more ? Thanks ! Edward. -- PHP General Mailing List

[PHP] Notices flooding logs with fastcgi

2010-01-18 Thread Max Zimmermann
Hello everybody, I have chosen this list because my problem is related to one particular style of php installation. At least I think so. I'm running php 5.2.11 and plesk 9.2.3, php through fastCGI. My problem is that, since error_log is unset, php passes on any errors to the webserver

Re: [PHP] Notices flooding logs with fastcgi

2010-01-18 Thread Ashley Sheridan
On Mon, 2010-01-18 at 12:20 +, Max Zimmermann wrote: Hello everybody, I have chosen this list because my problem is related to one particular style of php installation. At least I think so. I'm running php 5.2.11 and plesk 9.2.3, php through fastCGI. My problem is that, since

Re: [PHP] Notices flooding logs with fastcgi

2010-01-18 Thread Max Zimmermann
2010/1/18 Ashley Sheridan a...@ashleysheridan.co.uk On Mon, 2010-01-18 at 12:20 +, Max Zimmermann wrote: Hello everybody, I have chosen this list because my problem is related to one particular style of php installation. At least I think so. I'm running php 5.2.11 and plesk 9.2.3,

Re: [PHP] 64 Bit IIS 6 ( 32 Bit mode ) + 32Bit php connect with MS-SQL Server

2010-01-18 Thread Richard Quadling
2010/1/18 Edward S.P. Leong edward...@ita.org.mo: Dear All, I had config the php.ini as the following : extension=php_mssql.dll Then run the cli iisreset and reboot the web server machine... After that, there is NO any MS-SQL within the phpinfo()... So, would you mind to help more ?

Re: [PHP] Notices flooding logs with fastcgi

2010-01-18 Thread Richard Quadling
2010/1/18 Max Zimmermann maxzimmerm...@googlemail.com: 2010/1/18 Ashley Sheridan a...@ashleysheridan.co.uk  On Mon, 2010-01-18 at 12:20 +, Max Zimmermann wrote: Hello everybody, I have chosen this list because my problem is related to one particular style of php installation. At least

Re: [PHP] Notices flooding logs with fastcgi

2010-01-18 Thread Robert Cummings
Ashley Sheridan wrote: On Mon, 2010-01-18 at 12:20 +, Max Zimmermann wrote: Hello everybody, I have chosen this list because my problem is related to one particular style of php installation. At least I think so. I'm running php 5.2.11 and plesk 9.2.3, php through fastCGI. My problem

[PHP] Casting objects.

2010-01-18 Thread Richard Quadling
Hello. I've got an object via odbc_fetch_object (which is of stdClass). I have an class structuresRemovalReason. I want to cast the response of odbc_fetch_object to structuresRemovalReason. The only way I can see of doing this is to not use odbc_fetch_object, but odbc_fetch_assoc and then

Re: [PHP] Notices flooding logs with fastcgi

2010-01-18 Thread Max Zimmermann
2010/1/18 Richard Quadling rquadl...@googlemail.com 2010/1/18 Max Zimmermann maxzimmerm...@googlemail.com: 2010/1/18 Ashley Sheridan a...@ashleysheridan.co.uk On Mon, 2010-01-18 at 12:20 +, Max Zimmermann wrote: Hello everybody, I have chosen this list because my problem is

Re: [PHP] Notices flooding logs with fastcgi

2010-01-18 Thread Max Zimmermann
2010/1/18 Robert Cummings rob...@interjinn.com Ashley Sheridan wrote: On Mon, 2010-01-18 at 12:20 +, Max Zimmermann wrote: Hello everybody, I have chosen this list because my problem is related to one particular style of php installation. At least I think so. I'm running php

[PHP] intermittent failure of php date

2010-01-18 Thread John Corry
I maintain a site that is generating some strange behavior... It's a custom built event registration app. Events have event_dates that are stored in the MySQL db. This code retrieves the event title and event date for display on the registration acknowledgment page: $q2 = SELECT title,

[PHP] Re: intermittent failure of php date

2010-01-18 Thread John Corry
The field in the DB is defined as type date. I've had several event registrations for an upcoming event come through. THe event date is '2010-01-27'. 2 of the 5 event registrations contained empty values for the date. wtf? On Mon, Jan 18, 2010 at 10:23 AM, John Corry jcorry.li...@gmail.com

[PHP] Re: Casting objects.

2010-01-18 Thread Shawn McKenzie
Richard Quadling wrote: Hello. I've got an object via odbc_fetch_object (which is of stdClass). I have an class structuresRemovalReason. I want to cast the response of odbc_fetch_object to structuresRemovalReason. The only way I can see of doing this is to not use odbc_fetch_object,

Re: [PHP] Re: intermittent failure of php date

2010-01-18 Thread Ashley Sheridan
On Mon, 2010-01-18 at 10:32 -0500, John Corry wrote: The field in the DB is defined as type date. I've had several event registrations for an upcoming event come through. THe event date is '2010-01-27'. 2 of the 5 event registrations contained empty values for the date. wtf? On Mon,

[PHP] Re: Casting objects.

2010-01-18 Thread Shawn McKenzie
Shawn McKenzie wrote: Richard Quadling wrote: Hello. I've got an object via odbc_fetch_object (which is of stdClass). I have an class structuresRemovalReason. I want to cast the response of odbc_fetch_object to structuresRemovalReason. The only way I can see of doing this is to not use

[PHP] Re: Casting objects.

2010-01-18 Thread Shawn McKenzie
Shawn McKenzie wrote: Never mind, that was stupid. I saw that somewhere before, but obviously it doesn't work. I found some code, maybe I redeem myself? static public function cast($object, $class=__CLASS__){ if(class_exists($class)) { $object = unserialize(

Re: [PHP] 64 Bit IIS 6 ( 32 Bit mode ) + 32Bit php connect with MS-SQL Server

2010-01-18 Thread edwardspl
引述 Richard Quadling rquadl...@googlemail.com: 1 - Can you confirm that the ini file you are editing is the one that is reported in phpinfo() as the file being used? Yes, BUT there is no MSSQL info of it... 2 - At a command prompt, change directory to your PHP installation and type ...

Re: [PHP] integrating shipping with shopping cart site - OT

2010-01-18 Thread Jochem Maas
Op 1/18/10 10:47 AM, Angelo Zanetti schreef: Hi all, We are about to start a new project. Custom written shopping cart - quite simple actually. However we have a concern when it comes to calculating the shipping cost for an order. For each product we can determine the base cost based on

[PHP] 64 bit date in 32 bit php ??

2010-01-18 Thread Michael A. Peters
php 5.2.12 running in CentOS 5.x Unfortunately, both my server (xen linode) and my test server (crappy old dell I found in a field) are 32-bit. I need to work with some dates earlier than 1901 and I would really prefer to store them in *nix time in the database and use the date() function to