NYCPHP Meetup

NYPHP.org

[nycphp-talk] an old thread on a proposed function for PHP

Jeff Siegel jsiegel1 at optonline.net
Mon Jan 5 14:50:06 EST 2004


 > I think there should be a
 > mysql_connect_and_then_query_and_then_fetch_array() function.

Could that be shortened to mysql_kvetch? ;)

Jeff Siegel

Chris Shiflett wrote:

> --- Adam Maccabee Trachtenberg <adam at trachtenberg.com> wrote:
> 
>>I can replicate the majority of the functions in PHP using more low
>>level functions and operators, but that doesn't mean those functions
>>are useless and bloated.
>>
>>In this case, I think it makes perfect sense to have
>>file_put_contents() if there's a file_get_contents().
>>
>>Also, why would you want to subject people to C/Unix's fopen(),
>>fwrite(), and fclose() when all they want to do is save stuff? That
>>seems horribly tortured.
> 
> 
> I agree on all points, and I'm a big fan of stuff like
> file_get_contents(). In fact, I think there should be a
> mysql_connect_and_then_query_and_then_fetch_array() function. :-)
> 
> Chris
> 
> =====
> Chris Shiflett - http://shiflett.org/
> 
> PHP Security Handbook
>      Coming mid-2004
> HTTP Developer's Handbook
>      http://httphandbook.org/
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
> 

-- 
Found on the Simpson's Website:
"Ooooooh, they have the internet on computers now!"




More information about the talk mailing list