Re: Schedule tasks from server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 4, 2008 11:05 AM, Richard Heyes <richardh@xxxxxxxxxxx> wrote:
> >>  > your code should be portable
> >>
> >> Except in reality, it probably isn't. Off the top of my head, think file
> >> paths.
> >
> >     Which is why I mentioned the exec() family.  Otherwise, relative
> > paths for includes will work regardless of the slash style (*nix / vs
> > Windows \) preferred by the OS.  Or is my as-still non-caffeinated
> > brain missing something obvious here this morning?
>
> Well exec() et-al aren't the only thing that use paths. You might have
> an include/require that begins with "C:\" for example.

    Which, in itself, is bad construct and makes it non-portable even
on fellow Windows machines.

-- 
</Dan>

Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux