Re: [PHP] onchange read file, php & JS

2002-05-28 Thread 1LT John W. Holmes
You have to put the variable into a hidden form element or tack it onto a URL in order to pass it to the PHP page. ---John Holmes... - Original Message - From: "Mihaela Dupret" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 28, 2002 6:51 AM Subjec

[PHP] onchange read file, php & JS

2002-05-28 Thread Mihaela Dupret
Hy, Is it possible to use a javascript variable into php or to change it into php variable? I have a list with the files from a directory, this works fine. For the event onchange I want to show the content of the file chosen. So, in the code, the variable "inputf" has the file name that I want