POPUP window in PHP
| From: | Captain | Date: | Mon, 09 Oct 2006 09:48:32 +0000 |
| Subject: | POPUP window in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-242835@lists.php.net to get a copy of this message | ||
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.