[PHP] function/class to convert IDN (Puny-Code)?

2010-05-12 Thread Michelle Konzack
Hello, while reading RFC3490 (plus 3454/3491/3492) and before I am ongoing to reinvent the wheel here the question: Does someone HAVE or know a function/class which does the IDN conversion "toASCII" and "toUNICODE"? Note: The C Source-Code is included in RFC3492 and can more

Re: [PHP] GD - import a PNG image and make transparant

2010-05-12 Thread Ashley Sheridan
On Thu, 2010-05-13 at 00:12 +0100, Alex Davies wrote: > Hi, > > I am trying to import a PNG image from disk, place it on top of a > transparant image created in GD and output it to the browser. In the case of > a low opacity setting, I would expect to see the background colour from the > HTML pag

Re: [PHP] GD - import a PNG image and make transparant

2010-05-12 Thread Karl DeSaulniers
Hi Alex, I have a php file I made just a few months ago. It takes a gif, jpeg or png of any size and sizes it proportionately to a specified size and then outputs a png. If the image is a transparent png or transparent gif, it will still hold the transparency. This is just a test page and it t

[PHP] GD - import a PNG image and make transparant

2010-05-12 Thread Alex Davies
Hi, I am trying to import a PNG image from disk, place it on top of a transparant image created in GD and output it to the browser. In the case of a low opacity setting, I would expect to see the background colour from the HTML page. If I set the opacity to 0, everything works - I end up with a t

RE: [PHP] In need of CVS/SVN checkout script for Production servers [solved]

2010-05-12 Thread Daevid Vincent
> -Original Message- > From: tedd [mailto:tedd.sperl...@gmail.com] > Sent: Thursday, May 06, 2010 9:06 AM > To: Daevid Vincent; php-general@lists.php.net > Subject: RE: [PHP] In need of CVS/SVN checkout script for > Production servers [solved] > > At 5:43 PM -0700 5/5/10, Daevid Vince

Re: [PHP] regexp questions

2010-05-12 Thread Karl DeSaulniers
On May 12, 2010, at 11:20 AM, Ashley Sheridan wrote: On Wed, 2010-05-12 at 18:23 +0200, Spud. Ivan. wrote: Subject: RE: [PHP] regexp questions From: a...@ashleysheridan.co.uk To: spudm...@hotmail.com CC: php-general@lists.php.net Date: Wed, 12 May 2010 17:11:11 +0100 On Wed, 2010-05-12 a

RE: [PHP] regexp questions

2010-05-12 Thread Ashley Sheridan
On Wed, 2010-05-12 at 18:23 +0200, Spud. Ivan. wrote: > > > > > Subject: RE: [PHP] regexp questions > From: a...@ashleysheridan.co.uk > To: spudm...@hotmail.com > CC: php-general@lists.php.net > Date: Wed, 12 May 2010 17:11:11 +0100 > > On Wed, 2010-05-12 at 18:13 +0200, Spud. Ivan. wrote:

RE: [PHP] regexp questions

2010-05-12 Thread Spud. Ivan.
Subject: RE: [PHP] regexp questions From: a...@ashleysheridan.co.uk To: spudm...@hotmail.com CC: php-general@lists.php.net Date: Wed, 12 May 2010 17:11:11 +0100 On Wed, 2010-05-12 at 18:13 +0200, Spud. Ivan. wrote: > Date: Tue, 11 May 2010 15:38:41 -0700 > From: li...@cmsws.com > To: sp

RE: [PHP] regexp questions

2010-05-12 Thread Ashley Sheridan
On Wed, 2010-05-12 at 18:13 +0200, Spud. Ivan. wrote: > > > > > Date: Tue, 11 May 2010 15:38:41 -0700 > > From: li...@cmsws.com > > To: spudm...@hotmail.com > > CC: php-general@lists.php.net > > Subject: Re: [PHP] regexp questions > > > > Spud. Ivan. wrote: > > > > > > I think we've not so m

RE: [PHP] regexp questions

2010-05-12 Thread Spud. Ivan.
> Date: Tue, 11 May 2010 15:38:41 -0700 > From: li...@cmsws.com > To: spudm...@hotmail.com > CC: php-general@lists.php.net > Subject: Re: [PHP] regexp questions > > Spud. Ivan. wrote: > > > > I think we've not so much only with the regex, but maybe you can tell me > > somethin helpful ;) >

RE: [PHP] regexp questions

2010-05-12 Thread Spud. Ivan.
> Subject: RE: [PHP] regexp questions > Date: Wed, 12 May 2010 11:11:07 +0100 > From: m.f...@leedsmet.ac.uk > To: spudm...@hotmail.com; php-general@lists.php.net > > > > > -Original Message- > > From: Spud. Ivan. [mailto:spudm...@hotmail.com] > > Sent: 11 May 2010 15:56 > > To: php-ge

Re: [PHP] PHP Application Structre

2010-05-12 Thread Peter Lind
On 12 May 2010 17:17, Kevin Kinsey wrote: > > Well, again, I'm not purporting to be an authority, but the > first thing that comes to mind is that my reasoning would be > much the same as my reasoning in building stuff:  I've got a nice > STIHL chainsaw, but I don't need it to cut two-by-fours, an

Re: [PHP] PHP Application Structre

2010-05-12 Thread Peter Lind
On 12 May 2010 17:07, Paul M Foster wrote: > > Because your public internet server disables its use. > And once more I'm reminded of just how happy I am with my VPS and my dedicated server. Regards Peter -- WWW: http://plphp.dk / http://plind.dk LinkedIn: http://www.linkedin.com/in/plind Flic

Re: [PHP] PHP Application Structre

2010-05-12 Thread Kevin Kinsey
Peter Lind wrote: On 12 May 2010 07:10, Kevin Kinsey wrote: Ashley Sheridan wrote: On Tue, 2010-05-11 at 08:48 +0530, chetan rane wrote: Hi all, mod rewrite was actually inrduced to have search engne frendly urls. hnce if you want a seo site then you have to use options 1 & 2. using smarty

Re: [PHP] PHP Application Structre

2010-05-12 Thread Paul M Foster
On Wed, May 12, 2010 at 10:16:04AM +0200, Peter Lind wrote: > On 12 May 2010 07:10, Kevin Kinsey wrote: > > Ashley Sheridan wrote: > >> > >> On Tue, 2010-05-11 at 08:48 +0530, chetan rane wrote: > >> > >>> Hi all, > >>> > >>> mod rewrite was actually inrduced to have search engne frendly urls. >

Re: [PHP] Generating PHP from WSDL

2010-05-12 Thread Richard Quadling
On 12 May 2010 11:53, Gary . wrote: > Let's if anyone can come up with a non-brittle solution to this. > > In order to create the framework code for a webservice client I > have generated it from the server's wsdl. Unfortunately the wsdl > (which is out of my control) tries to use "extension base=

Re: [PHP] PHP Encoder like IonCube

2010-05-12 Thread Peter Lind
On 12 May 2010 12:50, shiplu wrote: > It just obfuscates. Long ago I created a decoder for this type of encoder. > Every day I got 100s of decoding requests. > After changing my domain and hosting company I didn't upload it yet. You of all people should know the futility in what you're asking the

[PHP] Generating PHP from WSDL

2010-05-12 Thread Gary .
Let's if anyone can come up with a non-brittle solution to this. In order to create the framework code for a webservice client I have generated it from the server's wsdl. Unfortunately the wsdl (which is out of my control) tries to use "extension base=..." to say that 'B' "extends"/"inherits from

Re: [PHP] PHP Encoder like IonCube

2010-05-12 Thread shiplu
It just obfuscates. Long ago I created a decoder for this type of encoder. Every day I got 100s of decoding requests. After changing my domain and hosting company I didn't upload it yet. I think bcompiler is better. Shiplu Mokadd.im My talks, http://talk.cmyweb.net Follow me, http://twitter.com/s

RE: [PHP] __call and recursion

2010-05-12 Thread Lawrance Shepstone
Hi Daniel, Could you please tell us what version of PHP and OS you're using. The following code fragment runs as expected on my PHP 5.3.2/Windows/XP/32bit: method_a('argument'); $a->method_b('argument'); ?> Results in: private method_a('argument') called ... method 'method_b' either

Re: [PHP] PHP Encoder like IonCube

2010-05-12 Thread Pete Ford
On 12/05/10 11:23, shiplu wrote: Can you paste a sample encoded version of a php file on pastie.org? Shiplu Mokadd.im My talks, http://talk.cmyweb.net Follow me, http://twitter.com/shiplu SUST Programmers, http://groups.google.com/group/p2psust Innovation distinguishes bet ... ... (ask Steve Jo

Re: [PHP] __call and recursion

2010-05-12 Thread Richard Quadling
On 9 May 2010 22:21, Daniel Kolbo wrote: > Hello, > > I've defined a __call() method inside a class.  Within the __call() > method (after testing that the method exists and is callable I am using: > > call_user_func_array(array($this,$method), $args); > > However, this seems to be an infinite loop

Re: [PHP] PHP Encoder like IonCube

2010-05-12 Thread Peter Lind
Output looks pretty typical for something encrypted/obfuscated. As the script will run, it needs to unpack itself ... so you can write automated unpackers for this kind of thing if you want. Best go with Phpsters advice of the contract, you'd be a lot better off (assuming the court system works).

Re: [PHP] PHP Encoder like IonCube

2010-05-12 Thread shiplu
Can you paste a sample encoded version of a php file on pastie.org? Shiplu Mokadd.im My talks, http://talk.cmyweb.net Follow me, http://twitter.com/shiplu SUST Programmers, http://groups.google.com/group/p2psust Innovation distinguishes bet ... ... (ask Steve Jobs the rest) -- PHP General Maili

Re: [PHP] PHP Encoder like IonCube

2010-05-12 Thread Pete Ford
On 12/05/10 10:48, Pete Ford wrote: On 12/05/10 01:06, Ashley Sheridan wrote: On Tue, 2010-05-11 at 16:50 -0700, Brian Dunning wrote: Hi Shiplu - I also have a product with similar requirements. I searched a LOT and was never able to find a free solution that I was satisfied with. Even a lot

RE: [PHP] regexp questions

2010-05-12 Thread Ford, Mike
> -Original Message- > From: Spud. Ivan. [mailto:spudm...@hotmail.com] > Sent: 11 May 2010 15:56 > To: php-general@lists.php.net > Subject: RE: [PHP] regexp questions > > > > hehe, but I can't find anything related to regexp. I've found > something at http://php.net/preg_match > Change

Re: [PHP] PHP Encoder like IonCube

2010-05-12 Thread Pete Ford
On 12/05/10 01:06, Ashley Sheridan wrote: On Tue, 2010-05-11 at 16:50 -0700, Brian Dunning wrote: Hi Shiplu - I also have a product with similar requirements. I searched a LOT and was never able to find a free solution that I was satisfied with. Even a lot of the commercial solutions require

Re: [PHP] PHP Application Structre

2010-05-12 Thread Peter Lind
On 12 May 2010 07:10, Kevin Kinsey wrote: > Ashley Sheridan wrote: >> >> On Tue, 2010-05-11 at 08:48 +0530, chetan rane wrote: >> >>> Hi all, >>> >>> mod rewrite was actually inrduced to have search engne frendly urls. >>> hnce if you want a seo site then you have to use options 1 & 2. using >>> s

[PHP] Re: 2D barcodes

2010-05-12 Thread Manuel Lemos
Hello, on 05/11/2010 07:45 PM Brian Dunning said the following: > I have a project where I need to add some 2D barcodes onto some PDF files. I > plan to use fpdi, since I've used it before and am familiar with it, but I > need a source to generate the 2D barcodes, preferably as a png or jpg. Any