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 > > Assum

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 12:

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 > wrote: > > > Hi. > > > > Create a page containing just: > > > > > phpinfo() > > ?> > > > > open it in a browser, then see if SQLite appears in the resulting web > > page. If yes, you're

Re: [PHP] Re: php to store data

2011-05-03 Thread Philip Thompson
On Tue, May 3, 2011 at 5:18 AM, Florin Jurcovici wrote: > Hi. > > Create a page containing just: > > 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

[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 possib

[PHP] Re: php to store data

2011-05-03 Thread Florin Jurcovici
Hi. Create a page containing just: 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 creates databases in f

Re: [PHP] Custom function

2011-05-03 Thread Ashley Sheridan
"Andre Polykanine" 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 > >$m

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 impossibl