Re: [PHP] Convert Hours to Decimal

2011-10-27 Thread Richard Quadling
On 17 October 2011 22:57, Don Wieland d...@dwdataconcepts.com wrote: select timediff(cast(out_1 as time), cast(in_1 as time)) tHours FROM lm_tc_trans WHERE tc_trans_id = '42' Can you try ... SELECT CAST ( TIMEDIFF (

Re: [PHP] Convert a PDF to a PNG?

2011-06-16 Thread Brian Dunning
I have heard back from Rackspace and ImageMagick is not going to happen for the time being, but they say Ghostscript is installed. Is it possible to do this completely with GS without ImageMagick? The PDFs are text only. On Jun 15, 2011, at 2:28 AM, Richard Quadling wrote: I use PDF2PNG as

Re: [PHP] Convert a PDF to a PNG?

2011-06-16 Thread Sean Kenny
Outside the box a bit, but is there perhaps a web-service that does this, something like http://www.thumbalizr.com/ but for PDF files. As long as you had curl or something you would be GTG at that point. -Sean- On Thu, Jun 16, 2011 at 1:48 PM, Brian Dunning br...@briandunning.com wrote: I have

Re: [PHP] Convert a PDF to a PNG?

2011-06-16 Thread Curtis Maurand
There's an interesting discussion on this page. http://www.linuxquestions.org/questions/linux-software-2/pdf-to-png-converter-57142/ Cheers, Curtis Sean Kenny wrote: Outside the box a bit, but is there perhaps a web-service that does this, something like http://www.thumbalizr.com/ but for

Re: [PHP] Convert a PDF to a PNG?

2011-06-15 Thread Richard Quadling
On 15 June 2011 00:00, Tamara Temple tamouse.li...@gmail.com wrote: On Jun 14, 2011, at 5:48 PM, Brian Dunning wrote: The PDFs are text only (white text on transparent background). I made them using the FPDF, which was tedious to set up but works great. I've since learned that I need PNG

Re: [PHP] Convert a PDF to a PNG?

2011-06-14 Thread Richard Quadling
On 14 June 2011 21:37, Brian Dunning br...@briandunning.com wrote: My server has GD but NOT ImageMagick. Can I convert a PDF doc to a PNG? I have the PDFs stored as a files and I need to save an identical PNG alongside each. I do that using an external tool pdf2png. For me, I use Cygwin.

Re: [PHP] Convert a PDF to a PNG?

2011-06-14 Thread Brian Dunning
The server does not have that software installed either. :-( On Jun 14, 2011, at 1:53 PM, Richard Quadling wrote: I do that using an external tool pdf2png. For me, I use Cygwin. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Convert a PDF to a PNG?

2011-06-14 Thread Richard Quadling
On 14 June 2011 22:30, Brian Dunning br...@briandunning.com wrote: The server does not have that software installed either.  :-( On Jun 14, 2011, at 1:53 PM, Richard Quadling wrote: I do that using an external tool pdf2png. For me, I use Cygwin. Can you see what pdf tools ARE installed?

Re: [PHP] Convert a PDF to a PNG?

2011-06-14 Thread Tamara Temple
On Jun 14, 2011, at 3:37 PM, Brian Dunning wrote: My server has GD but NOT ImageMagick. Can I convert a PDF doc to a PNG? I have the PDFs stored as a files and I need to save an identical PNG alongside each. Could you install a copy of ImageMagick in a user/hosted directory? -- PHP

RE: [PHP] Convert a PDF to a PNG?

2011-06-14 Thread admin
Will they allow you to recompile PHP http://www.php.net/manual/en/imagick.installation.php Richard L. Buskirk -Original Message- From: Tamara Temple [mailto:tamouse.li...@gmail.com] Sent: Tuesday, June 14, 2011 6:18 PM To: PHP-General List Subject: Re: [PHP] Convert a PDF to a PNG

Re: [PHP] Convert a PDF to a PNG?

2011-06-14 Thread Brian Dunning
The PDFs are text only (white text on transparent background). I made them using the FPDF, which was tedious to set up but works great. I've since learned that I need PNG images, not PDFs. I know that I could rebuild them using GD, but it's a lot of strings of text wrapping and formatting and

Re: [PHP] Convert a PDF to a PNG?

2011-06-14 Thread Tamara Temple
On Jun 14, 2011, at 5:48 PM, Brian Dunning wrote: The PDFs are text only (white text on transparent background). I made them using the FPDF, which was tedious to set up but works great. I've since learned that I need PNG images, not PDFs. I know that I could rebuild them using GD, but

Re: [PHP] Convert hex string to hex value?

2010-10-22 Thread Adam Richardson
On Fri, Oct 22, 2010 at 1:05 AM, Micky Hulse mickyhulse.li...@gmail.comwrote: Hi, I must be tired because I can't figure this out... I am sure it is something obvious. I need to pass a hex value to a method, but I can't figure out how to convert a hex string to a hex value. For exmaple:

Re: [PHP] Convert hex string to hex value?

2010-10-22 Thread Micky Hulse
Hi Adam! Many thanks for you quick reply and for the help. :) On Thu, Oct 21, 2010 at 11:31 PM, Adam Richardson In your second example, you're directly inputing a hex number, so there's no issue. Interesting... I wish I could just input the hex directly, unfortunately I don't have that option.

Re: [PHP] Convert hex string to hex value?

2010-10-22 Thread Micky Hulse
On Thu, Oct 21, 2010 at 11:45 PM, Micky Hulse rgmi...@gmail.com wrote: Hmmm, I wonder if I am going about this all wrong. OMG, too easy: my_method(hexdec('0x' . $base)) How did I miss that!?! I could swear I tried that earlier. Sorry to bug ya'll! Cheers, Micky -- PHP General Mailing List

Re: [PHP] Convert excel time to date time

2010-07-19 Thread Richard Quadling
On 17 July 2010 12:47, Mohd Shakir bin Zakaria mohdsha...@gmail.com wrote: Hi, I've been trying to convert this excel date to the date time format, but only managed to get it up to the seconds; The following code; # $data=39604.62164; date(Y-m-d,mktime(0,0,0,1,$data-1,1900));

Re: [PHP] Convert excel time to date time

2010-07-17 Thread Ashley Sheridan
On Sat, 2010-07-17 at 19:47 +0800, Mohd Shakir bin Zakaria wrote: Hi, I've been trying to convert this excel date to the date time format, but only managed to get it up to the seconds; The following code; # $data=39604.62164; date(Y-m-d,mktime(0,0,0,1,$data-1,1900));

Re: [PHP] convert files utf8

2010-06-04 Thread Richard Quadling
On 3 June 2010 22:35, Tanel Tammik keevit...@gmail.com wrote: Hi, does anyone know how to convert all files in a directory and in it's subdirectories into utf8 encoding? i am using komodo edit as text-editor. may it has a feature which i cannot find... Br Tanel -- PHP General Mailing

Re: [PHP] convert files utf8

2010-06-04 Thread Shreyas
I bank on Notepad++ (open source editor) to do such a thing. It can convert an ASCI file to UTF -8. Give it a shot. On Fri, Jun 4, 2010 at 2:02 PM, Richard Quadling rquadl...@gmail.comwrote: On 3 June 2010 22:35, Tanel Tammik keevit...@gmail.com wrote: Hi, does anyone know how to convert

Re: [PHP] convert files utf8

2010-06-04 Thread tedd
At 12:35 AM +0300 6/4/10, Tanel Tammik wrote: Hi, does anyone know how to convert all files in a directory and in it's subdirectories into utf8 encoding? i am using komodo edit as text-editor. may it has a feature which i cannot find... Br Tanel Hi Tanel: Check out:

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-31 Thread Angus Mann
Dear Sir/Madam Please unsubscribe Angus Mann angusm...@pobox.com from your database. My husband passed away 6 May 2010. Thank you Sonya Mann - Original Message - From: tedd tedd.sperl...@gmail.com To: php-general@lists.php.net Sent: Monday, May 31, 2010 12:20 AM Subject: Re: [PHP

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-30 Thread tedd
At 10:20 PM +0200 5/29/10, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote: On Sat, 29 May 2010 10:16:39 -0400, tedd wrote: At 7:15 AM +0200 5/29/10, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote: No. There are no glyphs in Unicode. This is spelled out for you in chapter 2, figure 2-2. Characters versus

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-29 Thread tedd
At 7:15 AM +0200 5/29/10, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote: No. There are no glyphs in Unicode. This is spelled out for you in chapter 2, figure 2-2. Characters versus Glyphs. *blink* *blink* *blink* I read it, but that's not addressing the issue here -- that's something different.

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-29 Thread Nisse Engström
On Sat, 29 May 2010 10:16:39 -0400, tedd wrote: At 7:15 AM +0200 5/29/10, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote: No. There are no glyphs in Unicode. This is spelled out for you in chapter 2, figure 2-2. Characters versus Glyphs. Code points are simply unique numbers assigned to specific

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-28 Thread Ashley Sheridan
On Fri, 2010-05-28 at 11:51 +0800, Guus Ellenkamp wrote: I would like if you stick to the original issue: can a PHP source file be in utf-8. It's not about the output, that is properly supported. Think it would be a good idea anyhow that PHP would support utf-8 source files as it seems

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-28 Thread Richard Quadling
On 28 May 2010 04:47, Guus Ellenkamp ellenkamp_g...@hotmail.com wrote: And I need(ed) this stuff especially for non-ASCII characters like Chinese, Arabic and stuff :) Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1274976794.2202.274.ca...@localhost... On Thu, 2010-05-27 at

RE: [PHP] Convert UTF-8 to PHP defines

2010-05-28 Thread tedd
Bob wrtote: The real question is whether unicode is even relevant now that the UTF series is available. Ashley answered: Bob, UTF is unicode (Unicode Transformation Format) Yes, Ashley is correct. UTF-8 is Unicode, as is UTF-16 and UTF-32, which all use different a number of bytes for

RE: [PHP] Convert UTF-8 to PHP defines

2010-05-28 Thread tedd
At 8:33 PM +0100 5/27/10, Ashley Sheridan wrote: Tedd, does that URL actually go anywhere, as I got nothing when I tried visiting it, both the actual URL and the punycode version. Ash: Try it again (it worked for me). In any event, the link was supposed to be redirected to this site:

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-28 Thread Nisse Engström
On Fri, 28 May 2010 11:13:35 -0400, tedd wrote: Bob wrtote: The real question is whether unicode is even relevant now that the UTF series is available. Ashley answered: Bob, UTF is unicode (Unicode Transformation Format) Or more precisely, UTF-{8,16,32} are different ways to serialize

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-28 Thread tedd
At 8:52 PM +0200 5/28/10, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote: On Fri, 28 May 2010 11:13:35 -0400, tedd wrote: As is my understanding, UTF-8 will accommodate all the languages (glyphs) of the world and then some. It will be a while before we need UTF-16 or UTF-32 but those are just a

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-28 Thread Nisse Engström
On Fri, 28 May 2010 16:52:09 -0400, tedd wrote: At 8:52 PM +0200 5/28/10, Nisse =?utf-8?Q?Engstr=C3=B6m?= wrote: On Fri, 28 May 2010 11:13:35 -0400, tedd wrote: As is my understanding, UTF-8 will accommodate all the languages (glyphs) of the world and then some. It will be a while before

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Andre Polykanine
Hello Guus, Actually, we are using the same method here on http://oire.org/. We have all of the language files in UTF8 format and everything seems to be OK. Yes, unicode support in PHp laisse à désirer, like the French say, but it does support UTF8 files. -- With best regards from Ukraine, Andre

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Guus Ellenkamp
Thanks, but are you sure of that? I did some research a while ago and found that officially PHP files should be ascii and not have any specific character encoding. I believe it will work anyhow (did not try this one), but would like to stick with the standards. Ashley Sheridan

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Ashley Sheridan
On Thu, 2010-05-27 at 21:45 +0800, Guus Ellenkamp wrote: Thanks, but are you sure of that? I did some research a while ago and found that officially PHP files should be ascii and not have any specific character encoding. I believe it will work anyhow (did not try this one), but would like

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Adam Richardson
On Thu, May 27, 2010 at 9:45 AM, Guus Ellenkamp ellenkamp_g...@hotmail.comwrote: Thanks, but are you sure of that? I did some research a while ago and found that officially PHP files should be ascii and not have any specific character encoding. I believe it will work anyhow (did not try this

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Ashley Sheridan
On Thu, 2010-05-27 at 12:08 -0400, Adam Richardson wrote: On Thu, May 27, 2010 at 9:45 AM, Guus Ellenkamp ellenkamp_g...@hotmail.comwrote: Thanks, but are you sure of that? I did some research a while ago and found that officially PHP files should be ascii and not have any specific

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread tedd
At 5:13 PM +0100 5/27/10, Ashley Sheridan wrote: I don't use the higher range of characters often, but I do sometimes use them for things like the graphical glyphs (1Ž2), etc) I know I could do those with regular text and the Wingdings font, but that's not available on every computer, and

RE: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Bob McConnell
From: Ashley Sheridan On Thu, 2010-05-27 at 12:08 -0400, Adam Richardson wrote: On Thu, May 27, 2010 at 9:45 AM, Guus Ellenkamp ellenkamp_g...@hotmail.comwrote: Thanks, but are you sure of that? I did some research a while ago and found that officially PHP files should be ascii and not

RE: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Ashley Sheridan
On Thu, 2010-05-27 at 14:06 -0400, Bob McConnell wrote: From: Ashley Sheridan On Thu, 2010-05-27 at 12:08 -0400, Adam Richardson wrote: On Thu, May 27, 2010 at 9:45 AM, Guus Ellenkamp ellenkamp_g...@hotmail.comwrote: Thanks, but are you sure of that? I did some research a while

RE: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread tedd
At 7:11 PM +0100 5/27/10, Ashley Sheridan wrote: On Thu, 2010-05-27 at 14:06 -0400, Bob McConnell wrote: From: Ashley Sheridan I don't use the higher range of characters often, but I do sometimes use them for things like the graphical glyphs (1Ž2), etc) I know I could do those with

RE: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Bob McConnell
From: tedd The Unicode database uses the same lower character values (i.e., code points) as does ASCII, namely 0-127, and thus UFT-8 (8-bit variable width encoding) is really a super-set which includes the sub-set of ASCII. The Wingdings font that Ash refers to is the really the

RE: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Ashley Sheridan
On Thu, 2010-05-27 at 15:28 -0400, Bob McConnell wrote: From: tedd The Unicode database uses the same lower character values (i.e., code points) as does ASCII, namely 0-127, and thus UFT-8 (8-bit variable width encoding) is really a super-set which includes the sub-set of ASCII.

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Guus Ellenkamp
And I need(ed) this stuff especially for non-ASCII characters like Chinese, Arabic and stuff :) Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1274976794.2202.274.ca...@localhost... On Thu, 2010-05-27 at 12:08 -0400, Adam Richardson wrote: On Thu, May 27, 2010 at 9:45 AM,

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-27 Thread Guus Ellenkamp
I would like if you stick to the original issue: can a PHP source file be in utf-8. It's not about the output, that is properly supported. Think it would be a good idea anyhow that PHP would support utf-8 source files as it seems utf-8 is going to be the de-facto standard for text files

Re: [PHP] Convert UTF-8 to PHP defines

2010-05-26 Thread Ashley Sheridan
On Wed, 2010-05-26 at 22:20 +0800, Guus Ellenkamp wrote: We use PHP defines for defining text in different languages. As far as I know PHP files are supposed to be ASCII, not UTF-8 or something like that. What I want to make is a conversion program that would convert a given UTF-8 file

Re: [PHP] convert a string into an array

2010-04-09 Thread Rene Veerman
it's about telepathy. mass-telepathy ;) telepathic pressure. death threats through telepathy, of which i've had quite a few in past weeks.. fear begets fear begets disease... but thanks for the compliment ;) On Mon, Apr 5, 2010 at 6:53 AM, Nathan Rixham nrix...@gmail.com wrote: you sure

Re: [PHP] convert a string into an array

2010-04-09 Thread Rene Veerman
On Mon, Apr 5, 2010 at 4:09 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Mon, 2010-04-05 at 05:53 +0100, Nathan Rixham wrote: you sure you're only smoking cigarettes? has to be one of the most random replies to any php thread I've ever seen - awesome! regards Rene Veerman

Re: [PHP] convert a string into an array

2010-04-05 Thread Ashley Sheridan
On Mon, 2010-04-05 at 05:53 +0100, Nathan Rixham wrote: you sure you're only smoking cigarettes? has to be one of the most random replies to any php thread I've ever seen - awesome! regards Rene Veerman wrote: yea i'm not the only one with those type of problems. sometimes times

Re: [PHP] convert a string into an array

2010-04-04 Thread Rene Veerman
yea i'm not the only one with those type of problems. sometimes times slows down in my room so much not even my speakers sound normal anymore; equipment that doesn't work (despite being crappy and known by it's patterns of refusal to work; still EXTRA abnormal since about a week or so)... it

Re: [PHP] convert a string into an array

2010-04-04 Thread Nathan Rixham
you sure you're only smoking cigarettes? has to be one of the most random replies to any php thread I've ever seen - awesome! regards Rene Veerman wrote: yea i'm not the only one with those type of problems. sometimes times slows down in my room so much not even my speakers sound normal

Re: [PHP] convert a string into an array

2010-04-02 Thread Jim Lucas
Andre Polykanine wrote: Hello everyone, It's quite simple but I'm still stuck. What I need is the following: I have an array as a parameter of my custom function. However, I'd like to allow users to enter a string instead of an array. In this case (if the parameter is a string), it must be

Re: [PHP] Convert deprecated POSIX functions into wrappers forequivalent PCRE functions

2009-11-09 Thread Tony Marston
Paul M Foster pa...@quillandmouse.com wrote in message news:20091109030235.gh3...@quillandmouse.com... On Sun, Nov 08, 2009 at 06:30:37PM -0500, Robert Cummings wrote: Also, why support two libraries for which one is obviously inferior in speed and functionality? Because Tony's Radicore

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Tony Marston
Robert Cummings rob...@interjinn.com wrote in message news:4af76e1f.2050...@interjinn.com... Tony Marston wrote: Robert Cummings rob...@interjinn.com wrote in message Then you've got several options: 1) Don't upgrade PHP. Not an acceptable option. 2) Pick a different hosting provider.

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Ashley Sheridan
On Mon, 2009-11-09 at 00:23 +, Tony Marston wrote: developer laziness or incompetence is not an acceptable excuse. Exactly, so fix your scripts! I do wonder though, what hosting company you use that would just upgrade to PHP6 without warning on you and 'break' your scripts, yet at the

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Tony Marston
Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1257764339.1076.56.ca...@localhost... On Mon, 2009-11-09 at 00:23 +, Tony Marston wrote: developer laziness or incompetence is not an acceptable excuse. Exactly, so fix your scripts! But my scripts aren't broken! It's

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread David Otton
2009/11/9 Tony Marston t...@marston-home.demon.co.uk: So you wouldn't trust the PHP developers to write simple code which takes each POSIX function and redirects it to a PCRE function? I have more faith in their ability than I do yours. If it's as simple as you claim, why don't you mock-up

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Tim Thorburn
Tony Marston wrote: How many hosting companies write to all their account holders to ask permission before upgrading PHP, not just from 4 to 5, but all the releases in between? Very few of them, if any, in my experience. I've no idea what horrible hosting companies you've had experiences

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Tony Marston
David Otton phpm...@jawbone.freeserve.co.uk wrote in message news:193d27170911090331k7ecbe69cl1dd30651273e7...@mail.gmail.com... 2009/11/9 Tony Marston t...@marston-home.demon.co.uk: So you wouldn't trust the PHP developers to write simple code which takes each POSIX function and redirects

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Paul Fierro
On 11/9/09 8:56 AM, Tony Marston t...@marston-home.demon.co.uk wrote: I have tried subscribing to the internals list, but none of my postings ever appears. That's unfortunate as you missed this thread: http://marc.info/?t=12553625831r=1w=2 Paul -- PHP General Mailing List

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread David Otton
2009/11/9 Tony Marston t...@marston-home.demon.co.uk: Because I can't do that until I install PHP 6, but as I never play with beta software waiting for it to go live will be too late. Not sure why not. If it's just the name collision, call them alt_ereg*() until ereg*() goes away. In fact,

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Ashley Sheridan
On Mon, 2009-11-09 at 15:49 +, David Otton wrote: 2009/11/9 Tony Marston t...@marston-home.demon.co.uk: Because I can't do that until I install PHP 6, but as I never play with beta software waiting for it to go live will be too late. Not sure why not. If it's just the name

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-09 Thread Robert Cummings
Tony Marston wrote: Ashley Sheridan a...@ashleysheridan.co.uk wrote in message news:1257764339.1076.56.ca...@localhost... On Mon, 2009-11-09 at 00:23 +, Tony Marston wrote: developer laziness or incompetence is not an acceptable excuse. Exactly, so fix your scripts! But my scripts

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-08 Thread John Black
The same can be said about the removal of magic_quotes(), it will break A LOT of old scripts. I am in the same boat, I did not keep up to date with the PHP developer plans and just found out about ereg when I installed PHP 5.3. I think it was handled properly by displaying warning messages

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-08 Thread Tony Marston
It is for the better? How can you justify that? It is a problem that will cause a lot of headaches for a lot of users, yet the solution which I have proposed will remove that problem with only very little effort, yet still leave only one regex engine which has to be supported in PHP 6. You

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-08 Thread Eddie Drapkin
On Sun, Nov 8, 2009 at 2:47 PM, Tony Marston t...@marston-home.demon.co.uk wrote: It is for the better? How can you justify that? It is a problem that will cause a lot of headaches for a lot of users, yet the solution which I have proposed will remove that problem with only very little effort,

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-08 Thread Tony Marston
That's an amateur fudge, not a professional fix. Besides, what happens if your hosting company won't let you install PECL extensions? -- Tony Marston http://www.tonymarston.net http://www.radicore.org Eddie Drapkin oorza...@gmail.com wrote in message

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-08 Thread Eddie Drapkin
On Sun, Nov 8, 2009 at 4:13 PM, Tony Marston t...@marston-home.demon.co.uk wrote: That's an amateur fudge, not a professional fix. Besides, what happens if your hosting company won't let you install PECL extensions? -- Tony Marston http://www.tonymarston.net http://www.radicore.org Eddie

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-08 Thread Tony Marston
Eddie Drapkin oorza...@gmail.com wrote in message news:68de37340911081330v799803f3he6ed60ecc6e67...@mail.gmail.com... On Sun, Nov 8, 2009 at 4:13 PM, Tony Marston t...@marston-home.demon.co.uk wrote: That's an amateur fudge, not a professional fix. Besides, what happens if your hosting company

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-08 Thread Robert Cummings
Tony Marston wrote: Eddie Drapkin oorza...@gmail.com wrote in message news:68de37340911081330v799803f3he6ed60ecc6e67...@mail.gmail.com... On Sun, Nov 8, 2009 at 4:13 PM, Tony Marston t...@marston-home.demon.co.uk wrote: That's an amateur fudge, not a professional fix. Besides, what happens if

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-08 Thread Tony Marston
Robert Cummings rob...@interjinn.com wrote in message news:4af7549d.1060...@interjinn.com... Tony Marston wrote: Eddie Drapkin oorza...@gmail.com wrote in message news:68de37340911081330v799803f3he6ed60ecc6e67...@mail.gmail.com... On Sun, Nov 8, 2009 at 4:13 PM, Tony Marston

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-08 Thread Robert Cummings
Tony Marston wrote: Robert Cummings rob...@interjinn.com wrote in message Then you've got several options: 1) Don't upgrade PHP. Not an acceptable option. 2) Pick a different hosting provider. Not an acceptable optional. 3) Fix your scripts. The scripts aren't broken. It's PHP 6 that's

Re: [PHP] Convert deprecated POSIX functions into wrappers for equivalent PCRE functions

2009-11-08 Thread Paul M Foster
On Sun, Nov 08, 2009 at 06:30:37PM -0500, Robert Cummings wrote: Also, why support two libraries for which one is obviously inferior in speed and functionality? Because Tony's Radicore framework has a bunch of ereg* calls in it. ;-} Paul -- Paul M. Foster -- PHP General Mailing List

Re: [PHP] Convert \x3d \x3b \x3c to ASCII

2009-06-23 Thread Robert Cummings
ioan...@btinternet.com wrote: Is there a function which will convert characters like \x3d \x3b \x3c to ASCII. Or is there a full list of conversions, eg \x3c=v \x3e=, \x27=' etc. What are these, hex? I tried hexdec() but am not sure that is right. These are hex escaped for a string: ?php

Re: [PHP] convert video files to FLV

2009-04-10 Thread Ashley Sheridan
On Wed, 2009-04-08 at 22:34 -0700, Michael Shadle wrote: On Wed, Apr 8, 2009 at 10:30 PM, Gevorg Harutyunyan gevorg...@gmail.com wrote: Hi, I need to convert video files to FLV using php. The only solution that I found is to use ffmpeg, but because I am using shared hosting I am not

Re: [PHP] convert video files to FLV

2009-04-10 Thread Michael Shadle
On Fri, Apr 10, 2009 at 4:31 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: I know of no way you can do this. Not only would any potential solution be too slow, but it would affect other users of the server, and more than likely result in an email from you hosting provider! Have you

Re: [PHP] convert video files to FLV

2009-04-10 Thread Ashley Sheridan
On Fri, 2009-04-10 at 09:01 -0700, Michael Shadle wrote: On Fri, Apr 10, 2009 at 4:31 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: I know of no way you can do this. Not only would any potential solution be too slow, but it would affect other users of the server, and more than

Re: [PHP] convert video files to FLV

2009-04-10 Thread Michael Shadle
On Fri, Apr 10, 2009 at 9:12 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: If you'll note, the original question was to find a way which did not require ffmpeg. I should really have rephrased that to say I know of no way you can do this without ffmpeg. I've used ffmpeg and mencoder

Re: [PHP] convert video files to FLV

2009-04-09 Thread Tom Sparks
/OpenOffice.org http://www.gnu.org/philosophy/no-word-attachments.html --- On Thu, 9/4/09, Gevorg Harutyunyan gevorg...@gmail.com wrote: From: Gevorg Harutyunyan gevorg...@gmail.com Subject: Re: [PHP] convert video files to FLV To: Adrian adr...@planetcoding.net Cc: php-general@lists.php.net Received

Re: [PHP] convert video files to FLV

2009-04-08 Thread Adrian
Don't waste CPU power of shared servers for video recoding. If you need that, get a dedicated server without other customers who would probably be affected by you using lots of cpu power. Besides that, if you cannot install own (compiled) software on it, you'd have to use a pure php solution

Re: [PHP] convert video files to FLV

2009-04-08 Thread Michael Shadle
On Wed, Apr 8, 2009 at 10:30 PM, Gevorg Harutyunyan gevorg...@gmail.com wrote: Hi, I need to convert video files to FLV using php. The only solution that I found is to use ffmpeg, but because I am using shared hosting I am not allowed to install it on server. Do you know any other ways to

Re: [PHP] convert video files to FLV

2009-04-08 Thread Michael Shadle
On Wed, Apr 8, 2009 at 10:33 PM, Adrian adr...@planetcoding.net wrote: Don't waste CPU power of shared servers for video recoding. If you need that, get a dedicated server without other customers who would probably be affected by you using lots of cpu power. Besides that, if you cannot

Re: [PHP] convert video files to FLV

2009-04-08 Thread Gevorg Harutyunyan
Thanks guys, but as I understood that extension also requires ffmpeg on server, correct me if I am wrong. So anyway I need ffmpeg on server. Some day, when I will have dedicated server I will use ffmpeg for sure, but now I need other solution. On Thu, Apr 9, 2009 at 10:33 AM, Adrian

Re: [PHP] convert video files to FLV

2009-04-08 Thread Michael Shadle
there's some third party encoding services out there, and if you host with softlayer, they have media transcoding services they offer for their hosting customers (not sure the cost, but it's pay for what you use) On Wed, Apr 8, 2009 at 10:45 PM, Gevorg Harutyunyan gevorg...@gmail.com wrote:

Re: [PHP] Convert CMYK values to RGB values?

2009-01-09 Thread ceo
Short Answer: You can't. :-) http://en.wikipedia.org/wiki/CMYK Long Answer: You probably can, but not in some way that makes sense to discuss here on PHP-general. The external links in the above article should get you started. -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Convert CMYK values to RGB values?

2009-01-09 Thread Brian Dunning
I think your short answer is the right one. This explains why I didn't find that cmyk_to_rgb() function on php.net. Thanks... :-( On Jan 9, 2009, at 3:14 PM, c...@l-i-e.com wrote: Short Answer: You can't. :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Convert CMYK values to RGB values?

2009-01-09 Thread Phpster
I found a function on phpbuilder.com but can't copy it on the iPod keyboard. I did a google on php rbg to cmyk value Bastien Sent from my iPod On Jan 9, 2009, at 6:43 PM, Brian Dunning br...@briandunning.com wrote: I think your short answer is the right one. This explains why I didn't

Re: [PHP] Convert CMYK values to RGB values?

2009-01-09 Thread Shawn McKenzie
c...@l-i-e.com wrote: Short Answer: You can't. :-) http://en.wikipedia.org/wiki/CMYK Long Answer: You probably can, but not in some way that makes sense to discuss here on PHP-general. The external links in the above article should get you started. May not always come out with

Re: [PHP] Convert CMYK values to RGB values?

2009-01-09 Thread John Corry
Have you looked here?

Re: [PHP] Convert video to FLV like youtube

2008-10-19 Thread Rene Veerman
I use ffmpeg (unix commandline) to do the video converting.. ffmpeg needs to be properly re-compiled with mp3 support (for audio in the flv files); theres tutorials on google on how to do that. Are you on shared hosting? Most wont allow any kind of video conversion on shared hosting. I had

Re: [PHP] Convert video to FLV like youtube

2008-10-18 Thread Daniel Brown
On Sat, Oct 18, 2008 at 12:54 PM, Ryan S [EMAIL PROTECTED] wrote: Been googleing for a way to convert video to flv just like youtube and came accross the flv SDK kit, unfortunately it seems to only support C++, Delphi and C# FFMPEG is the standard now. -- /Daniel P. Brown Founder, CEO

Re: [PHP] Convert video to FLV like youtube

2008-10-18 Thread Daniel Brown
On Sat, Oct 18, 2008 at 1:02 PM, Daniel Brown [EMAIL PROTECTED] wrote: FFMPEG is the standard now. err not just now. Not sure why I typed that. -- /Daniel P. Brown Founder, CEO - Parasane, LLC http://www.parasane.net/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Convert video to FLV like youtube

2008-10-18 Thread Robert Cummings
On Sat, 2008-10-18 at 09:54 -0700, Ryan S wrote: Hey! Been googleing for a way to convert video to flv just like youtube and came accross the flv SDK kit, unfortunately it seems to only support C++, Delphi and C# Have any of you guys come accross a php script that does this? any

Re: [PHP] Convert video to FLV like youtube

2008-10-18 Thread Dotan Cohen
2008/10/18 Ryan S [EMAIL PROTECTED]: Hey! Been googleing for a way to convert video to flv just like youtube and came accross the flv SDK kit, unfortunately it seems to only support C++, Delphi and C# Have any of you guys come accross a php script that does this? any links, pointers

Re: [PHP] Convert video to FLV like youtube

2008-10-18 Thread Nitsan Bin-Nun
Straightforward and useful, I have added it to the videos conversion snippets directory ;) Sokot Sameh, Nitsan Bin-Nun On Sat, Oct 18, 2008 at 10:45 PM, Dotan Cohen [EMAIL PROTECTED] wrote: 2008/10/18 Ryan S [EMAIL PROTECTED]: Hey! Been googleing for a way to convert video to flv just

Re: [PHP] Convert video to FLV like youtube

2008-10-18 Thread Ashley Sheridan
On Sat, 2008-10-18 at 23:23 +0200, Nitsan Bin-Nun wrote: Straightforward and useful, I have added it to the videos conversion snippets directory ;) Sokot Sameh, Nitsan Bin-Nun On Sat, Oct 18, 2008 at 10:45 PM, Dotan Cohen [EMAIL PROTECTED] wrote: 2008/10/18 Ryan S [EMAIL PROTECTED]:

Re: [PHP] Convert local dates into GMT+1 dates

2008-09-27 Thread ANR Daemon
Greetings, debussy007. In reply to Your message dated Friday, September 26, 2008, 16:52:18, I have local dates (Belgium), which I want to convert to GMT+1 date. The dates are stored in the DB and are of the following format: '2008-06-24 23:30:02' Does that means your dates stored as strings?

Re: [PHP] Convert local dates into GMT+1 dates

2008-09-26 Thread Bastien Koert
On Fri, Sep 26, 2008 at 8:52 AM, debussy007 [EMAIL PROTECTED] wrote: Hello everyone! I have local dates (Belgium), which I want to convert to GMT+1 date. The dates are stored in the DB and are of the following format: '2008-06-24 23:30:02' So I think I'll need to check wether the date

Re: [PHP] Convert local dates into GMT+1 dates

2008-09-26 Thread Nathan Rixham
debussy007 wrote: Hello everyone! I have local dates (Belgium), which I want to convert to GMT+1 date. The dates are stored in the DB and are of the following format: '2008-06-24 23:30:02' So I think I'll need to check wether the date in DB is GMT+1 or GMT+2 (winter or summer), if date is

Re: [PHP] Convert local dates into GMT+1 dates

2008-09-26 Thread Eric Butera
On Fri, Sep 26, 2008 at 8:52 AM, debussy007 [EMAIL PROTECTED] wrote: Hello everyone! I have local dates (Belgium), which I want to convert to GMT+1 date. The dates are stored in the DB and are of the following format: '2008-06-24 23:30:02' So I think I'll need to check wether the date in

Re: [PHP] Convert PDF Files to PCL-Files

2008-07-04 Thread Ray Hauge
jogisarge wrote: Hello @all, i am running php5 on a IBM i5 V5R4. now i have to print exisiting pdf-files. the problem is, i cant use external programms like pdftops or other stuff like this, because the php core runs in the pase environment. is there any possibility to convert existing pdfs

  1   2   3   4   >