Tag Archives: php

Elgg: Protecting Upgrade.php

What is upgrade.php?  Upgrade.php is a file that flushes the cache that elgg uses. It runs code and database upgrades. By default, in any regular Elgg install, anyone can run …

Tags: , , , , , , , | Posted under Elgg, Security/Vulnerability | 2 Comments

Configuring MAIL with PEAR and PHPMAILER

ABSTRACT I am going to describe hereunto the different steps you would need to take in order to allow the mail system that we have, and your scripts to work …

Tags: , , , , , , , | Posted under Mail, Webmail | 4 Comments

Basic include() example

Related documents: http://php.net/manual/en/function.include.php http://forum.arvixe.com/smf/general/php-script-errors/ vars.php: <?php $color = ‘green’; $fruit = ‘apple’; ?> index.php: <?php define(‘BASE_PATH’,’c:/hostingspaces/shai/shai-arvixe.com/wwwroot/’); include BASE_PATH . ‘inc/vars.php’; echo “A $color $fruit”; // A green apple ?> Result …

Tags: , , , , | Posted under DotNet/Windows Hosting | Leave a comment