[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" wrote in message news:kjhc85hpub7drihgappifphcboolt9u...@4ax.com... > I have just got access to a new server, and am playing with upload/download procedures. I > looked in the ro

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" wrote in message > news:kjhc85hpub7drihgappifphcboolt9u...@4ax.com... > > I have just got access to a new

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.

[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 8,5,

Re: [PHP] Another date exercise

2009-08-15 Thread Phpster
On Aug 15, 2009, at 3:57 PM, tedd 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: August 5, 2009 Aug

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" wro

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

[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 ";"