php-general Digest 7 Jan 2008 00:31:40 -0000 Issue 5220

2008-01-06 Thread php-general-digest-help
php-general Digest 7 Jan 2008 00:31:40 - Issue 5220 Topics (messages 266823 through 266827): Re: How to secure Flash Video? [Solved?] 266823 by: Miles Thompson Re: client time zone? 266824 by: Ólafur Waage 266827 by: jekillen Re: First stupid post of the year.

Re: [PHP] client time zone?

2008-01-06 Thread Per Jessen
jekillen wrote: Hello; I am running a server that is using UTC and I want to be able to convert to clients local time in some display presentations. Is this indicated by $_SERVER[REQUEST_TIME]? Is there such a value at all? If not, is there a way to get the requesting host's time zone

Re: [PHP] How to secure Flash Video? [Solved?]

2008-01-06 Thread Miles Thompson
Tedd, As Casey noted, there's no totally secure methodolgy, but your's is close enough - everything is wrapped in the Flash movie, so even if the movie is sent on to someone else, that someone has to be approved. We've been doing something similar for several years now, validating against a

Re: [PHP] client time zone?

2008-01-06 Thread Ólafur Waage
To get the clients time offset you'll need to use javascript and date.getTimezoneOffset() But this idea has a problem. It is that you can never trust that the clients time is actually correct. You can get the closest to it by using the server time and offsetting that with the javascript offset

Re: [PHP] First stupid post of the year. [SOLVED]

2008-01-06 Thread tedd
At 11:04 PM +0100 1/5/08, Nisse Engström wrote: The page encoding is determined by the HTTP `Content-Type:´ header. Period. A meta element may provide hints to a browser if the HTTP header is missing (eg. when saving a page to disc). In the presence of a `Content-Type:´ header, the meta

[PHP] Re: DOMDocument-getElementById() isn't working

2008-01-06 Thread Colin Guthrie
Christoph Boget wrote: Getting the elements by tag name, while iterating through the list I see that one of the nodes has an id of 'custom'. However, when I try to get the element directly using getElementById(), it doesn't return the node properly. Am I doing something wrong? A common

Re: [PHP] client time zone?

2008-01-06 Thread jekillen
On Jan 6, 2008, at 8:04 AM, Ólafur Waage wrote: To get the clients time offset you'll need to use javascript and date.getTimezoneOffset() But this idea has a problem. It is that you can never trust that the clients time is actually correct. You can get the closest to it by using the server

[PHP] Re: website tree

2008-01-06 Thread Breno
Alain Roger escreveu: Hi, let's imaging we have the following thing : www.mywebsite.com/company/index.php www.mywebsite.com/company/profile.php www.mywebsite.com/services/index.php how can i detect in which address am i ? for example how to retrieve www.mywebsite.com/services or

[PHP] Re: login and read ad email

2008-01-06 Thread Manuel Lemos
Hello, on 01/05/2008 07:06 PM Yui Hiroaki said the following: HI! I try to login and read ad email in server. Does any one know how to do this? Below does not run correctly. Regards, Yui p.s I try to see pop3 email. I can not find the example! As I mentioned before POP3 is more