![]() |
Getting around PHP safe mode
I'm on a virtual hosting plan with PHP safe mode enabled.
I have a few scripts I need to run that need safe mode disbabled. How can I copy files and create new directories with something other than PHP? |
Perl is your friend.
|
Quote:
How easy would it be to integrate a few lines of Perl into a PHP page. I have certain aspects of my PHP script that do work (like inserting info into a database) so I don't want to re-write the whole script in Perl. Just need to mkdir, chmod and copy. |
im thinking you are on a plesk server, its using safemode too and it sucks, you need to ask your provider to disable it with placing a file vhost.conf in the conf directory with the follow info:
Code:
<Directory "/usr/local/psa/home/vhosts/DOMAIN/httpdocs"> |
yes, i am on a plesk server.
i used to have safe mode disabled, but then they switched my box and now it's enabled. i've emailed them to disable it, so we'll see what they say... |
i hate vbb i cant post the whole code, yes maybe its in the source
its not accepting directory options in code. add me to icq 17947284 or msn [email protected] thx. |
| All times are GMT -7. The time now is 07:11 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123