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

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. > Fort

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

2010-03-22 Thread Jochem Maas
Op 3/23/10 12:02 AM, Daevid Vincent schreef: > I've been using PHP for a decade or so (since PHP/FI) and love it. The one well they certainly ripped you a new one didn't they :) why no threads? shared-nothing architecture, that's very deliberate, it has draw backs as well as advantages, either

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 Aan: Robert P. J. Day Op 3/22/10 2:18 PM, Robert P. J. Day schreef

[PHP] Event/Exhibition Organizers Management Software

2010-03-19 Thread Jochem Maas
. exhibitor pack/documentation management 5. the usual invoicing/lead/crm stuff does anyone know of anything that comes remotely close? rgds, Jochem -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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 () 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 ass! :P):

Re: [PHP] Event Handling

2010-03-15 Thread Jochem Maas
Op 3/15/10 12:00 PM, David Hutto schreef: > On Mon, Mar 15, 2010 at 7:31 AM, Jochem Maas wrote: > >> Op 3/15/10 8:24 AM, Midhun Girish schreef: >>> Hi , >>> Just as David Hutto has said,What you need is the cronjob... Make a >> script >>> say &quo

Re: [PHP] Event Handling

2010-03-15 Thread Jochem Maas
Op 3/15/10 8:24 AM, Midhun Girish schreef: > Hi , > Just as David Hutto has said,What you need is the cronjob... Make a script > say "check.php" which checks the db to see if any new entries are made... > and if yes send the mail ... > > now using the cronjob feature in linux os(which will be prov

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

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 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 allowed

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] 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: http://www.p

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 correctl

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 wrote: >> Hi Jochem, >> >> Jochem Maas wrote: >>> >>> Op 3/10/10 6:23 PM, Joseph Thayne schreef: >>>> >>>> Looks to me like you are closin

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 (a

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: > > > > to: > > this is a XSS waiting to

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 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 offers to th

Re: [PHP] Re: Uninstalling PHP?

2010-03-01 Thread Jochem Maas
Op 2/28/10 12:08 AM, Austin Powers schreef: > ""Austin Powers"" 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 video co

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 +0000, 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 ov

Re: [PHP] $_POST vs $_REQUEST

2010-02-23 Thread Jochem Maas
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 fashion. Also the behavior of cookies vs. get >> vs. post are different (cookies have length and expirati

Re: [PHP] How to get the 'return type' of a function?

2010-02-23 Thread Jochem Maas
Op 2/24/10 1:16 AM, Ashley Sheridan schreef: > On Tue, 2010-02-23 at 19:19 -0600, Kevin Kinsey wrote: > >> Ashley Sheridan wrote: >>> is_quantum() is pretty useful as well, if you want to see if it's sort >>> of there and not at the same time. Probably turns into a cat in a box at >>> some point t

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 becau

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 usin

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 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() t

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 <mailto:joc...@iamjochem.com>> wrote: > > Op 2/13/10 10:08 AM, Lester Caine schreef: > > Rene Veerman wrote: > >> Hi. > >> > >>

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 th

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] 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 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 syntax, chan

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

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 +0000, 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 o

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 +0000, 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 probl

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 simulati

[PHP] OT: [very mild rant-like commentary] Fwd: IMPORTANT: your message to public-html-comments

2010-02-10 Thread Jochem Maas
description From:Jochem Maas Date:Thu, 11 Feb 2010 05:08:25 + Your message has NOT been distributed to the list; before we distribute it, we need your permission to include your message in our Web archive of all messages distributed to this list. Please visit: http://www.w

Re: [PHP] HTML5 description

2010-02-10 Thread Jochem Maas
g as people run IE6 or IE7 (actually any POS browser that doesn't properly attempt to implement current standards) such things as semantically marked up ASIDES (as vague as the concept might) are rather irrelevant to the day to day business of building web sites/applications that accessibl

Re: [PHP] Persistent flag in memory

2010-02-10 Thread Jochem Maas
Op 2/11/10 4:37 AM, Teus Benschop schreef: > Good day, > > May I ask you, gurus, whether it is possible to set a flag in PHP that > persists for the duration of the server being switched on? > > If the server would be power cycled, the flag would be off. Similarly if > the web server would be res

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 unsubsc

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 sid

Re: [PHP] Warning?

2010-02-06 Thread Jochem Maas
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 that the session > extension does not consider global variables as a source of data, unless

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

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

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 >> wrote: >> >>> I saw it happen on a site that was getting only about

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 scratc

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] 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

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 prog

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 decodin

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 : > > se

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] 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 sh

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 : >> 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 def

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. >>>

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 >> 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 a class that sets

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. > > mysql_connect("localhost", "adminID", "password") or die(mysql_error()); > echo "Connected to MySQL"; > >

Re: [PHP] Zend debugger doesn't work

2010-01-19 Thread Jochem Maas
Op 1/18/10 10:38 AM, Ali Asghar Toraby Parizy schreef: > Hi > I have installed php 5.3.1 (with thread safety = on) recently And I I would try without thread safety to start with, 'std' setup uses the pre-fork model which doesn't need it and *may* cause probs. [fast]CGI doesn't need thread safety e

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 bas

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 w

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

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] 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 recei

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

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 inci

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 serv

Re: [PHP] Regex

2009-03-26 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

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 >

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 > >> 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 1-2 y

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 >> t

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 > 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 semester in ENSIMAG) but als

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 t

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 > 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 > Fond Memories Indeed!

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

2009-03-20 Thread Jochem Maas
; K. > >> looks like you have your work cut out 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. >>> >>>

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

2009-03-20 Thread Jochem Maas
Daniel Brown schreef: > On Fri, Mar 20, 2009 at 14:29, Ginkga Studio, LLC > 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") > >

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 t

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

2009-03-20 Thread Jochem Maas
with us before jumping into your web project - we'll 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 Stu

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

2009-03-20 Thread Jochem Maas
e you have your work cut out 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): >>

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

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

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] dynamicaly append method to class - workaround for aggregate_methods()

2009-03-19 Thread Jochem Maas
quot;; /* ... */ } function __call($method, $args) { $class = "DataLayer_{$method}"; echo __METHOD__, " ... trying {$class}::{$method}()\n"; if (!class_exists($class, true)) // trigger autoload throw new Exception(&

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. alterna

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 an

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 >>&g

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

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 r

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 alert('I am super >>> hacker'); >>> >>> And the website

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 alert('I am super > hacker'); > > And the website outputs: > You are searching for: > > then what? it shows an alert(), who cares? replace the alert() with some code that passes the cookie to a hac

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 r

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 >> 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] 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 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. >> Ye

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 enable

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 p

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

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 >> warni

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 > >> On Wed, Mar 11, 2009 at 13:41, Stuart wrote: >>> 2009/3/11 filtered >>> $_GET['cam'] looks fine. $_GET['studio'] is not. >>> I could build a URL that would output a javascript

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 : > > > class MyTest { > public function myfunc() { > echo get_class($this); > } > } >

Re: [PHP] This code using _GET exploitable

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

Re: [PHP] More PHP Includes

2009-03-10 Thread Jochem Maas
he include is not an absolute path. then it is on the server, somewhere on your php include_path. > "Jochem Maas" wrote in message > news:49b6b6d8.7050...@iamjochem.com... >> Gary schreef: >>> Thanks again for all the help. >>> >>> I created a si

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 >> w

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 > declaration

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. &

  1   2   3   4   5   6   7   8   9   10   >