# Infinityfree to my website (not that important)

**URL:** https://forum.infinityfree.com/t/infinityfree-to-my-website-not-that-important/92404
**Category:** Hosting Support
**Created:** [April 16, 2024, 2:25pm UTC](https://forum.infinityfree.com/t/infinityfree-to-my-website-not-that-important/92404 "2024-04-16T14:25:46Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![GFXgamer](https://forum.infinityfree.com/letter_avatar/gfxgamer/32/5_5575768a8748004e209b776fc1b2916d.png) [@GFXgamer](https://forum.infinityfree.com/u/GFXgamer)
#### Post date: [April 16, 2024, 2:25pm UTC](https://forum.infinityfree.com/t/infinityfree-to-my-website-not-that-important/92404/1 "2024-04-16T14:25:46Z")

</div>

### Website URL

[https://whup.cloud](https://whup.cloud)

### More info on my thing.

So, id like to make a dashboard for my websites admin that shows the daily hits n stuff. And i know that the vistapanel has all the information that id like to put in my website. I was hoping that there somewhere would be an API that i havent found or something. There probably isnt, but id like to know if there was. This isnt a life or death situation, so if there isnt its completly fine!  
Ty

---

<div class="post-metadata">

### Author: ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)
#### Post date: [April 16, 2024, 3:08pm UTC](https://forum.infinityfree.com/t/infinityfree-to-my-website-not-that-important/92404/2 "2024-04-16T15:08:13Z")

</div>

There is not unfortunately.

You can web-scrape the vP to get that information, but I’m not going to tell you how nor recommend it (but it is an option)

---

<div class="post-metadata">

### Author: ![anon95807532](https://forum.infinityfree.com/letter_avatar/anon95807532/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon95807532](https://forum.infinityfree.com/u/anon95807532)
#### Post date: [April 16, 2024, 5:34pm UTC](https://forum.infinityfree.com/t/infinityfree-to-my-website-not-that-important/92404/3 "2024-04-16T17:34:56Z")

</div>

Hi GFXgamer,

Depending on your needs for statistics, use a local file to store the hits and counts for display. Although a racing mechanism may cause the figures to be slightly off, it’s the most simply way of showing an approximation.

Alternatively, use database connection and transactions to keep track of the hits, however do notice there’s a database query rate limit, and using the database for this purpose might get your website temporarily suspended very quickly.

Cheers!

---

<div class="post-metadata">

### Author: ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)
#### Post date: [April 17, 2024, 9:28am UTC](https://forum.infinityfree.com/t/infinityfree-to-my-website-not-that-important/92404/4 "2024-04-17T09:28:22Z")

</div>

> [@anon95807532](#):
>
> Alternatively, use database connection and transactions to keep track of the hits, however do notice there’s a database query rate limit, and using the database for this purpose might get your website temporarily suspended very quickly.

Tracking hits with PHP code is not possible. While you could log every PHP request, you cannot track requests to non-PHP files through your PHP code. Unless you feed everything through PHP code, but that’s very bad for CPU and EP usage, and the performance of your site.

---

<div class="post-metadata">

### Author: ![anon95807532](https://forum.infinityfree.com/letter_avatar/anon95807532/32/5_5575768a8748004e209b776fc1b2916d.png) [@anon95807532](https://forum.infinityfree.com/u/anon95807532)
#### Post date: [April 17, 2024, 10:08am UTC](https://forum.infinityfree.com/t/infinityfree-to-my-website-not-that-important/92404/5 "2024-04-17T10:08:44Z")

</div>

> [@Admin](#):
>
> While you could log every PHP request, you cannot track requests to non-PHP files through your PHP code.

True, the above is not even logging the request but just the count.

> [@Admin](#):
>
> but that’s very bad for CPU and EP usage, and the performance of your site.

Yes, it’s not recommended.

---

<div class="post-metadata">

### Author: ![GFXgamer](https://forum.infinityfree.com/letter_avatar/gfxgamer/32/5_5575768a8748004e209b776fc1b2916d.png) [@GFXgamer](https://forum.infinityfree.com/u/GFXgamer)
#### Post date: [April 17, 2024, 2:53pm UTC](https://forum.infinityfree.com/t/infinityfree-to-my-website-not-that-important/92404/8 "2024-04-17T14:53:06Z")

</div>

Alright, Thanks for letting me know!

Good to know!

Alright, thanks for recommending!

---

<div class="post-metadata">

### Author: ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)
#### Post date: [April 24, 2024, 2:53pm UTC](https://forum.infinityfree.com/t/infinityfree-to-my-website-not-that-important/92404/9 "2024-04-24T14:53:17Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
