Re: [PHP] POPUP window in PHP

2006-10-09 Thread Richard Lynch
On Mon, October 9, 2006 6:22 am, Captain wrote: > hi dude, > actually, i am new to php. i am not understanding clearly. plz explain > it > clearly. You can't do what you want. More importantly, you should not even WANT to do what you want! There are several reasons for this, and they are rather

Re: [PHP] POPUP window in PHP

2006-10-09 Thread Max Belushkin
Captain wrote: My requirement is, i want to upload one file. i am checking whether it exists or not in Server side. Your script will have to work in stages, generating a page and sending to the browser on each stage: 1. Make a form to upload a file for the user to submit - this is just ordina

Re: [PHP] POPUP window in PHP

2006-10-09 Thread Captain
hi dude, actually, i am new to php. i am not understanding clearly. plz explain it clearly. My requirement is, i want to upload one file. i am checking whether it exists or not in Server side. If it exists, i am popping up a window that "Do u want to have Duplication of this file?".If YES, i sud

Re: [PHP] POPUP window in PHP

2006-10-09 Thread Max Belushkin
Captain wrote: hi, i want to do YES/NO confirmation (like POPUP). If YES, it will upload a file PHP is server-side, not client-side. You can have the confirmation passed as a GET variable in a two-step process for example, i.e. first show a confirmation form if $_GET["confirm"] is not set, el

[PHP] POPUP window in PHP

2006-10-09 Thread Captain
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)) {