FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » part 2 - file exists not working
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: part 2 - file exists not working [message #182957 is a reply to message #182950] Fri, 27 September 2013 01:47 Go to previous messageGo to previous message
Curtis Dyer is currently offline  Curtis Dyer
Messages: 34
Registered: January 2011
Karma:
Member
Twayne wrote:

[Twayne's quoted text below has been rewrapped]

> On 2013-09-26 2:01 AM, Curtis Dyer wrote: ...
>
>> Arbitrary server admins don't determine when features of PHP
>> become deprecated, the PHP development team does.
>
> Say WHAT? ... what makes you think that current servers, which
> almost all offer at least TWO versions of PHP to its users will
> stop doing that?

None of what I wrote has anything to do with this.

> Some even offer THREE I've come across in the past. DEPRECATED
> means removed from a VERSION of the language, not ALL versions!

No, deprecated means that a feature or practice is considered
dated in favor of something else, and that one should avoid using
it, where possible. It is by no means a strict mandate that you
must never use the feature. (Although, you obviously can't use the
feature whenever you move to the new version in which a deprecated
feature is dropped.)

> And just who is going to force server admins to have a dictated
> version of PHP available and no other?

No one, but I never wrote or implied anything like that.

> It's myopic crap-thinking like that, that gets my attention
> here.

It's not a big deal. If you're writing new code, today, there's no
reason not to avoid using the mysql extension. That's all. I'm not
warning to toss away or fix old code *right now*.

And, if anything, it's myopic thinking to write code depending on
a deprecated extension in situations where you don't need to.

> And besides, mysql i isn't all that different from mysql,
> period. It's just not the Armageddon arrival as some are working
> so hard to point out.

This is a ridiculous straw man.

> If you want to help, TEACH ; otherwise phase out.

What do you mean? What do you think trying to inform people about
best practices is all about? No one here is imposing mandates on
anyone. We can just offer the best advice as we're able, and it's
up to the OP and others who might read the advice to do with it
what they will.

> Forget the vague warnings and scenarios of web sites not working
> overnight.

No one has written this. When I read Thomas's post upthread, for
example, it read as a helpful aside to me. It was quite clear and
concise. There's nothing vague about informing people about a
deprecated feature.

Again, no one has written that people's code will break overnight.

<snip>

>> When giving people advice about writing code, it's helpful to
>> encourage the best possible practices. The mysql extension is
>> indeed deprecated, and people learning PHP ought to be made
>> well aware of this.
>
> True, and that should be your job;

Usenet is not my job; Usenet contributors don't get paid for
posting. I generally post here in the event that I feel I'm able
to provide what little help I can. Further, newsgroups like this
have been a big help to me, so contributing back is a nice change
of pace.

> NOT making gregarious claims

I've never heard claims described as gregarious. Perhaps you meant
grandiose? If that's the case, I made none.

The mysql extension is deprecated, but this has nothing to do with
magically breaking Web servers. It's a simple warning to
developers (and sever admins), that, at some point, the extension
will be phased out.

It's a helpful warning and is intended to give people time to
prepare however they choose. For some people, the concern probably
isn't immediate. That's fine. However, there's absolutely nothing
wrong with suggesting to beginners that they ought to use instead
mysqli or the PDO MySQL driver.

There are other reasons for using alternatives to the mysql
extension that go beyond the fact that it's deprecated (although,
they likely have contributed to the fact that it has become
deprecated). For example, the fact that you can use prepared
statements or, in PDO's case, it provides an abstract interface to
allow developers to reuse code for multiple databases.

> that all sites will stop working if/when a server's admin
> employs a new version of a program!
>>
>> While your code may continue to work on your system, the same
>> cannot be said of everyone who takes advice from posts such as
>> those in this thread.
>
> THEN SAY SO!

I have written it in the post you quoted. Although, I didn't write
in all-caps, so perhaps you missed it.

<snip>

--
Curtis Dyer
<?$x='<?$x=%c%s%c;printf($x,39,$x,39);?>';printf($x,39,$x,39);?>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [urgent] need solution of Questions, in context of PHP5
Next Topic: Host recommendations (slightly OT)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 08:48:13 GMT 2024

Total time taken to generate the page: 0.04162 seconds