473,405 Members | 2,287 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Message box

I want to do something like bringing up a message box in Java where after
clicking OK the box disappears and processing continues.

How do I do this in PHP?

I want the processing after the message box to be conditional upon what was
used to bring up the particular message box. (I have been handling
something like this so far by having inline messages and reposting the
page.)

Shelly
Dec 31 '05 #1
3 2830

"Shelly" <sh************@asap-consult.com> wrote in message
news:so******************************@comcast.com. ..
I want to do something like bringing up a message box in Java where after
clicking OK the box disappears and processing continues.

How do I do this in PHP?

I want the processing after the message box to be conditional upon what
was used to bring up the particular message box. (I have been handling
something like this so far by having inline messages and reposting the
page.)

Shelly


A thought occurred to me on how to solve this right after I posted.

I will have a header to a page which is the message box with a target of
"_blank". In the original page it will not be followed by exit() but will
have another header to either repost or go somewhere else. That one will
have an exit() after it. This might work, but how can I then lock the
original page until the message one disappears?

I will try this.

Shelly
Dec 31 '05 #2
Shelly wrote:
I want to do something like bringing up a message box in Java where after
clicking OK the box disappears and processing continues.

How do I do this in PHP?

I want the processing after the message box to be conditional upon what was
used to bring up the particular message box. (I have been handling
something like this so far by having inline messages and reposting the
page.)

Shelly


Hmm.. What do you mean by bringing up a message box? If I understand
correctly, you are talking about Java applets, but those run on the
client side so, the system takes care of message processing. PHP script
runs on the server side, there is no way to bring up a message box on
the client machine from within PHP script.

If you want to do something, then ask something of user, and proceed
depending on what the response was, one way to do that would be to have
a script:

1. do something
2. check if response ready
2.1 if ready, goto wherever based on response
2.2 if not, proceed
3. send a page back that contains a form and a javascript that pops up a
message box
4. when the user answers, javascript populates the form with the
response and submits form
5. back to 1.

It's like a login page :)
2. check if login submitted
2.1 if login ok, redirect somewhere
2.2 otherwise, proceed
3. output login form
luph
Dec 31 '05 #3
You can probably do this with Javascript. Your problem is not described
specific enough for me to say how to solve it in Javascript exactly,
but I think it is possible.

Dec 31 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Hugh Welford | last post by:
Hi Using WIN XP and FP2000 Using CDO.message to out put a message from my site, I get the following error message 8004020f from using the code:- strsql = "SELECT * FROM details WHERE patid...
8
by: Brian Keating EI9FXB | last post by:
Would I be correct in saying that the only way to get a user message into a Windows form would be to use P/Invoke with Message? Of is there some part of the .NET API that I am totally un aware...
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
2
by: Microsoft News | last post by:
What I have is a message box that pops up. It is another browser window. The code is a general function that you pass message, title and a key to. The box works great except, that if you are on a...
0
by: ronscottlangham | last post by:
I am working on a custom WCF EndpoingBehavior that will modify the messages coming in and out of my Service. I am having an error related to the modification of the message in the...
2
by: =?Utf-8?B?QWRl?= | last post by:
HI All, I am encountering the following error when I try to send an email through a SMTP server. I believe the problem lies with the authentication part when the network crednetials are used,...
3
by: Steven Allport | last post by:
I am working on processing eml email message using the email module (python 2.5), on files exported from an Outlook PST file, to extract the composite parts of the email. In most instances this...
0
by: Philluminati | last post by:
I have a Perl SOAP Server which returns this SOAP Message when invoked: <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance"...
2
by: bernd | last post by:
Hi netties, posted this in a different group already, which seems to be inappropriate. I create a message queue with msgget(), sent a 5-byte message to it with msgsnd() and try to receive the...
2
by: forums_mp | last post by:
Facing a design problem here and I'm not sure how to solve this. The system consists of bi-directional communication between a subject communicating with two (at least for now ) listeners. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.