sending cookie values
Posted: Sat Jan 03, 2004 4:06 am
Hi PHPers,
I have a problem. I'm trying to open a web page with fopen() function. However the web page requires some authentification which is normaly done with cookies stored on my computer so my script ends up on a different web page saying that I didnt authenticate.
So I need to request the url with some cookies but I dont know the correct form. Perhaps the function header() would help. Does anybody have some experience with that?
Thanks a lot.
MGubco
I have a problem. I'm trying to open a web page with fopen() function. However the web page requires some authentification which is normaly done with cookies stored on my computer so my script ends up on a different web page saying that I didnt authenticate.
So I need to request the url with some cookies but I dont know the correct form. Perhaps the function header() would help. Does anybody have some experience with that?
Thanks a lot.
MGubco