Re: [PHP] Will PHP ever grow up and have threading?

2010-03-24 Thread Jochem Maas
Op 3/24/10 10:40 AM, Rene Veerman schreef: I subscribe to this list to share tips on software designs. Getting and keeping your respect i'm not even interested in. I'm interested in the quality of your tips on problems i post, as tips can lead faster to products, leads to money, leads to

Fwd: Re: [PHP] another question on setting include paths for a project

2010-03-22 Thread Jochem Maas
oops, mailed the OP direct rather than the list. sorry. Originele bericht Onderwerp: Re: [PHP] another question on setting include paths for a project Datum: Mon, 22 Mar 2010 15:58:28 + Van: Jochem Maas joc...@iamjochem.com Aan: Robert P. J. Day rpj...@crashcourse.ca Op 3

Re: [PHP] PHP to access shell script to print barcodes

2010-03-22 Thread Jochem Maas
Op 3/23/10 3:27 AM, Rob Gould schreef: I am trying to replicate the functionality that I see on this site: http://blog.maniac.nl/webbased-pdf-lto-barcode-generator/ Notice after you hit SUBMIT QUERY, you get a PDF file with a page of barcodes. That's _exactly_ what I'm after.

[PHP] Event/Exhibition Organizers Management Software

2010-03-19 Thread Jochem Maas
hi gang[tm], I've been STFW for some kind of CRM package specifically geared at event/exhibition organizers. I'm not having any luck, there *seems* to be stuff out there but most of it's geared at single exhibitor/corporate entity event management as opposed to the organization of events where

Re: [PHP] Re: PHP in HTML code

2010-03-15 Thread Jochem Maas
Op 3/13/10 3:49 PM, Jorge Gomes schreef: First of all, i recommend the use of normal php tags (?php ... ?) because the short tags are atm marked as* **DEPRECATED*. that's a documentation error. You should also echo your values to the page, instead using the shortcut ?= (stop being a lazy

Re: [PHP] I need a fresh look at storing variables in MySQL

2010-03-14 Thread Jochem Maas
Op 3/14/10 11:45 AM, Ashley Sheridan schreef: On Sun, 2010-03-14 at 12:25 +0100, Rene Veerman wrote: On Sun, Mar 14, 2010 at 12:24 PM, Rene Veerman rene7...@gmail.com wrote: I'd love to have a copy of whatever function you use to filter out bad HTML/js/flash for use cases where users are

Re: [PHP] Splitting a string ...

2010-03-14 Thread Jochem Maas
Op 3/15/10 1:54 AM, Ashley M. Kirchner schreef: I'm not a regexp person (wish I was though), and I'm hoping someone can give me a hand here. Consider the following strings: - domain\usern...@example.org - domain\username - the same as above but with /

Re: [PHP] I need a fresh look at storing variables in MySQL

2010-03-13 Thread Jochem Maas
Hi Tedd, just a few thoughts that might help ... Op 3/13/10 6:10 PM, tedd schreef: Hi gang: I just completed writing a survey that has approximately 180 questions in it and I need a fresh look at how to store the results so I can use them later. first off - wasn't there a cut'n'dried

Re: [PHP] Division by 0

2010-03-11 Thread Jochem Maas
Op 3/10/10 11:39 PM, Daniel Egeberg schreef: On Wed, Mar 10, 2010 at 23:44, Dmitry Ruban dmi...@ruban.biz wrote: Hi Jochem, Jochem Maas wrote: Op 3/10/10 6:23 PM, Joseph Thayne schreef: Looks to me like you are closing your form before you put anything in it. Therefore, the loan_amount

Re: [PHP] Division by 0

2010-03-11 Thread Jochem Maas
Op 3/11/10 2:44 PM, Mike Roberts schreef: I have tried and tried, countless times to be removed from this list... still when I go to my deleted items I can see that emails leak through. If there is an administrator who can simply delete me ( simply because I can not seem to do this correctly)

Re: [PHP] PHP backup in Minnesota

2010-03-11 Thread Jochem Maas
Op 3/11/10 10:05 PM, Ken Kixmoeller schreef: Hey, folks --- - -- Session-based, no cookies. sessions are cookie based. unless your passing the session id around via a URL parameter, which is a no-no. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Division by 0

2010-03-10 Thread Jochem Maas
Op 3/10/10 6:23 PM, Joseph Thayne schreef: Looks to me like you are closing your form before you put anything in it. Therefore, the loan_amount is not set making the value 0. Follow the math, and you are dividing by 1-1. Change this line: form action=?php echo $_SERVER['PHP_SELF']; ?

Re: [PHP] Execution order of PHP

2010-03-10 Thread Jochem Maas
Op 3/10/10 1:29 PM, Auke van Slooten schreef: Hi, In a hobby project I'm relying on the order in which the following piece of PHP code is executed: $client-system-multiCall( $client-methodOne(), $client-methodTwo() ); Currently PHP always resolves $client-system (and executes the

Re: [PHP] Want to learn to work with Zend Framework?

2010-03-05 Thread Jochem Maas
Op 3/4/10 9:14 PM, Daniel Brown schreef: On Thu, Mar 4, 2010 at 14:59, mrfroasty mrfroa...@gmail.com wrote: Looks expensive, definately NO Then do not reply. It was an offer to the community at large, not just you and the other top-poster. ;-P quite. and it's not like Zend send such

Re: [PHP] Re: Uninstalling PHP?

2010-03-01 Thread Jochem Maas
Op 2/28/10 12:08 AM, Austin Powers schreef: Austin Powers austinpow...@pobox.com wrote in message news:ca.b0.29124.619a8...@pb1.pair.com... Three weeks ago I was working through the Lynda.com PHP with MySQL Training because I wanted to begin using PHP (surprise, surprise). Anyway, on this

Re: [PHP] $_POST vs $_REQUEST

2010-02-25 Thread Jochem Maas
Op 2/24/10 11:18 AM, Ashley Sheridan schreef: On Wed, 2010-02-24 at 07:55 +, Jochem Maas wrote: Op 2/22/10 10:49 PM, John Black schreef: On 02/22/2010 11:42 PM, Michael Shadle wrote: The difference here is you can at least have some control over the data and expect it in a certain

Re: [PHP] $_POST vs $_REQUEST

2010-02-23 Thread Jochem Maas
Op 2/23/10 10:27 AM, Ashley Sheridan schreef: On Tue, 2010-02-23 at 09:19 +, Richard wrote: Hi, Well people better than me (how is that possible?!) have said that $_REQUEST has the potential to open your app up to security vulnerabilities, and that it should be avoided because of that.

Re: [PHP] $_POST vs $_REQUEST

2010-02-22 Thread Jochem Maas
Op 2/22/10 8:39 PM, Slack-Moehrle schreef: Hi All, I have Forms that I submit for processing. I have seen examples of people using either $_POST or $_REQUEST. When would I choose one over the other? use $_POST, $_REQUEST is normally an amalgam of GET, POST and COOKIE - as such using

Re: [PHP] optional object arguments to a function

2010-02-13 Thread Jochem Maas
Op 2/13/10 8:05 AM, Michael A. Peters schreef: I've started working on a class using DOMDocument to assemble MathML in php. The class, assuming I actually succeed, will eventually be used for parsing LaTeX math equations to MathML without the need to have TeX installed. I probably won't be

Re: [PHP] SQL insert () values (),(),(); how to get auto_increments properly?

2010-02-13 Thread Jochem Maas
Op 2/13/10 10:08 AM, Lester Caine schreef: Rene Veerman wrote: Hi. I'm looking for the most efficient way to insert several records and retrieve the auto_increment values for the inserted rows, while avoiding crippling concurrency problems caused by multiple php threads doing this on the

Re: [PHP] SQL insert () values (),(),(); how to get auto_increments properly?

2010-02-13 Thread Jochem Maas
Op 2/13/10 11:36 AM, Eric Lee schreef: On Sat, Feb 13, 2010 at 6:55 PM, Jochem Maas joc...@iamjochem.com mailto:joc...@iamjochem.com wrote: Op 2/13/10 10:08 AM, Lester Caine schreef: Rene Veerman wrote: Hi. I'm looking for the most efficient way to insert

Re: [PHP] optional object arguments to a function

2010-02-13 Thread Jochem Maas
Op 2/13/10 8:59 PM, Richard Quadling schreef: On 13 February 2010 10:07, Jochem Maas joc...@iamjochem.com wrote: ... Try stdClass. I guess you didn't read what I wrote then. If you know the class type, then that can be the type hint. You can also use func_get_args() to read all

Re: [PHP] Persistent flag in memory

2010-02-11 Thread Jochem Maas
Op 2/11/10 7:25 AM, Teus Benschop schreef: On Thu, 2010-02-11 at 06:46 +, Jochem Maas wrote: Op 2/11/10 6:34 AM, Teus Benschop schreef: On Thu, 2010-02-11 at 05:53 +, Jochem Maas wrote: whatever it is that your trying to do, it sounds like one of two things: 1. you have hosting

Re: [PHP] Persistent flag in memory

2010-02-11 Thread Jochem Maas
Op 2/11/10 3:48 PM, Teus Benschop schreef: On Thu, 2010-02-11 at 09:27 -0500, Bastien Koert wrote: Could the app be converted to an Adobe AIR app or use PHPdock ( http://www.nusphere.com/products/phpdock.htm ) to run local? There are a number of security issues that surround installing a

Re: [PHP] Mysql statement works in phpmyadmin but not in php page

2010-02-11 Thread Jochem Maas
Op 2/11/10 10:51 PM, James McLean schreef: On Fri, Feb 12, 2010 at 8:27 AM, Joseph Thayne webad...@thaynefam.org wrote: Actually, the syntax is just fine. I personally would prefer it the way you mention, but there actually is nothing wrong with the syntax. The ,'$date1'. is not correct

Re: [PHP] Persistent flag in memory

2010-02-10 Thread Jochem Maas
Op 2/11/10 5:42 AM, Teus Benschop schreef: Thank you for the hints given. I'll look into the various options given. The main reason for the need for a persistent flag in memory is that several installations where the PHP code would be deployed do not have access to crontab, so I am simulating

Re: [PHP] Persistent flag in memory

2010-02-10 Thread Jochem Maas
Op 2/11/10 6:34 AM, Teus Benschop schreef: On Thu, 2010-02-11 at 05:53 +, Jochem Maas wrote: whatever it is that your trying to do, it sounds like one of two things: 1. you have hosting that is unsuitable for your needs 2. you are tackling the problem incorrectly at any rate, as far I'm

Re: [PHP] Warning?

2010-02-07 Thread Jochem Maas
Op 2/7/10 3:40 PM, tedd schreef: At 7:02 PM + 2/6/10, Jochem Maas wrote: Op 2/6/10 4:29 PM, tedd schreef: Hi: Has anyone encountered this warning? Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised

Re: [PHP] pecl install geoip doesnt work. Warning: opendir(/var/tmp/pear-build-root/install-geoip-1.0.7//var/www/pear): failed to open dir: No such file or directory in PEAR/Builder.php on line 188

2010-02-07 Thread Jochem Maas
Op 2/8/10 4:35 AM, David Taveras schreef: /root/bin/pecl install geoip without giving it much thought ... try this: sudo /root/bin/pecl install geoip this is assuming you we're not running the command as root in the first place. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Jochem Maas
Op 2/3/10 6:09 PM, Ryan S schreef: Hey Guys, Coming from a C and Java background I just loved PHP and have been programming with it for years thanks in a large part to the kind people on this list... present and past (Immediately the name John Holmes comes to mind.. i hope the dude is

Re: [PHP] PHP Manual problems

2010-02-03 Thread Jochem Maas
Op 2/4/10 1:32 AM, clanc...@cybec.com.au schreef: Recently I have frequently found, especially in the morning (GMT 2200 - 0200), that I can open a bookmark in the manual, for example http://www.php.net/manual/en/ref.image.php. But if I then do a search of any type I get 'The page cannot be

Re: [PHP] database abstraction layer

2010-02-02 Thread Jochem Maas
Op 2/3/10 12:19 AM, Ashley Sheridan schreef: On Wed, 2010-02-03 at 00:21 +0100, Rene Veerman wrote: the auto_increment sytnax is not uniform across servers, is it? On Wed, Feb 3, 2010 at 12:11 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: I saw it happen on a site that was getting

Re: [PHP] Magento shopping cart

2010-02-01 Thread Jochem Maas
Op 2/1/10 10:02 PM, Skip Evans schreef: Hey all, Anyone ever use the Magento shopping cart? Pluses, minuses, opinions? I have a client that is pretty adamant about using it, but I've found over just about any I've used I can do a better service to the client by writing them from scratch.

Re: [PHP] how do I use php://memory?

2010-01-29 Thread Jochem Maas
Op 1/30/10 1:35 AM, Mari Masuda schreef: Hello, I have a function that uses tidy to attempt to clean up a bunch of crappy HTML that I inherited. In order to use tidy, I write the crappy HTML to a temporary file on disk, run tidy, and extract and return the clean(er) HTML. The program

Re: [PHP] Sessions across subdomains

2010-01-29 Thread Jochem Maas
Op 1/30/10 2:25 AM, Ben Miller schreef: Hi, I've always thought that session data was subdomain specific and would not carry over between http://www.mydomain.com and https://secure.mydomain.com, but it seems to be working for me now. Can I rely on this and post from http://www.mydomain.com to

Re: [PHP] In need of PHP to JS collapsable array printing routine?

2010-01-29 Thread Jochem Maas
Op 1/30/10 12:54 AM, Daevid Vincent schreef: I'm wondering if anyone has a PHP debug-type routine that will take a PHP array and output it to the web page, but make all the dimensions of the array collapsable, ideally showing each sub-key (or index) as the name to click to expand it again.

Re: [PHP] Re: 120 meg of json analyzed by the browser...

2010-01-28 Thread Jochem Maas
Op 1/28/10 5:03 PM, Rene Veerman schreef: Oh, i forgot to mention that firefox takes about a gigabyte of memory after having stalled at 200mb parsed in a 330mb document.. And despite using setTimeout(), firefox frequently freezes (for about 2 to 10 minutes), before updating the

Re: [PHP] Migrating legacy code - changing session name

2010-01-26 Thread Jochem Maas
Op 1/26/10 9:25 AM, Rory McKinley schreef: Hello List A client has asked me to migrate a few scripts that have been running merrily under PHP4 to PHP5.2. Part of these scripts have integration with PHPMyAdmin using the single sign-on and so they make use of the following code :

Re: [PHP] importNode issue

2010-01-25 Thread Jochem Maas
highlight_string() function might be an easier route? Op 1/25/10 9:55 AM, Michael A. Peters schreef: I'm experiencing a slight problem with importNODE putting unwanted carriage returns in the the output. Here's my function: // syntax highlighting include_once('Text/Highlighter.php');

Re: [PHP] Weird Array Issue...

2010-01-23 Thread Jochem Maas
Op 1/23/10 3:28 AM, Don Wieland schreef: Hi, I have defined a stored procedure in my mySQL DB and when I call the procedure in my mySQL browser it returns the CORRECT results: DROP PROCEDURE IF EXISTS `Get_OHC_Years`; DELIMITER $$ CREATE definer=`do...@`` PROCEDURE `Get_OHC_Years`()

Re: [PHP] Enforce a constant in a class.

2010-01-22 Thread Jochem Maas
Op 1/22/10 4:55 PM, Richard Quadling schreef: 2010/1/22 Ashley Sheridan a...@ashleysheridan.co.uk Constants are there for things that should never change. If you ever need to change them, then whoever created the base class either didn't think things through properly, or you're not. Imagine

Re: [PHP] Foreign Characters Break in MySQL

2010-01-22 Thread Jochem Maas
Op 1/22/10 9:41 AM, Ashley Sheridan schreef: On Fri, 2010-01-22 at 03:47 +0100, Jochem Maas wrote: Op 1/22/10 2:28 AM, Ryan Park schreef: Forgot to reply all. You can see that it's in the middle of the sql statement. It looks fine here but some how it breaks during the query. ?php

Re: [PHP] Enforce a constant in a class.

2010-01-22 Thread Jochem Maas
Op 1/22/10 5:19 PM, Richard Quadling schreef: 2010/1/22 Jochem Maas joc...@iamjochem.com: constants in interfaces are not meant for this. a class constant doesn't constitute an interface. I believe constants in interfaces are allowed purely because it is helpful to have them defined outside

Re: [PHP] Foreign Characters Break in MySQL

2010-01-22 Thread Jochem Maas
Op 1/22/10 5:18 PM, Ashley Sheridan schreef: ... You'd be surprised how many people still use a dumb browser! well, no not really - but then we're in the same business :) I wasn't discounting the use of the encoding META tag, just pointing out that it's a hack we have to use (and that we

Re: [PHP] Foreign Characters Break in MySQL

2010-01-21 Thread Jochem Maas
Op 1/22/10 2:28 AM, Ryan Park schreef: Forgot to reply all. You can see that it's in the middle of the sql statement. It looks fine here but some how it breaks during the query. ?php mysql_connect(localhost, adminID, password) or die(mysql_error()); echo Connected to MySQLbr /;

Re: [PHP] integrating shipping with shopping cart site - OT

2010-01-18 Thread Jochem Maas
Op 1/18/10 10:47 AM, Angelo Zanetti schreef: Hi all, We are about to start a new project. Custom written shopping cart - quite simple actually. However we have a concern when it comes to calculating the shipping cost for an order. For each product we can determine the base cost based on

Re: [PHP] POLL: To add the final ? or not...

2010-01-14 Thread Jochem Maas
Op 1/14/10 11:37 PM, Kim Madsen schreef: Ashley Sheridan wrote on 14/01/2010 23:30: What is the difference between: ? print hello PHPeople; ?WHITESPACE and ? print hello PHPeople; WHITESPACE Same shit when I look at it, a sloppy developer is what it is :-) -- Kind regards Kim

Re: [PHP] Display just 1 record in a query

2010-01-12 Thread Jochem Maas
Op 1/13/10 12:43 AM, Robert Cummings schreef: deal...@gmail.com wrote: On Jan 12, 2010, at 1:57 PM, Ashley Sheridan wrote: Depends on how you're creating running the query. You could do something like: echo mysql_result($result, 1, 'fieldname'); Where $result is your result object and

Re: [PHP] trying to launch kate from the browser....

2010-01-08 Thread Jochem Maas
Op 1/8/10 1:41 PM, Rene Veerman schreef: I'm working on a better var_dump (http://mediabeez.ws/htmlMicroscope/, LGPL), and want to launch my kate editor when i click in the browser on a line in my trace-log. I'm trying to exec() this line, but it returns 1 (which is i believe a general

Re: [PHP] mysterious include problem

2009-12-10 Thread Jochem Maas
Ashley Sheridan schreef: On Tue, 2009-12-08 at 17:32 +0100, Jochem Maas wrote: Hi Allen, gonna be a bit ruthless with you :). 1. your not filtering your input (your open to include being hacked) 2. your not validating or error checking (e.g. does the include file exist??) 3. keeping

Re: [PHP] I have not seen any messages for a couple of days...

2009-12-10 Thread Jochem Maas
Ashley Sheridan schreef: On Thu, 2009-12-10 at 11:26 -0500, Robert Cummings wrote: tedd wrote: At 10:29 AM -0500 12/10/09, Robert Cummings wrote: No, it's been broken for days. You won't get any emails for at least another week. What's been broken? I've been receiving [PHP] post

Re: [PHP] cookies and carts

2009-12-08 Thread Jochem Maas
Allen McCabe schreef: I have a shopping cart type system set up which keeps track of the cart contents using a SESSION variable, where $_SESSION['cart'][$item_id'] is equal to the quantity, so the name/value pair is all the information I need. But sessions are unreliable on the free server I

Re: [PHP] mysterious include problem

2009-12-08 Thread Jochem Maas
Hi Allen, gonna be a bit ruthless with you :). 1. your not filtering your input (your open to include being hacked) 2. your not validating or error checking (e.g. does the include file exist??) 3. keeping large numbers of content pages with numerical filenames is a maintenance nightmare and

Re: [PHP] Regex

2009-03-27 Thread Jochem Maas
jesse.ha...@arvatousa.com schreef: Hi, Brand new to regex. So I have a cli which runs a regex on users input, to make sure that only 0-9 and A-Z are accepted. It should strip everything else. My problem is that when you press control-Z (on Windows; I have not yet tested this on linux,

Re: [PHP] Namespce operator

2009-03-25 Thread Jochem Maas
Luke schreef: Backslash doesn't sound like it will look very pretty 2009/3/25 Richard Heyes rich...@php.net Backslash? Seriously? I'm hurt that my suggestion of ¬ (ASCII170 ?) wasn't used. :-( please kill this thread, the namespace operator was heavily discussed multiple times in the last

Re: [PHP] Namespce operator

2009-03-25 Thread Jochem Maas
Christoph Boget schreef: Backslash? Seriously? I'm hurt that my suggestion of ¬ (ASCII170 ?) wasn't used. :-( Backslash doesn't sound like it will look very pretty Windows and DOS have been getting away with it for the last 25+ years so why can't PHP get in on that action? :P Though I

Re: [PHP] Google Summer Of Code : The PHP Project

2009-03-24 Thread Jochem Maas
Daniel Brown schreef: On Mon, Mar 23, 2009 at 05:57, Nabil Khamassi nabil.khama...@ensimag.imag.fr wrote: I am especially interested in Integrated Code Coverage of C and PHP Code because I have a solid knowledge in C language (and a full-time project in C is planned at the end of this

Re: [PHP] Tripple The Fun

2009-03-24 Thread Jochem Maas
tedd schreef: At 2:02 PM +0100 3/24/09, abdulazeez alugo wrote: Hello guys, The list seems boring to me today so I've come up with an idea (you can call it a challenge). What if we all wrote to this thread in PHP codes. on't get the gist yet? well all it means is that, on this thread, all

Re: [PHP] quick question - need a site i can more or less copy from

2009-03-23 Thread Jochem Maas
bruce schreef: Hi... Working on a test app, and I need a web interface to test/view the underlying information. Looking for (hopefully) quick pointers/suggestions. I'm dealing with a number of cli web crawling apps that return data. I'm trying to find a quick app that I can modify the db

Re: [PHP] [News] Affordable Independent Web Developer - Search Engine Optimization Services - March 19th, 2009

2009-03-20 Thread Jochem Maas
Ginkga Studio LLC schreef: Today's Date: March 19th, 2009 Hello, I'm a real person sending you this email - this is an initial contact opt-in request for permission to contact you for web development services. WHO I AM AND MY INTENTIONS: I'm an affordable, independent web

Re: [PHP] Web Development/Application Analysis

2009-03-20 Thread Jochem Maas
tedd schreef: At 11:34 AM +0300 3/20/09, OOzy Pal wrote: Hello, I have just hired a remote PHP programmer. His main job is web development and applications. I have few concerns, I would be happy if someone can point me to the right direction. 1. How can I provide him the requirements.

Re: [PHP] [News] Affordable Independent Web Developer - Search Engine Optimization Services - March 19th, 2009

2009-03-20 Thread Jochem Maas
George Larson schreef: Not only that but, judging from the phone number, Samantha cleans also cleans houses: http://betterthancleanmaidandmaintenanceservices.com/choose-us/contact-us-mainmenu-3/12-contacts/1-name.h what a busy girl :-) On Fri, Mar 20, 2009 at 10:57 AM, Jochem Maas joc

Re: [PHP] dynamicaly append method to class - workaround for aggregate_methods()

2009-03-20 Thread Jochem Maas
to be passed by reference. It seems that __call() does not support passing arguments by reference :(. So I have not idea how workaround it. thanks, Karel Jochem Maas napsal(a): Karel Kozlik schreef: Hello list! I am using in my application dynamic method appending to class

Re: [PHP] [News] Affordable Independent Web Developer - Search Engine Optimization Services - March 19th, 2009

2009-03-20 Thread Jochem Maas
fix it afterwards. php-general, surgeon-general :) -Original Message- From: George Larson [mailto:george.g.lar...@gmail.com] Sent: 20 March 2009 05:01 PM To: Jochem Maas Cc: Ginkga Studio LLC; Php-general Subject: Re: [PHP] [News] Affordable Independent Web Developer - Search

Re: [PHP] [JUNK] .......

2009-03-20 Thread Jochem Maas
Ginkga Studio, LLC schreef: As a matter of fact DANIEL ...I AM A REAL PERSON ! You know, I really hate it that people like YOU reply back to me with your self-vain - self-important attitudes - and act like no one else on the F-ing planet has the right to live or even share the same

Re: [PHP] [JUNK] .......

2009-03-20 Thread Jochem Maas
Daniel Brown schreef: On Fri, Mar 20, 2009 at 14:29, Ginkga Studio, LLC webdes...@ginkga.com wrote: LOL @ JOCHEM'S DOMAIN NAME (HENCE SELF-IMPOORTANCE)AND LOL @ JOCHEMS LACK OF ABILITY IN THE AREA OF SPELLING. (IT'S SPELLED HERE - NOT HEAR) Point #1: Spelling. SO JOCHEM MY

Re: [PHP] dynamicaly append method to class - workaround for aggregate_methods()

2009-03-20 Thread Jochem Maas
for you! 2. Arguments sometimes need to be passed by reference. It seems that __call() does not support passing arguments by reference :(. So I have not idea how workaround it. thanks, Karel Jochem Maas napsal(a): Karel Kozlik schreef: Hello list! I am using in my application dynamic

Re: [PHP] [News] Affordable Independent Web Developer - Search Engine Optimization Services - March 19th, 2009

2009-03-20 Thread Jochem Maas
Daniel Brown schreef: On Fri, Mar 20, 2009 at 15:23, James Ausmus james.ausmus.li...@gmail.com wrote: OK, umm... Wow. Bi-polar, anyone??? I'm getting whiplash reading this thread. Not to say it isn't entertaining... ;) You like this? Ask the regulars about Crayon Shin Chan. ;-P

Re: [PHP] PHP Site Security issue

2009-03-19 Thread Jochem Maas
Dotan Cohen schreef: Someone hacked your server. Report it to the server admin. more likely that someone hacked the site, i.e. the site has some insecure stuff in it that's allowing code to be uploaded and run. I would suspect that as more likely than the server itself being hacked.

Re: [PHP] dynamicaly append method to class - workaround for aggregate_methods()

2009-03-19 Thread Jochem Maas
Karel Kozlik schreef: Hello list! I am using in my application dynamic method appending to class with aggregate_methods() function. But this function is no more aviable in php5 and runkit extension seems not to be maintained any more. So I would like to replace it with something more

Re: [PHP] Built-in objects APC or serialization ‏‏

2009-03-18 Thread Jochem Maas
you shouldn't start a new thread by replying to an existing one. also, you've already asked this question. Andrea Giammarchi schreef: I think I had some problem with this ML ... so I try again to write down my question: ... this is not paid support, asking a question garantees neither an

Re: [PHP] Re: Fork and zombies

2009-03-17 Thread Jochem Maas
Per Jessen schreef: Waynn Lue wrote: (Apologies for topposting, I'm on my blackberry). Hm, so you think exiting from the child thread causes the db resource to get reclaimed? Yeah, something like that. The connection is definitely closed when the child exits. I can confirm this. you

Re: [PHP] Re: Fork and zombies

2009-03-17 Thread Jochem Maas
Per Jessen schreef: Jochem Maas wrote: Per Jessen schreef: Waynn Lue wrote: (Apologies for topposting, I'm on my blackberry). Hm, so you think exiting from the child thread causes the db resource to get reclaimed? Yeah, something like that. The connection is definitely closed when

Re: [PHP] How to catch fatal errors

2009-03-16 Thread Jochem Maas
Tanoor Dieng schreef: Hello every body, I'm currently working on a very high traffic web sites. I often get a fatal error in production about memory Allowed memory size of ... exhausted. Unfortunately, I can not reproduce this fatal error in developpement environment. The main reason for

Re: [PHP] Re: The PHP filter class I'm working on (securiity)

2009-03-14 Thread Jochem Maas
Martin Zvarík schreef: What's the point? If user puts in a search input something like scriptalert('I am super hacker');/script And the website outputs: You are searching for: script/script then what? it shows an alert(), who cares? replace the alert() with some code that passes

Re: [PHP] Re: The PHP filter class I'm working on (securiity)

2009-03-14 Thread Jochem Maas
Martin Zvarík schreef: Jochem Maas napsal(a): Martin Zvarík schreef: What's the point? If user puts in a search input something like scriptalert('I am super hacker');/script And the website outputs: You are searching for: script/script then what? it shows an alert(), who cares

Re: [PHP] Anyone fancy getting paid to improve my PHP in London?

2009-03-13 Thread Jochem Maas
Robert Cummings schreef: On Fri, 2009-03-13 at 17:16 +, Tom Chubb wrote: Do any experienced PHP programmers in London fancy helping me improve my PHP? I'd like to know where my code could be improved and to be shown how an experienced programmer would approach a new site. I'd rather pay

Re: [PHP] PHP 5.2.9 - 5.2.9-1 and curl

2009-03-12 Thread Jochem Maas
Niki schreef: Hi all, I'm using PHP 5.2.9 on a Windows dedicated server. Could you kindly confirm me that I have to update to PHP 5.2.9-1 (http://www.php.net/archive/2009.php#id2009-03-10-1) only if I have curl extension enabled (extension=php_curl.dll in php.ini) ? If I run a phpinfo()

Re: [PHP] PHP 5.2.9 - 5.2.9-1 and curl

2009-03-12 Thread Jochem Maas
Niki schreef: Thijs Lensselink ha scritto: Niki wrote: Hi all, I'm using PHP 5.2.9 on a Windows dedicated server. Could you kindly confirm me that I have to update to PHP 5.2.9-1 (http://www.php.net/archive/2009.php#id2009-03-10-1) only if I have curl extension enabled

Re: [PHP] PHP 5.2.9 - 5.2.9-1 and curl

2009-03-12 Thread Jochem Maas
Andrew Ballard schreef: On Thu, Mar 12, 2009 at 12:39 PM, Niki u...@domain.invalid wrote: Jochem Maas ha scritto: essentially, yes. note that if someone can upload a script and run it, a bug in curl in the least of your worries. you have already been owned. Yes, obviously. :D I agree with you

Re: [PHP] password field validation

2009-03-12 Thread Jochem Maas
Afan Pasalic schreef: Andrew Ballard wrote: On Thu, Mar 12, 2009 at 3:05 PM, Jason Todd Slack-Moehrle mailingli...@mailnewsrss.com wrote: Hi All, I have an input field with type=password. I am trying to do some error checking to see if the user puts a value in after they submit the

Re: [PHP] This code using _GET exploitable

2009-03-11 Thread Jochem Maas
filtered schreef: Hi, we have script containing ? echo $_GET['studio'] ? let say I do: example.com/yourscript.php?studio=script type=text/javascriptalert('I am an evil haxor');/script excusing the fact that the query is not urlencoded, what happens on your site (replace domain and

Re: [PHP] non static function called as static one

2009-03-11 Thread Jochem Maas
Olivier Doucet schreef: Hello everyone, I'm wondering if the following behaviour is a bug or a feature. The case is quite complex, so let me explain my point of view. here is the source : ?php class MyTest { public function myfunc() { echo get_class($this); } } class

Re: [PHP] This code using _GET exploitable

2009-03-11 Thread Jochem Maas
Stuart schreef: Please include the list when replying unless you're looking to hire me! 2009/3/11 filtered zopyxfil...@googlemail.com On Wed, Mar 11, 2009 at 13:41, Stuart stut...@gmail.com wrote: 2009/3/11 filtered zopyxfil...@googlemail.com $_GET['cam'] looks fine. $_GET['studio'] is

Re: [PHP] non static function called as static one

2009-03-11 Thread Jochem Maas
Olivier Doucet schreef: Hi Jochem, 2/ (or/and) Raise a warning or an error if a non static function is called as a static one develop with error_reporting set to E_ALL | E_STRICT, then you'll get a big fat warning about it Yes, that's what I'm using right now. Although, that's not

Re: [PHP] non static function called as static one

2009-03-11 Thread Jochem Maas
Nathan Rixham schreef: Nathan Rixham wrote: Jochem Maas wrote: Olivier Doucet schreef: mental though, part of me wishes they'd forked php at 4 to save all the lame syntax and weirdness. after thought.. I wish they'd forked it to OO and procedural, then us OO guys could have phpoo

Re: [PHP] More PHP Includes

2009-03-10 Thread Jochem Maas
Gary schreef: Thanks again for all the help. I created a simple page of all includes (header, menu, 3 columns). I mixed the file types up. The menu (projectseven PMM) I saved as a library item, works fine. Had an HTML file in there, but I am guessing that having 2 page declarations

Re: [PHP] DOM recursion

2009-03-10 Thread Jochem Maas
please keep replies on list ... I enjoy my beatings in public ... Joanne Lane schreef: On Tue, 2009-03-10 at 01:05 +0100, Jochem Maas wrote: yeah but those from php-women should know better :-) my eye keeps picking up php-women since I had a very nice chat with JRF (of phpwomen.org

Re: [PHP] More PHP Includes

2009-03-10 Thread Jochem Maas
. then it is on the server, somewhere on your php include_path. Jochem Maas joc...@iamjochem.com wrote in message news:49b6b6d8.7050...@iamjochem.com... Gary schreef: Thanks again for all the help. I created a simple page of all includes (header, menu, 3 columns). I mixed the file types up. The menu

Re: [PHP] DOM recursion

2009-03-09 Thread Jochem Maas
Jochem Maas schreef: Joanne Lane schreef: I am trying to create a class that recursively iterates over an array an creates XML tree to reflect a multidimensional array. I am not really a PHP coder, but am trying my hand. I've seen 'real coders' write stuff thats leagues worse

Re: [PHP] Line Break Problem

2009-03-09 Thread Jochem Maas
Stuart schreef: 2009/3/9 Alice Wei aj...@alumni.iu.edu I have a question regarding using line breaks in PHP. I have the code something like: echo 1 . \t . $x . \t . $y . \r\n; When I run the code, it looks like a whole blob of text, but when I use View Source, the line breaks are

Re: [PHP] DOM recursion

2009-03-09 Thread Jochem Maas
Nathan Rixham schreef: Jochem Maas wrote: Jochem Maas schreef: Joanne Lane schreef: I am trying to create a class that recursively iterates over an array an creates XML tree to reflect a multidimensional array. I am not really a PHP coder, but am trying my hand. I've seen 'real coders

Re: [PHP] Unexplained Issue Using Regex

2009-03-07 Thread Jochem Maas
Nitsan Bin-Nun schreef: Hi lista, I have been trying to figure this out for the last couple of hours but I'm lack of luck. Take a look at these regex's, the string that was inputed into the preg_replace (using Uis modificators) and the results: (the lists have correspondence to each other)

Re: [PHP] assign array values to variables

2009-03-07 Thread Jochem Maas
PJ schreef: Seems it should be simple, but how does one extract values from an array and assign them to a variable? foreach ($categoriesIN as $category) { 1. if $categoriesIN comes from a POST, use $_POST['categoriesIN'] instead. better yet use the filter extension (part of the core) to

Re: [PHP] Assign 2 values from Mysql to an array

2009-03-06 Thread Jochem Maas
Anton Heuschen schreef: This might sound trivial, but for the live of me cant seem to get it to work, and I am not familiar with such a thing. seems like you've done your best to make it sound as confusing as possible, this happens sometimes when you no longer see the wood for the trees :-)

Re: [PHP] Assign 2 values from Mysql to an array

2009-03-06 Thread Jochem Maas
PJ schreef: Shawn McKenzie wrote: Dollah Ihsan wrote: I'm sorry if this is not what you're talking about... /** * assume your table structure just like this. * table: users * | id | country| name | population | *

Re: [PHP] Conclusion of use strict...

2009-03-06 Thread Jochem Maas
Hans Schultz schreef: Hehe, I don't agree with either :-) But I am still searching for some solution, and when (and if) I find it I will be happy to share with you (btw, obviously nobody shared experiences about that compiler) no, but did the comments I made about var vars and vars

Re: [PHP] DOM recursion

2009-03-05 Thread Jochem Maas
Joanne Lane schreef: I am trying to create a class that recursively iterates over an array an creates XML tree to reflect a multidimensional array. I am not really a PHP coder, but am trying my hand. I've seen 'real coders' write stuff thats leagues worse. This is what I have so far.

Re: [PHP] PHP script lag (5 secs) when declaring mime type.

2009-03-05 Thread Jochem Maas
Jsbeginner schreef: Hello, I don't know for sure is this problem is only related to PHP so I hope I've posted in the right list. My problem is that with certain headers my script takes about 5 seconds before sending the page, no matter how small the file I try to load... My server :

Re: [PHP] Conclusion of use strict...

2009-03-05 Thread Jochem Maas
-- do we need these extra bytes in every email? On Thu, Mar 5, 2009 at 4:35 AM, Jochem Maas joc...@iamjochem.com wrote: Hans Schultz schreef: Thanks for reply, I completely understood your answer even in previous thread, but you should understand few very simple things1. I am

  1   2   3   4   5   6   7   8   9   10   >