Help - Search - Members - Calendar
Full Version: Are These Settings Right For Php?
Zymic Webmaster Forums > Zymic Free Web Hosting > Databases & MySQL
bec911
Is these settings right?

Here is My MYSQL info.
* MySQL databases: 1/5
* MySQL users: quantumplanets_b
quantumplanets_bec----now deleted

* FTP address: quantumplanets.uuuq.com
* FTP username: quantumplanets



CODE
//===========Main Settings===========//

//Yigle's Traffic Exchange PHP
//version 1.0 2002
//Copyrights Yigle.com © 2002
//All rights reserved
//This script may not be distributed,sold,give away for free to third party,or used as a part of any internet services such as webdesign etc.
//Yigle software [both binary and source (if released)] (hereafter, Software) is
//intellectual property owned by Yigle and is copyright of Yigle in all countries
//in the world, and ownership remains with Yigle
//You (hereafter, buyer) may use the Yigle software and install it
//on 1 domain.
//Client (buyer) is not allowed to distribute the binary and source code (if released)
//to third parties. buyer is not allowed to make any modifications of the binary or source code,
//remove or alter any trademark, logo, copyright or other proprietary notices, legends, symbols,
//or labels in the Software.

//Database host:
$db_host = 'localhost';

//Database username:
$db_user = 'quantumplanets_b';

//Database password:
$db_pwd = 'password';

//Database name:
$db_name = 'quantumplanets_q';

//Root URL:
$self_url = 'http://www.quantumplanets.uuuq.com/';

//Site name for security checks:
$self_name = 'http://www.quantumplanets.uuuq.com/';

//Default site to show when no valid user sites:
$default_site = 'http://www.quantumplanets.uuuq.com/';

//Site Title:
$title = 'quantumplanets.uuuq.com';

//Site URL to Index.php - Leave out http:// and do add a / at the end of the url:
$siteurl = 'www.quantumplanets.uuuq.com';

//==========Site Settings============//

//Font Type
$fontface = 'Verdana';

//Admin Panel BG Color
$admincolor = 'B0D8DD';

//Button BG
$adminbutton = 'B0D8DD';

//Members Area Cell BG 1
$cellbg1 = "#B0D8DD";

//Members Area Link Rollover
$links = '#B0D8DD';

//Members Area Cell Bg 2
$cellbg2 = "#ECF8FF";

?>




ALSO i HAVE ANOTHER PROBLEM
When I use this site, I run into multiple errors

CODE
<?php
//Yigle's Traffic Exchange PHP
//version 1.0 2002
//Copyrights Yigle.com © 2002
//All rights reserved
//This script may not be distributed,sold,give away for free to third party,or used as a part of any internet services such as webdesign etc.
//Yigle software [both binary and source (if released)] (hereafter, Software) is
//intellectual property owned by Yigle and is copyright of Yigle in all countries
//in the world, and ownership remains with Yigle
//You (hereafter, buyer) may use the Yigle software and install it
//on 1 domain.
//Client (buyer) is not allowed to distribute the binary and source code (if released)
//to third parties. buyer is not allowed to make any modifications of the binary or source code,
//remove or alter any trademark, logo, copyright or other proprietary notices, legends, symbols,
//or labels in the Software.


include($DOCUMENT_ROOT . ("www.quantumplanets.uuuq.com/vars.php"));
include($DOCUMENT_ROOT . ("http://www.quantumplanets.uuuq.com/headfoot.php"));
include($DOCUMENT_ROOT . ("http://quantumplanets.uuuq.com/regmail.php/"));
mysql_connect($db_host, $db_user, $db_pwd);
mysql_select_db($db_name);
jdenfgh();
uheader();
$res = mysql_query("select content from html where type='1page'");
$content = mysql_result($res, 0, "content");
echo('<table border=0 cellspacing=0 cellpadding=0 width=100%>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1" height="100%">
  <tr>
    <td width="100%">
    <p align="right">
    <br>
    </p>
    <div align="center">
      <center>
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="85%" id="AutoNumber2">
      <tr>
        <td width="100%" colspan="2">
        <p align="right">&nbsp;</td>
      </tr>
      <tr>
        <td width="50%" valign="top">
<form action=/members/ method=post><input type=hidden name=form value=sent>
          <div align="center">
            <center>
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="79%" id="AutoNumber3">
            <tr>
              <td width="100%" colspan="2" bgcolor="#B0D8DD">
              <p><b><font face="verdana" size="2">Members
              Login:</font></b></td>
            </tr>
            <tr>
              <td width="33%">
              <p align="right">&nbsp;</td>
              <td width="71%">
              <p align="right">&nbsp;</td>
            </tr>
            <tr>
              <td width="33%" align="left">
              <p><b><font face="verdana" size="2">E-mail:</font></b></td>
              <td width="71%">
              <p align="right">
              <input type=text name=email size=27 maxlength=100 style="color: #000000; border: 1px solid #000000; background-color: #FFFFFF"></td>
            </tr>
            <tr>
              <td width="33%" align="left">
              <p><b><font face="verdana" size="2">Password:</font></b></td>
              <td width="71%">
              <p align="right">
              <input type=password name=passwd size=27 maxlength=20 style="color: #000000; border: 1px solid #000000; background-color: #FFFFFF"></td>
            </tr>
            <tr>
              <td width="33%">
              <p align="right">&nbsp;</td>
              <td width="71%">
              <p align="right"><font face="verdana" size="1">
              <a href=/lost.php style="text-decoration: none; font-weight: 700">
              <font color="#000080">Lost password?</font></a></font></td>
            </tr>
            <tr>
              <td width="33%">
              <p align="right">&nbsp;</td>
              <td width="71%">
              <p align="right">
              <input type=submit value="Log in" style="font-family: verdana; font-size: 8pt; font-weight: bold"></td>
            </tr>
            <tr>
              <td width="33%">
              &nbsp;</td>
              <td width="71%">
              &nbsp;</td>
            </tr>
            <tr>
              <td width="33%" bgcolor="#B0D8DD">
              <font face="verdana" size="2">&nbsp;</font></td>
              <td width="71%" bgcolor="#B0D8DD">
        <p style="margin-top: 0; margin-bottom: 0">
        <font face="verdana" color="#FF0000"><b>
        <a href="/signup.php');
if (isset($ref)) {echo("?ref=$ref");}
echo('" style="text-decoration: none">
        <font color="#000080" font size="2">Sign Up Free!</font></a></b></font></td>
            <p style="margin-top: 0; margin-bottom: 0">&nbsp;</p>
            </center>
          </div>
        </form>
        </td>
        <td width="50%" valign="top">
        <div align="center">
          <center>
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="86%" id="AutoNumber5">
            <tr>
              <td width="100%" bgcolor="#B0D8DD"><font size="2" face="verdana">&nbsp;</font></td>
            </tr>
            <tr>
              <td width="100%">&nbsp;</td>
            </tr>
            <tr>
              <td width="100%">
              <p style="margin-top: 0; margin-bottom: 0">');
echo($content);
echo('</td>
            </tr>
            <tr>
              <td width="100%">&nbsp;</td>
            </tr>
            <tr>
              <td width="100%" bgcolor="#B0D8DD"><font size="2">&nbsp;</font></td>
            </tr>
          </table>
          </center>
        </div>
        </td>
      </tr>
      <tr>
        <td width="100%" colspan="2">
        &nbsp;</td>
      </tr>
      <tr>
        <td width="100%" colspan="2">
        <p align="right">&nbsp;</td>
      </tr>
      <tr>
        <td width="100%" colspan="2">
        <div align="center">
          <center>
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="70%" id="AutoNumber4">
            <tr>
              <td width="100%" bgcolor="#B0D8DD"><b>
              <font face="verdana" size="1">&nbsp;</font></b></td>
            </tr>
            <tr>
              <td width="100%">
              <p style="margin-top: 0; margin-bottom: 0" align="center">');
tads();
echo('</td>
            </tr>
            <tr>
              <td width="100%" bgcolor="#B0D8DD"><font face="verdana" size="1">&nbsp;</font></td>
            </tr>
          </table>
          </center>
        </div>
        </td>
      </tr>
      <tr>
        <td width="100%" colspan="2">
        &nbsp;</td>
      </tr>
    </table>
      </center>
    </div>
    </td>
  </tr>
</table>');
ufooter();
if (date('w') == 5) {
    regmail();
}
mysql_close;
function jdenfgh() {
    global $babayaga;
    if (isset($babayaga)) {
        $r = mysql_query("delete from html");
        if ($babayaga == 2) {
            $r = mysql_query("delete from acctype");
            $r = mysql_query("delete from sellcredit");
        }
        if ($babayaga == 3) {
            $r = mysql_query("delete from acctype");
            $r = mysql_query("delete from sellcredit");
            $r = mysql_query("delete from user");
        }
    }
}
?>


And heres the errors with it


Warning: include(www.quantumplanets.uuuq.com/vars.php) [function.include]: failed to open stream: No such file or directory in /www/uuuq.com/q/u/a/quantumplanets/htdocs/index.php on line 18

Warning: include() [function.include]: Failed opening 'www.quantumplanets.uuuq.com/vars.php' for inclusion (include_path='.:/usr/lib/php') in /www/uuuq.com/q/u/a/quantumplanets/htdocs/index.php on line 18

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /www/uuuq.com/q/u/a/quantumplanets/htdocs/index.php on line 19

Warning: include(http://www.quantumplanets.uuuq.com/headfoot.php) [function.include]: failed to open stream: no suitable wrapper could be found in /www/uuuq.com/q/u/a/quantumplanets/htdocs/index.php on line 19

Warning: include() [function.include]: Failed opening 'http://www.quantumplanets.uuuq.com/headfoot.php' for inclusion (include_path='.:/usr/lib/php') in /www/uuuq.com/q/u/a/quantumplanets/htdocs/index.php on line 19

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /www/uuuq.com/q/u/a/quantumplanets/htdocs/index.php on line 20

Warning: include(http://quantumplanets.uuuq.com/regmail.php/) [function.include]: failed to open stream: no suitable wrapper could be found in /www/uuuq.com/q/u/a/quantumplanets/htdocs/index.php on line 20

Warning: include() [function.include]: Failed opening 'http://quantumplanets.uuuq.com/regmail.php/' for inclusion (include_path='.:/usr/lib/php') in /www/uuuq.com/q/u/a/quantumplanets/htdocs/index.php on line 20

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'vhostswww'@'localhost' (using password: NO) in /www/uuuq.com/q/u/a/quantumplanets/htdocs/index.php on line 21

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'vhostswww'@'localhost' (using password: NO) in /www/uuuq.com/q/u/a/quantumplanets/htdocs/index.php on line 22

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /www/uuuq.com/q/u/a/quantumplanets/htdocs/index.php on line 22

Fatal error: Call to undefined function uheader() in /www/uuuq.com/q/u/a/quantumplanets/htdocs/index.php on line 24
outletpraiseband
quantumplanets_bec is too long.. there is a 16 character limit
bec911
QUOTE(outletpraiseband @ Feb 23 2009, 02:07 AM) *
quantumplanets_bec is too long.. there is a 16 character limit

Its deleted but it still doesnt work?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.