[PHP] Re: Receiving Live data

2010-10-27 Thread Matt Anderton
look at Prototype's PeriodicalUpdater: http://prototypejs.org/api/ajax/periodicalUpdater -- matt On Wed, Oct 27, 2010 at 5:10 PM, Cameron Mc Gorian wrote: > Hi, > > I want to find out if it is possible to receive live data using PHP and > MySQL. I have am developing a website that will allow

[PHP] Re: Receiving Live data

2010-10-27 Thread Daniel Brown
On Wed, Oct 27, 2010 at 19:10, Cameron Mc Gorian wrote: > Hi, > > I want to find out if it is possible to receive live data using PHP and > MySQL. I have am developing a website that will allow user to input data > which will then be inserted into a MySQL database. > > What I want to do is when

Re: [PHP] Documentation

2010-10-27 Thread Rico Secada
On Wed, 27 Oct 2010 10:52:58 +0200 Jordan Jovanov wrote: > Hello All, > > I finished with coding and now I am on the part when need to write > documentation. But I don't know how to write correct documentation. > Does have some rules or standard for writing documentation for PHP? > Or maybe hav

Re: [PHP] Array problem

2010-10-27 Thread Kevin Kinsey
Marc Guay wrote: As Nicholas pointed out, the extra underscore in the key is the issue. That's way too easy a fix. I think he should check to make sure his version of PHP was compiled with the right extensions and that the browser isn't doing something unpredictably bizarre when submitting the

Re: [PHP] Application settings, configuration, and preferences.

2010-10-27 Thread J Ravi Menon
On Wed, Oct 27, 2010 at 11:39 AM, J Ravi Menon wrote: > I am partial to the filesystem but I can see scenarios where the db > approach might be useful (single point of control) with good caching > strategy using apc or other mechanisms. > > One approach I have followed is that if the config. field

Re: [PHP] Character encoding hell

2010-10-27 Thread Marc Guay
> Have you tried using the utf8 meta tag rather than using the htmlentities() > function? That should solve the first issue, as I reckon the problem lies > with the way your encoding the filename. It seems that the filenames are ISO encoded as if I set the meta tag to ISO and remove the htmlentiti

Re: [PHP] Forcing Download - IE Issue

2010-10-27 Thread Bastien Koert
On Wed, Oct 27, 2010 at 4:18 PM, Floyd Resler wrote: > I'm trying to force a download using the following code: > header('Content-type: text/calendar'); > header('Content-Disposition: attachment; filename="calendar.ics"'); > echo $calendar; > > It works great in all browsers except IE.  In IE, the

[PHP] Forcing Download - IE Issue

2010-10-27 Thread Floyd Resler
I'm trying to force a download using the following code: header('Content-type: text/calendar'); header('Content-Disposition: attachment; filename="calendar.ics"'); echo $calendar; It works great in all browsers except IE. In IE, the window opens and then closes without ever display the download

Re: [PHP] Application settings, configuration, and preferences.

2010-10-27 Thread J Ravi Menon
I am partial to the filesystem but I can see scenarios where the db approach might be useful (single point of control) with good caching strategy using apc or other mechanisms. One approach I have followed is that if the config. field and values are simple key-value pairs, you could store them in

Re: [PHP] Documentation

2010-10-27 Thread Teto
On Wed, Oct 27, 2010 at 2:20 PM, Nicholas Kell wrote: > > On Oct 27, 2010, at 4:09 AM, Tommy Pham wrote: > > >> -Original Message- > >> From: Jordan Jovanov [mailto:jovanovj...@gmail.com] > >> Sent: Wednesday, October 27, 2010 1:53 AM > >> To: php-general@lists.php.net > >> Subject: [PHP]

Re: [PHP] Documentation

2010-10-27 Thread Nicholas Kell
On Oct 27, 2010, at 4:09 AM, Tommy Pham wrote: >> -Original Message- >> From: Jordan Jovanov [mailto:jovanovj...@gmail.com] >> Sent: Wednesday, October 27, 2010 1:53 AM >> To: php-general@lists.php.net >> Subject: [PHP] Documentation >> >> Hello All, >> >> I finished with coding and now

RE: [PHP] Documentation

2010-10-27 Thread Tommy Pham
> -Original Message- > From: Jordan Jovanov [mailto:jovanovj...@gmail.com] > Sent: Wednesday, October 27, 2010 1:53 AM > To: php-general@lists.php.net > Subject: [PHP] Documentation > > Hello All, > > I finished with coding and now I am on the part when need to write > documentation. But

[PHP] Documentation

2010-10-27 Thread Jordan Jovanov
Hello All, I finished with coding and now I am on the part when need to write documentation. But I don't know how to write correct documentation. Does have some rules or standard for writing documentation for PHP? Or maybe have some programs for writing documentations? Best Regards, Jordan JOV