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

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 javascri

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 uns

[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

[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 t

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. > function endWindow() { window.opener.location.reload(); window.close(); } Close Window M: -- PHP Ge

[PHP] Popup Window Problems & Refresh

2001-10-31 Thread Roger Bryant
All, I am opening a popup window using the following code: My popup window then runs some PHP code and finally displays a status message with a close window button. When the close window button is clicked I need to close the popup window and refresh the parent window or alternatively (prefera

Re: [PHP] popup window under php

2001-10-04 Thread Naintara Jain
t; Cc: [EMAIL PROTECTED] > > Subject: [PHP] something like alert (javascript) > > > > > > Is there any function in PHP that is similar to alert() or confirm() of > > javascript ? I tried die() but that's not what I need. > > > -- > PHP General Mailing

[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 Ge

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 ta

[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 t