php-general Digest 21 Jun 2013 12:25:47 -0000 Issue 8272

Topics (messages 321440 through 321443):

Re: A Strange Problem
        321440 by: Tedd Sperling
        321442 by: tamouse mailing lists

Re: [PHP-DEV] PHP 5.5.0 final has been released!
        321441 by: Marco Pivetta
        321443 by: Ravi Gehlot

Administrivia:

To subscribe to the digest, e-mail:
        [email protected]

To unsubscribe from the digest, e-mail:
        [email protected]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
On Jun 20, 2013, at 7:12 PM, Stuart Dallas <[email protected]> wrote:
> Whatever the reason for this, I'd recommend you always specify a path 
> relative to the current script.
> 
> In PHP 5.3+:
> 
> $fcontents = file(__DIR__.'/docs/admin-email.txt');
> 
> Prior to 5.3:
> 
> $fcontents = file(dirname(__FILE__).'/docs/admin-email.txt');
> 
> -Stuart

-Stuart:

Thats' an excellent idea -- I will do that.

I just don't know why after so many years this problem came up -- I never 
experienced it before -- AND when I am really up against it.

Maybe someone smarter than me (open to many) will explain why it happened.

Cheers,

tedd

_____________________
[email protected]
http://sperling.com

--- End Message ---
--- Begin Message ---
On Jun 20, 2013 7:20 PM, "Tedd Sperling" <[email protected]> wrote:
>
> On Jun 20, 2013, at 7:12 PM, Stuart Dallas <[email protected]> wrote:
> > Whatever the reason for this, I'd recommend you always specify a path
relative to the current script.
> >
> > In PHP 5.3+:
> >
> > $fcontents = file(__DIR__.'/docs/admin-email.txt');
> >
> > Prior to 5.3:
> >
> > $fcontents = file(dirname(__FILE__).'/docs/admin-email.txt');
> >
> > -Stuart
>
> -Stuart:
>
> Thats' an excellent idea -- I will do that.
>
> I just don't know why after so many years this problem came up -- I never
experienced it before -- AND when I am really up against it.
>
> Maybe someone smarter than me (open to many) will explain why it happened.
>
> Cheers,
>
> tedd
>
> _____________________
> [email protected]
> http://sperling.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

This was aeons ago, but i recall reading somewhere that could not
necessarily trust what directory one's script was executing in so always
spec abs paths. I've been more lax on that lately, but such things appear
from time-to-time.

--- End Message ---
--- Begin Message ---
Well done! Congratulations!
On 20 Jun 2013 23:23, "Julien Pauli" <[email protected]> wrote:

> Hello!
>
> The PHP Development Team would like to announce the immediate release of
> PHP 5.5.0. This release includes a large number of new features and bug
> fixes.
>
> A separate release announcement is also available. For changes in PHP
> 5.5.0 since PHP 5.4, please consult the PHP 5 ChangeLog.
>
> Release Announcement: http://www.php.net/release_5_5_0.php
> Downloads:            http://www.php.net/downloads.php#v5.5
> Changelog:            http://www.php.net/ChangeLog-5.php#5.5.0
>
> Thanks to all contributors that made this new version available.
>
> regards,
>
> David Soria Parra & Julien Pauli
>

--- End Message ---
--- Begin Message ---
Awesome!


On Thu, Jun 20, 2013 at 11:14 PM, Marco Pivetta <[email protected]> wrote:

> Well done! Congratulations!
> On 20 Jun 2013 23:23, "Julien Pauli" <[email protected]> wrote:
>
> > Hello!
> >
> > The PHP Development Team would like to announce the immediate release of
> > PHP 5.5.0. This release includes a large number of new features and bug
> > fixes.
> >
> > A separate release announcement is also available. For changes in PHP
> > 5.5.0 since PHP 5.4, please consult the PHP 5 ChangeLog.
> >
> > Release Announcement: http://www.php.net/release_5_5_0.php
> > Downloads:            http://www.php.net/downloads.php#v5.5
> > Changelog:            http://www.php.net/ChangeLog-5.php#5.5.0
> >
> > Thanks to all contributors that made this new version available.
> >
> > regards,
> >
> > David Soria Parra & Julien Pauli
> >
>

--- End Message ---

Reply via email to