Knowledgebase : PHP
   

Allow_url_fopen it was bad idea using php4 and up to php5.1 as attacker could include his page to be processed by php. But php5.2 and higher had 2 options now as they separated what hackers were exploiting in poor php scripts to. allow_url_fopen and al...
6 Free PHP Security & Auditing Tools Written by Ahmad Permessur.PHP is a very simple and easy-to-learn programming language – it provides anyone with minimal programming skills an easy way to get things done. For example, you can assign a value to a...
How do I enable magic_quotes_gpc (PHP) Since php 4.2.3 magic_quotes_qpc setting has been disabled by default All of our servers run standard PHP installations - with magic_quotes_gpc off If our software requires magic_quotes_gpc enabled create an .ht...
Add the following to your .htaccess file php_value allow_call_time_pass_reference true
How can I turn off register_globals Create a .htaccess file with the following settings: You can use the control panel file manager to edit # PHP 4, Apache 1. php_value magic_quotes_gpc 0 php_value register_globals 0 php_value session.auto...
The problem is in incompatibility vtiger and php 5.2.0 As workaround, I have put in the following file: yourdomaincom/customers/modules/Calendar/Date.php if ( class_exists(DateTime) ) { return ; } before these lines: class DateTime { Now, vtiger app...
when using formmail - my emails are going out as I wish to use email@mydomain.com [1] to send formmail - When using formmail - a suggested method, is to have your code authenticate to an valid SMTP account then send email through that account. ...
you can use .htaccess just put a .htaccess file in that dir then the content of the .htaccess file should be: php_value safe_mode "1"if  you need further assistance, please contact open a support ticket..
when updating wordpress on a windows server - you might see the following Missing a temporary folder. PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0 this is caused by php trying to access c:\windows\temp ...
Add this line to your .htaccess file: php_value mbstring.http_input pass
How to manually setup a mysql connection Normally the password and the database name values are at the beginning of the script code. $username="your_username"; $password="your_password"; $database="your_database"; You should replace "your_usern...
RUNNING SHELL SCRIPTS WITH CRONTAB * Crontab allows you to clock and run your own Unix shell scripts automatically. It is available only in Unix-based plans and requires the knowledge of Unix shell commands. To enable crontab jobs, do the following...
Setting up a Cron Job: 1. Login to your Control Panel. 2. Click on "FTP/User Account" in the top menu a drop down menu will appear and click "FTP User" 3. Click red "Off" button to turn it on if it's currently set to off. Skip this step if it's al...