[PHP] start-condition stack underflow

2003-11-01 Thread Pieter W.D. Kroon
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

Re: [PHP] login without database

2001-03-30 Thread W.D.
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

Re: [PHP] validating fields

2001-03-08 Thread W.D.
Actually I tried a variation of what you gave me before and it didnt work. I couldnt get yours to validate thanks. heres what I used This is directly after the form using the registered vars $Email, $FirstName, $LastName. So I dunno whats wrong.. > From: "W.D." <[EMAIL PRO

[PHP] validating fields

2001-03-01 Thread W.D.
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... http://www.site.com/thanks.php"): header("Location: http://www.site.com/error.php"); } ;?> I need to check at least two more fields, possibl

[PHP] Please help with multi eregi

2001-02-27 Thread W.D.
I have this following if statement.http://www.site.com/thanks.php"): header("Location: http://www.site.com/error.php"); (eregi("^[a-z]$", $FirstName))?header("Location: http://www.site.com/thanks.php"): header("Location: http://www.site.com/error.php"); (eregi("^[a-z]$", $LastName))?header(

Re: [PHP] whats happening with form

2001-02-27 Thread W.D.
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 d

[PHP] whats happening with form

2001-02-27 Thread W.D.
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? __

[PHP] help with branching eregi

2001-02-27 Thread W.D.
this script isnt working like I want itmainly I need multiple eregi() to check fields http://www.site.com/thanks.php"): header("Location: http://www.site.com/error.php"); } session_start();?> _ Do You Yahoo!? Get your free @yahoo.co

Re: [PHP] mail() question

2001-02-27 Thread W.D.
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] > Subjec

[PHP] mail() question

2001-02-27 Thread W.D.
I want to send a .txt file back to the sender when a form is filled out, sort of like an autoresponder. I have one mail() to send info from form to me, is the only way to send out a file back to the sender by using a second mail()? _ Do Y

Re: [PHP] mail prob

2001-02-22 Thread W.D.
First Name: Last Name: E-mail Address: Ask a Question > From: "W.D." <[EMAIL PROTECTED]> > > > well this is actually what I did tho, I used an $email var and set it too > > $from which I used mail()and it still came out as nobody > > &

Re: [PHP] mail prob

2001-02-22 Thread W.D.
well this is actually what I did tho, I used an $email var and set it too $from which I used mail()and it still came out as nobody > From: "W.D." <[EMAIL PROTECTED]> > > > so there is no way to pull this variable from an email form field? > > > > >

Re: [PHP] mail prob

2001-02-22 Thread W.D.
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 head

[PHP] mail prob

2001-02-22 Thread W.D.
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. ___

Re: [PHP] concatenate vars?

2001-02-22 Thread W.D.
Thanks, do you know if making multiple statements to eregi in line 3 is possible? 1. if(...something...) 2.{ 3. (eregi("stuff1", $one)("stuff2", $two)("stuff3", $three)) ? 4. do something : do something else; _ Do You Yahoo!? Get

[PHP] concatenate vars?

2001-02-22 Thread W.D.
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));

[PHP] session var not carrying

2001-02-21 Thread W.D.
unable to get these session variable to be used on thanks.php page Contact.php First Name: Last Name: E-mail Address: Ask a Question .Thanks.php. $session_start();] $from = $FirstName . $Lastname; _ Do Y

[PHP] ereg match problem

2001-02-20 Thread W.D.
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? _

Re: [PHP] Will this work?

2001-02-19 Thread W.D.
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, > > > "> > > First Name: > > Last Name: > > E-mail Address: > > > > > > The form should work

[PHP] Will this work?

2001-02-19 Thread W.D.
I'm still new to php, just wanted to check to make sure this will work ok. Thanks "> First Name: Last Name: E-mail Address: http://www.SITE.com/error.php"); exit; } else { header("Location: http://www.SITE.com/thanks.php"); exit; } ?> __