Sign in to your account



This field is required


forgot your password?


New to the site? Create an account →

This is a wrapper for PHP curl

tcr! · Jun 29, 2017 at 12:43 pm

Good code has comments. I updated this chunk to more accurately reflect its state.

 * This is a wrapper for PHP curl (that mostly doesn't work).
 * Contains methods for using PHP curl also allows a very easy way to store
 * errors in the database (if the table exists...but don't count on it.
 * Don't count on the table structure to be laying around either. But hey,
 * we had a $class->GetRandomUserAgent() even before a working $class->GetData()
 * because fancy!)

#worknews #devhell

Add a comment

It’d be better if you signed in before commenting


Post



Latest articles for #devhell

Jun 6th, 2019 at 11:47:17 am

Jun 6th, 2019 at 11:47:17 am

Jun 6, 2019 at 11:47 am

The function/method MUST return the number of bytes written.Why? I’m…

Developer laments, a Cobain quote, and more!

Developer laments, a Cobain quote, and more!

Jan 10, 2019 at 12:46 pm

Being a dork web developer who: loves code is forced to use WordPress…

Phone number optionally required

Phone number optionally required

Dec 1, 2018 at 12:05 pm

Good one Google. 🙄 #devhell #google

Aug 20th, 2018 at 3:16:17 pm

Aug 20th, 2018 at 3:16:17 pm

Aug 20, 2018 at 3:16 pm

Writing a valid, functional, and strict MySQL regular expression for…