Re: [PHP] Max file size for uploads?
On Wed, May 12, 2004 at 10:07:09AM -0400, Robert Sossomon wrote: > I get this error message now in my httpd error log: > > [Wed May 12 10:07:01 2004] [error] [client 66.43.177.38] Requested > content-length of 69888498 is larger than the configured limit of > 524288, referer: http://dinghy.homeip.net/upload.php > > Any thoughts? If you are using apache, this might help: http://httpd.apache.org/docs/mod/core.html#limitrequestbody -Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Date Function - Empty Value
On Thu, May 20, 2004 at 12:28:00PM -0400, Gabe wrote: > >>I'm trying to store a date in a date/time field using the short date > >>format ( m/d/ ). For some reason it won't let me post an empty > >>value to that field in the DB. I've tried using empty quotes ( "" ) > > I'm using Microsoft Access for my database not MySQL. Does that change > what I need to do? Access delimits dates with '#' hash marks. Try something like: UPDATE tablename SET date_field=#9/30/2003# WHERE foo='bar'; or UPDATE tablename SET date_field=NULL WHERE foo='bar'; if you want to make that field null. If it complains when you try to set it NULL and you want it to be null, put 'No' for 'Required' for that field in Design View. -Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Piping new email to a PHP file
On Sun, May 23, 2004 at 03:59:54AM +0100, John wrote: > Hi, > I'm sorry if this has been asked many times before but how do I pipe new > email to a file instead of to a mailbox? I tried adding an alias to a file, > but it bounced and said 'Can't write output', then I tried to pipe it to a > program (the php interpreter) like this "|php /home/php-script.php" > and that didn't work either. try the full path: |/usr/local/bin/php /home/php-script.php or, if using qmail, | /var/qmail/bin/preline /usr/local/bin/php /home/php-script.php use 'which php' to find the path to php -Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] OT (Re: IMPORTANT MASSAGE FROM THE BANK)
On Thu, Jun 03, 2004 at 11:14:29AM -0300, Stephen Lake wrote: > wonders if this is the exact same scam that cost millions of dollars in > Canada last year as I do not see a LEGIT "bank" URL or email address > besides what is this BS doing here??? this a PHP MAIL LIST!!! Not a scam > list!!! http://419eater.com/ This is way off topic, but still interesting... -Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php