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

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

Re: [PHP] Arrays & Regexp - Help Requested

2010-01-01 Thread Mari Masuda
I think the problem is here: echo 'default text. It looks like your code is trying to make a textarea that starts with http://www.w3.org/TR/html401/interact/forms.html#h-17.7 for how to use textarea. On Jan 1, 2010, at 3:38 PM, Allen McCabe wrote: > echo ' if ($input_type == 'text') >

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

Re: [PHP] PHP uploaded files logs

2010-01-01 Thread Daniel Egeberg
On Fri, Jan 1, 2010 at 14:28, Ashley Sheridan 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 POST data only the request

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 th

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. Actu

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,

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

2010-01-01 Thread Tony Marston
"Larry Garfield" 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? > Date: Thursday 31