Re: [PHP] Converting a Unicode code to related charachter

2011-12-19 Thread Ali Asghar Toraby Parizy
Thanks for your reply. But the function that I've written, converts a code to a character. for example if input is u0631 the output will be: ARABIC LETTER REH "ر" But I think that use of this json_decode() is a little nonsense! I didn't find a straightforward function to do this ,though I've search

[PHP] number_format

2011-12-19 Thread Floyd Resler
In the previous version of PHP we were using, I could pass a string to number_format and it would just change it to a 0 without complaint. With 5.3.6 I get an "expects double" error. I don't suppose there's a way to make it work like it used to??? I'm dealing with really old code that wasn't

Re: [PHP] number_format

2011-12-19 Thread Bastien Koert
On Mon, Dec 19, 2011 at 9:19 AM, Floyd Resler wrote: > In the previous version of PHP we were using, I could pass a string to > number_format and it would just change it to a 0 without complaint.  With > 5.3.6 I get an "expects double" error.  I don't suppose there's a way to make > it work lik

Re: [PHP] number_format

2011-12-19 Thread Ken Robinson
Quoting Floyd Resler : In the previous version of PHP we were using, I could pass a string to number_format and it would just change it to a 0 without complaint. With 5.3.6 I get an "expects double" error. I don't suppose there's a way to make it work like it used to??? I'm dealing wit

Re: [PHP] number_format

2011-12-19 Thread Robert Cummings
On 11-12-19 11:08 AM, Bastien Koert wrote: On Mon, Dec 19, 2011 at 9:19 AM, Floyd Resler wrote: In the previous version of PHP we were using, I could pass a string to number_format and it would just change it to a 0 without complaint. With 5.3.6 I get an "expects double" error. I don't supp

Re: [PHP] number_format

2011-12-19 Thread Floyd Resler
On Dec 19, 2011, at 11:38 AM, Robert Cummings wrote: > On 11-12-19 11:08 AM, Bastien Koert wrote: >> On Mon, Dec 19, 2011 at 9:19 AM, Floyd Resler wrote: >>> In the previous version of PHP we were using, I could pass a string to >>> number_format and it would just change it to a 0 without compl

Re: [PHP] Working on a Subsummary Report

2011-12-19 Thread Jim Lucas
On 12/17/2011 4:21 PM, DealTek wrote: > > On Dec 16, 2011, at 12:56 PM, Jim Lucas wrote: >> >> >> 1) What does your db schema look like? >> 2) What SQL do you currently use? >> 3) What criteria do you want to use to sort the data? >> 4) Will the output be plaintext, html, etc? >> 5) Is this going

[PHP] PHP page source charset

2011-12-19 Thread Rick Dwyer
Hello all. When I set my page charset from iso-8859-1 to utf-8, when I run it through the W3C validator, the validator returns an error that it can't validate the page because of an illegal character not covered by UTF-8. "Sorry, I am unable to validate this document because on line 199

[PHP] questions about fastcgi

2011-12-19 Thread Rui Hu
hi, I encountered a problem while configured virtual host. My experiment environment is Apache2+fastcgi+php-cgi. I want to implement mass virtual hosting using rewrite rules based on apache rewrite module. That is, for a request url like: http://1000.xyz.com/test.php, apache will translate it to

Re: [PHP] PHP page source charset

2011-12-19 Thread Benjamin Hawkes-Lewis
On Tue, Dec 20, 2011 at 2:44 AM, Rick Dwyer wrote: > When I set my page charset from iso-8859-1 to utf-8 Set it how? http://www.w3.org/International/O-HTTP-charset.en.php , when I run it through > the W3C validator, the validator returns an error that it can't validate the > page because of an