0

Hi,

I have tried to find out on this, but I cannot be sure.

Anyone knows for certain fopen and file_get_contents (or any similar functions) will generate an entry in the target domain's website traffic stats?

I know this could be traffic analyser specific, so for a start, will it appear in webalizer, awstats or google analytics. if it does, will it appear as a regular user with the server IP or another form, like a bot or something with identifiable IP?

Thanks

2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by jakesee
0

Well when using file_get_contents a request is sent to the remote server with the User Agent as "PHP" which can be configured in php.ini. I believe the same holds true for cURL but a cURL request can be configured to customize the user agent. So yes, it does get logged like a normal request.

0

So yes, it does get logged like a normal request.

thanks!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.