php-general Digest 21 Nov 2010 17:03:07 -0000 Issue 7047

2010-11-21 Thread php-general-digest-help
php-general Digest 21 Nov 2010 17:03:07 - Issue 7047 Topics (messages 309590 through 309594): Re: MySQL Query Help 309590 by: Richard West 309591 by: admin.buskirkgraphics.com 309593 by: Simcha Younger 309594 by: PW Problem with functions and arrays...

php-general Digest 22 Nov 2010 06:45:05 -0000 Issue 7048

2010-11-21 Thread php-general-digest-help
, version of virus signature database 5636 (20101121) __ The message was checked by ESET Smart Security. http://www.eset.com ---End Message--- ---BeginMessage--- On Sun, Nov 21, 2010 at 12:02 PM, Gary gp...@paulgdesigns.com wrote: I have been testing various scripts to kill email

[PHP] E-mail injection question

2010-11-21 Thread Gary
++;} } if ($newlinecounter = 1){ die('die scum die'); } ? Thank you, Gary __ Information from ESET Smart Security, version of virus signature database 5636 (20101121) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP General Mailing List (http

Re: [PHP] MySQL Query Help

2010-11-21 Thread PW
SELECT * FROM products p LEFT JOIN criteria_values cv ON p.key=cv.key LEFT JOIN criteria c ON cv.key=c.key WHERE c.value IS NOT NULL Hard to answer without more detail, but I am guessing the answer will be something like the above. Your question makes it hard to understand whether c or cv is

Re: [PHP] E-mail injection question

2010-11-21 Thread Adam Richardson
On Sun, Nov 21, 2010 at 12:02 PM, Gary gp...@paulgdesigns.com wrote: I have been testing various scripts to kill email injection attacks. I adapted this script and it seems to work well. Does anyone see any issues with this? ?php $newlinecounter = 0; foreach($_POST as $key =

RE: [PHP] MySQL Query Help

2010-11-21 Thread Ben Miller
SELECT * FROM products p LEFT JOIN criteria_values cv ON p.key=cv.key LEFT JOIN criteria c ON cv.key=c.key WHERE c.value IS NOT NULL Hard to answer without more detail, but I am guessing the answer will be something like the above. Your question makes it hard to understand whether c or cv is

Re: [PHP] Problem with functions and arrays...

2010-11-21 Thread Tamara Temple
On Nov 20, 2010, at 5:31 PM, Jason Pruim wrote: ?PHP function ddbYear($name, $message, $_POST, $option){ Maybe it's just me, but using the name of a global as a function parameter just seems like a bad idea. Yes, you can do it. Should you? I think not. Especially, as, you are passing

[PHP] How to install ext/intl on Mac OSX (NumberFormatter and so on)

2010-11-21 Thread cimodev
Hallo Apple is shipping PHP 5.3.3 on Mac OSX Darwin without the PECL-Extension ext/intl. So i tried to install ext/intl with pecl install intl. The Error Message is: /private/var/tmp/apache_mod_php/apache_mod_php-53~1/Build/tmp/pear/temp/intl/collator/collator_class.c:92: error: duplicate

[PHP] range header in curl?

2010-11-21 Thread Tontonq Tontonq
hi im downloading files from h0tf1le as a premium user by curl i want to do something like streaming i want it resend to user what it got from server i couldnt find any resource about curl and streaming the executed source so i did by the Range header but sometimes i see files are corrupted i

Re: [PHP] range header in curl?

2010-11-21 Thread Michael Shadle
Is range the right header to be sending? I thought it was something else. Also I believe there is a curl_setopt option for range... Look at php.net's predefined constants for the curl modul On Nov 21, 2010, at 3:05 PM, Tontonq Tontonq root...@gmail.com wrote: hi im downloading files from