[PHP] mail() function failure

2003-08-14 Thread Brad Esclavon
PROTECTED]; $mail_subject = php mail test; $mail_body = test; if ( mail($mail_to, $mail_subject, $mail_body)) {echo(sucess);} else {echo(fail);} ? -- Brad Esclavon [EMAIL PROTECTED] (H) 404-875-4561 (C) 404-291-1082 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] string validation functions

2003-03-12 Thread Brad Esclavon
trim($a_string); // removes all newline, carriage returns, and formating $in_str_var_name=str_replace(search_for, replace_with, $in_str_var_name); replaces any strings or chars also- check out php.net documentation on string-- many other useful functions for string manipulation -- PHP

[PHP] Re: string validating

2003-03-12 Thread Brad Esclavon
trim($a_string); // removes all newline, carriage returns, and formating $in_str_var_name=str_replace(search_for, replace_with, $in_str_var_name); replaces any strings or chars also- check out php.net documentation on string-- many other useful functions for string manipulation -- PHP

[PHP] PHP error messages

2003-02-15 Thread Brad Esclavon
I am getting this error message when i use file() to convert a text document to an array. Warning: file(http://www.something.com/the_filename.txt;) - Error 0 in /nfs/cust/directory_structure/index.php on line 21 I have looked on google and on php.net/docs for information on this problem (error 0

[PHP] passing a query string to a popup window problems

2003-02-11 Thread Brad Esclavon
I am trying to pass 2 variable values(username and userpassword) to a popup window to display those values when a button is clicked. When the window pops up, the variable names aren't displayed because they havent been passed. Here is the code:

[PHP] Redirecting errors

2003-02-05 Thread Brad Esclavon
I have written a script that validates a username/pwd input and if usr/pwd is correct, includes the protected page, or if usr/pwd is wrong, input page reloads the form onto itself with a form submit. all of the code is correct, except that the secured page is viewable from the internet if i

[PHP] Thanks problem solved

2003-02-05 Thread Brad Esclavon
once removed from same directory as the login page, the secured page was secure -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php