php-safe-mode

Call Visitors web stat program from PHP

I've been looking into different web statistics programs for my site, and one promising one is Visitors. Unfortunately, it's a C program and I don't know how to call it from the web server. I've tried using PHP's shell_exec, but my web host (NFSN) has PHP's safe mode on and it's giving me an error message. Is there a way to execute the ...

PHP safe_mode default value in PLESK 8.4 is ON. WHY?

Hi, I am wondering why is the default value of the PHP safe_mode ON in PLESK. I suspect it is a security issue but how exactly is this useful? p.s. As an inexperienced web-developer I spend some hours wondering why the .php files were downloaded instead of run on my server. The reason was that this php default safe_mode was ON and I fou...

CakePHP Media plugin with php safe_mode

Hi, i'm trying CakePHP( 1.2.6 ) and Media plugin( 0.60 ) on shared server with php_5.2.5( safe_mode : On ). And upload jpeg file by media plugin, following error message apear on attachments.ctp( media plugin's element ). An error occured while transferring the file. How can i fix this error without php cgi_mode on shared server...

Create a symlink without shell access and in safe mode?

On a shared hosting package running the LAMP stack and PHP, with no shell access and PHP in safe mode (= exec() being disabled), with only FTP access, do I have a chance of creating a symbolic link somehow? I just checked, I can't even use the sneaky workaround of inserting a cron job that executes the ln command. ...

What's the difference whether or not to run PHP in safe mode?

Can you list any specific difference that can be perceived? ...