Fatal error: start-condition stack underflow
Have not seen this error in 4 years of programming PHP.
Came up in looping SMTP socket test.
Anyone knows what this means?
Thanks
Buiten Westen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You would probably check against an encrypted file though for more security.
you could use flat files, another words store the user information in a
text
file like below:
username|pass|email
bob|fgffsdg|[EMAIL PROTECTED]
foo|bar|[EMAIL PROTECTED]
and then just read and write the file
ng the registered vars $Email,
$FirstName, $LastName. So I dunno whats wrong..
From: "W.D." [EMAIL PROTECTED]
I dont know how to do this, but Ive tried several things with no
success.
I
need to validate several form fields and here is the script I'm working
with...
?php if($H
I dont know how to do this, but Ive tried several things with no success. I
need to validate several form fields and here is the script I'm working
with...
?php if($HTTP_SERVER_VARS["REQUEST_METHOD"] == "POST")
{
(eregi("^[a-z0-9\._-]+@+[a-z0-9\._-]+\.+[a-z]{2,3}$", $Email))?
header("Location:
just the info in the .txt file
did you want to actually send the .txt file or just the info in the .txt
file??
-Original Message-
From: W.D. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 10:19 AM
To: [EMAIL PROTECTED]
Subject: [PHP] mail() question
I want
this script isnt working like I want itmainly I need multiple eregi() to
check fields
?php if($HTTP_SERVER_VARS["REQUEST_METHOD"] == "POST")
{
(eregi("^[a-z0-9\._-]+@+[a-z0-9\._-]+\.+[a-z]{2,3}$",
$Email))(eregi("^[a-z]$", $FirstName))(eregi("[a-z]$", $LastName))?
header("Location:
I use session variables to retrieve values from form fields and send by
mail(). Problem is upon testing after I fill out form once and send, then go
back and test again with different info it sends the info from the first
time. Whats wrong?
Do I have to call each variable like session_unset(var1, var2, var3);
and session_destroy(var1, var2, var3)?
I use session variables to retrieve values from form fields and send by
mail(). Problem is upon testing after I fill out form once and send, then
go
back and test again with
I have this following if statement.?php
if($HTTP_SERVER_VARS["REQUEST_METHOD"] == "POST")
then I need to check the following three strings with eregi
(eregi("^[a-z0-9\._-]+@+[a-z0-9\._-]+\.+[a-z]{2,3}$", $Email))?
header("Location: http://www.site.com/thanks.php"):
header("Location:
I need to combine two variables which are set to two form field values and
will be put into $from of mail(). Should it be $from = "$varOne . $varTwo"
?
also a way to make
if(.something)
(eregi("blah", $one)("blah2", $two)("blah3", $three));will this
work?
I'm using a remote host, and when I call mail() with all the var's pulling
values from form fields, it still shows as nobody in from header. Is this a
server situation? Theyre using php4 support and they claim its that I'm not
using appropriate variables in the function.
so there is no way to pull this variable from an email form field?
From: "W.D." [EMAIL PROTECTED]
I'm using a remote host, and when I call mail() with all the var's
pulling
values from form fields, it still shows as nobody in from header. Is
this
a
server situation? Theyre
unable to get these session variable to be used on thanks.php page
Contact.php
?php session_start();
?htmlhead/headbody
form method="POST" action="/thanks.php"
First Name: input type=TEXT name="FirstName" size=15p
Last Name: input type=TEXT name="LastName" size=25p
E-mail Address: input
I'm testing email address, but want to test not only characters but the @
sign and for .com, .net, .org, or .tv. How would I include all of these?
$test = $email
if( ereg("[a-zA-Z0-9]+)\@([a-zA-Z0-9]+)\.comhow would I include the
rest?
I'm still new to php, just wanted to check to make sure this will work ok.
Thanks
form method="POST" action="?php print("$PHP_SELF"); ?"
First Name: input type=TEXT name="FirstName" size=15p
Last Name: input type=TEXT name="LastName" size=25p
E-mail Address: input type=TEXT name="Email" size=25p
Ok, I removed the (" ") from action and it worked, but it doesnt validate,
just sends to thanks page regardless of whether the fields are filled or
not. Am I mistaking IsSet for handling that?
Hi,
form method="POST" action="?php print("$PHP_SELF"); ?"
First Name: input type=TEXT
16 matches
Mail list logo