[PHP] Error checking on file upload

2005-08-19 Thread Peppy
I've been working on a script for uploading a file to a Unix server. I'm testing the script and have it coded for error messages using a switch statement. One error that I am getting is case 2 The file is bigger than this form allows and I am wondering what might cause me to get the error for

Re: [PHP] Error checking on file upload

2005-08-19 Thread Peppy
On 8/19/05, Peppy [EMAIL PROTECTED] wrote: I've been working on a script for uploading a file to a Unix server. I'm testing the script and have it coded for error messages using a switch statement. One error that I am getting is case 2 The file is bigger than this form allows and I am

[PHP] incrementing in a for loop

2005-09-12 Thread Peppy
I've searched online and am unable to find how to increment by more than one in a for loop. for ($i = 1; $i = 6; $i++) { Is it possible to increment $i by 5? Thanks.

[PHP] mail function-new line-security

2005-09-27 Thread Peppy
I have been working on making my contact forms more secure. In my research, the occurence of the new line character \n at the end of the $headers variable in the mail function seems to be a security risk and opens one up to injection of spam email. This part I understand. I have been unable

Re: [PHP] mail function-new line-security

2005-09-28 Thread Peppy
AJ, So what your reply means is that I should not have a new line character in any variable on my page??? Then is there any way to format the email so it is readable? Thanks.

Re: [PHP] script won't work on other server

2005-11-30 Thread Peppy
Short tags are on on both servers. - Original Message - From: [EMAIL PROTECTED] To: Peppy [EMAIL PROTECTED] Sent: Wednesday, November 30, 2005 2:23 PM Subject: Re: [PHP] script won't work on other server you're using the short-tag form: ? rather than: ?php this may

Re: [PHP] script won't work on other server

2005-12-01 Thread Peppy
.qcinet.net 2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 Thanks for your help. - Original Message - From: Unknown Unknown [EMAIL PROTECTED] To: Peppy [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Thursday, December 01, 2005 4:08 PM Subject: Re: [PHP] script won't work on other

Re: [PHP] Help Desk software

2005-12-22 Thread Peppy
http://phptickets.org/ - Original Message - From: Glenn Sieb [EMAIL PROTECTED] To: php-general@lists.php.net Cc: Daniel Lahey [EMAIL PROTECTED] Sent: Tuesday, December 20, 2005 10:13 PM Subject: Re: [PHP] Help Desk software Daniel Lahey said the following on 12/20/2005 10:28 PM:

[PHP] Re: Solution [PHP] mail() and Return-Path header

2006-02-02 Thread Peppy
Thanks Richard. That worked great. - Original Message - From: Richard Heyes [EMAIL PROTECTED] To: Søren Schimkat [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Thursday, February 02, 2006 8:02 AM Subject: Re: [PHP] mail() and Return-Path header Søren Schimkat wrote: Hi Guys