Re: [PHP] Printing function in PHP?

2002-05-01 Thread Simonk
Or a command which send document to the browser's print? "Nick Wilson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > * and then Simonk declared > > I

[PHP] Printing function in PHP?

2002-05-01 Thread Simonk
Is there any printing function in the PHP? Im currently making a project and required me to print out a page at somepoint but I probably cant use the Browser's print function but only a button in the page said "Print".-_- In pascal, I can use something like "notepad.exe -p /test.dat" to prin

Re: [PHP] Auto refresh when data changed in Mysql

2002-04-28 Thread Simonk
ot;Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); > // always modified > header ("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 > header ("Pragma: no-cache"); > > >

[PHP] Auto refresh when data changed in Mysql

2002-04-28 Thread Simonk
I have made a php + mysql site and hosting in my own IIS server, but in my school network, The page didnt change when i changed the data in mysql server. I think is the cache problem, but i cant fix it even i tick the "Update the page everytime when page load" in IE. There is no such problem in an

[PHP] Php Config " OCX missing " in IIS Win2k

2002-04-14 Thread Simonk
When I install php after installing the IIS under win2k The setup said " Due to missing OCX control , the automatic configuration can not be done. " ...-_- how can I fix this problem? I dont have this problem before, but after formatting my hard drive and reinstall win2k this appear. p

[PHP] Php Config " OCX missing " in IIS Win2k

2002-04-14 Thread Simonk
his appear. plz help! (Dont tell me to config myself, I tried so many time and spend too many hrs...but failed!) __ ¦èªù³½ SeeMon Simonk ICQ#: 25943733 Current ICQ status: + More ways to contact me i See mor

[PHP] Php + Mysql Hosting problem

2002-04-10 Thread Simonk
current setting is mysql_connect ("localhost", "Administrator"); thank you! and which free hosting is recommanded for php + mysql? I can only found this spaceports free! Thank you very much! __ ¦èªù³½ SeeMon S

[PHP] Can I use php to " Print " a document?

2002-04-05 Thread Simonk
Is there any functions or command that I can print out a page or a document without using the browsers' print? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help with " Function " parameter

2002-04-04 Thread Simonk
I have programed a function for counting Date: function Datereturn() { $monthorder = Array ( 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); $day = Date("j"); $monthday = Date("t"); $month = Date("n"); $year = Date("Y"); $current = 42 - ($monthday - $day); if ($current > $mo

[PHP] Help with " Function " parameter

2002-04-04 Thread Simonk
I have programed a function for counting Date: function Datereturn() { $monthorder = Array ( 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); $day = Date("j"); $monthday = Date("t"); $month = Date("n"); $year = Date("Y"); $current = 42 - ($monthday - $day); if ($current > $mo