php-general Digest 15 Aug 2009 08:00:28 -0000 Issue 6286

2009-08-15 Thread php-general-digest-help
php-general Digest 15 Aug 2009 08:00:28 - Issue 6286 Topics (messages 296809 through 296817): Re: ini files as config - hidden 296809 by: João Cândido de Souza Neto 296810 by: João Cândido de Souza Neto 296811 by: Ben Dunlap 296815 by: Ashley Sheridan

php-general Digest 15 Aug 2009 22:48:14 -0000 Issue 6287

2009-08-15 Thread php-general-digest-help
php-general Digest 15 Aug 2009 22:48:14 - Issue 6287 Topics (messages 296818 through 296821): Re: File or directory? 296818 by: Ashley Sheridan Re: ini files as config - hidden 296819 by: Sancar Saran Another date exercise 296820 by: tedd 296821 by: Phpster

[PHP] Re: File or directory?

2009-08-15 Thread Ralph Deffke
can u upload ur own files ? can u create a directory ? are u using a ftp client ? try ralph_def...@yahoo.de Clancy clanc...@cybec.com.au wrote in message news:kjhc85hpub7drihgappifphcboolt9u...@4ax.com... I have just got access to a new server, and am playing with upload/download procedures. I

Re: [PHP] Re: File or directory?

2009-08-15 Thread Ashley Sheridan
On Sat, 2009-08-15 at 09:56 +0200, Ralph Deffke wrote: can u upload ur own files ? can u create a directory ? are u using a ftp client ? try ralph_def...@yahoo.de Clancy clanc...@cybec.com.au wrote in message news:kjhc85hpub7drihgappifphcboolt9u...@4ax.com... I have just got access

Re: [PHP] ini files as config - hidden

2009-08-15 Thread Sancar Saran
On Friday 14 August 2009 08:31:46 pm דניאל דנון wrote: I'm building a little framework for my self, The configuration of the framework is done in an ini file, How do you suggest to hide its contents? .htaccess wont be good (or atleast only htaccess) since if its turned off The file

[PHP] Another date exercise

2009-08-15 Thread tedd
Hi gang: Here's another exercise to consider. This is a date entry problem where the user can enter a date in various forms, but the return will be in a consistent format. For example, a user might enter a date in the form of: August 5, 2009 Aug 05 2009 Aug 5, 9 08/05/09 8-5-9 8 05 2009

Re: [PHP] Another date exercise

2009-08-15 Thread Phpster
On Aug 15, 2009, at 3:57 PM, tedd t...@sperling.com wrote: Hi gang: Here's another exercise to consider. This is a date entry problem where the user can enter a date in various forms, but the return will be in a consistent format. For example, a user might enter a date in the form of:

Re: [PHP] Re: File or directory?

2009-08-15 Thread Clancy
On Sat, 15 Aug 2009 10:33:07 +0100, a...@ashleysheridan.co.uk (Ashley Sheridan) wrote: On Sat, 2009-08-15 at 09:56 +0200, Ralph Deffke wrote: can u upload ur own files ? can u create a directory ? Yes. are u using a ftp client ? No; I'm using straight PHP FTP Clancy

[PHP] Issue with the huge import script

2009-08-15 Thread Devendra Jadhav
Hi, I have to import data from one database to another, I have to import around 10(1Lac) records. First I need to check if the record is already imported or not and import only those records which are not imported. Here is my logic $already_imported = get_already_imported_records(); format

[PHP] Re: Issue with the huge import script

2009-08-15 Thread Ralph Deffke
Hi, this sounds huge, and cries for a sql version of the import. Are both databases the same? MySQL? I give u a draft for MySQL u export the data u have, then u got a textfile with 10+ sql statments in the php script u open the file and iterate over it by line (carefull it could be also ;