Page 1 of 1

Some information please, no investigation needed

Posted: Thu Jul 02, 2020 3:28 pm
by Racing Dog
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:
Sorry about leaving those blank, but these three are not questions for you to investigate!

I just set up a very simple site. I have a problem with counter which is either my fault or their fault, not yours. So...
  1. In their terms and conditions they list the following as not supported for php. I don't know php so is any of them important to counter Just Yes or No please.

    The following PHP functions are disabled on FreeHostingNoAds free web hosting due to system/security concerns: allow_url_fopen, fsockopen, pfsockpen, getrusage, get_current_user, set_time_limit, getmyuid, getmypid, dl, leak, listen, chown, chgrp, realpath, link.
  • Would any other of your other scripts be affected? yes or no
  • If I were to ask nicely, could you knock up and send me a version of counter.php which doesn't need a parameter but is preset to look at just index? If it's more than a 10 minute job, forget I asked! It's just that I have a vague feeling that it might be their support for parameter passing which is the problem, given there are other restrictions as above
I have no intention of asking for any further help on this issue. It isn't worth it.

Re: Some information please, no investigation needed

Posted: Fri Jul 03, 2020 7:19 am
by Klemen
1. none of them matter
2. no
3. no, parameters are not the problem. If you want to try it anyway, just replace

Code: Select all

$page = preg_replace('/[^a-zA-Z0-9\-_\.]/', '', $_GET['page']);
with

Code: Select all

$page = 'index';
in your counter.php

If you want further help you will need to provide details about what is happening and what errors (if any) you receive.

Re: Some information please, no investigation needed

Posted: Fri Jul 03, 2020 6:05 pm
by Racing Dog
You were right of course. It was just an outside chance.

Thanks anyway.

I'm not going to chase it further, ta.