So this code below is part of a install file within a calendar script, when i try to upload the file it disappears. I have cut the code down to these lines that will not allow it upload. I can even just add these lines to a test.php file and as soon as it updates the file disappears. I can show full install file it will help. Any ideas on how to get this to work with out making the file disappear ? thank you

<?php
$server_link = mysql_connect($_POST['dbserver'], $_POST['dbusername'], $_POST['dbpassword']) or die(mysql_error());
                    $db_link = mysql_select_db($_POST['dbname']) or die(mysql_error());
                    ?>
Member Avatar for diafol

We have no idea what's going on here. How are you updating the site? FTP? Form file upload? Is it a local site, a hosted site? Does your host support php files?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.