RE: [PHP] Print current page with no printer dialog box - How ?

2001-09-18 Thread hue micheal

Thanks everyone for ideas and suggestions.

In short, it is no easy way, but there are work arounds by using scripting, 
CSS etc, but it may not be portable.

I guess people can always use the browser's print button, but this has some 
limitation on pages that use frames etc.

Regards,
Huem


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Print current page with no printer dialog box - How ?

2001-09-17 Thread hue micheal

Do you know how to create a button to print current page without
bringing up the printer dialog box?  I just print to the default printer.

And also how do I insert a page break ?

Thanks.
Huem


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] tinyweb and PHP4

2001-09-04 Thread hue micheal

I have my reason, and yes you are absolutely right, one reason tinyweb is 
small and does what I need and does it well, and this setup is for a small 2 
pc internal network.  Anyway, it works fine with perl and java stuff etc.

I have tried to set the required tinyweb env and associate .php with php.exe 
to no avail.  The PHP script work fine at DOS prompt but failed when executed 
as cgi.

I will use perl instead, it's abit more messy dont you think ;)

If I really like PHP that much I will install apache or alike.  But as you 
said in theory php should work with tinyweb, I'd like it to work.

Thanks,
Hue

= Original Message From _lallous [EMAIL PROTECTED] =
Hmmisn't tinyweb the program that is written by same makers of The Bat
(email client) ?

Rasmus, I assume that Hue is trying to find the smallest web server that
doesn't need installation process and stuff so maybe he can distribute his
scripts on a CD!

And that is just a nice idea that he gave me now :)

Rasmus Lerdorf [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Since TinyWeb support CGI execution and provides a semi-standard set of
 cgi environment variables the CGI version of PHP should work just fine
 with it.  You probably just need to associate .php with the php.exe
 executable and stick your PHP scripts in the /cgi-bin directory.  It also
 supports ISAPI, but the chances of the PHP ISAPI module working with it
 are probably slim.

 Why you would want to run a web server written in Delphi is beyond me
 though...

 -Rasmus

 On Tue, 4 Sep 2001, hue micheal wrote:

  Has anyone tried this combination ?  Does it work ?
 
  REgards
  Huem
 
 
 




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]