Re: [PHP] json_decode mistery

2013-05-25 Thread tamouse mailing lists
On Fri, May 24, 2013 at 2:06 AM, Radek Krejča radek.kre...@starnet.cz wrote: {result_ok:true,result_message:null,client_name:Radek Krej\u010da} How odd -- when i run that through json_decode, it works fine: $d = '{result_ok:true,result_message:null,client_name:Radek Krej\u010da}'; echo Initial:

Re: [PHP] json_decode mistery

2013-05-25 Thread tamouse mailing lists
On Sat, May 25, 2013 at 3:14 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Fri, May 24, 2013 at 2:06 AM, Radek Krejča radek.kre...@starnet.cz wrote: {result_ok:true,result_message:null,client_name:Radek Krej\u010da} How odd -- when i run that through json_decode, it works fine:

Re: [PHP] json_decode mistery

2013-05-25 Thread tamouse mailing lists
On Sat, May 25, 2013 at 3:21 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Sat, May 25, 2013 at 3:14 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Fri, May 24, 2013 at 2:06 AM, Radek Krejča radek.kre...@starnet.cz wrote:

[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] .htaccess and user file/folder access outside public_html

2013-05-25 Thread Camilo Sperberg
On May 25, 2013, at 13:38, Rafnews raf.n...@gmail.com wrote: 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

Re: [PHP] json_decode mistery

2013-05-25 Thread Matijn Woudt
On Fri, May 24, 2013 at 9:06 AM, Radek Krejča radek.kre...@starnet.czwrote: Hello, I am usin json regulary, but in one script I have mistery: echo($decrypted_data).\n\n; var_dump(json_decode($decrypted_data, true)); echo \n;

[PHP] Can javascript or php help with this

2013-05-25 Thread dealTek
Hi all, I have a php form that has a pull down select for MONTH and one for YEAR - usually when the form is submitted you would combine them at the other end like 0517 (like credit card exp date) - but in this case I need to combine them prior to submitting the form... I don't know javascript

[PHP] Re: Can javascript or php help with this

2013-05-25 Thread Jim Giner
On 5/25/2013 4:33 PM, dealTek wrote: Hi all, I have a php form that has a pull down select for MONTH and one for YEAR - usually when the form is submitted you would combine them at the other end like 0517 (like credit card exp date) - but in this case I need to combine them prior to

[PHP] Re: Can javascript or php help with this

2013-05-25 Thread Jim Giner
On 5/25/2013 4:33 PM, dealTek wrote: Hi all, I have a php form that has a pull down select for MONTH and one for YEAR - usually when the form is submitted you would combine them at the other end like 0517 (like credit card exp date) - but in this case I need to combine them prior to

Re: [PHP] Re: Can javascript or php help with this

2013-05-25 Thread dealTek
On May 25, 2013, at 4:30 PM, Jim Giner jim.gi...@albanyhandball.com wrote: So - create another field on your form. Add an onclick event to your submit button. Have it run a js function that takes the two fields and places them into the new field. function combineFields() { var mm