[PHP] executing external php script

2011-03-02 Thread ƒAƒ‹ƒxƒ‹ƒg
hi! what I want to do is execute php script and don't wait for output. found something like this - ?php `php /var/www/secend.php /dev/null 21 `; ? html body text /body /html

Re: [PHP] executing external php script

2011-03-02 Thread Alex
The exec function should help you there -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. ƒAƒ‹ƒxƒ‹ƒg dziu...@kdl.co.jp wrote: hi! what I want to do is execute php script and don't wait for output. found something like this_ ?php

Re: [PHP] Help needed with mysql import

2011-03-02 Thread Alex
You shouldn't have a default value in an auto increment field. You can set AUTO_INCREMENT to 0 and start with 1, but as auto increment is a unique field and its automagically incremented, you should not set a default value on it... -- Sent from my Android phone with K-9 Mail. Please excuse my

Re: [PHP] Help needed with mysql import

2011-03-02 Thread Jim Lucas
On 3/2/2011 4:25 AM, Alex wrote: You shouldn't have a default value in an auto increment field. You can set AUTO_INCREMENT to 0 and start with 1, but as auto increment is a unique field and its automagically incremented, you should not set a default value on it... This is fine and dandy

Re: [PHP] Help needed with mysql import

2011-03-02 Thread Jim Lucas
On 3/2/2011 9:48 AM, Ashley Sheridan wrote: Jim Lucas li...@cmsws.com wrote: On 3/2/2011 4:25 AM, Alex wrote: You shouldn't have a default value in an auto increment field. You can set AUTO_INCREMENT to 0 and start with 1, but as auto increment is a unique field and its automagically

Fwd: [PHP] Help needed with mysql import

2011-03-02 Thread Ashim Kapoor
-- Forwarded message -- From: Ashim Kapoor ashimkap...@gmail.com Date: Thu, Mar 3, 2011 at 7:22 AM Subject: Re: [PHP] Help needed with mysql import To: Jim Lucas li...@cmsws.com CREATE TABLE IF NOT EXISTS `ajax_products` ( `id` int(11) NOT NULL auto_increment, `name`