Re: [PHP] cookies and clocks

2001-04-25 Thread DanO
look at it this way: you are dealing with an INTERVAL of time, thus the only reason you really need javascript is in the construction of a date object. you can either import that object into php as a string, or you can actually go the extra mile and set the cookie in javascript. HTH, DanO

Re: [PHP] HTML and PHP?

2001-04-13 Thread DanO
try this: ? print EOP html jldsfajlf;dsajfl;dkfl;dsa /html EOP; ? AFAIK it is the easiest way to do multi-line printing! DanO ""Jason Caldwell"" [EMAIL PROTECTED] wrote in message 9b868e$2ca$[EMAIL PROTECTED]">news:9b868e$2ca$[EMAIL PROTECTED]... Is th

RE: [PHP] while loop and modulus?

2001-02-27 Thread DanO
by default, HTML browsers, according to spec, will handle the rendering of any and all empty cells at the end of a row. even netscape ;) so, this is technically not a bug. my question is how it works when you have 7 photos in a row, or 4? DanO -Original Message- From: James, Yz

RE: [PHP] How to make text BOLD

2001-02-16 Thread DanO
the problem is obvious: you are trying to send HTML in a plain text email. see : http://www.php.net/manual/en/function.mail.php i would actually recommend that you DO NOT send HTML email and leave it in plain text. DanO -Original Message- From: Nguyen, David M [mailto:[EMAIL

RE: [PHP] How to make text BOLD

2001-02-16 Thread DanO
a tip: you'll have to apply the style to both ul and li to make it work in microscape. DanO -Original Message- From: Brian V Bonini [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 8:23 AM To: Nguyen, David M Cc: PHP Lists Subject: RE: [PHP] How to make text BOLD How about

RE: [PHP] using tar to untar a file into a certain dir... In php of course

2001-02-16 Thread DanO
have you tried: mv mytar.tar /my/path/to/dir/; tar -xpf /my/path/to/dir/mytar.tar this should work, but there may be a more direct unix-y way to do it. DanO -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 1:49 PM

RE: [PHP] Specific PHP/JSP questions

2001-02-16 Thread DanO
see: http://www.php.net/manual/en/function.header.php it works just like JSP. DanO -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 2:01 PM To: Gerald Gutierrez; [EMAIL PROTECTED] Subject: Re: [PHP] Specific PHP/JSP questions

RE: [PHP] using tar to untar a file into a certain dir... In php of course

2001-02-16 Thread DanO
nd then extract from another file. DanO -Original Message- From: Brandon Orther [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 2:16 PM To: PHP User Group Subject: FW: [PHP] using tar to untar a file into a certain dir... In php of course From: Brandon Orther [mailto:[EMAIL PROT

RE: [PHP] CORBA?

2001-02-16 Thread DanO
how is this type of comment on a mailing list productive? DanO -Original Message- From: Gerald Gutierrez [mailto:[EMAIL PROTECTED]] Sent: Friday, February 16, 2001 3:26 PM To: Jonathan Sharp; [EMAIL PROTECTED] Subject: Re: [PHP] CORBA? At 02:49 PM 2/16/2001 -0800, Jonathan Sharp

RE: [PHP] javascript in PHP statement

2001-02-15 Thread DanO
ect name=village /select input type=button onclick="makeSqlQuery(thisform.businesstype,thisform.village)" /form -- this is a silly way to do it, however, and you should just pass the variables themselves and construct and run the query in a new request using php. you use the same p

RE: [PHP] Dynamic Drop-down list

2001-02-08 Thread DanO
the 'SELECTED' attribute will select an item in a dropdown list. by default, with no SELECTED attribute, the first item will be shown and selected. make sense? DanO -Original Message- From: Todd Cary [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 5:00 PM To: [EMAIL

RE: [PHP] Error with Cookies and SSI

2001-02-06 Thread DanO
not the javascript. it is your friend. DanO -Original Message- From: Ben Wiechman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 12:57 PM To: [EMAIL PROTECTED] Subject: [PHP] Error with Cookies and SSI I am having a problem getting a php script to read a cookie that should

RE: [PHP] Profanity Filter

2001-01-19 Thread DanO
why use a DB? just create an array of dirty words then loop your input thru it with a regex. DanO -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 19, 2001 11:09 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Profanity

RE: [PHP] question (as if anything else would be in an email to the list...)

2001-01-18 Thread DanO
=inputNameToChange select onChange="changeValue(this.options[this.selectedIndex].value);" option value=value1label1 option value=value2label2 /select /form --end cutting-- DanO (javascript is your friend, not your enemy!) -Original Message- From: Jason Jacobs [mailto:[EMAIL PROTEC

RE: [PHP] decimal point movement...

2001-01-18 Thread DanO
ush the decimal back, and, if there is no remainder (by modulus division), you append .00 to the variable. DanO -Original Message- From: Robert Collins [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 1:05 PM To: 'Christopher Allen'; php Subject: RE: [PHP] decimal point movement... Christo

RE: [PHP] mixing HTML and PHP code

2001-01-11 Thread DanO
it's valid to use single-quotes, double-quotes, or NO quotes. specs, anyone? --- The value of the attribute may be either: A string literal, delimited by single quotes or double quotes and not containing any occurrences of the delimiting character. (7)