[PHP] debugging remote PHP code in eclipse

2013-06-12 Thread Rafnews
Hi everybody, I have big trouble to correctly configure Eclipse/Xdebug to remotely debug a PHP website. When web server is local i have no problem, it works like a charm...but in case webserver is not local, that's a real nightmare. till now everything what i found on internet was about

[PHP] .htaccess and user file/folder access outside public_html

2013-05-25 Thread Rafnews
Hi, i'm facing a problem and i don't know where to start and in fact, how to do it. Situation: Users of my website should be able to save their resume files + cover letters on my webserver. problem: how to make their file SECURED from any hack ? I mean only file owner and web

Re: [PHP] generate onfly PDF

2013-05-05 Thread Rafnews
On 05.05.2013 07:45, tamouse mailing lists wrote: On Sat, May 4, 2013 at 3:31 PM, Rafnews raf.n...@gmail.com wrote: On 04.05.2013 23:05, Tedd Sperling wrote: On May 4, 2013, at 5:00 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Rafnews raf.n...@gmail.com wrote: Is there a solution

[PHP] generate onfly PDF

2013-05-04 Thread Rafnews
Hi, Is there a solution to generate onfly PDF from HTML page, and from data user typed in form (let's say like a template) without using PECL ? i read that is hosting does not allow such extension, we can not generate PDF, so i would rather get a solution without such library. Moreover i'm

Re: [PHP] generate onfly PDF

2013-05-04 Thread Rafnews
On 04.05.2013 23:05, Tedd Sperling wrote: On May 4, 2013, at 5:00 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Rafnews raf.n...@gmail.com wrote: Is there a solution to generate onfly PDF from HTML page, and from data user typed in form (let's say like a template) without using PECL ? i

[PHP] Currency name before and after value

2013-04-14 Thread Rafnews
Hi, I need to manage currency display in my program. I would like to know how can i do to detect if currency code/name should be placed before the amount/value or after. e.g. USD 1234,56 / USD -1234,56 $ 1234,56 / $ - 1234,56 1234.56 EUR / -1234.56 EUR 1234.56 EUR / -1234.56 EUR i

[PHP] strange concatenation behavior with some currency symbols

2013-04-14 Thread Rafnews
Hi, i almost finish my currency format displaying function, however i'm facing a strange displaying format behavior. here is an example in UTF-8: 1234.56 د.ج / 1234.56 DZD -- that's wrong it should be 1234.56 د.ج / 1234.56 DZD 1234.56 € / 1234.56 EUR -- that's OK 1234.56 ¥ / 1234.56 JPY --

[PHP] how to insert html code with PHP

2013-04-11 Thread Rafnews
Hi, I would like to insert a piece of HTML code inside several pages. all pages are differently named. i need in each page to find a particular tag, let's say div id=#submenu.../div (so based on its ID and tagname) and inside it to insert my PHP/HTML code. how can i do that ? thx. A. --

Re: [PHP] Re: how to insert html code with PHP

2013-04-11 Thread Rafnews
On 11.04.2013 14:14, Jim Giner wrote: On 4/11/2013 7:34 AM, Rafnews wrote: Hi, I would like to insert a piece of HTML code inside several pages. all pages are differently named. i need in each page to find a particular tag, let's say div id=#submenu.../div (so based on its ID and tagname

[PHP] Re: how to insert html code with PHP

2013-04-11 Thread Rafnews
On 11.04.2013 13:34, Rafnews wrote: Hi, I would like to insert a piece of HTML code inside several pages. all pages are differently named. i need in each page to find a particular tag, let's say div id=#submenu.../div (so based on its ID and tagname) and inside it to insert my PHP/HTML code

Re: [PHP] Re: how to insert html code with PHP

2013-04-11 Thread Rafnews
On 11.04.2013 19:19, Jim Giner wrote: On 4/11/2013 10:48 AM, Rafnews wrote: On 11.04.2013 13:34, Rafnews wrote: Hi, I would like to insert a piece of HTML code inside several pages. all pages are differently named. i need in each page to find a particular tag, let's say div id=#submenu