FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Php Modal
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Php Modal [message #173022] Thu, 17 March 2011 23:12 Go to next message
paddy_nyr is currently offline  paddy_nyr
Messages: 1
Registered: March 2011
Karma: 0
Junior Member
Is it possible to create a modal Php page with Javascipt?

I tried window.open() with the modal=yes and window.showModalDialog, but
page comes up empty?

Thanks
Re: Php Modal [message #173023 is a reply to message #173022] Thu, 17 March 2011 23:56 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 3/17/2011 7:12 PM, paddy_nyr wrote:
> Is it possible to create a modal Php page with Javascipt?
>
> I tried window.open() with the modal=yes and window.showModalDialog, but
> page comes up empty?
>
> Thanks
>
>
>

PHP knows nothing about what happens at the browser; all it does is
generate output. The browser knows nothing about where the source comes
from; it just requests bytes from the server.

If you're having a client side problem, it's not PHP.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: Php Modal [message #173033 is a reply to message #173022] Fri, 18 March 2011 12:02 Go to previous message
alvaro.NOSPAMTHANX is currently offline  alvaro.NOSPAMTHANX
Messages: 277
Registered: September 2010
Karma: 0
Senior Member
El 18/03/2011 0:12, paddy_nyr escribió/wrote:
> Is it possible to create a modal Php page with Javascipt?
>
> I tried window.open() with the modal=yes and window.showModalDialog, but
> page comes up empty?

If this question is actually related to PHP then you are asking to be
hacked. Sending PHP code from the browser to be run at the server is crazy.


--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: FILE_GET_CONTENTS with SSL on XAMPP
Next Topic: use of array_key_exists() to prevent duplicates?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 07:21:27 GMT 2024

Total time taken to generate the page: 0.01787 seconds