php-general Digest 1 Jan 2010 23:38:40 -0000 Issue 6517

2010-01-01 Thread php-general-digest-help
php-general Digest 1 Jan 2010 23:38:40 - Issue 6517 Topics (messages 300771 through 300776): Re: If design patterns are not supposed to produce reusable code then why use them? 300771 by: Tony Marston 300772 by: Larry Garfield Re: PHP uploaded files logs 300773 by:

Re: [PHP] If design patterns are not supposed to produce reusable code then why use them?

2010-01-01 Thread Tony Marston
Larry Garfield la...@garfieldtech.com wrote in message news:200912311743.16759.la...@garfieldtech.com... Meant to send this to the list, sorry. -- Forwarded Message -- Subject: Re: [PHP] If design patterns are not supposed to produce reusable code then why use them?

Re: [PHP] If design patterns are not supposed to produce reusable code then why use them?

2010-01-01 Thread Larry Garfield
On Friday 01 January 2010 05:26:48 am Tony Marston wrote: It depends what you're reusing. Design patterns are reusable concepts, not reusable code. That's the key difference. Knowledge of design patterns is like knowledge of how different food ingredients interact. Hm, this needs

Re: [PHP] PHP uploaded files logs

2010-01-01 Thread Kim Madsen
Hi Manoj Singh wrote on 01/01/2010 08:07: Hi, Is PHP maintaining the logs regarding files uploaded? Actually I needed it because recently in my developed web site upload functionality seems to stop working even for the correct file and i want to check that which type of files are uploaded.

Re: [PHP] PHP uploaded files logs

2010-01-01 Thread Ashley Sheridan
On Fri, 2010-01-01 at 14:10 +0100, Kim Madsen wrote: Hi Manoj Singh wrote on 01/01/2010 08:07: Hi, Is PHP maintaining the logs regarding files uploaded? Actually I needed it because recently in my developed web site upload functionality seems to stop working even for the correct

Re: [PHP] PHP uploaded files logs

2010-01-01 Thread Daniel Egeberg
On Fri, Jan 1, 2010 at 14:28, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Wouldn't the Apache logs show this? Strictly speaking, the file upload is handled by Apache first, which then passes details along to PHP to deal with, so a problem might show there first. No, Apache doesn't log

[PHP] Arrays Regexp - Help Requested

2010-01-01 Thread Allen McCabe
Happy New Year, here's my first question of the year (and it's only 15 hours into the year!). I am creating a small database management tool for my a website (my work IP blocks my access to PhpMyAdmin) and I don't want to install any additional software. I am working on adding rows and need to

Re: [PHP] Arrays Regexp - Help Requested

2010-01-01 Thread Mari Masuda
I think the problem is here: echo 'input type=' . $input_type . ' '; [...snip...] elseif ($input_type == 'textarea') { echo 'rows=7 cols=30 '; echo 'value='; if ($field['null'] == 'YES') // CAN BE NULL? { echo 'NULL'; } echo ' '; } because to

Re: [PHP] PHP uploaded files logs

2010-01-01 Thread Kim Madsen
Daniel Egeberg wrote on 01/01/2010 17:10: No, Apache doesn't log POST data only the request. And even if it did, not all hosting companies give you access to your access and error log files... Making your own logfile is a good way to debug, for instance I had a problem with creating a zip

[PHP] mod rewrite

2010-01-01 Thread Sudhakar
hi i am using a cms which requires mod_rewrite to be enabled for seo urls in the wamp that i use in my local machine in the httpd.conf file i have this line and removed the comment LoadModule rewrite_module modules/mod_rewrite.so when i view the phpinfo i can see that mod_rewrite is on in the