[PHP] Retrieve http body

2010-02-16 Thread තිලානි අබේසිංහ|Thilani Abeysi nghe
hi, Im getting a http post request from an application . It has content-type of multipart/form-data I want to retrieve the http header and body separately. For retriving body I used @file_get_contents('php://input'); but this will not capture any content . Is there any way to capture body content

Re: [PHP] importNode issue

2010-02-16 Thread Michael A. Peters
Michael A. Peters wrote: 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'); function syntaxHighlight($dom,$lang,$code) { $hl =& Text_Highlighter::factory($la

[PHP] Storing user entered data in the session

2010-02-16 Thread Mike Alaimo
Can anyone guide me here? I have the desire to store user entered data into the session. I am regexing it to be only a-zA-z0-9 and a space. The data is stored in an object and then serialized before storing it into the session. Does anyone see any potential security risks here? Thanks, Mike

Re: [PHP] Storing user entered data in the session

2010-02-16 Thread Mike Alaimo
The data is displayed on the screen, and the user can change it as many times as they want. What do you think now Ash? Mike On Tue, Feb 16, 2010 at 9:29 AM, Ashley Sheridan wrote: > On Tue, 2010-02-16 at 09:07 -0500, Mike Alaimo wrote: > > Can anyone guide me here? I have the desire to store

Re: [PHP] Storing user entered data in the session

2010-02-16 Thread Ashley Sheridan
On Tue, 2010-02-16 at 09:36 -0500, Mike Alaimo wrote: > The data is displayed on the screen, and the user can change it as many > times as they want. > What do you think now Ash? > > > Mike > > On Tue, Feb 16, 2010 at 9:29 AM, Ashley Sheridan > wrote: > > > On Tue, 2010-02-16 at 09:07 -0500,

Re: [PHP] Storing user entered data in the session

2010-02-16 Thread Ashley Sheridan
On Tue, 2010-02-16 at 09:07 -0500, Mike Alaimo wrote: > Can anyone guide me here? I have the desire to store user entered > data into the session. I am regexing it to be only a-zA-z0-9 and a > space. The data is stored in an object and then serialized before > storing it into the session. Does

[PHP] DocBlocking SOAP types.

2010-02-16 Thread Richard Quadling
Hi. I want to docblock a set of properties to be xml primitive datatypes [1]. Considering that this is the correct type for the XML/SOAP/WSDL communication, how do I "bypass" Zend_WSDL / Zend_AutoDiscovery so that these types go through cleanly. I know that as far as PHP is concerned, the type is

[PHP] Re: DocBlocking SOAP types.

2010-02-16 Thread Nathan Rixham
Richard Quadling wrote: > Hi. > > I want to docblock a set of properties to be xml primitive datatypes [1]. > > Considering that this is the correct type for the XML/SOAP/WSDL > communication, how do I "bypass" Zend_WSDL / Zend_AutoDiscovery so > that these types go through cleanly. I know that a

[PHP] Re: DocBlocking SOAP types.

2010-02-16 Thread Nathan Rixham
Nathan Rixham wrote: > Richard Quadling wrote: >> Hi. >> >> I want to docblock a set of properties to be xml primitive datatypes [1]. >> >> Considering that this is the correct type for the XML/SOAP/WSDL >> communication, how do I "bypass" Zend_WSDL / Zend_AutoDiscovery so >> that these types go th

[PHP] Re: DocBlocking SOAP types.

2010-02-16 Thread Richard Quadling
On 16 February 2010 16:41, Nathan Rixham wrote: > Nathan Rixham wrote: >> Richard Quadling wrote: >>> Hi. >>> >>> I want to docblock a set of properties to be xml primitive datatypes [1]. >>> >>> Considering that this is the correct type for the XML/SOAP/WSDL >>> communication, how do I "bypass" Z

[PHP] Re: DocBlocking SOAP types.

2010-02-16 Thread Nathan Rixham
Richard Quadling wrote: > On 16 February 2010 16:41, Nathan Rixham wrote: >> Nathan Rixham wrote: >>> Richard Quadling wrote: Hi. I want to docblock a set of properties to be xml primitive datatypes [1]. Considering that this is the correct type for the XML/SOAP/WSDL

[PHP] FTP Site

2010-02-16 Thread Ben Miller
Hi, I'm building a site for a client that has a need to allow their users to upload large files (up to 100mb or more) and store them on the server. I've never had a need to work with PHP's FTP functions until now and, before I go reading the manual to learn how, I wanted to see if this somethi

Re: [PHP] FTP Site

2010-02-16 Thread Robert Cummings
Ben Miller wrote: Hi, I'm building a site for a client that has a need to allow their users to upload large files (up to 100mb or more) and store them on the server. I've never had a need to work with PHP's FTP functions until now and, before I go reading the manual to learn how, I wanted to se

Re: [PHP] FTP Site

2010-02-16 Thread Ryan Sun
I think you will need the help from a client side app, like java applet or flash, php can transfer file from your web server to your ftp server but people will have difficulty uploading file via bare browser On Tue, Feb 16, 2010 at 3:12 PM, Ben Miller wrote: > Hi, > > > > I'm building a site for

Re: [PHP] FTP Site

2010-02-16 Thread Ashley Sheridan
On Tue, 2010-02-16 at 15:21 -0500, Robert Cummings wrote: > Ben Miller wrote: > > Hi, > > > > I'm building a site for a client that has a need to allow their users to > > upload large files (up to 100mb or more) and store them on the server. I've > > never had a need to work with PHP's FTP funct

Re: [PHP] FTP Site

2010-02-16 Thread Rene Veerman
The only 1 i ever got to work properly for files > 100 mb is http://jumploader.com/ It's java, and free. On Tue, Feb 16, 2010 at 9:12 PM, Ben Miller wrote: > Hi, > > > > I'm building a site for a client that has a need to allow their users to > upload large files (up to 100mb or more) and store

Re: [PHP] FTP Site

2010-02-16 Thread Michael A. Peters
Ben Miller wrote: Hi, I'm building a site for a client that has a need to allow their users to upload large files (up to 100mb or more) and store them on the server. I've never had a need to work with PHP's FTP functions until now and, before I go reading the manual to learn how, I wanted t

[PHP] Re: UK Project Opportunity

2010-02-16 Thread Nathan Rixham
Manuel Lemos wrote: > Hello, > > on 02/15/2010 11:37 AM Nathan Rixham said the following: >> I need to find a skilled PHP dev, UK based, with long term availability, >> in the short term to join me on a project and ultimately be prepared to >> take over the project and "own" it. Remote contract w

[PHP] Re: UK Project Opportunity

2010-02-16 Thread Nathan Rixham
Nathan Rixham wrote: > Manuel Lemos wrote: >> Hello, >> >> on 02/15/2010 11:37 AM Nathan Rixham said the following: >>> I need to find a skilled PHP dev, UK based, with long term availability, >>> in the short term to join me on a project and ultimately be prepared to >>> take over the project and

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Michael A. Peters
Nathan Rixham wrote: You make every interaction with your site a horrible, painful interaction that is purely there to get as many adverts as you can in front of people, so that you can bleed every cent possible from the hard work and effort of PHP developers and innocent users. In short, you t

[PHP] Re: UK Project Opportunity

2010-02-16 Thread Manuel Lemos
Hello, on 02/16/2010 08:02 PM Nathan Rixham said the following: >>> I need to find a skilled PHP dev, UK based, with long term availability, >>> in the short term to join me on a project and ultimately be prepared to >>> take over the project and "own" it. Remote contract work w/ occasional >>> m

[PHP] Re: UK Project Opportunity

2010-02-16 Thread Nathan Rixham
Manuel Lemos wrote: > Hello, > > on 02/16/2010 08:02 PM Nathan Rixham said the following: I need to find a skilled PHP dev, UK based, with long term availability, in the short term to join me on a project and ultimately be prepared to take over the project and "own" it. Remote cont

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Ashley Sheridan
On Wed, 2010-02-17 at 00:29 +, Nathan Rixham wrote: > Manuel Lemos wrote: > > Hello, > > > > on 02/16/2010 08:02 PM Nathan Rixham said the following: > I need to find a skilled PHP dev, UK based, with long term availability, > in the short term to join me on a project and ultimatel

[PHP] Re: UK Project Opportunity

2010-02-16 Thread Manuel Lemos
Hello, on 02/16/2010 10:29 PM Nathan Rixham said the following: >>> Thank you very much for all you're help and sorry you couldn't bleed >>> some money out of me on this occasion - perhaps you'll manage with >>> you're next spam to the list. >> Personally I regret that you need to be hostile and r

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Manuel Lemos
Hello, on 02/16/2010 10:54 PM Ashley Sheridan said the following: > I myself do find the site confusing to navigate, which doesn't always > help when looking for a PHP class to fit in a project that's already That is a bit vague as you do not mention explicitly what is confusing. Sometimes I read

[PHP] Re: UK Project Opportunity

2010-02-16 Thread Nathan Rixham
Manuel Lemos wrote: > Hello, > > on 02/16/2010 10:29 PM Nathan Rixham said the following: Thank you very much for all you're help and sorry you couldn't bleed some money out of me on this occasion - perhaps you'll manage with you're next spam to the list. >>> Personally I regret tha

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Paul M Foster
On Tue, Feb 16, 2010 at 10:02:09PM +, Nathan Rixham wrote: > Manuel Lemos wrote: > > Hello, > > > > on 02/15/2010 11:37 AM Nathan Rixham said the following: > >> I need to find a skilled PHP dev, UK based, with long term availability, > >> in the short term to join me on a project and ultimat

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Rene Veerman
Yeez eh, some of you people here are truely ungrateful for serious effort spent to save you time. While i've never found a use for any of the code on phpclasses.org, and i also would've chosen a slightly different pay-server-rent-model for the jobs subsection, i can't help but notice the author of

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Manuel Lemos
Hello, on 02/17/2010 01:06 AM Paul M Foster said the following: > I've given Manuel a hard time in the past about his site design. But > we'll see what his new design is, when it shows up. Actually, there was a contest and the users have chosen the winning design, not me. That was the way to assu

[PHP] Re: UK Project Opportunity

2010-02-16 Thread Manuel Lemos
Hello, on 02/17/2010 12:34 AM Nathan Rixham said the following: >>> in all honesty the following are the sticking point that make it hard >>> for me to decide if I was right in my earlier response: >>> >>> 1: that the "sign up to get the class" is even part of the equation >> This is another misun

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Shawn McKenzie
Paul M Foster wrote: > On Tue, Feb 16, 2010 at 10:02:09PM +, Nathan Rixham wrote: > >> Manuel Lemos wrote: >>> Hello, >>> >>> on 02/15/2010 11:37 AM Nathan Rixham said the following: I need to find a skilled PHP dev, UK based, with long term availability, in the short term to join m

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Paul M Foster
On Wed, Feb 17, 2010 at 04:28:07AM +0100, Rene Veerman wrote: > > I have also put out 3 opensource products, paid hosting cost for it > even for a while, and have never used ads to support 'm. > But you know what? Out of thousands of downloads, i never got even a > single short "thanks" message

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Paul M Foster
On Wed, Feb 17, 2010 at 01:52:08AM -0200, Manuel Lemos wrote: > > The winning designing is viewable here but since the author is still > making some changes to fix some issues on pages that were not tested > during the contest, it may not be viewable all the times. > > http://www.phpclasses.org/

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Rene Veerman
> I don't think this will ever happen. I don't submit public code in order > to receive accolades. If no one ever uses it or thanks me, that's okay. > It would be *nice* to receive some acknowledgement, but I'm too busy > writing code to worry about that much. > yea, i don't particularly mind not-

[PHP] Re: UK Project Opportunity

2010-02-16 Thread Nathan Rixham
Manuel Lemos wrote: > Hello, > > on 02/17/2010 12:34 AM Nathan Rixham said the following: in all honesty the following are the sticking point that make it hard for me to decide if I was right in my earlier response: 1: that the "sign up to get the class" is even part of the equ

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Rene Veerman
On Wed, Feb 17, 2010 at 5:39 AM, Paul M Foster wrote: > On Wed, Feb 17, 2010 at 01:52:08AM -0200, Manuel Lemos wrote: > >> >> The winning designing is viewable here but since the author is still >> making some changes to fix some issues on pages that were not tested >> during the contest, it may n

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Manuel Lemos
Hello, on 02/17/2010 02:13 AM Shawn McKenzie said the following: > PHP framework to speak of. Manuel has authored most of them and many I suppose you meant that I authored many of the classes. I only submitted about 30 out of more than 2600 classes available submitted to the site. 30 may be many

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Nathan Rixham
Rene Veerman wrote: > On Wed, Feb 17, 2010 at 5:39 AM, Paul M Foster > wrote: >> On Wed, Feb 17, 2010 at 01:52:08AM -0200, Manuel Lemos wrote: >> >>> The winning designing is viewable here but since the author is still >>> making some changes to fix some issues on pages that were not tested >>> d

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Paul M Foster
On Wed, Feb 17, 2010 at 05:38:36AM +0100, Rene Veerman wrote: > but if it turns out he's truely leeching on the work of others (by for > instance requiring authors to give him (near-)free exclusive rights or > something), then i'd have to switch sides, and say that authors need > to be warned of

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Nathan Rixham
Manuel Lemos wrote: > Hello, > > on 02/17/2010 02:13 AM Shawn McKenzie said the following: >> PHP framework to speak of. Manuel has authored most of them and many > > I suppose you meant that I authored many of the classes. I only > submitted about 30 out of more than 2600 classes available subm

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Nathan Rixham
Paul M Foster wrote: > On Wed, Feb 17, 2010 at 05:38:36AM +0100, Rene Veerman wrote: > > > >> but if it turns out he's truely leeching on the work of others (by for >> instance requiring authors to give him (near-)free exclusive rights or >> something), then i'd have to switch sides, and say tha

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Shawn McKenzie
Manuel Lemos wrote: > Hello, > > on 02/17/2010 02:13 AM Shawn McKenzie said the following: >> PHP framework to speak of. Manuel has authored most of them and many > > I suppose you meant that I authored many of the classes. I only > submitted about 30 out of more than 2600 classes available subm

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Rene Veerman
I use LGPL and i think (hope, actually) that it gives me a free full license for any patch i receive. That's what several people summarizing it for me have told me. But as far as i'm concerned, it goes both ways; any patch is included in a free update that may be re-hosted. It's just about who-doe

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Nathan Rixham
Shawn McKenzie wrote: > Manuel Lemos wrote: >> Hello, >> >> on 02/17/2010 02:13 AM Shawn McKenzie said the following: >>> PHP framework to speak of. Manuel has authored most of them and many >> I suppose you meant that I authored many of the classes. I only >> submitted about 30 out of more than 2

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Paul M Foster
On Wed, Feb 17, 2010 at 01:52:08AM -0200, Manuel Lemos wrote: > > > Having to register to download classes from phpclasses.org is a > > nuisance. Manuel says this is up to the individual developer. This may > > be technically true, but Manuel *offers* this as an option. Contrast > > Source For

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Paul M Foster
On Wed, Feb 17, 2010 at 06:02:18AM +0100, Rene Veerman wrote: > I use LGPL and i think (hope, actually) that it gives me a free full > license for any patch i receive. > That's what several people summarizing it for me have told me. The multitude of copyright holders on several FOSS projects ha

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Nathan Rixham
Paul M Foster wrote: > On Wed, Feb 17, 2010 at 01:52:08AM -0200, Manuel Lemos wrote: > > > > >>> Having to register to download classes from phpclasses.org is a >>> nuisance. Manuel says this is up to the individual developer. This may >>> be technically true, but Manuel *offers* this as an opt

[PHP] Re: UK Project Opportunity

2010-02-16 Thread Manuel Lemos
Hello, on 02/17/2010 02:42 AM Nathan Rixham said the following: >> People need to have motivation to do what they do. Authors only submit >> their packages to PHPClasses site if they gain something from it. What >> the site provides them is attention. > > I know - I'm an author ;) [or was, well s

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Manuel Lemos
Hello, on 02/17/2010 03:00 AM Shawn McKenzie said the following: > Well fuck it then. 99% of my post was defending you with one blurb of > constructive criticism. I am sorry but I was just clarifying things that I felt it were inaccurate. I did not meant to upset anybody. If you found reason to

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Manuel Lemos
Hello, on 02/17/2010 02:38 AM Rene Veerman said the following: > on the other hand, i have received off-list mail about other business > practices of phpclasses.org that i also would not have chosen myself, > because i disapprove of them. Off the list? Curious. Is it my impression or someone is c

Re: [PHP] Re: UK Project Opportunity

2010-02-16 Thread Manuel Lemos
Hello, on 02/17/2010 03:26 AM Nathan Rixham said the following: Having to register to download classes from phpclasses.org is a nuisance. Manuel says this is up to the individual developer. This may be technically true, but Manuel *offers* this as an option. Contrast Source For