I'm now getting the following error when I navigate to the PowerGallery folder online:
Warning: Cannot modify header information - headers already sent by (output started at /home/content/a/v/v/avvparade/html/images/PowerGallery/Connections/powergallery.php:7) in /home/content/a/v/v/avvparade/html/images/PowerGallery/admin/index.php on line 63
I only added the code to the powergallery.php file and uploaded that. Then navigated to PowerGallery to begin.
The code within powergallery.php is the following (I've replaced the actual info with place markers):
<?php
ini_set('memory_limit', '256M');
ini_set('upload_max_filesize', '10M');
ini_set('post_max_size', '10M');
?>
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_powergallery = "[dbhost]";
$database_powergallery = "[dbname]";
$username_powergallery = "[username]";
$password_powergallery = "[password]";
$powergallery = mysql_pconnect($hostname_powergallery, $username_powergallery, $password_powergallery) or trigger_error(mysql_error(),E_USER_ERROR);
?>