Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

messagebox

Status
Not open for further replies.

I2007

Programmer
Dec 13, 2004
506
NO
Is it possible in php to make an messagebox appear with yes/no like in vbscript???

i2007
 
The long answer is "No, at least not directly."

JavaScript runs on the browser, so it can provide that functionality. A version of VBScript can run on either the server or the browser (assuming IIS and IE), so browser-based VBScript can open message boxes.

PHP, however, runs exclusively on the server. You can write a PHP script which outputs the necessary JavaScript or VBScript to open a message box. But it cannot do so directly.

My short answer is, "See Foamcow's post above."

Want the best answers? Ask the best questions!

TANSTAAFL!!
 
OK, I tried surching for it @ google but I couldn't find anything relevant or directly. I can use vbscript and msgbox function, but how do I parse the information about what I chose. Do I have to perform an "hidden" post/action and request the answer with $_REQUEST???

i2007
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top