79489046

Date: 2025-03-06 10:46:39
Score: 2
Natty:
Report link

Try to put absolute path to your file name "Utenti.dat", e.g. "/var/www/cgi-bin/Utenti.dat" or whereever this file is.

Line to change: file_utenti=fopen("Utenti.dat","a+")

and ensure that the file is readable for everybody (chmod o+r Utenti.dat).

Actually the web server's default path is probably /var/www that is why it do not find your file in this path.

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Chris Bletti