Re: [PHP] Mac 10.7 Install/Copy fresh PHP over Pre-Installed PHP

2012-07-31 Thread Slith
save yourself the trouble and setup a virtualized Linux box using Vagrant http://vagrantup.com. I think this is the way to go on Mac. On Jul 31, 2012, at 6:34 PM, tamouse mailing lists wrote: Ugh. This is why I no longer want an apple computer. On Jul 31, 2012 8:26 AM, JeffPGMT

[PHP] How to alter the schema of a database to introduce new features or change the current features

2010-07-14 Thread Slith One
I'm developing an app using Zend Framwork using Git for version control. What is the best approach for updating the schema and the database when one of us makes an update to the db structure? currently, we have to blow out the tables and recreate them manually to reflect the new updates. --

[PHP] determine date range

2007-12-12 Thread slith
I'm working on hotel type booking script where prices will vary depending on the season. prices are updated every year so i need to take a user inputed date and determine which season the date falls under. i figured i can convert all dates into a timestamp and then run a series conditional

Re: [PHP] determine date range

2007-12-12 Thread slith
yes, i was trying to keep things simple and avoid using a database but i think may go that route like you suggested. Andrew Ballard wrote: Will the boundary dates for each season change from one year to the next? If so, I would probably store the seasons in a database table and then just

[PHP] Re: How to handle rows of checkboxes upon form submit?

2007-12-07 Thread slith
foreach($_POST['selected_fld'] as $key = $val){ echo 'KEY:' $key . ' - VALUE:' . $val . 'br /'; } Rob Gould wrote: Let's say I have a PHP script which lists a series of objects for sale at a yard sale, each with a checkbox to the left of the name of the item. If I wanted to have a

[PHP] php on irc

2007-10-05 Thread Slith
i was just wondering if there is an irc channel for php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] html to xml?

2007-09-12 Thread Slith
i need to parse an html page for tabular data which i can then import into mysql so i thought converting the html to xml might be a feasible thing to do, however, other than using tidy from the command line i can't find a way to do this from php. does anyone know of any class (or other) that

[PHP] pdo_mysql segfault error

2007-09-08 Thread Slith
i'm trying to enable pdo_mysql extension, however i keep getting the following segfault error when i restart apache: httpd[20567]: segfault at 0020abef8f07 rip 0020abef8f07 rsp 006e6ad0 error 14 my setup is the following: Apache 1.3.37 php 5.2.2 mysql 5.0.41 not sure wether