understand why they're like this but it's yet another
reason I stick to my own collection.
Anyways, back to work.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Tony Marston wrote:
Stut [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Tony Marston wrote:
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
If you don't use a framework then obviously you are writing nothing but
mickey mouse programs, and wouldn't
day.
-Stut
--
http://stut.net/
Stut wrote:
On 16 Apr 2008, at 18:01, vester_s wrote:
Is it possible to do it without using imap? I am trying to get the
list of
all users that is on the newsgroup, is that possible?
I'm wondering what possible legitimate reason you could have for
wanting
/datetime.installation.php
Also note that it's experimental at the moment and therefore not
recommended for production usage.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
';
}
echo '/tr';
$first = false;
}
// Output the row here as above
}
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
not easy but it's possible) but until I
know why you want it I'm not sharing.
-Stut
--
http://stut.net/
chris smith-9 wrote:
vester_s wrote:
Hi,
Can anybody tell me how can php connect to NNTP to get the list of
all
users
in the newsgroups?
http://php.net/imap supports nntp
and a temporary variable.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
posters have pointed out a union is a lot more work for
the DB engine to do when you could easily grab both fields in a single
query.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
worked out and
then port it over to PHP.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 12 Apr 2008, at 15:18, Daniel Kolbo wrote:
Stut wrote:
On 12 Apr 2008, at 00:31, Daniel Kolbo wrote:
Philip Thompson wrote:
On Apr 11, 2008, at 5:33 PM, Daniel Kolbo wrote:
I want to return an array from function and reference an index
all in one line. Is this possible?
In the code
On 12 Apr 2008, at 15:25, Daniel Kolbo wrote:
Stut wrote:
On 12 Apr 2008, at 00:13, Daniel Kolbo wrote:
In addition to the function i mentioned from winbinder
wb_send_message() I have tried:
I tried loading in the user32.dll extension from within the
php.ini, this failed.
I tried loading
it worked probably had an implicit buffer configured
thus not caring about output before session_start().
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
John Taylor-Johnston wrote:
$name = John Taylor;
I want to verify if $name contains john, if yes echo found;
Cannot remember which to use:
http://ca.php.net/manual/en/ref.strings.php
Either http://php.net/strpos or http://php.net/stripos if your version
of PHP supports it.
-Stut
--
http
the condition to evaluate to
false.
As per the documentation for strpos you should compare the value *and
type* of the variable returned by strpos against false to check for
non-existance.
if (strpos($name, 'John') !== false) { ... }
-Stut
--
http://stut.net/
-Mensagem original-
De
...
$var = 'value';
...declare them in the $GLOBALS array like so...
$GLOBALS['var'] = 'value';
$var is then in the global scope regardless of where it was set.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Evert Lammerts wrote:
In index.php rather than declaring vars like so...
$var = 'value';
...declare them in the $GLOBALS array like so...
$GLOBALS['var'] = 'value';
$var is then in the global scope regardless of where it was set.
-Stut
That would work. However I'm looking for a more
of the display_errors
configuration option. Look it up in the manual for details.
To the OP: Check that your include_path contains '.', if it doesn't add
it and see if that fixes your problem.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
to be on the safe side, but that's just how
I roll...
If you're worried about is use DIRECTORY_SEPARATOR rather than
hard-coding it. Writing portable code is not difficult in PHP.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
. Nice try.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Daniel Brown wrote:
Off-list.
Hey, don't shoot me down just yet, Mr. Dallas. Gotta' make the
n00bs sweat it out just a bit, y'know. ;-P
Sorry mate, bit too quick on the trigger there.
And less of the real name on the interweb please, I'm undercover!
-Stut
--
http://stut.net
://dev.stut.net/php/mario.php
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
?
No, but you can use http://php.net/array_map to do the trim before
using extract.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 28 Mar 2008, at 21:14, Lamp Lists wrote:
- Original Message
From: Stut [EMAIL PROTECTED]
To: Lamp Lists [EMAIL PROTECTED]
Cc: php General list php-general@lists.php.net
Sent: Friday, March 28, 2008 4:02:27 PM
Subject: Re: [PHP] does function extract() trim?
On 28 Mar 2008, at 20:59
in any
way you choose as long as you check for duplicates before using it.
If that's not the reason please explain exactly what you're trying to
achieve rather than how you want to achieve it.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
into the future. We use a year on all our images, css
and js files and it's lead to a drop of ~40% in traffic to the static
servers.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 19 Mar 2008, at 10:11, Per Jessen wrote:
Stut wrote:
On 19 Mar 2008, at 09:54, Per Jessen wrote:
BTW, why does the browser do this for objects it has already cached?
(assuming they're fresh/not expired)
Because by default most web servers don't add expiry headers, so it's
up
= ; } else { $cmd = ^^^; }
Simple as that.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
at the documentation for the database you're using
or find a mailing list for it.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as well.
I thought that (*) meant look up everything and would have figured
that (id) would have been quicker.
Using count(*) can be optimised, as can count(1) which is what I
usually use. Using a specific field is harder to optimise.
-Stut
--
http://stut.net/
--
PHP General Mailing List
jeffry s wrote:
what about SELECT MAX(id) FROM table :)
Won't give you the number of records, just the highest ID.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
obviously need
to change this to a document.getElementById.
I'd also recommend you put some JS at the end of the page to enable the
button and set its value otherwise users hitting the back button may be
presented with a disabled button which is annoying.
-Stut
--
http://stut.net/
--
PHP General
the maintainer of the
software to find out if there's a way to get it under a different
license. If not look for an alternative that meets the customers
requirements.
-Stut
[1] Yet to be sufficiently tested in court in most countries, but do you
really want to take the risk?!
--
http
, it'll help save both our
sanity and yours!
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Please keep replies on-list so everyone can benefit from the discussion.
On 20 Mar 2008, at 00:13, Mark Weaver wrote:
Stut wrote:
RTFM. The fopen function (http://php.net/fopen) will return a
stream resource. The fwrite (http://php.net/fwrite) and fclose (http://php.net/fclose
- noticing
the client?
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
carefully about whether you actually need to hit that URL
directly all the time or just during development. If it's just during
development it would be better to disable any security features you've
implemented, just make sure you re-enable them before you put it live.
-Stut
--
http://stut.net
to track whether a form has been posted yet. If
your application is well-architected you shouldn't need to worry about
performance.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that page you'll process the form again,
which could have any number of nasty effects from creating a duplicate
row in the database to charging a credit card again. It also causes a
potentially confusing confirmation request to be displayed to the user.
-Stut
--
http://stut.net/
--
PHP
On 18 Mar 2008, at 15:33, Per Jessen wrote:
Stut wrote:
One minor thing... a 303 redirect is permanent. In this situation you
want to use a 302 otherwise you could potentially cause problems with
proxies.
A redirect following a POST really should be a 303 - RFC 2616 :
10.3.4 303 See Other
the \...
openssl_pkcs7_verify(prova.p7m, PKCS7_BINARY ,prova.pdf,
array(c:\\cert.pem) );
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it, but such a beast is pretty simple to write but obviously is
not evaluated at runtime.
IIRC there was a project a while ago to build a macro language into
PHP but I have no idea how far it got. I think it was being done under
the GSoC initiative. Google should have more on that.
-Stut
--
http://stut.net
()
{
echo arse 2\n;
}
}
arse();
?
Oh, and top-posting is evil, please don't do it.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 14 Mar 2008, at 19:21, Eric Gorr wrote:
On Mar 14, 2008, at 3:15 PM, Eric Gorr wrote:
On Mar 14, 2008, at 3:10 PM, Stut wrote:
On 14 Mar 2008, at 19:03, Eric Gorr wrote:
Unfortunately, such things cannot be used to wrap functions.
Erm, yes they can. Try it.
?php
if (rand(0,1) == 0
machine. Since that cookie contains an email address and
potentially a phone number it's much better to encrypt it and protect
our users.
Hope that answers your question.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
tedd wrote:
At 4:01 PM + 3/13/08, Stut wrote:
tedd wrote:
Then, when the user returns, you simply check the cookie with what's
stored in the dB and continue as before. If the check fails (no
session id or it has been altered), then start again.
Because that negates the whole point
tedd wrote:
At 3:16 PM + 3/13/08, Stut wrote:
tedd wrote:
I question the reason why you would want to encrypt the cookie
considering that before the user is going to be provided access to
sensitive data that you require a password confirmation. The
encryption seems to be an unnecessary
));
}
8--
Note that I would like to compare any type of files (text and binary).
http://php.net/md5_file
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to the sort of instruction set you
get in Assembler. I've been working with PHP for a very long time and
I certainly don't claim to know everything about it or about every
feature it has. Restrict your code in that way and you'll create a
slow unmaintainable mess.
IMHO.
-Stut
--
http
On 11 Mar 2008, at 07:09, John Taylor-Johnston wrote:
Any other inspiration?
Assuming the index is a PHP script stick this at the top...
?php
if (!empty($_GET['feed']))
{
header('404 Not Found');
echo 'Go away!';
exit;
}
?
-Stut
--
http://stut.net
On 4 Mar 2008, at 13:57, Jochem Maas wrote:
Stut mentioned a little while back that he avoids using the built-in
session
mechanism if at all possible, but still manages to track user
state ... now I
can think of a way or two that he might do that but I was wondering if
any one could give
On 11 Mar 2008, at 13:31, Thiago Pojda wrote:
-Mensagem original-
De: Stut [mailto:[EMAIL PROTECTED]
On 4 Mar 2008, at 13:57, Jochem Maas wrote:
Stut mentioned a little while back that he avoids using the built-in
session
mechanism if at all possible, but still manages to track
On 11 Mar 2008, at 14:26, Zoltán Németh wrote:
2008. 03. 11, kedd keltezéssel 12.34-kor Stut ezt írta:
On 4 Mar 2008, at 13:57, Jochem Maas wrote:
Stut mentioned a little while back that he avoids using the built-in
session
mechanism if at all possible, but still manages to track user
state
what you're actually considering doing
with that script before you go that. A little thought will probably
put you off the idea quickly.
To answer your question... http://marc.info/?l=php-generalr=1w=2
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
popular it's not worth the bad guys investing time to
mod their bots to get past it. I had zero spam comments while that was
in place. I've since switched to Wordpress and I have to say that
Akismet kicks the crap out of any captcha in terms of effectiveness.
-Stut
--
http://stut.net
On 4 Mar 2008, at 14:05, Jay Blanchard wrote:
[snip]
Stut mentioned a little while back that he avoids using the built-in
session
mechanism if at all possible, but still manages to track user
state ...
now I can think of a way or two that he might do that but I was
wondering if
any one could
On 4 Mar 2008, at 16:11, Daniel Brown wrote:
On Tue, Mar 4, 2008 at 11:09 AM, Stut [EMAIL PROTECTED] wrote:
On 4 Mar 2008, at 15:52, Daniel Brown wrote:
On Tue, Mar 4, 2008 at 9:10 AM, Stut [EMAIL PROTECTED] wrote:
I'm working on an article
for my website that describes exactly how I'm doing
On 4 Mar 2008, at 15:52, Daniel Brown wrote:
On Tue, Mar 4, 2008 at 9:10 AM, Stut [EMAIL PROTECTED] wrote:
I'm working on an article
for my website that describes exactly how I'm doing it and what the
issues are but it's not ready yet. I'll let the list know when it's
done.
Is it done yet
message pretty clearly states that it's trying to
connect to the server specified in those settings.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Incidentally, it probably didn't like the Yahoo settings you used
because that port is for SMTP over SSL which PHP doesn't support.
-Stut
--
http://stut.net/
- Original Message -
From: Stut [EMAIL PROTECTED]
To: Sofia Jacob (CA) [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Tuesday
the user from one or other simply unset that variable...
unset($_SESSION['members']);
unset($_SESSION['cart']);
KISS.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 2 Mar 2008, at 15:28, Richard wrote:
Stut a écrit :
On 2 Mar 2008, at 14:49, Richard wrote:
I would there for need to have two seperate sessions one for the
cart, and one for the members area. And sometimes I will need to
have them both open.
Is this possible ? I've searched google
On 2 Mar 2008, at 15:59, Richard wrote:
Stut a écrit :
On 2 Mar 2008, at 15:28, Richard wrote:
However, is there a way to limit the session stay alive time for
just one variable ?
If for example, if a user has not done anything in his members
area for more than 30 minutes I would like
On 2 Mar 2008, at 16:32, Richard wrote:
Stut a écrit :
Just curious... why are you setting the password to an empty array?
You'd probably be better off unset'ing it so you can use isset to
check for it.
Oh right ! :)
Yes you're right about the array, I used it by mistake, as to reset
bit of paper.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
from being output to stdout.
On my local machine here PHP does not output the shebang line. AFAIK
it detects and strips it at the compilation phase. Have you tried it?
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
On 28 Feb 2008, at 11:40, Aschwin Wesselius wrote:
Stut wrote:
On 28 Feb 2008, at 11:30, Aschwin Wesselius wrote:
Shelley wrote:
Hi all,
What do you think is the best way to display string 'abcdef' as
'fedcba'?
$tmp = '';
$str = 'abcdef';
for ($i = strlen($str); $i = 0; $i--) {
$tmp
be initialised to strlen($str)-1
otherwise you start one character beyond the end of the string.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
response.
To unsubscribe, visit: http://www.php.net/unsub.php
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
stuff, keep using
spaces. Just hope you never change your mind.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to the FUD.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it through Visual Studio in debug mode which instruments
the code to such a degree that it's several magnitudes slower than a
release build.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, learn by doing. It's served me well.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a software engineer rather than a web developer and would
like a job in Windsor drop me a note.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 27 Feb 2008, at 21:42, Daniel Brown wrote:
On Wed, Feb 27, 2008 at 4:38 PM, Stut [EMAIL PROTECTED] wrote:
[snip!]
If anyone considers themselves a software engineer
rather than a web developer and would like a job in
Windsor drop me a note.
Depending on how desperate you get, should
On 27 Feb 2008, at 21:50, Shawn McKenzie wrote:
Shawn McKenzie wrote:
Stut wrote:
I've interviewed more than my fair share of web developers who
couldn't reverse an array without using array_reverse if their life
depended on it. Sometimes it really does scare me!
So my experience
) = authentication(blah, blah, blah);
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 27 Feb 2008, at 23:25, Jochem Maas wrote:
Stut schreef:
I DID NOT!! It was him! I only schreef in private!
On 27 Feb 2008, at 20:59, Daniel Brown wrote:
So let this be at least a basic retort to those who don't consider
web development real programming. Because you'd be surprised
On 25 Feb 2008, at 18:40, Rick Pasotto wrote:
What is the best or recomended proceedure for making sure that a
page is
accessed only via a secure connection?
What web server are you using? In my experience this is best done
there rather than in PHP.
-Stut
--
http://stut.net/
--
PHP
:
http://search.securityfocus.com/swsearch?query=joomlametaname=alldoc
And the 280+ exploits when it was called Mambo:
http://search.securityfocus.com/swsearch?query=mambometaname=alldoc
Not disagreeing with you, but just to be clear Joomla is a fork of
Mambo, not a rename.
-Stut
--
http
file, and your regex is basically pulling out each line.
For the love of $DEITY learn about fgets and process each line one by
one rather than loading in the whole file. It'll be a lot faster and
won't suck your memory dry while it runs.
-Stut
--
http://stut.net/
--
PHP General Mailing List
? It's pretty-much always a case of file not found or
insufficient permissions, both of which you can check for before going
near fopen.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
() but obviously I can't.
I don't understand why you need to destroy the class instance to clear
up member variables. Or am I not understanding your diction?
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of the web existing long before that depending on your
definition of the web. To me it's a way for people to share information.
That would cover the BBS world which pre-dates LANs by some distance.
Anyhoo, back to work.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net
was the last time you saw porn on one of them?!!
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
for that function - it will tell you how to detect
errors.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Petrus Bastos wrote:
I'm testing on FreeBSD. I can use any command through system(), but the zip
command doesn't works! I don't know why.
Is zip installed? AFAIK it's not by default.
Do a system('whereis zip'); to see.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http
?
Show us some code. Chances are that you're blatting over the
$myClassInstance variable, or are running into scope issues.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and
not just the last line. I tend to use backticks for this. It would also
help to add 21 to the end of the command so you get output to stderr
as well as stdout.
Finally, if it's still not working might I suggest you share your code.
The problem may be more obvious if we have that.
-Stut
doesn't have execute permissions on the zip binary. There could be
lots of reasons for that but you need to ask your sysadmin about it.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
should be able to put in your own XSLT that ensures the XML file is
presented unchanged. Dunno if IE7 will obey it but certainly worth a try.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
for creating a logical modular
system with reusable components, and IMHO not using them indicates an
engineer stuck in the dark ages of software development.
But each to their own.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
such as
phpMyAdmin. You might want to rethink your design from a security point
of view.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Lynch wrote:
On Thu, February 14, 2008 4:28 pm, Stut wrote:
Richard Lynch wrote:
If a website is complicated enough to need a class hierarchy, then
something is wrong in your Design. :-) :-) :-)
I don't think anything ever *needs* a class heirarchy, but I wouldn't
say using one
...
Questions regarding specific frameworks should be directed towards the
support resources for that framework. Check the Cake homepage for
support details.
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Per Jessen wrote:
Stut wrote:
Of course, processing power, network capacity and memory are all very
cheap these days, so it's easy to put on the Microsoft hat and be
wasteful.
In my mind you're exchanging traffic over a local network (probably
1Gbps) for a less resilient load balancing system
Per Jessen wrote:
Stut wrote:
There's no question of locking users to particular machines, nor of
uneven distribution. LVS will distribute evenly or according to
weights.
Indeed, but you must see that making the decision of which server to
use per request will result in a more even
Per Jessen wrote:
Stut wrote:
Per Jessen wrote:
mike wrote:
Check out persistency in LVS for instance:
http://www.linuxvirtualserver.org/docs/persistence.html
i know persistence handling is an option in LVS, but i haven't seen
the need to use it. i use LVS right now without even bothering
Sancar Saran wrote:
Hello
On Tuesday 12 February 2008 13:39:19 Stut wrote:
I'll be using memcache as a simple cache. I hate sessions and avoid them
for anything but the most trivial sites. The main sites I work with no
longer use sessions because they add a pointless layer of complexity to
any
and harddisks
pop every so often, but I have my doubts about memcached scaling to
that level (please correct me if I'm wrong here, I have _no_ experience
with memcached).
Facebook. Digg. LiveJournal. That enough scalability proof for ya? If
not there are plenty more where those came from.
-Stut
either change hosts or look at poking the message into an
outgoing queue you implement yourself (file or db-based with a cron job
to periodically process it).
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
301 - 400 of 1367 matches
Mail list logo