Some information please, no investigation needed

In case you have problems with some other PHPJunkyard script (not that there are THAT many).
Post Reply
Racing Dog
Posts: 2
Joined: Thu Jul 02, 2020 2:57 pm

Some information please, no investigation needed

Post 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.
Klemen
Site Admin
Posts: 10114
Joined: Fri Feb 11, 2005 4:04 pm

Re: Some information please, no investigation needed

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Racing Dog
Posts: 2
Joined: Thu Jul 02, 2020 2:57 pm

Re: Some information please, no investigation needed

Post 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.
Post Reply