.HTACCESS

edited January 24 in Bug/Issue Reports

Hey @Admin how are you?

I need to enable allow_url_fopen and I believe I can do this through .htaccess using the following: php_value allow_url_fopen on

but I can not do that. The .HTACCESS is changed but nothing happens, there is no change. What can I do?

Comments

  • @Gomesxxxxx said:
    Hey @Admin how are you?

    I need to enable allow_url_fopen and I believe I can do this through .htaccess using the following: php_value allow_url_fopen on

    but I can not do that. The .HTACCESS is changed but nothing happens, there is no change. What can I do?

    you cannot edit the .htaccess in the / directory, you have to create one in the /htdocs folder, (or if you are doing it in a subdomain it would be /(subdomain)/htdocs), then you can edit that one.

  • I believe fopen is on. not sure about url fopen. Think it is off by server side.

    $file = 'visitors.php';
    $ipadress = $_SERVER['REMOTE_ADDR'];
    $date = date('F/d/Y h:i:s');
    $browser = $_SERVER['HTTP_USER_AGENT'];
    $fp = fopen($file, 'a');
    fwrite($fp, $ipadress.' - ['.$date.'] "\r\n");
    fclose($fp);
    
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!