Professional Web Applications Themes

Message Popup in PHP - PHP Development

is there a function in PHP to get a message popup on the web page? Couldn't find any (or missed it) in the docs; so I am now putting "echo <script> alert(whatever)</script>" whic feels really strange... there go to be a better solution... Thx Felix...

  1. #1

    Default Message Popup in PHP

    is there a function in PHP to get a message popup on the web page? Couldn't
    find any (or missed it) in the docs; so I am now putting "echo <script>
    alert(whatever)</script>" whic feels really strange... there go to be a
    better solution...

    Thx
    Felix


    Felix Guest

  2. #2

    Default Re: Message Popup in PHP

    On Sat, 10 Jan 2004 00:10:39 +0000, Felix Rabinovich wrote:
     


    No.. PHP is server side what you're after is client side.. so JS (or
    some other client scripting) like you have is your only method =)



    Regards,

    Ian

    --
    Ian.H [Design & Development]
    digiServ Network - Web solutions
    www.digiserv.net | irc.digiserv.net | forum.digiserv.net
    Programming, Web design, development & hosting.

    Ian.H Guest

  3. #3

    Default Re: Message Popup in PHP

    Felix Rabinovich wrote: 

    The better solution is not to use pop-ups. Good web browsers do not
    allow JavaScript to open windows indirectly (i.e. without the user
    specifically clicking a JS link), so a lot of users will never see your
    lovingly crafted pop-up messages.

    Unless you're talking about warning dialogues, in which case, yeah -
    you'll have to just echo JS to the page.
    --
    Bob
    London, UK
    echo Mail fefsensmrrjyaheeoceoq\! | tr "jefroq\!" "obe.uk"
    Robert Guest

Similar Threads

  1. Error Message Popup
    By FarmOp68 in forum Macromedia Flash Player
    Replies: 2
    Last Post: July 3rd, 06:47 PM
  2. Popup Message
    By CCBrown in forum Macromedia Dynamic HTML
    Replies: 1
    Last Post: September 6th, 09:56 AM
  3. Creating popup message boxes
    By vsimmons webforumsuser@macromedia.com in forum Adobe Flash, Flex & Director
    Replies: 2
    Last Post: August 31st, 01:50 PM
  4. Error message when adding popup
    By ugess webforumsuser@macromedia.com in forum Macromedia Dreamweaver
    Replies: 0
    Last Post: July 15th, 09:44 PM
  5. How to popup confirm message box in asp.net
    By Padam Jain in forum ASP
    Replies: 4
    Last Post: July 14th, 10:45 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139