php-windows Digest 24 Jul 2001 14:29:50 -0000 Issue 666 Topics (messages 8469 through 8472): Re: Import filters 8469 by: alain samoun 8471 by: Ziggi Re: timer function ? 8470 by: elias duplicate entries 8472 by: Pete K. Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
http://www.phpbuilder.com/columns/alain20001003.php3 For Excel: http://phpclasses.upperdesign.com/browse.html?package=86 -----Original Message----- From: Ziggi [mailto:[EMAIL PROTECTED]] Sent: Monday, July 23, 2001 3:11 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Import filters Hello ! I just want to know is are ther any import filters interfacing between PHP and Word / Excel files, so that the content of these documents could be outputed to HTML ? I mean my customer wants to write new text in Word and he wants this text to be presented on their webpage. The text can be saved as .doc or .rtf. Thus PHP could access this file "suck" the text out of it and put it into HTML but how to ??? Thanks for hints, Ziggi -- PHP Windows 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]
Thank you all for your input but it seems there is no satisfactory solution. I would rather ask the guy to "save as html" rather than fighting with COM. On the other hand - it's a bit rediculus to see the most popular text editor on the world neglected by the PHP community. I hope some clever programmer will see the opportunity soon and do the job... Sincerely, Ziggi
void sleep (int seconds) The sleep function delays program execution for the given number of seconds. //elias "Pim Van Yperen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hello all, > > I'm looking for a timer-function that can make my PHP function wait for some > time. Does such a function excist? > > thanks in advance, Pim >
Maybe someone can help. this script catches all duplicate entries, in the hostname field of my database. The problem is, if the hostname field is left blank, [not all devices have a DNS name], the script sees the blank field, and thinks it's a duplicate. How can I reword it, so it prevents typed hostnames [like it does now] but allows blank hostnames. Thanks in advance! Pete /*Chck for another item with the same hostname */ $result = mysql_query ("SELECT * FROM asset WHERE hostname ='$hostname' "); // check if row is returned, if yes error, if no insert if (mysql_num_rows($result) != 0) { echo "I'm sorry, I can't do that. A duplicate hostname was found."; } else { // DO INSERT -- _______________________________________ Pete Kuczynski Sr. Field Engineer DHL Airways Inc. Infrastructure Technology & Services (773)-462-9758 24/7 Helpdesk 1-800-434-5767 __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/