php-general Digest 27 Jul 2009 02:55:26 -0000 Issue 6251

2009-07-26 Thread php-general-digest-help
php-general Digest 27 Jul 2009 02:55:26 - Issue 6251 Topics (messages 295846 through 295853): Re: Language translation 295846 by: Miles Thompson 295851 by: Rudi Ullon OOP Design Software 295847 by: Daniel Kolbo 295848 by: Caner BULUT 295849 by: Eddie

[PHP] scandir() permissions

2009-07-26 Thread kranthi
code: ?php $files = scandir('/home/kranthi/downloaded'); var_dump($files); permissions for the dir: $ ls -lA drwxrwxrwx 2 apache apache all the files in the directory have permissions -rw-rw-rw- 1 apache apache when i run the above code via CLI, with user kranthi it is working as expected.

Re: [PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

2009-07-26 Thread Per Jessen
Robert Cummings wrote: Don't forget nobody is being paid to handle bug reports, it's all on a volunteer basis and I'm quite certain they get oodles of real bogus bugs. Hi Robert it's a two-way thing - nobody is paying me to write any bug reports, I'm also volunteering my time and effort. Not

Re: [PHP] open source forum

2009-07-26 Thread mrfroasty
Hello, I need some advice in picking a PHP forum for a group of people, I know there are couple of them but could somebody from here give advice on which one to choose. ***My strongest requirements I need localization support, as that software might need to be translated into a language other

Re: [PHP] open source forum

2009-07-26 Thread David Robley
mrfroasty wrote: Hello, I need some advice in picking a PHP forum for a group of people, I know there are couple of them but could somebody from here give advice on which one to choose. ***My strongest requirements I need localization support, as that software might need to be

Re: [PHP] open source forum

2009-07-26 Thread mrfroasty
Thanks I will have a look at those list GR mrfroasty David Robley wrote: mrfroasty wrote: Hello, I need some advice in picking a PHP forum for a group of people, I know there are couple of them but could somebody from here give advice on which one to choose. ***My strongest

Re: [PHP] open source forum

2009-07-26 Thread K. N. Lesmer
On Sun, 26 Jul 2009 14:50:03 +0200 mrfroasty mrfroa...@gmail.com wrote: Hello, I need some advice in picking a PHP forum for a group of people, I know there are couple of them but could somebody from here give advice on which one to choose. ***My strongest requirements I need

Re: [PHP] Language translation

2009-07-26 Thread Phpster
On Jul 25, 2009, at 9:37 PM, Skip Evans s...@bigskypenguin.com wrote: Hey all, We got a new project and language translation of content is a major priority. I've googled around and seen lots of options, but I'd like to hear from the list about more real world experiences about what

Re: [PHP] Language translation

2009-07-26 Thread Miles Thompson
gettext -not PHP, but a GNU project. PHP hooks: http://ca.php.net/manual/en/book.gettext.php, which contains a link to the project. In the past I've coded arrays of prompts, this is a more native solution. Cheers - Miles On Sat, Jul 25, 2009 at 10:37 PM, Skip Evanss...@bigskypenguin.com wrote:

[PHP] OOP Design Software

2009-07-26 Thread Daniel Kolbo
Hello, Is there an objected oriented programming software that can help me keep track of my methods and properties of my objects. My memory is not what it used to be, and i'd like to have a quick 'overview' or layout of all the objects I have to work with. Maybe the software would even let make

RE: [PHP] OOP Design Software

2009-07-26 Thread Caner BULUT
Hi Daniel, You can use Eclipse with plugin PDT or Zend Studio. They can track your classes and methods. They can remember your methods and classes also they have code completion abilities. Thanks Caner. -Original Message- From: Daniel Kolbo [mailto:kolb0...@umn.edu] Sent: 26 July 2009

Re: [PHP] OOP Design Software

2009-07-26 Thread Eddie Drapkin
On Sun, Jul 26, 2009 at 12:54 PM, Caner BULUTcaner...@gmail.com wrote: Hi Daniel, You can use Eclipse with plugin PDT or Zend Studio. They can track your classes and methods. They can remember your methods and classes also they have code completion abilities. Thanks Caner. -Original

Re: [PHP] OOP Design Software

2009-07-26 Thread Daniel Kolbo
Caner BULUT wrote: Hi Daniel, You can use Eclipse with plugin PDT or Zend Studio. They can track your classes and methods. They can remember your methods and classes also they have code completion abilities. Thanks Caner. -Original Message- From: Daniel Kolbo

Re: [PHP] Language translation

2009-07-26 Thread Rudi Ullon
I'm also starting with a multilanguage project, and after a little research, we've decided to use this gettext http://savannah.nongnu.org/projects/php-gettext/ Take a look.. might be useful to you also. --- Regards / Saludos Rudi Ullon

Re: [PHP] Sorting mySQL query - one order from multiple fields

2009-07-26 Thread George Langley
In case anyone else was wondering, the command to use is COALESCE() as in: $theQuery = mysql_query(select variousFields from theTable where date = '$currDate' ORDER BY COALESCE(rotime2,rotime1,time)); COALESCE() will use one of the variables, being the one it finds a value for first,

[PHP] JS alert that links to a file

2009-07-26 Thread Skip Evans
Okay, I know I've done this before, but now I'm blanking out. I have code that creates a CSV file, and when it's done I want a JS alert to pop up and let them save the file. Isn't this some kind of alert() type call on the JS side??? I know I've done this before and I've been on Google an

Re: [PHP] JS alert that links to a file

2009-07-26 Thread Paul M Foster
On Sun, Jul 26, 2009 at 09:55:14PM -0500, Skip Evans wrote: Okay, I know I've done this before, but now I'm blanking out. I have code that creates a CSV file, and when it's done I want a JS alert to pop up and let them save the file. Isn't this some kind of alert() type call on the JS

[PHP] Saving server side file to local machine with JS

2009-07-26 Thread Skip Evans
Sorry, I should have been clearer. When PHP finishes creating the file I need one of the JS alert type windows to appear that says.. Your file has completed, would you like to save it to your machine? Like you get when you download a file. If I knew the JS code to do this I perhaps could

Re: [PHP] JS alert that links to a file

2009-07-26 Thread LinuxManMikeC
On Sun, Jul 26, 2009 at 8:55 PM, Skip Evanss...@bigskypenguin.com wrote: Okay, I know I've done this before, but now I'm blanking out. I have code that creates a CSV file, and when it's done I want a JS alert to pop up and let them save the file. Isn't this some kind of alert() type call on

Re: [PHP] JS alert that links to a file

2009-07-26 Thread Skip Evans
LinuxManMikeC wrote: ?php header('Content-type: text/csv'); header('Content-Disposition: attachment; filename=file.csv'); echo 'field1,field2,field3,field4'; ? Okay, right, I remember this. But it has to be in it's own file, otherwise you get the 'headers already sent error', right? Is