Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 01:31 pm EST

Geeklog Forums

Warning intalling phplinks


Status: offline

etolocka

Forum User
Chatty
Registered: 07/19/04
Posts: 60
Hi!

I get the following messasge after installing phplinks (when I load /phplinks/index.php)

Warning: exec() has been disabled for security reasons in /home/mundomic/public_html/gl/phplinks/include/functions.php on line 34

I know that my hosting provider has disabled exec, but in line 34 I found:

function fortune(){
exec("/usr/games/fortune", $array);
$x = sizeof($array);
for($q=0;$q $html .= $array[$q] . " ";
}
return $html;
}

What is "games/fortune" ?

Best regards,
Ernesto
 Quote

Status: offline

zipstart

Forum User
Chatty
Registered: 09/13/04
Posts: 60
It's a *nix fortune generator, see here.
 Quote

All times are EST. The time is now 01:31 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content