Re: [PHP] Re: Detecting devices i.e. PDA, Mobile

2003-10-15 Thread Raditha Dissanayake
As Tom has said you are going back to square one. If you can spend the effort to make XHTML you can just as easily create an XSL Shaun wrote: Justin, Thank you for you replies, I have decided to convert the whole site to XHTML, for compatability. However, I am unable to view the site through my

Re: [PHP] Session lose value with httpS

2003-10-15 Thread Curt Zirzow
* Thus wrote [-^-!-%- ([EMAIL PROTECTED]): > > Hello everyone! > > What would cause a session value to be lost, under HTTPS? what is the output of session_get_cookie_params() on the unsecure site vs. the secure site. > > NOTE: The regular server name is 'mydomain.net', but the secure server

[PHP] Sending htaccess auth information through php

2003-10-15 Thread daniel
Hi there, i was wondering if there was a way to send htaccess auth information through php. My application is loading a parent flash movie which externally loads flash videos within a directory i want to password protect with htaccess. I was wondering how could it be possible to send headers to tha

Re: [PHP] parsing ini files

2003-10-15 Thread John W. Holmes
Andrei Popovici wrote: I have a script which reads his configuration from an ini file. For reading that file I use the parse_ini function. When the ini is written incorectly the php displays a message that he has encountered a parse error in that ini. How can I catch that error and display a messa

[PHP] preg help please :)

2003-10-15 Thread Justin French
Hi, I have the following: \\1", $text ); ?> It basically matches "link text":"url" with the added twist of having the quotes converted to “ or “ by a previous function. It works fine if there is one link found inside a string, but falls over horribly if there's two links inside

[PHP] What's a good regex to validate an email address? ;)

2003-10-15 Thread John W. Holmes
Heh... I was adding a note to the PHP Manual and I thought it was really funny they had to include this note in the "rules": (And if you're posting an example of validating email addresses, please don't bother. Your example is almost certainly wrong for some small subset of cases. See this inf

[PHP] Time Calcuations

2003-10-15 Thread Jake McHenry
Hello again Here's my problem: In my time calculations, I'm taking the time that the user clocked out, minus the time they clocked in. I'm using the time_to_sec function in mysql. I work very odd hours. If I clock in say at 10pm, then clock out at 1am, the clock is majorly messed up. I think i

Re: [PHP] Time Calcuations

2003-10-15 Thread John W. Holmes
Jake McHenry wrote: Here's my problem: In my time calculations, I'm taking the time that the user clocked out, minus the time they clocked in. I'm using the time_to_sec function in mysql. I work very odd hours. If I clock in say at 10pm, then clock out at 1am, the clock is majorly messed up. I thi

Re: [PHP] preg help please :)

2003-10-15 Thread Eugene Lee
On Thu, Oct 16, 2003 at 02:23:45PM +1000, Justin French wrote: : : I have the following: : : \\1", : $text : ); : ?> : : It basically matches "link text":"url" with the added twist of having : the quotes converted to “ or “ by a previous function. : : It works fine if there is one

<    1   2