Re: [PHP] Wiki formatting class or something similar

2011-04-29 Thread Gerardo Benitez
Hi Andre, I did a intranet with TextWiki ( http://pear.php.net/package/Text_Wiki/redirected ) TextWiki is a reliable Class to create Wiki using Php. Regards. Gerardo. On Fri, Apr 29, 2011 at 6:04 PM, Andre Polykanine wrote: > Hi everyone, > I allow my users to put some Html into their blogs.

Re: [PHP] gd Graphics Library Question (EXIF)

2011-04-29 Thread Mitch
I was wondering about that. Since I am not actually hosting my ISP would have to have it loaded (or compiled into their PHP implementation), right? I'll have to do some legwork with my ISP and ImageMagic On 4/29/2011 9:26 AM, Stuart Dallas wrote: On Friday, 29 April 2011 at 03:33, Mitch wrote:

Re: [PHP] What's faster using if else or arrays?

2011-04-29 Thread Tamara Temple
On Apr 29, 2011, at 8:32 AM, Robert Cummings wrote: On 11-04-29 08:04 AM, Steve Staples wrote: On Thu, 2011-04-28 at 19:19 -0400, Robert Cummings wrote: On 11-04-28 06:37 PM, dholmes1...@gmail.com wrote: Thanks switch and case seems to be more faster for the job and a lot cleaner --Ori

[PHP] Re: Flattery will get you nowhere

2011-04-29 Thread Jonesy
On Thu, 28 Apr 2011 19:18:29 -0400, Robert Cummings wrote: > Flirting will get you everywhere *bats eyelids* Dinna know bats even _had_ eyelids -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Wiki formatting class or something similar

2011-04-29 Thread Andre Polykanine
Hi everyone, I allow my users to put some Html into their blogs. I filter it using a great tool called HtmLawed and written by Dr. Santosh Patnaik (if you're reading this, many thanks to you!). However, I would like to give them a possibility to mark-up their text in a more convenient way

Re: [PHP] What's faster using if else or arrays?

2011-04-29 Thread tedd
At 7:19 PM -0400 4/28/11, Robert Cummings wrote: On 11-04-28 06:37 PM, dholmes1...@gmail.com wrote: Thanks switch and case seems to be more faster for the job and a lot cleaner Hello Dholmes1031, I would write it like this: switch($foo) { case 5: $dothis; break; case 3: $dothat; bre

Re: [PHP] Flattery will get you nowhere

2011-04-29 Thread tedd
At 7:18 PM -0400 4/28/11, Robert Cummings wrote: Flirting will get you everywhere *bats eyelids* That'll hurt. http://php1.net/clients/molemen/ Cheers, tedd -- --- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

Re: [PHP] Re: PHP delete confirmation

2011-04-29 Thread Ashley Sheridan
"Jim Lucas" wrote: >On 4/29/2011 12:06 AM, Geoff Lane wrote: >> On Friday, April 29, 2011, ad...@buskirkgraphics.com wrote: >> >>> Personally I would use the javascript page navigation is senseless >if they >>> miss click. >> >>> Javascript: Small and simple javascript. >> >>> onclick="return con

Re: [PHP] Re: PHP delete confirmation

2011-04-29 Thread Jim Lucas
On 4/29/2011 12:06 AM, Geoff Lane wrote: > On Friday, April 29, 2011, ad...@buskirkgraphics.com wrote: > >> Personally I would use the javascript page navigation is senseless if they >> miss click. > >> Javascript: Small and simple javascript. > >> onclick="return confirm('Are you sure you want

Re: [PHP] gd Graphics Library Question (EXIF)

2011-04-29 Thread Stuart Dallas
On Friday, 29 April 2011 at 03:33, Mitch wrote: I have written a lightweight, easy to use photo album "system" in > HTML/PHP/MySQL.In addition to the Photo Album side I have written a > series of Admin Utilities to manage it with. One of the administrative > utilities uploads photos from my loca

Re: [PHP] gd Graphics Library Question (EXIF)

2011-04-29 Thread Gerardo Benitez
Hi Mitch, you could try with http://www.php.net/manual/en/function.exif-read-data.php I did a test with image jpg and this was the result: FILE . FileName: bruce_lee_black_white.jpg FILE . FileDateTime: 1304086298 FILE . FileSize: 33464 FILE . FileType: 2 FILE . MimeType: image/jpeg FILE . Section

Re: [PHP] What's faster using if else or arrays?

2011-04-29 Thread Robert Cummings
On 11-04-29 08:04 AM, Steve Staples wrote: On Thu, 2011-04-28 at 19:19 -0400, Robert Cummings wrote: On 11-04-28 06:37 PM, dholmes1...@gmail.com wrote: Thanks switch and case seems to be more faster for the job and a lot cleaner --Original Message-- From: Andre Polykanine To: dholmes1..

[PHP] question about Pear Auth and Pear MDB2

2011-04-29 Thread Michael Mitchell
Hi, I'm a bit of a newbie at PHP and programming in general. Reading a PHP book by Larry Ullman, I was given instructions to install Pear Auth package and also Pear DB. As the Pear website said that DB has been deprecated in favor of MDB2, I installed this latter package. However, I am getting

Re: [PHP] What's faster using if else or arrays?

2011-04-29 Thread Steve Staples
On Thu, 2011-04-28 at 19:19 -0400, Robert Cummings wrote: > On 11-04-28 06:37 PM, dholmes1...@gmail.com wrote: > > Thanks switch and case seems to be more faster for the job and a lot cleaner > > --Original Message-- > > From: Andre Polykanine > > To: dholmes1...@gmail.com > > Cc: php-gener

[PHP] RelaxNG parser in PHP?

2011-04-29 Thread Frank Arensmeier
Hello List! Currently I am using a pear package in one of my projects to parse and query XML DTD files. The package is called XML_DTD 0.5.2 and includes the so called XML_DTD_Parser. One of the purposes of this class is to parse a given DTD file and return that file as a tree like object. With

[PHP] Re: PHP delete confirmation

2011-04-29 Thread Geoff Lane
On Friday, April 29, 2011, ad...@buskirkgraphics.com wrote: > Personally I would use the javascript page navigation is senseless if they > miss click. > Javascript: Small and simple javascript. > onclick="return confirm('Are you sure you want to delete?')" Personally, I'd use Javascript and al