[PHP] Arabic (Hindi) Numerals

2007-09-09 Thread OOzy Pal
I am looking for codes to convert the roman western English characters to its Arabic (Hindi) entities. For example the letter 5 Arabic numeral entity is #1637; -- OOzy Ubuntu-Feisty -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can't execute PHP script

2007-09-09 Thread Børge Holen
On Saturday 08 September 2007 17:21, brian wrote: Randy Patterson wrote: Hey, [Note:] This is a different problem from the one I posted earlier today. I can't get my LAMP server setup to run PHP script. As returned by apache2ctl, I am running; Apache/2.2.4 (Debian)

Re: [PHP] Arabic (Hindi) Numerals

2007-09-09 Thread Per Jessen
OOzy Pal wrote: I am looking for codes to convert the roman western English characters to its Arabic (Hindi) entities. For example the letter 5 Arabic numeral entity is #1637; This is not just plain conversion from one characterset to another? (in which case you could proabbly use iconv()).

Re: [PHP] Pack function in C#

2007-09-09 Thread Per Jessen
Symbian wrote: hello, Our PHP dev (who has since left) uses the pack function to turn a base64 string into a binary blob (?): $blob = pack(H*, $postBase64Data); Does anyone know what the above is doing? Doesn't the manual tell you: http://www.php.net/manual/en/function.pack.php

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread Per Jessen
magoo wrote: In their oppinion stuff like the short PHP init ? or inline echo ?= $var ? is forbidden. Do you people code that strict? Yep. If you're using XHTML you have no other option. /Per Jessen, Zürich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread Per Jessen
Greg Donald wrote: On Sun, 9 Sep 2007, magoo wrote: Just wanted to see what you think of the strictness of Buxa, according to their PHP guidelines: http://www.buxaprojects.com/en/php_coding_guidelines.htm In their oppinion stuff like the short PHP init ? or inline echo ?= $var ? is

Re: [PHP] Can't execute PHP script

2007-09-09 Thread brian
Børge Holen wrote: On Saturday 08 September 2007 17:21, brian wrote: Randy Patterson wrote: Hey, [Note:] This is a different problem from the one I posted earlier today. I can't get my LAMP server setup to run PHP script. As returned by apache2ctl, I am running; Apache/2.2.4 (Debian)

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread Greg Donald
On Sat, 8 Sep 2007, mike wrote: although handing off to a templating engine/presentation layer would be even better of course. eval() is my favorite templating engine. -- Greg Donald Cyberfusion Consulting http://cyberfusionconsulting.com/ -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread brian
Per Jessen wrote: magoo wrote: In their oppinion stuff like the short PHP init ? or inline echo ?= $var ? is forbidden. Do you people code that strict? Yep. If you're using XHTML you have no other option. If you're parsing XHTML that is choking on any instances of % then you've got a

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread brian
Greg Donald wrote: On Sat, 8 Sep 2007, mike wrote: although handing off to a templating engine/presentation layer would be even better of course. eval() is my favorite templating engine. You've just made my day. Mind if i put that on a t-shirt? -- PHP General Mailing List

[PHP] Link problem - newbie question

2007-09-09 Thread Suvarna Damodaran
Hi, I think I am having an unusual problem - don't know where I am going wrong. This is the code that I use to display the page once the user is logged in. I want to display a Logout link so the user can logout. But, for some reason, I am unable to display both the welcome message and the

Re: [PHP] Link problem - newbie question

2007-09-09 Thread brian
Suvarna Damodaran wrote: Hi, I think I am having an unusual problem - don't know where I am going wrong. This is the code that I use to display the page once the user is logged in. I want to display a Logout link so the user can logout. But, for some reason, I am unable to display both the

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread Per Jessen
brian wrote: Per Jessen wrote: magoo wrote: In their oppinion stuff like the short PHP init ? or inline echo ?= $var ? is forbidden. Do you people code that strict? Yep. If you're using XHTML you have no other option. If you're parsing XHTML that is choking on any instances of % then

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread brian
Per Jessen wrote: brian wrote: Per Jessen wrote: magoo wrote: In their oppinion stuff like the short PHP init ? or inline echo ?= $var ? is forbidden. Do you people code that strict? Yep. If you're using XHTML you have no other option. If you're parsing XHTML that is choking on any

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread Jim Lucas
brian wrote: Or, perhaps what you mean is that the ?xml tag might be interpreted by PHP (as opposed to an XHTML parser misinterpreting PHP tags)? If that's the case, simply don't leave it bare in the script. Have PHP print it. brian Or, even better, turn off short_open_tag Then PHP will

Re: [PHP] Buxa Coding Guidelines

2007-09-09 Thread brian
Jim Lucas wrote: brian wrote: Or, perhaps what you mean is that the ?xml tag might be interpreted by PHP (as opposed to an XHTML parser misinterpreting PHP tags)? If that's the case, simply don't leave it bare in the script. Have PHP print it. brian Or, even better, turn off

Re: [PHP] Can't execute PHP script

2007-09-09 Thread Randy Patterson
On Saturday 08 September 2007 16:15, Børge Holen wrote: as previously stated... give us the printout of: dpkg -l|grep apache dpkg -l|grep php On Saturday 08 September 2007 14:55, Randy Patterson wrote: Hey, [Note:] This is a different problem from the one I posted earlier today. I

[PHP] accessing one object's attribute from another

2007-09-09 Thread Larry Brown
Hi all, I've be developing with a structured approach for a long time and am working at improving my site by adding some classes etc. I however, am running into an odd thing that I can't figure out what a reasonable search syntax would yield the desired solution. The problem is as follows:

Re: [PHP] accessing one object's attribute from another

2007-09-09 Thread Robert Degen
Perhaps I misunderstood the problem, but I would simply... On So, Sep 09, 2007 at 10:06:15 -0400, Larry Brown wrote: Hi all, I've be developing with a structured approach for a long time and am working at improving my site by adding some classes etc. I however, am running into an odd thing

Re: [PHP] Php script for mail in a xhtml page

2007-09-09 Thread Chris
brian wrote: Mauro Sacchetto wrote: I've to implement a php script in a web page to send mail. If I use a .html form and a separate .php script, all works fine. In the contrary, if I try to put the script into the .html file, I've some troubles... Here's the code: ... When I try to open the

Re: [PHP] accessing one object's attribute from another

2007-09-09 Thread Chris
Larry Brown wrote: Hi all, I've be developing with a structured approach for a long time and am working at improving my site by adding some classes etc. I however, am running into an odd thing that I can't figure out what a reasonable search syntax would yield the desired solution. The problem

Re: [PHP] accessing one object's attribute from another

2007-09-09 Thread Larry Brown
On Mon, 2007-09-10 at 12:45 +1000, Chris wrote: Larry Brown wrote: Hi all, I've be developing with a structured approach for a long time and am working at improving my site by adding some classes etc. I however, am running into an odd thing that I can't figure out what a reasonable

[PHP] Fwd: 403 Forbiden

2007-09-09 Thread Jesús de Diego Alarcón
Hello Brian Thank you, but permisions are ok (777). Any other idea? Thank you in advance Jesús de Diego Hello all and thank you in advance. I'm totally beginer in PHP . I'm developing: http://www.my3dgis.es/visor/visor.htm# At Options Herramientas Búsqueda en Catastro the application

Re: [PHP] Fwd: 403 Forbiden

2007-09-09 Thread Chris
Jesús de Diego Alarcón wrote: Hello Brian Thank you, but permisions are ok (777). What about the permissions on the visor/php folder? Can you access other files in that folder? What about the permissions on the visor/ folder? Can you access other files in that folder? Do you have access to

[PHP] display_errors = stderr Questions

2007-09-09 Thread imacat
Dear all, Sorry if this is asked before. I was checking the new php.ini-recommended that comes with the newly-released PHP 5.2.4. I found a new option for the configuration directive display_errors: display_errors = stderr and the comment says: ; stderr - Display errors to

Re: [PHP] Fwd: 403 Forbiden

2007-09-09 Thread Jesús de Diego Alarcón
Hello I've noticed the problem is not well described: 1º There are some times the correct XML appears. However, these times, the call in Firebug comes with (403) and highlihted in red color. 2º The others times, also appears (403) in the Firebug call , and as response i get: HTML HEAD TITLE403

[PHP] Help with php and this part of the code...?

2007-09-09 Thread dekemcaffee
Ok here is the code below, I need to know what I need to change in this code for it to be able to be a clickable link... I have many layouts and want to add more but with so many pages, its a bit hard to go through 49 pages just to add one page. I already submitted this problem to