php-general Digest 17 Sep 2006 13:24:46 -0000 Issue 4352

2006-09-17 Thread php-general-digest-help
php-general Digest 17 Sep 2006 13:24:46 - Issue 4352 Topics (messages 241867 through 241870): Re: getting base domain and sub domains from url? 241867 by: Google Kreme 241868 by: tedd Re: how to get page count when uploading files 241869 by: Jian Fu Re:

php-general Digest 18 Sep 2006 03:38:26 -0000 Issue 4353

2006-09-17 Thread php-general-digest-help
php-general Digest 18 Sep 2006 03:38:26 - Issue 4353 Topics (messages 241871 through 241875): Re: loadHTML/loadHTMLFile - DOM functions 241871 by: Rob 241872 by: Leonidas Safran 241874 by: Rob DOMDocument-saveXML() 241873 by: Chris Boget Links Request From

[PHP] Re: loadHTML/loadHTMLFile - DOM functions

2006-09-17 Thread Leonidas Safran
Hello Rob, Thank you for your advices... :-) Is there a meta tag that specifies the encoding? When loading HTML that is also used to determine the encoding. I think I need to clarify the encoding issue: I'll bet when the document is loading, the encoding is being properly detected. When

[PHP] Re: loadHTML/loadHTMLFile - DOM functions

2006-09-17 Thread Rob
Leonidas Safran wrote: I tried following: I downloaded the ominous html page, coded it as UTF-8 (with text-editor option) and added a metag-tag declaring utf-8 encoding: meta http-equiv = 'content-type' content = 'text/html; charset=UTF-8' I checked that the special characters were written

[PHP] Re: loadHTML/loadHTMLFile - DOM functions

2006-09-17 Thread Leonidas Safran
Hello Rob, Do you have your code somewhere? Yes, I paste it below. There are two files, one for HTML output (which I make invisible with style declaration display:none; and the second file is a javascript function which is supposed to output the content... Another thing I realized that I

[PHP] DOMDocument-saveXML()

2006-09-17 Thread Chris Boget
I looked all through the documentation but was unable to find out if this was possible and, if so, how. When you call -saveXML(), it prints out the XML declaration ?xml version=1.0? alont with the structure of the document. Is there any way to suppress that? I'm trying to print out extra

[PHP] Re: loadHTML/loadHTMLFile - DOM functions

2006-09-17 Thread Rob
Leonidas Safran wrote: Hello Rob, Do you have your code somewhere? Yes, I paste it below. There are two files, one for HTML output (which I make invisible with style declaration display:none; and the second file is a javascript function which is supposed to output the content... Try this

[PHP] Links Request From [EMAIL PROTECTED]

2006-09-17 Thread Avenger
Dear Webmaster: PhpMore is a chinese PHP community focus on professional php programers in China. phpmore.com , the club of phpmore , is a digg-like site where programers share their expericence. phpmore also hold a chinese PHP e-mag named PHPMORE from year 2004 , it published totally 6 vols

Re: [PHP] how to get page count when uploading files

2006-09-17 Thread Chris
Jian Fu wrote: Oh, btw, I use PHP ftp function to upload the file, but there is no information in $_FILES to tell me the total page for Word or PDF file. As Stefan said, there is no way for php to know that number - no matter whether you upload it through a form or through ftp. If you want to