heler <[EMAIL PROTECTED]> on 10/24/2001 10:31:30 PM
Internet mail from:
To: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Can PHP do what this javascript does...
There's a really long method of doing it that would work, but would
involve server-side browser detection
There's a really long method of doing it that would work, but would
involve server-side browser detection, and a database containing a list
of browsers that support print shortcuts.
Stick with the JS.
Mike
[EMAIL PROTECTED] wrote:
>To print:
>Click here or Select File
>and then Print from y
Javascript can be embedded in PHP files anyway. I do a lot of database
management interfaces in PHP and one thing I want to do is protect items
from being accidentally deleted. I use Javascript to verify that they
intended to click on the link to delete the information.
Remember, PHP files are
Unfortunately, since PHP lives on the server and JavaScript lives on the
browser, there really is no way to get PHP to do what you want.
Stick with JavaScript. There's really no reason not to when you're doing
client-side programming.
At 11:14 AM 10/24/2001, [EMAIL PROTECTED] wrote:
>To prin
On Wed, 24 Oct 2001 [EMAIL PROTECTED] wrote:
> To print:
> Click here or Select File
> and then Print from your browser's menu.
>
> Is there an equivelant bit of code to do this printer shortcut with
> php?
PHP - _server_ side
Javascript - _client_ side
PHP cannot affect your client like Javas
5 matches
Mail list logo