POPUP window in PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,
i want to do YES/NO confirmation (like POPUP). If YES, it will upload a file
into server. Otherwise, it won't do anything.
In JavaScript, i can get using confirm(); But i am not able to do
manipulation from that javascript variable.

My Code(partial):

?>
if (file_exists($fullPath)) {
        echo "";
       $decide="?>?>php";

# It is Printing either 0 or 1. But I can't able to manipulate further. For
eg, i can't do like the following,       

       if ($decide) {
           // Upload
       } else {
           // Don't Upload
       }
}

Please help me reg this..Please provide some solution for this..Thanks in
advance.

---Prabhakaran
-- 
View this message in context: http://www.nabble.com/POPUP-window-in-PHP-tf2408946.html#a6714594
Sent from the PHP - General mailing list archive at Nabble.com.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux