Re: [PHP] Re: str_ireplace problems. [Solved]

2005-11-01 Thread Daniel Spain
AIL PROTECTED]> wrote: > Daniel Spain wrote: > > //Remove the drive letter and replace it with a single slash > > $step1 = str_ireplace("T:\\", "\\", $_POST['path']); > > I would use: > $step1 = ereg_replace(trim("^[:alpha:]"),""

[PHP] str_ireplace problems.

2005-11-01 Thread Daniel Spain
Greetings! I'm writing a quick and dirty tool which converts directory paths into internet friendly paths.. So converting this: C:\PHP to this: file:\\server01\share\PHP Everything else works, except this line of code.. Is there some problem I'm overlooking? My PHP skills are limited to database

Re: [PHP] World time convertor

2004-09-30 Thread Daniel Spain
ut i have some diffilcuties. > > For example, in USA I have different time. > > > > - Original Message - > From: "Daniel Spain" <[EMAIL PROTECTED]> > To: "PHP General" <[EMAIL PROTECTED]> > Sent: Thursday, September 30, 2004 2:08

Re: [PHP] World time convertor

2004-09-30 Thread Daniel Spain
I'm assuimg you mean you have a time in GMT such as 1:00am and want to convert it to GMT+10 where it would be 11AM? On Thu, 30 Sep 2004 12:19:43 +0300, Phpu <[EMAIL PROTECTED]> wrote: > Howdy > > Is there a time convertor written in php? > I mean to convert a specific hour/date in all world count