Hello everyone!
I tried to make a PHP website, watched lots of tutorials but still can’t make it work good.
I have never worked with web things, so I need help.
Everything I have right now is my PHP (only 1 file, I am using InfinityFree to host):
<?php
echo "sup";
?>
and lua code:
local http = game:GetService("HttpService")
local data = {
["text"] = "Text"
}
local response
local ok, status = pcall(function()
response = http:PostAsync("http://owoshka.epizy.com/test.php", http:JSONEncode(data), Enum.HttpContentType.ApplicationJson)
end)
print(response)
So what do I want is just to get “sup” return, but somehow I get lots of text:
<html><body><script type="text/javascript" src="/aes.js" ></script><script>function toNumbers(d){var e=[];d.replace(/(..)/g,function(d){e.push(parseInt(d,16))});return e}function toHex(){for(var d=[],d=1==arguments.length&&arguments[0].constructor==Array?arguments[0]:arguments,e="",f=0;f<d.length;f++)e+=(16>d[f]?"0":"")+d[f].toString(16);return e.toLowerCase()}var a=toNumbers("f655ba9d09a112d4968c63579db590b4"),b=toNumbers("98344c2eee86c3994890592585b49f80"),c=toNumbers("af4b9e3fee3130c78654283465b662b1");document.cookie="__test="+toHex(slowAES.decrypt(c,2,a,b))+"; expires=Thu, 31-Dec-37 23:55:55 GMT; path=/"; location.href="http://owoshka.epizy.com/test.php?i=1";</script><noscript>This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support</noscript></body></html>
I really wanna know how to make PHP website.
I recommend using node.js for something like this, it is very useful.
Hi, i’ve worked with InfinityFree loads before. What your seeing is a security system that blocks all requests that aren’t a browser (except Google). The only way around this is by using Cloudflare.
If you want some more help, feel free to DM me.
1 Like
Alright, how do I dm? It is my first time.
You can’t DM him as he has his DMs private, ask him to open them, all you have to do is click on thier profile picture and it will show something like this:

Спасибо за информацию. Удивлен что тут есть соотечественники.
так*, люди всегда удивляются, когда они видят, что я родом, но то, что вы можете сделать, в конце концов?
1 Like
Не понял вашего вопроса. Вы имеете ввиду что я хочу сделать или могу ли я написать человеку?
наверное, не поняли, потому что любой переводчик, который вы используете плохо
I am not using a translator, but it seems like sentences on different languages are broken. Your answer is broken too.
I would say check if there’s a forum for your specific language. You shouldn’t be speaking different languages in the normal forum. For instance, brazil has a separated forum for portuguese only.
Yeah maybe, maybe it’s just the way I word things from where I’m from
The hosting you are using doesnt allow you to view their pages without using a modern browser which makes it impossible to make an API. I recommend to go with other ones that doesnt say i will give you infinite storage(all of infinite storage hostings that is not scam are just reseller of ifastnet that makes it impossible to make api)