php-general Digest 15 Oct 2008 10:22:46 - Issue 5736
Topics (messages 281922 through 281942):
Re: utf8/quoted printable based mail renders raw html
281922 by: Nathan Rixham
281934 by: Eric Butera
Re: searching by tags
281923 by: Nathan Rixham
281924 by:
Alain Roger wrote:
Hi,
is there a way with PDO class to not have:
- to execute a simple SET search_path TO myschema;
can you alter the postgres users path?
alter user username set search_path to new_schema, current_schemas();
or some variation on that.
- and after to fletch another SQL
Shawn McKenzie wrote:
Matrix printer? Is this an awesomely powerful matrix of multiple
printers high output printers?
-Shawn
http://en.wikipedia.org/wiki/Matrix_printer
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Wed, 2008-10-15 at 00:58 +0100, Nathan Rixham wrote:
Ashley Sheridan wrote:
On Wed, 2008-10-15 at 01:17 +0200, Jochem Maas wrote:
Nathan Rixham schreef:
Ashley Sheridan wrote:
On Tue, 2008-10-14 at 14:54 -0700, Ryan S wrote:
quite a few sites seem to have a very neat way of
Ashley Sheridan schreef:
On Wed, 2008-10-15 at 00:58 +0100, Nathan Rixham wrote:
Ashley Sheridan wrote:
On Wed, 2008-10-15 at 01:17 +0200, Jochem Maas wrote:
Nathan Rixham schreef:
Ashley Sheridan wrote:
On Tue, 2008-10-14 at 14:54 -0700, Ryan S wrote:
quite a few sites seem to have a very
On Oct 14, 2008, at 7:24 PM, Jochem Maas wrote:
Colin Guthrie schreef:
Jochem Maas wrote:
Jason Pruim schreef:
if(isset($_SESSION['userInfo']['loggedin'])
$_SESSION['userInfo']['loggedin'] == TRUE) {
Or, seeing as I'm a stickler for compact code:
me too, I also like to be able to
On Wed, Oct 15, 2008 at 6:24 AM, Nathan Rixham [EMAIL PROTECTED] wrote:
Ryan S wrote:
$uploaddir = 'C:\\wamp\\www\\ezee\\funny\\';
delimited backslashes in a string that doesn't need delimited (single quotes
not double.
$uploaddir = 'C:\wamp\www\ezee\funny\';
--
nathan ( [EMAIL
On 15 Oct 2008, at 14:53, Shelley wrote:
It will punish private Windows XP and Office 2003, Office 2007 users.
This is extremely off-topic. Please don't abuse this list in an
attempt to drive traffic to your blog.
-Stut
--
http://stut.net/
--
PHP General Mailing List
On Tue, Oct 14, 2008 at 6:25 PM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
On Tue, 2008-10-14 at 19:15 -0300, Miles Thompson wrote:
On Tue, Oct 14, 2008 at 6:23 PM, Dušan Novaković [EMAIL PROTECTED] wrote:
I have some request to sent text to matrix printer to print ticket for
theater. Is it
On 15 Oct 2008, at 15:23, Ben Stones wrote:
I've read a few videos on cookie security and it makes sense that
people can
modify cookie values which is a problem I'm trying to figure out to
*try*
and prevent. What I'll first do is at the top of the page that
validates if
the cookie values is
Can you explain to me the benefits of hashing/encrypting/md5'ing cookie
values? I don't see how it'd stop hackers from changing cookie values?
2008/10/15 Stut [EMAIL PROTECTED]
On 15 Oct 2008, at 15:23, Ben Stones wrote:
I've read a few videos on cookie security and it makes sense that
I've read a few videos on cookie security and it makes sense that people can
modify cookie values which is a problem I'm trying to figure out to *try*
and prevent. What I'll first do is at the top of the page that validates if
the cookie values is in the database, but what my next problem is
On 15 Oct 2008 at 16:04, Ben Stones wrote:
Can you explain to me the benefits of hashing/encrypting/md5'ing cookie
values? I don't see how it'd stop hackers from changing cookie values?
Hi,
You would keep a copy of the hash on the server and check that against the
submitted
value. If they
On 15 Oct 2008, at 16:04, Ben Stones wrote:
Can you explain to me the benefits of hashing/encrypting/md5'ing
cookie values? I don't see how it'd stop hackers from changing
cookie values?
You encrypt stuff with a string that you keep secret. That string is
needed to decrypt the string.
Per Jessen wrote:
Shawn McKenzie wrote:
Matrix printer? Is this an awesomely powerful matrix of multiple
printers high output printers?
-Shawn
http://en.wikipedia.org/wiki/Matrix_printer
/Per Jessen, Zürich
Ha,ha, yes I know. My first printer was a
Makes perfect sense. I have included this security in my script - thanks to
both of you for your help!
Cheers!
2008/10/15 Stut [EMAIL PROTECTED]
On 15 Oct 2008, at 16:04, Ben Stones wrote:
Can you explain to me the benefits of hashing/encrypting/md5'ing cookie
values? I don't see how it'd
AGH!
Just got up, feel like I have a hangover which is not really fair because I
didnt drink so dont deserve one.
It really is screwed up, you pull an all nighter and when you get up you look
at the code you produced and it just isnt your best work... and the question
pops up, why bother?
Jason Pruim wrote:
I probably should have mentioned that this was in a function to do the
heavy lifting for authentication :) I just didn't paste the whole
function since 90% of it worked just fine :)
Now I just need to get better and separating presentation and code :)
very smiley today
On Oct 15, 2008, at 7:18 AM, Nathan Rixham wrote:
Jason Pruim wrote:
I probably should have mentioned that this was in a function to do
the heavy lifting for authentication :) I just didn't paste the
whole function since 90% of it worked just fine :)
Now I just need to get better and
Ryan S wrote:
$uploaddir = 'C:\\wamp\\www\\ezee\\funny\\';
delimited backslashes in a string that doesn't need delimited (single
quotes not double.
$uploaddir = 'C:\wamp\www\ezee\funny\';
--
nathan ( [EMAIL PROTECTED] )
{
Senior Web Developer
php + java + flex + xmpp + xml + ecmascript
Jochem Maas wrote:
Ashley Sheridan schreef:
On Wed, 2008-10-15 at 00:58 +0100, Nathan Rixham wrote:
Ashley Sheridan wrote:
On Wed, 2008-10-15 at 01:17 +0200, Jochem Maas wrote:
Nathan Rixham schreef:
Ashley Sheridan wrote:
On Tue, 2008-10-14 at 14:54 -0700, Ryan S wrote:
quite a few sites
Hey all,
am feeling a bit brain dead, pulled an all nighter and would appreciate some
help as have already wasted over 2hrs on this :(
just not thinking straight.
I got this script off the net, cant even remember where :( its basically to
resize an uploaded image (i have a script that does
On 15 Oct 2008, at 18:21, Yeti wrote:
You encrypt stuff with a string that you keep secret. That string
is needed to decrypt the string.
I recommend you change that string once in a while.
That's never a bad idea with any secret token, but bear in mind that
when you do all existing cookies
Jochem Maas wrote:
Colin Guthrie schreef:
if(!empty($_SESSION['userInfo']['loggedin'])) {
if (Sess::userLoggedIn()) { /* ... :-) */ }
Well, yes, that's how I do it in my apps too, but in internally in that
function you may want to use the empty() call :)
I agree that when checking for
Ryan S wrote:
Hey all,
am feeling a bit brain dead, pulled an all nighter and would appreciate some
help as have already wasted over 2hrs on this :(
just not thinking straight.
I got this script off the net, cant even remember where :( its basically to
resize an uploaded image (i have a
On Oct 15, 2008, at 1:21 PM, Yeti wrote:
You encrypt stuff with a string that you keep secret. That string
is needed to decrypt the string.
I recommend you change that string once in a while.
Also, picking up a copy of:
Essential PHP Security
by Chris Shiflett
# ISBN-10: 059600656X
#
You encrypt stuff with a string that you keep secret. That string is needed
to decrypt the string.
I recommend you change that string once in a while.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2008-10-15 at 11:22 +0100, Nathan Rixham wrote:
Jochem Maas wrote:
Ashley Sheridan schreef:
On Wed, 2008-10-15 at 00:58 +0100, Nathan Rixham wrote:
Ashley Sheridan wrote:
On Wed, 2008-10-15 at 01:17 +0200, Jochem Maas wrote:
Nathan Rixham schreef:
Ashley Sheridan wrote:
On
Stut wrote:
On 15 Oct 2008, at 14:53, Shelley wrote:
It will punish private Windows XP and Office 2003, Office 2007 users.
This is extremely off-topic. Please don't abuse this list in an attempt
to drive traffic to your blog.
-Stut
It *is* powered by PHP, Stut. :P
--
PHP General
Ashley Sheridan schreef:
On Wed, 2008-10-15 at 11:22 +0100, Nathan Rixham wrote:
Jochem Maas wrote:
Ashley Sheridan schreef:
On Wed, 2008-10-15 at 00:58 +0100, Nathan Rixham wrote:
Ashley Sheridan wrote:
On Wed, 2008-10-15 at 01:17 +0200, Jochem Maas wrote:
Nathan Rixham schreef:
Ashley
This is extremely off-topic. Please don't abuse this list in an attempt
to drive traffic to your blog.
-Stut
It *is* powered by PHP, Stut. :P
True, but that's the ONLY PHP thing about it... OK, and the URL has PHP in
it...
;)
Wolf
--
PHP General Mailing List
Jochem Maas wrote:
Ashley Sheridan schreef:
On Wed, 2008-10-15 at 11:22 +0100, Nathan Rixham wrote:
Jochem Maas wrote:
Ashley Sheridan schreef:
On Wed, 2008-10-15 at 00:58 +0100, Nathan Rixham wrote:
Ashley Sheridan wrote:
On Wed, 2008-10-15 at 01:17 +0200, Jochem Maas wrote:
Nathan
improvement if I went for static URLs on the site, but I don't
have any
evidence for that, and I'm willing to admit it.
I'd rebuff this but it would feel like Im feeding a troll.
choices:
1 - Waste some time on a live test to prove this
2 - Explain how I know this and show the historical
Govinda wrote:
improvement if I went for static URLs on the site, but I don't have any
evidence for that, and I'm willing to admit it.
I'd rebuff this but it would feel like Im feeding a troll.
choices:
1 - Waste some time on a live test to prove this
2 - Explain how I know this and show the
On Wed, 2008-10-15 at 15:36 -0600, Govinda wrote:
improvement if I went for static URLs on the site, but I don't
have any
evidence for that, and I'm willing to admit it.
I'd rebuff this but it would feel like Im feeding a troll.
choices:
1 - Waste some time on a live test to
On Wed, 2008-10-15 at 16:38 -0400, Wolf wrote:
This is extremely off-topic. Please don't abuse this list in an attempt
to drive traffic to your blog.
-Stut
It *is* powered by PHP, Stut. :P
True, but that's the ONLY PHP thing about it... OK, and the URL has PHP in
On Wed, Oct 15, 2008 at 7:17 PM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
I think the PHP part of the URL was added by the mailing list. Short of
that, I think it's just some schmuck trying to boost his/her SEO
ranking.
Shelly has been here for over a year, on and off, and I think it
was
On Wed, 2008-10-15 at 19:17 -0400, Daniel Brown wrote:
On Wed, Oct 15, 2008 at 7:17 PM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
I think the PHP part of the URL was added by the mailing list. Short of
that, I think it's just some schmuck trying to boost his/her SEO
ranking.
On Wed, Oct 15, 2008 at 7:25 PM, Ashley Sheridan
[EMAIL PROTECTED] wrote:
I apologise then. I thought it was spam, sorry.
Quit apologizing until you've done something wrong, Sheridan. ;-P
--
/Daniel P. Brown
More full-root dedicated server packages:
Intel 2.4GHz/60GB/512MB/2TB $49.99/mo.
via e-mail? lol - speaking of which doubt many would visit the site anyway
:)... oh wait, the archive... is it indexed by Google?
2008/10/16 Ashley Sheridan [EMAIL PROTECTED]
On Wed, 2008-10-15 at 16:38 -0400, Wolf wrote:
This is extremely off-topic. Please don't abuse this list in an
You are REALLY drive traffic, spam, SEO experts. They are beyond my
mind. The topic being here is just because the news is each national site's
cover story and every mate talked about it.
2. Not a place to DRIVE TRAFFIC. My English is still at preliminary school
level, you see. (should be pirated
I'm running some command-line scripts that are taking more and more
arguments, and I'm wondering whether anyone's used a good flags package for
PHP? Support for string/int/boolean arguments would be nice, otherwise I'll
just hack together my own.
Thanks for any advice,
Waynn
Waynn Lue wrote:
I'm running some command-line scripts that are taking more and more
arguments, and I'm wondering whether anyone's used a good flags package for
PHP? Support for string/int/boolean arguments would be nice, otherwise I'll
just hack together my own.
43 matches
Mail list logo