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 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 = document.getEle

[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 submittin

[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 submittin

[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

Re: [PHP] json_decode mistery

2013-05-25 Thread Matijn Woudt
On Fri, May 24, 2013 at 9:06 AM, Radek Krejča wrote: > 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"; > var_dump(json_decode('{"result_ok":true,"result_message":null,"client_name":"Rad

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 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 file SECUR

[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 administrator

Re: [PHP] json_decode mistery

2013-05-25 Thread tamouse mailing lists
On Sat, May 25, 2013 at 3:21 AM, tamouse mailing lists wrote: > On Sat, May 25, 2013 at 3:14 AM, tamouse mailing lists > wrote: >> On Fri, May 24, 2013 at 2:06 AM, Radek Krejča >> wrote: >>> {"result_ok":true,"result_message":null,"client_name":"Radek Krej\u010da"} >> >> How odd -- when i run t

Re: [PHP] json_decode mistery

2013-05-25 Thread tamouse mailing lists
On Sat, May 25, 2013 at 3:14 AM, tamouse mailing lists wrote: > On Fri, May 24, 2013 at 2:06 AM, Radek Krejča wrote: >> {"result_ok":true,"result_message":null,"client_name":"Radek Krej\u010da"} > > How odd -- when i run that through json_decode, it works fine: Which I now see was what the secon

Re: [PHP] json_decode mistery

2013-05-25 Thread tamouse mailing lists
On Fri, May 24, 2013 at 2:06 AM, Radek Krejča 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: $d\n"