>
> The good part about errors like this is it's an opportunity to start a
> pool to guess when the call from the client saying "Wow, it just started
> working again, not sure why!" will come in.
>
I handle all of my production problems this way.
___
New
>
> What I find interesting is that I don't remember ever making this sort of
> mistake in the past...
>
Coding with notices on would make that an easy catch.
___
New York PHP User Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listi
Jager Bombs!
On Mon, Aug 17, 2009 at 9:09 AM, Mitch Pirtle wrote:
> Those little 4-packs of Murphy's are just about the right size to last
> through a clean install and fresh macports setup.
>
> -- Mitch
>
> On Sun, Aug 16, 2009 at 10:43 PM, Daniel
> Horning wrote:
> >> Jake McGraw wrote:
> >> >
> Eclipse/PHP doesn't do anything vi doesn't do, except it has two buttons
> you can click on to start and stop your web server. W... I'm so
> impressed. All you get from Eclipse/PHP is increased startup time. No
> wonder why PHPers think Eclipse is worthless, because Eclipse/PHP ~is~
>
This is how I would approach the problem (simplified/pseudocode)
CREATE TABLE user (
id INT,
username VARCHAR
);
CREATE TABLE friend (
id INT,
user_id INT,
friend_id INT
);
-- Get all of user #1's friends usernames
SELECT u.username FROM users u, friends f WHERE f.user_id = 1
You can also use output buffering for some interesting behavior
[ http://us3.php.net/manual/en/book.outcontrol.php ]
I prefer to set headers at the end of the script because it is at the end of
processing
a request that you are best able to do content-type negotiation and status
base
Hello,
little bit of this, little bit of that, and some google :
http://jamesseligman.net/is-vbulletin-37-recaptcha-verification-flawed/
-- Elijah
On Wed, Jun 10, 2009 at 1:29 PM, Ben Sgro wrote:
> Hey,
>
> Have you searched for exploits for this 3.7 version? Who knows, maybe
> something is p
@chris, you forgot to json_encode, mail() to a remote service, and sleep()
while you wait for the results
On Thu, Jun 4, 2009 at 1:34 PM, Chris Snyder wrote:
> On Thu, Jun 4, 2009 at 12:39 PM, wrote:
> > yeah i think unset would work just fine.
> >
>
> So much for my serialize() / preg_replace
http://www.freelancersunion.org/
2009/5/28 Eddie Drapkin
> I've had good experiences with Elance :]
>
> 2009/5/28 Peter Sawczynec
>
>> Has anyone used a freelance programming or web or graphics website
>>
>> to bid on and acquire jobs.
>>
>>
>>
>> Got any good website names?
>>
>> Any experien
+1 for profiling (http://www.xdebug.org/)
I nominate Caching as well.
-- Elijah
On Thu, May 14, 2009 at 4:49 PM, Hans Zaunere wrote:
> > Does anyone know how the PHP Interpreter pulls switch/case statements
> > together? Does it emulate a C compiler and, for larger case sets,
> > build a huge
Here is some C code I had laying around which executes a detached process,
much like
START.
#include
#include
#include
int main(int argc, char *argv[])
{
if (argc < 2)
{
printf("Fork32 v1.0 - A windows process splitter\n\n");
printf("Usage: fork32.exe C:\\full\\path\\to
This task is made much easier with qa class btw
On Feb 25, 2009, at 12:13 AM, csnyder wrote:
On Tue, Feb 24, 2009 at 3:52 PM, charlie derr rock.edu> wrote:
Ajai Khattri wrote:
On Tue, 24 Feb 2009, csnyder wrote:
What are you fishing for? Write some code and try it.
Nice.
I initially
Michele,
just as a suggestion for the future.. could you keep all of these in the
same thread?
Thanks,
-- Elijah
2009/2/5 Peter Sawczynec
> Sigh.
>
>
>
> Warmest regards,
>
>
>
> Peter Sawczynec
>
> Technology Dir.
>
> blūstudio
>
> 941.893.0396
>
> p...@blu-studio.com
>
> www.blu-studio.co
demo appears to be broken
On Mon, Feb 2, 2009 at 4:14 PM, Dan Cech wrote:
> Mitch Pirtle wrote:
> > Apologies for the cross-post, I can't remember if this was a request
> > from NYPHP or the NYCJUG. *blush*
> >
> > Somebody at the last meet was asking about nested sets, and I promised
> > to get
anyone else care to beat the (dead) dog?
On Thu, Jan 29, 2009 at 11:33 AM, Brian Dailey wrote:
> Jesse, don't worry about having questions, they are welcome on this list.
>
> As far as your question, yes, it can be done. If you create a form input
> labeled data[Person][name] it will be referenc
when this form is submitted $_POST will contain
$_POST['data']['test'][0] = "index 0"
$_POST['data']['test'][1] = "index 1"
$_POST['data']['test'][2] = "index 2"
I'd suggest messing around with [] in the name attribute and looking at what
you can get out of post with different
combination
Michele,
I'm happy you found your way!
-- Elijah
On Mon, Jan 26, 2009 at 12:22 PM, Ajai Khattri wrote:
> On Mon, 26 Jan 2009, Michele Waldman wrote:
>
> > So, anyway for anyone that I caused concern for the solution for me is
> keep
> > code off webroot and in webroot just include those file.
$key is not phone1 ?
On Wed, Jan 21, 2009 at 8:24 PM, Rick Retzko wrote:
> Hi Folks -
>
> This should be simple, but I haven't been able to debug it on my own, so
> I'm asking for help.
>
> I'm walking through a user's webform submission that I've put into an
> object and comparing each of that
umm... with objects this gets sexy.
class Add {
public function execute($a, $b) { return $a + $b; }
}
class Subtract {
public function execute($a, $b) { return $a - $b; }
}
$executors = array(array('object'=>new Add(), 'params' => array(1,1)));
foreach ($executors as $execute)
{
ec
On Thu, Jan 8, 2009 at 3:23 PM, Michele Waldman wrote:
> form action="test.php" method="post" enctype="multipart/form-data">
>
> Pictures:
>
>
>
>
>
>
>
>
>
>
>
>
>
> foreach ($_FILES["pictures"]["error"] as $key => $error) {
> if ($error == UPLOAD_ERR_OK) {
> $tmp_name = $_FIL
only thing that seems interesting to me is the 'massive traffic site'.
On Wed, Dec 10, 2008 at 2:58 PM, Mitch Pirtle <[EMAIL PROTECTED]>wrote:
> Ok, I can setup HD video, and will stream it too. However y'all still
> have to help me decide on what to present.
>
> -- Mitch, tapping foot
>
>
> On W
There could be problems with man in the middle attacks, but that's goes for
just about anything being served up remotely.
On Wed, Dec 10, 2008 at 2:51 PM, David Mintz <[EMAIL PROTECTED]> wrote:
>
>
> On Wed, Dec 10, 2008 at 12:32 PM, csnyder <[EMAIL PROTECTED]> wrote:
>
>> On Wed, Dec 10, 2008 at
dompdf?
On Tue, Dec 9, 2008 at 11:02 AM, Néstor <[EMAIL PROTECTED]> wrote:
> Thanks to all for your answers.
>
> I have been searching the internet and it seems that it is very hard to
> create reports.
>
> Thanks again,
>
> Nestor :-)
>
>
> On Tue, Dec 9, 2008 at 7:32 AM, Kenneth Downs <[EMAIL P
http://tinyurl.com/5ux4q6
On Tue, Dec 2, 2008 at 12:14 AM, Tim Lieberman <[EMAIL PROTECTED]>wrote:
> On Dec 1, 2008, at 11:38 PM, Michele Waldman wrote:
>
> Thanks to your soft, delicate input, I've been doing a little more
>> research.
>>
>> I was ps -ef on the linux server. Php appears to be
Michelle, this post is completely misleading.. refer to your other posts for
better results.
basically.. you give more you get more.. kthxbbq
On Sat, Nov 29, 2008 at 9:13 PM, Michele Waldman <[EMAIL PROTECTED]>wrote:
> The point of the htaccess I was working on was to attempt to prevent xss
> w
Yeah, or these two words: "Filter Input"
Which ever route you take. you also need to do sql injection cleansing.
scrub, rinse, repeat.
On Fri, Nov 28, 2008 at 8:00 PM, Chris Shiflett <[EMAIL PROTECTED]> wrote:
> On Nov 28, 2008, at 16:59, Michele Waldman wrote:
>
> What about inserting a comme
ss one would download all the pages and then put in csv
> and then create a tool to create columns and rows based on either static and
> variable fields?
>
> Anything does that automatically?
>
> M
>
> Sent from my Verizon Wireless BlackBerry
>
> -Original Message---
PM, Michele Waldman <[EMAIL PROTECTED]>wrote:
> But if I replace ' with ', there aren't two passes that need to be
> made.
>
>
>
> Michele
>
>
> --
>
> *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> *On Be
Miles,
Just convert it to CSV (comma delimited). Excel is good at importing that
type of data.
-- Elijah
On Fri, Nov 28, 2008 at 5:07 PM, Miles Rose <[EMAIL PROTECTED]> wrote:
> http://www.crunchbase.com/companies
>
> they have an API
>
>
> http://www.techcrunch.com/2008/07/15/crunchbase-now-h
;
>
>
>
> --
>
> *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> *On Behalf Of *Elijah Insua
> *Sent:* Friday, November 28, 2008 3:27 PM
> *To:* NYPHP Talk
> *Subject:* Re: [nyphp-talk] User Input Data scrubbing
>
>
>
> M
ichele
> ------
>
> *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> *On Behalf Of *Elijah Insua
> *Sent:* Friday, November 28, 2008 3:23 PM
> *To:* NYPHP Talk
> *Subject:* Re: [nyphp-talk] HTTP_REFERER
>
>
>
> Oh! sorry to be so short with my
Michele,
SQL injection and Html injection are two separate issues.
SQL injection is something like a user posting ';DELETE FROM users; where
it deletes all of your user accounts.
Html/Cross Site Scripting is more along the lines of what you are talking
about. There are tons of libraries out t
Oh! sorry to be so short with my other mail.
Generally when you request a php file on a php enabled web server the code
is executed and output is returned.
In essence this means that if you are returning text ie: instead of the execution result ie: hello world
you quite a serious problem on your
if you really want to remove the possibility of people hitting these php's
you should
move them out of your webroot.
On Fri, Nov 28, 2008 at 3:02 PM, Michele Waldman <[EMAIL PROTECTED]>wrote:
> This is not working for me
>
>
>
> RewriteCond %{HTTP_REFERER} !^http://(.+\.)?mydomain\.com/ [NC]
>
>
)) ? $this->data[$k] : null;
}
}
hope it helps,
Elijah Insua
On Mon, Nov 24, 2008 at 2:14 PM, Michael Southwell <
[EMAIL PROTECTED]> wrote:
> I have a method that takes a parameter that might be either an array or a
> db result object. So on the one hand I might have:
> ec
rge, you can always break the loop down into
smaller increments
so instead of processing all of the email addresses at once, you could break
it into 1000
increments.
These techniques combined with the indexing should speed things up for you.
Oh and by the way, if this is running on every page load I would
The zend php5 certification book is great (especially if you already know
how to code in some language)
-- Elijah
On Mon, Oct 13, 2008 at 12:16 PM, <[EMAIL PROTECTED]> wrote:
> I would recommend an older book - the Deitel book - Perl How to Program.
> Amazon has it
> (
> http://www.amazon.com/Pe
Rahmin,
As best practice you should secure your login data by sending it over
https.
Curl handles cookies rather well and should work for your needs.
Regards,
Elijah Insua
I'm currently building an API to connect to an HTTPS server. My first
script POSTs login data as clearte
store the time in the users session and check it on post/get
On Tue, Oct 7, 2008 at 5:42 AM, Brent Baisley <[EMAIL PROTECTED]> wrote:
> If you put a time stamp in the form, you should also include a "check"
> to make sure the time was not changed and/or forged (which is very
> easy to do).
> An e
Paul,
It seems like what you would want is a payment gateway, which would process
the payment immediately. From there I would recommend using an Observer OOP
pattern to attach events to the payment transaction.
-- Elijah
On Tue, Sep 30, 2008 at 1:49 AM, PaulCheung <[EMAIL PROTECTED]>wrote:
> H
Hello,
I love dbdesigner4, but it is MySQL only.
-- Elijah
On Fri, Sep 19, 2008 at 9:42 AM, David Krings <[EMAIL PROTECTED]> wrote:
> Justin Dearing wrote:
>
> 3) It has to handle non object code and smarty templates. Most of my
>> code is contained in classes, but I have a file of functions t
41 matches
Mail list logo