[PHP] Re: PHP|Con insane pricing

2003-09-16 Thread Jeremy Brand, B.S.
Thanks again to all who at least had a mature answer. Cheers :) Jeremy Jeremy Brand, B.S. wrote: Does anyone know a way to attend the PHP|con west as an observer in Santa Clara, CA, US on Oct. 23rd without spending tons of ca$h? The pricing seems insane, and geared towards people with lots

[PHP] PHP|Con insane pricing

2003-09-15 Thread Jeremy Brand, B.S.
Does anyone know a way to attend the PHP|con west as an observer in Santa Clara, CA, US on Oct. 23rd without spending tons of ca$h? The pricing seems insane, and geared towards people with lots of spare money... I would love to hear specifically the Advanced track on Oct. 23 (Michael Radwin,

[PHP] Re: PHP|Con insane pricing

2003-09-15 Thread Jeremy Brand, B.S.
it would be greatly appreciated. I feel like I would actually add value by being there, not only in supporting my friends who are doing speaking at the conference, but also in helping to evangelize php and help newbies with questions/fud/etc. Thanks. Jeremy Jeremy Brand, B.S. wrote: Does anyone know

Re: [PHP] Quoted-Printable Encoding

2001-07-16 Thread jeremy brand
I think you will want to use the imap_8bit() function: http://php.net/imap_8bit But, I'm not sure if there is a version available in PHP without compiling in c-client IMAP. Jeremy Jeremy Brand :: Sr. Software Engineer :: +393485323988 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy

Re: [PHP] Multiple Host's with setcookie

2001-07-13 Thread jeremy brand
the cookie it says the domain is w ww.webpage.com, thus not being accessible by mail.webpage.com. Any thoughts would be greatly appreciated. -- Jeremy Brand :: Sr. Software Engineer :: +393485323988 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more

Re: [PHP] Multiple Host's with setcookie

2001-07-13 Thread jeremy brand
for example this code: setcookie('cookie_name', 'cookie_val', time()+3600, '/', '.domain.com'); results in this HTTP header: Set-Cookie: cookie_name=cookie_val; expires=Fri, 13-Jul-01 15:14:25 GMT; path=/; domain=.domain.com Jeremy Brand Jeremy Brand :: Sr. Software Engineer :: +393485323988

Re: [PHP] GD help

2001-07-13 Thread jeremy brand
Hi Chad, You can follow my example at: http://www.nirvani.net/software/image_create/ Hope this helps. Jeremy Brand Jeremy Brand :: Sr. Software Engineer :: +393485323988 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more

Re: [PHP] Memory usage question

2001-07-12 Thread jeremy brand
queries that are eating up your memory. 1) You can configure php.ini to use less memory per thread. 2) You can run my mbfree program in a crontab to free memory on a schedule. I currently do this. http://www.nirvani.net/software/mbfree/ Jeremy Brand -- Jeremy Brand :: Sr. Software Engineer

Re: [PHP] sessions and objects

2001-02-22 Thread jeremy brand
Don't store your object in the session, that is just bad design. Store a lookup value, then grab your object from your DB only when you need it. Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more

Re: [PHP] Editor

2001-01-29 Thread jeremy brand
http://www.vim.org/ :set nu Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "LINUX is obsolete" -- Andy Tanenbaum, Ja

Re: [PHP] NT5 Sub Domains

2001-01-27 Thread jeremy brand
apache.org. :) I can hear the answer already... apache.com From: Rasmus Lerdorf [EMAIL PROTECTED] To: "[ rswfire ]" [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [PHP] NT5 Sub Domains Date: Sat, 27 Jan 2001 13:31:34 -0800 (PST) Why don't you just install the Windows

Re: [PHP] POST headers

2001-01-23 Thread jeremy brand
You can get your answer from a program I wrote, in fact, feel free (as in GLP) to use the POST function that I wrote. http://www.nirvani.net/software/SmartBeep_PageIT_Plus/ See the "urlize_array" and "post_method" functions. Jeremy Jeremy Brand :: Sr. Software Engi

Re: [PHP] XOR data encryption

2001-01-20 Thread jeremy brand
Feel free (as in public domain) to use this function: http://www.nirvani.net/software/misc/xor_string-1.0.0.inc.asc Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more

Re: [PHP] PHP Editors

2001-01-18 Thread jeremy brand
There is no recommended editor. Use whatever you like, as long as it stores the files in plain text. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http

RE: [PHP] decimal point movement...

2001-01-18 Thread jeremy brand
If you want to use the modulus, why not just use modulus (%) ? But, instead of doing all that math, why not just use the number_format() function? Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html

RE: [PHP] decimal point movement...

2001-01-18 Thread jeremy brand
my point is that math should be used instead of a regex as it is more efficient. I totally agree. :) Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more

Re: [PHP] How to participate from the digest?

2001-01-18 Thread jeremy brand
You can add a Re: to the "Subject:" header, then make sure that your "In-Reply-To:" header is in reply to the "Message-ID:" header of the message you are replying to. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://ww

Re: [PHP] Quotes and Values

2001-01-18 Thread jeremy brand
ot;'; or (PHP4 only) $myVal = EOT form name="$name" action="$action" method="$method" EOT; Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more - - - - - - - - - - - -

Re: [PHP] Clearing a variable

2001-01-18 Thread jeremy brand
you can clear a string by doing this: $string = ''; you can clear an array by doing this: $array = array(); you can clear (or zero out rather) an integer or float by doing: $int_or_float = 0; or you can simply unset() the variable: unset($any_of_the_above); Jeremy Jeremy Brand :: Sr

Re: [PHP] srtoring user selection on the database...

2001-01-18 Thread jeremy brand
e $acc=2,4,8,25... later on I explode that and I will have the clicks... What do you think? well, now you have the values. You need to state them. Either print them to "hidden" HTML input tags or save and retrieve them from the DB. :) Jeremy Jeremy Brand :: Sr. Software Engineer :

Re: [PHP] $PHP_SELF truncated to 17 chars

2001-01-18 Thread jeremy brand
I'm not aware of this bug, but temporarily you might consider using the $SCRIPT_NAME variable. The same values is stored in it AFAIK. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more

Re: [PHP] $PHP_SELF truncated to 17 chars

2001-01-18 Thread jeremy brand
Then it is something else, not those variables themselves. Do you have a configuration issue? Are you running on Windows; do you need to reboot? check phpinfo(); and see if all your variables are truncated. Just a few thought. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058

Re: [PHP] date problem: some months have 5 weeks... how I discoverwhich ones?

2001-01-18 Thread jeremy brand
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Yet there are 10 unaccounted days which is 1 and 3/7 more weeks. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more

Re: [PHP] date problem: some months have 5 weeks... how I discoverwhichones?

2001-01-18 Thread jeremy brand
want to do. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "LINUX is obsolete" -- Andy Tanenbaum

Re: [PHP] RE: Ethics question...

2001-01-18 Thread jeremy brand
, don't get me wrong. This is simply the way that works best for us. Our DB lives on a separate quad sparc and all of our content is centralized and remotely NFS mounted. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand

Re: [PHP] RE: Ethics question...

2001-01-18 Thread jeremy brand
reason) love to run thttpd+php instead of apache if it could provide = service under pressure. It most likely already does. I know thttpd by itself is the absolute best I have tested for high performance static content. It kicks apache up and down the block on this regard. Jeremy Jeremy Brand :: Sr

Re: [PHP] Ethics question...

2001-01-17 Thread jeremy brand
Soo true. But why would Microsoft be using PHP? =D Why would Microsoft be using Solaris, or Linux even? (hint, the same reason -- their stuff works less good). :) Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand

Re: [PHP] mail() question

2001-01-15 Thread jeremy brand
Your Return-Path: header should have that email address. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http://www.smackdown.com

Re: [PHP] mail() question

2001-01-15 Thread jeremy brand
you specify in the Return-Path:. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http://www.smackdown.com

Re: [PHP] mail() question

2001-01-15 Thread jeremy brand
Well, I don't know exactly what you mean by a bounce. But, an undelivered email will return to the Return-Path address. Why don't you forward the actuall email headers to the list and I can look at them. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http

Re: [PHP] BC Math

2001-01-15 Thread jeremy brand
They do just what they say. see: http://php.net/bc One drawback is that PHP can't natively handle these big numbers, so the return values from these functions are of type string. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy

Re: [PHP] Array...

2001-01-15 Thread jeremy brand
for ($i=100; $i0; $i++) print "OPTION VALUE=\\\"$i\\\"/OPTION\n"; But, I presume you would rather do this: for ($i=100; $i0; $i++) print "OPTION VALUE=\"$i\"/OPTION\n"; because I can't imagine why you would want to escape double quotes in HTML. Jerem

Re: [PHP] checkboxes into MySQL

2001-01-15 Thread jeremy brand
What I see is that the below is not an array of checkboxes (that would be input type="checkbox" ..., not option ...). Option ... are part of a select But, to make a checkbox be checked, you simply do this: input type="checkbox" ... checked Jeremy Jeremy Brand :: Sr. Soft

Re: [PHP] checkboxes into MySQL(trying again)

2001-01-15 Thread jeremy brand
Hi Jerry, Feel free (as in GPL) to use my libHtmlForm functions. This should solve your problem. http://www.nirvani.net/software/libHtmlForm/ See: html_input_checkbox() specifically. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com

Re: [PHP] Running a php script at a giveb time

2001-01-15 Thread jeremy brand
the php binary in /usr/bin) Hope this helps. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http://www.smackdown.com

RE: [PHP] load balancing with php/apache?

2001-01-14 Thread jeremy brand
Like I said, we use our own. It is home grown, but not opensource -- sorry, if it was my choice it would be ;) Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email

RE: [PHP] load balancing with php/apache?

2001-01-14 Thread jeremy brand
unfortunately not because it is not opensource. I did want to make it clear that sessions is a gereric word. Thus, when it is said, it shouldn't be mis-understood as to be PHP Sessions, which obviously is not a generic word. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058

RE: [PHP] load balancing with php/apache?

2001-01-13 Thread jeremy brand
We have a centralized DB server. Sessions are handled by us, the programmers, not the cluster. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http

RE: [PHP] load balancing with php/apache?

2001-01-13 Thread jeremy brand
we store the sessions in the DB. Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http://www.smackdown.com

RE: [PHP] load balancing with php/apache?

2001-01-13 Thread jeremy brand
Oh, BTW, we don't use PHP sessions, we use our own. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http://www.smackdown.com

Re: [PHP] problem using flock()

2001-01-13 Thread jeremy brand
a small script that uses flock(): http://www.nirvani.net/software/dr-fun/ As you can see, I am testing the result, and taking an action (in this case, sleeping, then trying again). Hope this helps. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http

RE: [PHP] looking for a PHP editor

2001-01-10 Thread jeremy brand
Now only if a php-tidy existed ... Agreed. I've often thought about hacking 'indent' to recognice PHP syntax, but I never get around to it. Does anyone know if someone has done this already? Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http