Re: opening a new page from php
| From: | Aziz Saleh | Date: | Thu, 06 Aug 2020 15:07:11 +0000 |
| Subject: | Re: opening a new page from php | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-327255@lists.php.net to get a copy of this message | ||
PHP can not open a new window on its own. You have couple of other options:
- use <form ... target="_blank" ...> HTML tag to force the post to occur on
a new window
- use javascript to open a window based on specific width/height
specifications (if that is what you need)
On Thu, Aug 6, 2020 at 3:51 AM Narcis Garcia via php-general <
php-general@lists.php.net> wrote:
> I suppose that "submit" button must be pressed to POST data passes to
> 'action' page.
> The only ways I know to this form button is pressed are:
> a) User (visitor) presses button
> b) A Javascript command presses button
>
>
> Narcis Garcia
>
> __________
> I'm using this dedicated address because personal addresses aren't
> masked enough at this mail public archive. Public archive administrator
> should fix this against automated addresses collectors.
> El 6/8/20 a les 9:03, Fernando Fiore ha escrit:
> > how do i open a new page from php with POST arguments?
> > thanks in advance;
>