[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)) {

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,

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: 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

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

[PHP] popup window from php page

2006-06-08 Thread William Stokes
Hello, How do I open a popup window from php code when a web page is loaded? Does it require javascript usage? Thanks -Will -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] popup window from php page

2006-06-08 Thread Rabin Vincent
On 6/8/06, William Stokes [EMAIL PROTECTED] wrote: How do I open a popup window from php code when a web page is loaded? Does it require javascript usage? Yes, this needs to be done with Javascript. Google will help you on this. Rabin -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] popup window from php page

2006-06-08 Thread Andrei
What PHP does is it outputs HTML code as result. Any other functionality regarding browser commands (such as opening popups) are done using javascript. Andy William Stokes wrote: Hello, How do I open a popup window from php code when a web page is loaded? Does it require

[PHP] Popup window from form on php page

2002-05-24 Thread David Bourne
Hello I noticed a recent thread regarding popup windows from a php page. The solution appears to work using JavaScript for client side action. This worked OK, except I want to open a new window and display data from the previous page. I'm using php 4.1.2. What I want is Page1.php containing

[PHP] Popup Window Problems Refresh

2001-10-31 Thread Roger Bryant
All, I am opening a popup window using the following code: a href= onClick=window.open('/gallery/upload_form.php3', 'triviaWnd', 'height=360,width=620,status=1,resizable=1,top=200,left=120'); return false; img src=gallery/images/bt_upload.gif width=60 height=17 border=0 alt=Use upload to copy

RE: [PHP] Popup Window Problems Refresh

2001-10-31 Thread Matt Williams
The action for the form is only fired if the onClick=window.close() is removed. My question is how can I close the window and refresh or reload the specified window. script language=javascript function endWindow() { window.opener.location.reload(); window.close(); } /script

[PHP] popup window under php

2001-10-04 Thread Tim Sawyer
I want to open a popup window under php control. So lets say I have an if statement which if true opens the window. if ($something) { JavaScript:window.open(test.php,blah...); } Guess I'm saying that I want to call a Javascript function without the user clicking on anything. -- PHP

Re: [PHP] popup window under php

2001-10-04 Thread Naintara Jain
] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] - Original Message - From: Tim Sawyer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 05, 2001 12:46 AM Subject: [PHP] popup window under php I want to open

[PHP] popup window

2001-04-11 Thread Dan Harrington
Hello, Does anyone have ideas about this kind of scenario? 1) Load a php page, based on whether a user is currently authenticated either: a) if not authenticated: pop up a new browser window or b) if already authenticated, proceed 2) Based on the login id of

Re: [PHP] popup window

2001-04-11 Thread Plutarck
I know how to do popups with Javascript, but what I want is to use purely PHP. Is there a way to spawn a browser window from a server-side action? I'm afraid you'll have you use Javascript. The only way to make a new window is to use window.open, or to have someone click a link with the