Back to General discussions forum
Hello fellow nerds,
I'm wondering what I'm doing wrong here. I'm trying to solve this problem and I think I've done it but when I submit I'm given an error saying "Output does not start with "Random Value is", which it totally does.
Would somebody mind casting their eye over my site and telling me what in the heck I'm doing wrong here.
http://dubwhores.great-site.net/codeab.php
Thanks, Eddie.
made another,
http://dubwhores.great-site.net/yo.php
same problem. Last one was written in HTML which I thought could be the problem, so I made a php script
<?php
echo "Random value is " . rand(100,200)*i;
still have the same issue, it says "Output does not start with Random value is" when the page only displays
Random value is ********
ugh, really stumped here.
Eddie, Hi!
That seems easy to figure out, but not easy to fix:
$ curl http://dubwhores.great-site.net/yo.php
says
<html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
<hr><center>nginx</center>
</body>
</html>
seemingly this hosting doesn't like when pages are requested by non-human. Checker for this problem is not human, of course :)
So probably you may want to try some other hosting provider.
Thanks Rodion! I was pulling my hair out with this one, such a simple solution too haha it's hard to find decent free hosting, i'll get back to the drawing board with it :)
Thanks again,
Eddie.
Sorted it now, if anybody has a similar issue i used "https://freehostingnoads.net/" to host my site. I don't know if it's trustworthy or not but seemed okay for me.