RE: [PHP] Re: poor HTML syntax crashing (!) netscape

2001-07-08 Thread Nick O'Reilly

you could also try http://css.nu/pointers/bugs.html if you are using style 
sheets

 Nick

At 09:08  8/07/01 -0400, you wrote:
>Even better, to save Dave some time, go to www.w3c.org They have an html
>validator there...it's strict, but that's the point...
>
>jack
>
>-Original Message-
>From: DAve Goodrich [mailto:[EMAIL PROTECTED]]
>Sent: Sunday, July 08, 2001 9:00 PM
>To: Christian Calloway; [EMAIL PROTECTED]
>Subject: Re: [PHP] Re: poor HTML syntax crashing (!) netscape
>
>Yes Netscape will be a problem for poor code and MSIE will not. HTML is
>very
>straightforward like any other language, learn to write it properly and
>it
>will do nothing that surprises you. A requirement for proper syntax is a
>good thing in your delivery method (the browser).
>
>PHP will roll over and die if you leave a ';' off the end of a line, but
>no
>one claims it sucks. Don't shoot the messenger
>
>View the offending page in MSIE, save to file, send to me directly, and
>I'll
>be happy to take a look at it for you. We are a cross platform shop and
>test
>everything on MSIE/Netscape 4+ on Mac, Windows, and Unix/Linux every
>day.
>
>DAve
>
>on 7/8/01 2:52 PM, Christian Calloway at [EMAIL PROTECTED] wrote:
>
> > I've had the same problem with Netscape, where it would crash/choke on
>any
> > platform. I never figured it out, but it has something to do with
>Netscape
> > choking on your HTML, it has nothing to do with CSS or Javascript or
>PHP for
> > that matter. I'm not an IE fan, but lets face it, Netscape sucks.
> >
> >
> > "Tom Carter" <[EMAIL PROTECTED]> wrote in message
> > 02bb01c103fe$c51d1ac0$0a00a8c0@bjorn">news:02bb01c103fe$c51d1ac0$0a00a8c0@bjorn...
> >> Hi guys,
> >>
> >> I have an interesting situation at the moment... my (slightly sloppy)
>HTML
> >> is obviously missing a closing tag here or there but displays fine in
> > opera,
> >> ie etc however when I try and view it netscape (4.x, windows, linux,
>any
> >> platform) netscape just nice and cleanly crashes!! If anyone knows of
>a
> > bug
> >> which would cause netscape to do this then please let me know. The
>code in
> >> question is very dynamic (what I mean is that it can vary by quite a
>lot
> >> depending upon many many different things). Its qutie hard to debug,
> >> especially seeing as the page returned is browser specific.. the one
>thing
> > I
> >> have ruled out is that it is JavaScript.. I removed all of that and
>no
> >> change.
> >>
> >> Any tips will be helpful... in the meanwhile I'm going to go thru all
>my
> >> functions to attempt to work out what is doing it  *yawn*
> >>
> >> TIA
> >> Tom.
> >>
> >
> >
>
>--
>Dave Goodrich
>Director of Interface Development
>Reality Based Learning Company
>9521 NE Willows Road, Suite 100
>Redmond, WA 98052
>Toll Free 1-877-869-6603 ext. 237
>Fax (425) 558-5655
>[EMAIL PROTECTED]
>http://www.rblc.com
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Using PHP Variables with a Header

2001-07-09 Thread Nick O'Reilly

the way i would do this is to have the form validation on the same page as 
the form
and when user input has been validated the require another script (keeps 
global variables)
you could try something like this

 user_input must = ok ";
}
?>











hope this helps
 nicko


At 05:10  9/07/01 -0700, you wrote:
>I have a form that requires a user to enter various information (name,
>address, phone number, etc...).  When they submit this form, the next PHP
>page checks to make sure that the required fields were filled in.  What I
>would like to do is check to see if the required fields are all filled in
>and if they are not, save the values they submitted and go back to the
>original page, display a message that says the fields that need to be filled
>in and populate the rest of the fields with the information the user
>orignally submitted.  This will keep them from having to type in all of the
>information again.
>
>I can run the checks just fine to see if the required fields are all filled
>in.  I then save the data from all the fields into variables.  What I would
>like to do is automatically forward the user back to the original page with
>the values (i already have all of the fields set with
>"value="$variablename"" to allow them to get the data that is sent back).
>The only way I have been able to get this to work is to set this up as a
>regular form with hidden HTML fields and a Submit button.  I really want
>this to be an automatic process.  Any thoughts on how to accomplish this?
>When I set up a "Header", the user is forwarded back to the page that I
>want, but none of the variables go with them (they are set by simply putting
>something like "$savedlastname = $lastname, where $lastname is the HTML
>variable from the original form).
>
>Any help is appreciated.
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

Documenta - Multimedia and Electronic Publishing Services

The information contained in this e-mail is confidential and is intended
solely for the addressee. If you received this e-mail by mistake please
promptly inform us by reply e-mail or by telephoning + 61 2 9358 6199 and
then delete the e-mail and destroy any printed copy. You must not disclose
or use in any way the information in the e-mail.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Using PHP Variables with a Header

2001-07-09 Thread Nick O'Reilly

i have attached the below script to stop the html being parsed
is there another way around this?


At 11:01  10/07/01 +1000, Nick O'Reilly wrote:
>the way i would do this is to have the form validation on the same page as 
>the form
>and when user input has been validated the require another script (keeps 
>global variables)
>you could try something like this
>
>if($submit){
> $error_addr = "";
> //form validation
> if ($user_input == "ok"){
> require("step2.php");
> exit();
> }
> $user_input_error = " user_input must = ok ";
>}
>?>
> '>
>hope this helps
>  nicko
>
>
>At 05:10  9/07/01 -0700, you wrote:
> >I have a form that requires a user to enter various information (name,
> >address, phone number, etc...).  When they submit this form, the next PHP
> >page checks to make sure that the required fields were filled in.  What I
> >would like to do is check to see if the required fields are all filled in
> >and if they are not, save the values they submitted and go back to the
> >original page, display a message that says the fields that need to be filled
> >in and populate the rest of the fields with the information the user
> >orignally submitted.  This will keep them from having to type in all of the
> >information again.
> >
> >I can run the checks just fine to see if the required fields are all filled
> >in.  I then save the data from all the fields into variables.  What I would
> >like to do is automatically forward the user back to the original page with
> >the values (i already have all of the fields set with
> >"value="$variablename"" to allow them to get the data that is sent back).
> >The only way I have been able to get this to work is to set this up as a
> >regular form with hidden HTML fields and a Submit button.  I really want
> >this to be an automatic process.  Any thoughts on how to accomplish this?
> >When I set up a "Header", the user is forwarded back to the page that I
> >want, but none of the variables go with them (they are set by simply putting
> >something like "$savedlastname = $lastname, where $lastname is the HTML
> >variable from the original form).
> >
> >Any help is appreciated.
> >
> >--
> >PHP General Mailing List (http://www.php.net/)
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>Documenta - Multimedia and Electronic Publishing Services
>
>The information contained in this e-mail is confidential and is intended
>solely for the addressee. If you received this e-mail by mistake please
>promptly inform us by reply e-mail or by telephoning + 61 2 9358 6199 and
>then delete the e-mail and destroy any printed copy. You must not disclose
>or use in any way the information in the e-mail.
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>

Documenta - Multimedia and Electronic Publishing Services

The information contained in this e-mail is confidential and is intended
solely for the addressee. If you received this e-mail by mistake please
promptly inform us by reply e-mail or by telephoning + 61 2 9358 6199 and
then delete the e-mail and destroy any printed copy. You must not disclose
or use in any way the information in the e-mail.



 user_input must = ok ";
}
?>













-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]