hi, I'm using CURL and within my php script I use the http() function to grab a webpage. I also end up using this fuction to pull another webpage elsewhere in my script later on.
I'm running php on apache and I just load my scripts through my localhost on my browser. However, I can only run the program once with no problems then if I try to run the program again using a separate browser window it doesn't run at all.
It's interesting to me because if I take out the second http() function calling a website I can run the program multiple times with no problems.
Any thoughts as to why this happens? Does it have something to do with needing to close the first browsers session? If so I know you can't do this in PHP but I would perhaps need to incorporate some javascript? Any thoughts? Thanks for your help in advance.