View Single Post
  #5   Spotlight this post!  
Unread 29-05-2016, 14:12
synth3tk's Avatar
synth3tk synth3tk is offline
Volunteer / The Blue Alliance
AKA: David Thomas
no team
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Ohio
Posts: 2,005
synth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond reputesynth3tk has a reputation beyond repute
Re: Need help with X-TBA-App-Id Header for TBA API

Quote:
Originally Posted by maths222 View Post
Really, it is the fact that PHP even lets you use "file_get_contents()" to make HTTP requests. "file_get_contents()" is better suited for local files, and CURL or something more elegant that probably wraps CURL for remote HTTP requests.
I didn't even catch that, thanks. I'm assuming that they have some reason for using file_get_contents. If not, OP, you should look into CURL.
__________________
Quote:
The difference between theory and application is that in theory, theory and application are the same; In application, they are not.
Reply With Quote