Re: Schedule tasks from server
| From: | Daniel Brown | Date: | Mon, 04 Feb 2008 16:06:31 +0000 |
| Subject: | Re: Schedule tasks from server | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268644@lists.php.net to get a copy of this message | ||
On Feb 4, 2008 11:05 AM, Richard Heyes <richardh@phpguru.org> 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); } ?>