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 #182942 is a reply to message #182901] Thu, 26 September 2013 06:01 Go to previous messageGo to previous message
Curtis Dyer is currently offline  Curtis Dyer
Messages: 34
Registered: January 2011
Karma:
Member
Twayne wrote:

> On 2013-09-24 10:41 AM, Lew Pitcher wrote:
>> On Tuesday 24 September 2013 10:34, in comp.lang.php,
>> PointedEars(at)web(dot)de wrote:
>>
>>> Lew Pitcher wrote:
>>>
>>>> noreply(at)example(dot)com wrote:

<snip>

>>>> If $result is not FALSE, you loop through it using
>>>> mysql_fetch_array() or one of it's child functions
>>>> (mysql_fetch_row or mysql_fetch_assoc()) to retrieve
>>>> individual rows

<snip code>

>>> JFTR: The mysql extension is *deprecated* and will be
>>> *removed*:
>>>
>>> <http://php.net/mysql_fetch_array>
>>
>> A very valid point that we've repeatedly made to richard. And
>> that he has considered and rejected.
>>
>>> Use mysqli or pdo_mysql instead.
>>
>> Agreed.
>>
>
> Mmm, not so valid; it's going to be a good long time before it's
> deprecated on most servers.

Arbitrary server admins don't determine when features of PHP
become deprecated, the PHP development team does.

> What's always neglected with that
> little bit of wisdom is IN WHAT is it being deprecated and when
> is it expected to be all that's available? Hell, many sites are
> still offering a choice of versions, usually 2, sometimes 3.

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.

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.

If you would like your code to be as correct and portable as
possible--if you care at all about writing good code--why would
you dismiss completely that an extension is deprecated?

> The scare tactics are silly and that's why people don't worry
> about it.

People are trying to provide helpful information. No one here is
employing scare tactics.

--
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: Wed Nov 27 07:20:33 GMT 2024

Total time taken to generate the page: 0.04458 seconds