php-general Digest 3 May 2011 09:17:56 -0000 Issue 7295

2011-05-03 Thread php-general-digest-help
php-general Digest 3 May 2011 09:17:56 - Issue 7295 Topics (messages 312636 through 312652): Re: semaphore release before acquire warning 312636 by: Nathan Nobbe 312637 by: Jeremy Greene Custom function 312638 by: Ron Piggott 312639 by: Richard S. Crawford

Re: [PHP] php to store data

2011-05-03 Thread Tamara Temple
On May 2, 2011, at 8:14 PM, Ashley Sheridan wrote: On Mon, 2011-05-02 at 20:35 -0400, Bastien wrote: On 2011-05-02, at 8:21 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Tue, 2011-05-03 at 09:36 +1000, Sir Wally Lewis wrote: I did not get access to any database system on

Re: [PHP] Custom function

2011-05-03 Thread Andre Polykanine
Hello Ashley, By the way, the non-last optional parameter can't be missed, am I right? In some languages we could write something like: function test ($a, $foo=50, $bar=true) { // ... } Then call it like this: $m=test(blah, , false); meaning $m=test(blah, 50, false); This is impossible

Re: [PHP] Custom function

2011-05-03 Thread Ashley Sheridan
Andre Polykanine an...@oire.org wrote: Hello Ashley, By the way, the non-last optional parameter can't be missed, am I right? In some languages we could write something like: function test ($a, $foo=50, $bar=true) { // ... } Then call it like this: $m=test(blah, , false); meaning

[PHP] Re: php to store data

2011-05-03 Thread Florin Jurcovici
Hi. Create a page containing just: ?php phpinfo() ? open it in a browser, then see if SQLite appears in the resulting web page. If yes, you're done - you can use an actual database, although an embedded one. But this should also mean that you have file write access from PHP - since SQLite

[PHP] Using SQLite without hosting support

2011-05-03 Thread Paul M Foster
Assume you have a hosting account with PHP5 support, but no SQLite support. Yes, supposedly SQLite support is standard for PHP5, but there's no law that keeps someone from compiling PHP5 without SQLite support. So assuming that's the case, given that SQLite is a pretty simple product, is it

Re: [PHP] Re: php to store data

2011-05-03 Thread Philip Thompson
On Tue, May 3, 2011 at 5:18 AM, Florin Jurcovici florin.jurcov...@gmail.com wrote: Hi. Create a page containing just: ?php phpinfo() ? open it in a browser, then see if SQLite appears in the resulting web page. If yes, you're done - you can use an actual database, although an embedded

Re: [PHP] Re: php to store data

2011-05-03 Thread Stuart Dallas
On Tuesday, 3 May 2011 at 17:50, Philip Thompson wrote: On Tue, May 3, 2011 at 5:18 AM, Florin Jurcovici florin.jurcov...@gmail.com wrote: Hi. Create a page containing just: ?php phpinfo() ? open it in a browser, then see if SQLite appears in the resulting web page. If

RE: [PHP] Using SQLite without hosting support

2011-05-03 Thread admin
Paul, I could be wrong on this but unless you have a dedicated server, you do not have the recompilation rights if the hosting company is worth anything. Richard L. Buskirk -Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: Tuesday, May 03, 2011

Re: [PHP] Using SQLite without hosting support

2011-05-03 Thread Paul M Foster
On Tue, May 03, 2011 at 02:14:17PM -0400, ad...@buskirkgraphics.com wrote: -Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: Tuesday, May 03, 2011 12:36 PM To: php-general@lists.php.net Subject: [PHP] Using SQLite without hosting support Assume you