Writing to file from php = suspension?

Website URL

All URLS on infinityfree.

Other Information

After writing to a file about 5-6 times using fopen, my website gets suspended? I don’t see this anywhere in the rules so is it just my setup or is there a different way to go about this?

I am NOT making a file sharing site. I am ONLY storing a couple sentences of text. It’s for an editable site rich embed (the embed text that shows up on platforms like twitter or discord)

Additionally, I need FAST file writes and reads. The embeds on discord or twitter fail if a response isnt provided in >1s.

Please reach out,
Intendings.

Unlikely. What is the reason of suspension?

I believe discord and twitter are blocked on free hosting

6 Likes

The site at the time wrote directly to html file.
The html file would have something like <meta text="TEXTHERE"></meta>
And I wrote a php script to replace TEXTHERE, with whatever I wanted to, so when discord crawls it, it would embed with the text.

This obviously is not the best way to go it. But only I can access the php script, and the site got taken down real quick after 3 hours of testing, so its VERY unlikely it was hacked with other content.

hmm thats weird. I made an implementation that uses https://jsonblob.com/ to store and read the text instead, and it embeds on discord just fine. I just need a faster solution (and I wanted to know if storing text/links/metadata on the embed was safe and would not get my site suspended again).

I meant to say on the infinityfree servers, NOT on the embed, apologies

The reason for suspension can be found in the client area

4 Likes

Thank you for the quick replies,

“Your account was suspended for a violation of our terms of service. Reasons for this may include harmful or illegal content, or because your account overloaded our servers.

To learn why your account was suspended, to get your account reactivated, or to request a backup, please submit a support ticket.”

I’ve searched the rest of the dashboard and this is all I can find.

if it helps, the url (now deleted) was intendingscdntest.rf.gd

You have to raise support ticket to find out the exact reason.
Sometimes it may be a false alarm

10 Likes

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