Max CR;11008703 wrote:Can you be more specific? Do I replace "username" and "password" with my username and password?
Yes, that's the general idea.
Max CR;11008703 wrote:Is that the peramiters? I can't tell.
If "peramiters" are anything like parameters, then yes, in a sense you could say they are parameters for the stream context that is being created. The manual page for [man]stream_context_create/man explains what the function expects and even gives coding examples.
Max CR;11008703 wrote:Also, how do I pass the information to the "get file contents"
Again, the manual is your friend; the manual page for [man]file_get_contents/man shows you how to pass in a context resource (again both by describing the appropriate parameter in the function call as well as by giving a coding example - see example #4).
Max CR;11008705 wrote:Also, where do I put in the website address?
Well, if you're using [man]file_get_contents/man, the first parameter would be a good choice.