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
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
- - - - - - - - - - - -
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
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 :
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
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
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
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
, 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
42 matches
Mail list logo