[PHP] How to tell if client has cookies turned off?

2001-03-06 Thread kevin1
How can I tell reliably if someone has cookies turned off? -- 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] stumped on mailing a complete page

2001-03-03 Thread kevin1
use $filearray = file("http://www.yourstite.com/yourscript.php?some_vars=whatever"); then $body = join (" ",$filearray); mail($to $subject,$body); or something like that. Maybe readfile() may be of use here to. You just want to read the page in as a string, so make sure that you use some

[PHP] function questions

2001-03-02 Thread kevin1
I have a here doc: print END Hey there foo::bar($baz) how are you doing? END; foo::bar is a method that returns the name of $baz. I can't seem to get that to interpolate properly. It would make my life cleaner and easier if this could work. Is this at all possible? -- PHP General Mailing

[PHP] interpolating functions into here-docs

2001-02-28 Thread kevin1
How would this be done? -- 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] Exception Handling in php

2001-02-27 Thread kevin1
Is there any equivalent to Java's try-catch or Perl's eval{BLOCK}if($@) structure in PHP? -- 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

[PHP] quoting issues in PHP

2001-02-27 Thread kevin1
Is there a qq operator like Perl's in PHP? -- 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] PERL to PHP

2001-02-26 Thread kevin1
your can use the PCRE functions in php - much better than ereg and all that - if you know perl already... Clayton Dukes wrote: Hi :-) Can someone tell me how to do the equivalant of this Perl script in PHP? ### ### This function prints all lines between the dashes read in a