[PHP] imagettftext() and East Asian Font rendering

2009-12-02 Thread shiplu
Hello, I am creating an app where I have to show east asian text in image. Those are utf8. Problem is when I try to display "কি হচ্ছে" in image, it shows "ক ি হ চ ্ ছ ে"  without the circles. How do I show it correctly. Note: I am generating image, not html file. -- A K M Mokaddim My talks, t

Re: [PHP] Powerpoint from PHP?

2009-12-02 Thread Skip Evans
Shawn McKenzie wrote: 1. If they're not married to PP, why not just use HTML? You can do all of the same things on your own in PHP/HTML. Also, this looks pretty cool: http://meyerweb.com/eric/tools/s5/ Bingo. That's what I'm going to propose. I can do a nice slide-like presentation in HTML

Re: [PHP] Disabling button onclick in IE

2009-12-02 Thread tedd
At 10:09 AM -0600 12/2/09, Skip Evans wrote: Hey all, Tedd & Ash, yes, I'm definitely looking into solving it server side, but I need this quick fix while I come with a solution more along the lines of what you've both suggested. A quick fix? You've spent more time writing your question tha

[PHP] remove namespace from xml

2009-12-02 Thread Augusto Flavio
Hi all, i'm trying to connect to a SOAP Server but i'm having a problem. Look the xml that i need send to the server: // THIS IS THE XML CORRECT THAT NEED BE SENT TO THE SERVER http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.

Re: [PHP] Compatiabilty issues

2009-12-02 Thread Shawn McKenzie
Ashley Sheridan wrote: > On Wed, 2009-12-02 at 12:17 +0100, Julian Muscat Doublesin wrote: > >> Sorry about the reply to all. the htaccess files worked correctly on a wamp >> setup I had. All this happened once I did the big move to apache. >> >> On Wed, Dec 2, 2009 at 12:10 PM, Ashley Sheridan >>

Re: [PHP] Emergency! Performance downloading big files

2009-12-02 Thread דניאל דנון
Try using CURL - with that you can download many links simultaneously! On Wed, Dec 2, 2009 at 12:48 AM, Brian Dunning wrote: > This is a holiday-crunch emergency. > > I'm dealing with a client from whom we need to download many large PDF docs > 24x7, several thousand per hour, all between a few h

Re: [PHP] Powerpoint from PHP?

2009-12-02 Thread Shawn McKenzie
Skip Evans wrote: > I wonder what other alternatives to PP might exist for a possible > solution to this. I don't know squat about Flash, but the client is not > married to PP, just needs some kind of presentation the side can > assemble, again basically put images and text into something that can

[PHP] Re: Can I get the IP address from a visitor?

2009-12-02 Thread tedd
Hi: My $0.02. http://www.webbytedd.com//real-ip/ Open to suggestion/correction. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Powerpoint from PHP?

2009-12-02 Thread Ashley Sheridan
On Wed, 2009-12-02 at 10:54 -0600, Skip Evans wrote: > I wonder what other alternatives to PP might exist for a > possible solution to this. I don't know squat about Flash, but > the client is not married to PP, just needs some kind of > presentation the side can assemble, again basically put

Re: [PHP] Powerpoint from PHP?

2009-12-02 Thread Skip Evans
I wonder what other alternatives to PP might exist for a possible solution to this. I don't know squat about Flash, but the client is not married to PP, just needs some kind of presentation the side can assemble, again basically put images and text into something that can be displayed to poten

Re: [PHP] Powerpoint from PHP?

2009-12-02 Thread Ashley Sheridan
On Wed, 2009-12-02 at 11:41 -0500, Ryan Sun wrote: > php on windows server may have the capability... > > On Wed, Dec 2, 2009 at 11:30 AM, Skip Evans wrote: > > > Yeah, from Googling around I'm getting the impression there is not a PHP > > library capable of doing this. I guess the next best th

Re: [PHP] Powerpoint from PHP?

2009-12-02 Thread Ryan Sun
php on windows server may have the capability... On Wed, Dec 2, 2009 at 11:30 AM, Skip Evans wrote: > Yeah, from Googling around I'm getting the impression there is not a PHP > library capable of doing this. I guess the next best thing we can do is just > let them download files with collections

Re: [PHP] Powerpoint from PHP?

2009-12-02 Thread Skip Evans
Yeah, from Googling around I'm getting the impression there is not a PHP library capable of doing this. I guess the next best thing we can do is just let them download files with collections of slides and create the presentation themselves. Skip Ashley Sheridan wrote: I don't think that's p

Re: [PHP] Powerpoint from PHP?

2009-12-02 Thread Ashley Sheridan
On Wed, 2009-12-02 at 10:19 -0600, Skip Evans wrote: > Hey all, > > I have a client who creates PowerPoint presentations to sell > their clients on projects. What he would like his site to do > is allow his clients to arrange their own PP presentations > from an existing collection of slides w

[PHP] Powerpoint from PHP?

2009-12-02 Thread Skip Evans
Hey all, I have a client who creates PowerPoint presentations to sell their clients on projects. What he would like his site to do is allow his clients to arrange their own PP presentations from an existing collection of slides with images, but then add their own text. So the problem I need

Re: [PHP] Disabling button onclick in IE

2009-12-02 Thread Skip Evans
Okay, I'll work on something along those lines. In the meantime, the JS will work better than nothing. Thanks, Skip Ashley Sheridan wrote: I'll tell you about the problem I had. One site was offering up contact details for sale on a contract basis. The names were presented in a list of link

Re: [PHP] Disabling button onclick in IE

2009-12-02 Thread Ashley Sheridan
On Wed, 2009-12-02 at 10:09 -0600, Skip Evans wrote: > Hey all, > > Tedd & Ash, yes, I'm definitely looking into solving it server > side, but I need this quick fix while I come with a solution > more along the lines of what you've both suggested. > > Ash, how do you store the time stamp when

Re: [PHP] Disabling button onclick in IE

2009-12-02 Thread Skip Evans
Hey all, Tedd & Ash, yes, I'm definitely looking into solving it server side, but I need this quick fix while I come with a solution more along the lines of what you've both suggested. Ash, how do you store the time stamp when the first request comes through? Do you use a session variable or

Re: [PHP] Disabling button onclick in IE

2009-12-02 Thread Skip Evans
Yup. That was it. I found that Googling around as well. Eesh. Skip Andrew Ballard wrote: On Tue, Dec 1, 2009 at 4:06 PM, Skip Evans wrote: Hey all, You probably remember me asking about disabling a submit button when it is clicked to prevent double clicks submitting a form for CC processin

Re: [PHP] Best way to read first 20 characters of a string?

2009-12-02 Thread Chris Payne
Thank you everyone, I REALLY appreciate it. Sorry my head isn't in place today and I couldn't think. Chris On Wed, Dec 2, 2009 at 10:18 AM, Devendra Jadhav wrote: > mysql substr function > http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_substr > > On Wed, Dec 2, 2009 at 8:

Re: [PHP] Best way to read first 20 characters of a string?

2009-12-02 Thread Devendra Jadhav
mysql substr function http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_substr On Wed, Dec 2, 2009 at 8:41 PM, Chris Payne wrote: > Hi everyone, > > I'm pulling data from a mysql database, but need only the first 20 > characters of each string for a short description, what is

Re: [PHP] Best way to read first 20 characters of a string?

2009-12-02 Thread Majk.Skoric
Not exaclty a php thingie but well ;) Sql: Select left(column, 20) as c from table. Or you can do it with “select substr(columnname, 0,20)“. See the mysql manual. Dunno which of the two is faster, but i think “left“ is. Majk - Original Message - From: oxygene...@gmail.com To:

Re: [PHP] Best way to read first 20 characters of a string?

2009-12-02 Thread Daniel Brown
On Wed, Dec 2, 2009 at 10:11, Chris Payne wrote: > Hi everyone, > > I'm pulling data from a mysql database, but need only the first 20 > characters of each string for a short description, what is the best > method to just grab the first 20 characters from a string regardless > of whether they are

[PHP] Re: Best way to read first 20 characters of a string?

2009-12-02 Thread Jo�o C�ndido de Souza Neto
Have you tried tha substr PHP function? "Chris Payne" escreveu na mensagem news:554f315f0912020711m5e0cc2e8qd6a1926a80590...@mail.gmail.com... > Hi everyone, > > I'm pulling data from a mysql database, but need only the first 20 > characters of each string for a short description, what is the b

[PHP] Best way to read first 20 characters of a string?

2009-12-02 Thread Chris Payne
Hi everyone, I'm pulling data from a mysql database, but need only the first 20 characters of each string for a short description, what is the best method to just grab the first 20 characters from a string regardless of whether they are letters or numbers? Chris -- PHP General Mailing List (htt

Re: [PHP] Compatiabilty issues

2009-12-02 Thread Ashley Sheridan
On Wed, 2009-12-02 at 12:17 +0100, Julian Muscat Doublesin wrote: > Sorry about the reply to all. the htaccess files worked correctly on a wamp > setup I had. All this happened once I did the big move to apache. > > On Wed, Dec 2, 2009 at 12:10 PM, Ashley Sheridan > wrote: > > > On Wed, 2009-1

Re: [PHP] Compatiabilty issues

2009-12-02 Thread Kim Emax
Ashley Sheridan wrote on 2009-12-02 12:10: PS, don't forget to hit reply to all, as the last few messages I keep having to copy the list back in! Is it just me or should NON-PHP issues be kept out of the "php-general" list? Use an Apache list/group instead? That's what I do when I have iss

Re: [PHP] Compatiabilty issues

2009-12-02 Thread Julian Muscat Doublesin
Sorry about the reply to all. the htaccess files worked correctly on a wamp setup I had. All this happened once I did the big move to apache. On Wed, Dec 2, 2009 at 12:10 PM, Ashley Sheridan wrote: > On Wed, 2009-12-02 at 12:10 +0100, Julian Muscat Doublesin wrote: > > I setup apache myself. Th

Re: [PHP] Compatiabilty issues

2009-12-02 Thread Ashley Sheridan
On Wed, 2009-12-02 at 12:10 +0100, Julian Muscat Doublesin wrote: > I setup apache myself. That I'm sure of. I had a look at the php info > and saw that mod_write in enabled. I checked the conf file and made > sure that the AllowOverride is set to All. > > > On Wed, Dec 2, 2009 at 11:55 AM, Ashl

Re: [PHP] Compatiabilty issues

2009-12-02 Thread Ashley Sheridan
On Wed, 2009-12-02 at 11:55 +0100, Julian Muscat Doublesin wrote: > is this the issue. > > > On Wed, Dec 2, 2009 at 11:55 AM, Julian Muscat Doublesin > wrote: > > I am runnning both IIS and Apache. The php webites are hosted > on Apacahe. > > > >

Re: [PHP] Compatiabilty issues

2009-12-02 Thread Ashley Sheridan
On Wed, 2009-12-02 at 11:42 +0100, Julian Muscat Doublesin wrote: > Yes - running IIS 7. > > > On Wed, Dec 2, 2009 at 11:27 AM, Ashley Sheridan > wrote: > > > On Wed, 2009-12-02 at 10:27 +0100, Julian Muscat Doublesin > wrote: > > > Hello Everyone, >

Re: [PHP] Compatiabilty issues

2009-12-02 Thread Ashley Sheridan
On Wed, 2009-12-02 at 10:27 +0100, Julian Muscat Doublesin wrote: > Hello Everyone, > > I am having trouble with the mod_rewrite. This is not working on windows > 64bit. I am also having trouble with the directory password protection. > However thse bot work perfectly on my UNIX Mac. > > From my

Re: [PHP] Re: Emergency! Performance downloading big files

2009-12-02 Thread Michael Shadle
Ah I didn't pay attention to the first part. Just gave my typical don't spoonfeed bytes from php rant :) Sent from my iPhone On Dec 2, 2009, at 1:42 AM, Colin Guthrie wrote: 'Twas brillig, and Michael Shadle at 01/12/09 23:51 did gyre and gimble: On Tue, Dec 1, 2009 at 3:21 PM, James McLea

[PHP] Re: Emergency! Performance downloading big files

2009-12-02 Thread Colin Guthrie
'Twas brillig, and Michael Shadle at 01/12/09 23:51 did gyre and gimble: On Tue, Dec 1, 2009 at 3:21 PM, James McLean wrote: The suggestion from other users of off-loading the PDF downloading to Apache (or another webserver) is a good idea also. ^ I never allow PHP to be [ab]used and kept o

[PHP] Compatiabilty issues

2009-12-02 Thread Julian Muscat Doublesin
Hello Everyone, I am having trouble with the mod_rewrite. This is not working on windows 64bit. I am also having trouble with the directory password protection. However thse bot work perfectly on my UNIX Mac. >From my experince I can see that this is due to file system compatibility. Can anyone c

Re: [PHP] PHP APACHE SAVE AS

2009-12-02 Thread Julian Muscat Doublesin
Hello Everyone, I solved the mysql issue too. thanks for your help. I had to change the root the the extnsion directory as it was set to the linux style. Also found out that for windows it is always best to use C:/ instead of C:\ This works in some situations and in others it does not. On Fri, No

Re: [PHP] Emergency! Performance downloading big files

2009-12-02 Thread Kim Madsen
Brian Dunning wrote on 2009-12-01 23:48: This is a holiday-crunch emergency. I'm dealing with a client from whom we need to download many large PDF docs 24x7, several thousand per hour, all between a few hundred K and about 50 MB. Their security process requires the files to be downloaded via