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.
file_get_contents?
Moderator: General Moderators
Re: file_get_contents?
are these websites on the same server? some code examples would help. impossible to even give suggestions without knowing what you are doing.