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

2005-09-28 Thread A.J. Brown
, $subject, $usermailmsg, $headers); [/code] -- Sincerely, A.J. Brown Peppy [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] 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

Re: [PHP] Array Select from database

2005-09-28 Thread A.J. Brown
clientaccountmanager IN ('$values') [/code] -- Sincerely, A.J. Brown Robin Vickery [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 9/28/05, Frank Keessen [EMAIL PROTECTED] wrote: O.K. Again; I have an array with one or more values, which must be selected in the database Array

[PHP] Re: error when open files

2005-09-28 Thread A.J. Brown
and you just want to read the entire contents of the file into one variable, you should consider using file_get_contents(). It's a little less code to type, and is more efficient PHP Documentation is here: http://php.net/file_get_contents. -- Sincerely, A.J. Brown ËÎçù [EMAIL PROTECTED

Re: [PHP] passing a variable with php_self

2005-09-27 Thread A.J. Brown
a href=?=$PHP_SELF?action=bigger? works well too -- Sincerely, A.J. Brown Jim Moseby [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -Original Message- From: Ross [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 27, 2005 8:58 AM To: php-general@lists.php.net

Re: [PHP] best way to save program prefs to a file?

2005-09-27 Thread A.J. Brown
this helps. -- Sincerely, A.J. Brown Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] I'd like to save some program preferences to a txt file where they can be recalled and updated at a later time. Basically this will be a variable name and a value. Can

Re: [PHP] best way to save program prefs to a file?

2005-09-27 Thread A.J. Brown
to name the data however you want, however many times you want. Of course, this is usually not necessary for a smaller application where you wouldn't run into such a problem. Sincerely, A.J. Brown BitNotion Technologies [EMAIL PROTECTED] - Original Message - From: Edward

[PHP] Re: Pre global configuration

2005-09-27 Thread A.J. Brown
; -- Sincerely, A.J. Brown Jake Gardner [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This is a stretch and I doubt you can do this very easily, but I was wondering if there is a way to define behaviors that happen throughout a script before execution for example if the OS

Re: [PHP]PHP Syntax Notation

2005-09-27 Thread A.J. Brown
, A.J. Brown BitNotion Technologies Lowell Herbert [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sep 27, 2005, at 2:16 PM, Mikey wrote: Lowell Herbert wrote: I'm trying to expand my understanding of PHP by looking at some pre- built code modules. I don't fully