Page 1 of 1

file_get_contents?

Posted: Wed Sep 22, 2010 6:28 pm
by NightCoder
Hi, I run a voting site with incentives.

I am having problems using file() and file_get_contents() to hit the other websites voting reward script. It works, it just lags.. takes awhile for the page to load and this can be annoying for people voting.

I did try to setup a cron, and to use file_get_contents() to hit these files so it doesn't lag the user but now it's kinda killing my server.

Re: file_get_contents?

Posted: Wed Sep 22, 2010 7:11 pm
by buckit
are these websites on the same server? some code examples would help. impossible to even give suggestions without knowing what you are doing.