News:

Click here for Toll-Free Service for your business starting at $2.00 per month

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Ries

#1
Support Requests / Re: Database errors
October 22, 2006, 10:00:19 AM
Im getting the errors aswell.

Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server during query in /fpgs/fpgshttpd/icewire/layout.php on line 4

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'icewire'@'localhost' (using password: NO) in /fpgs/fpgshttpd/icewire/layout.php on line 5

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /fpgs/fpgshttpd/icewire/layout.php on line 5

Warning: mysql_query() [function.mysql-query]: Access denied for user 'icewire'@'localhost' (using password: NO) in /fpgs/fpgshttpd/icewire/index.php on line 39

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /fpgs/fpgshttpd/icewire/index.php on line 39
Access denied for user 'icewire'@'localhost' (using password: NO)
#2
Support Requests / Re: Loading Time website
June 16, 2006, 07:26:03 PM
I live in England and I get really slow loading times when I try to use my website aswell, this problem is really frustrating me as I havn't been able to get any further in developing my site.
#3
Support Requests / Multipule domains
May 06, 2006, 01:55:35 PM
I currently have an account on freepgs with a domain name but i have two websites running on it. One is http://www.freepgs.com/icewire and the other http://www.freepgs.com/icewire/eluxian . The first one has the domain icewire.org and I want to buy the domain eluxian.net for the second, if I do buy the eluxian domain name would I bet able to make it go to the path freepgs.com/icewire/eluxian not freepgs.com/icewire
#4
Thanks that fixed the Refferal Problem but not the main problem, I can't really explain whats going on check out http://www.icewire.org/register.php
To see my problem try and register and see what happens the page doesn't change.
#5
Support Requests / Re: PHP
April 26, 2006, 04:08:31 PM
well the problem is that the url changes but the page doesnt, here is the my code

<html>
      <head>
      <title>Red Winter :: Register</title>
      </head>

<style type='text/css'>
      input, textarea, select {
      color: black;
      background: #FFFFFF;
      border: solid CC0000 1px;
      }
      a {
      text-decoration: none;
      text-transform: none;
      color: black;
      font-family: verdana;
      font-size: 10px;
      }
      body {
      background: #FFFFFF;
      background-attachment: fixed;
      background-possition: center;
      font-family: verdana;
      color: black;
      font-size: 10px;
      }
      </style><center>
<?PHP
mysql_connect("localhost", "********", "********")or die(mysql_error());
mysql_select_db("gamedb");
$ref == $_GET['ref'];
       if(!isset($ref)){
                 echo "Here you can register for Red Winter<br />";
                 echo "<form action='register.php?action=add' method='post'>";
                 echo "email:<input type='text' name='remail' /><br />";
                 echo "user: <input type='text' name='ruser' /><br />";
                 echo "pass: <input type='password' name='rpass' /><br />";
                 echo "ref: <input type='text' name='rref' /><br /><br />";
                 echo "<input type='submit' value='Register' /></form>";
           }else{
                 echo "Here you can register for Red Winter<br />";
                 echo "<form action='register.php?action=add' method='post'>";
                 echo "email:<input type='text' name='remail' /><br />";
                 echo "user: <input type='text' name='ruser' /><br />";
                 echo "pass: <input type='password' name='rpass' /><br />";
                 echo "ref: $ref<br /><br />";
                 echo "<input type='submit' value='Register' /></form>";
}
if ($action == "add"){
       $_POST['remail'] == $remail;
       $_POST['ruser'] == $ruser;
       $_POST['rpass'] == $rpass;
 
       $remch  = mysql_query("SELECT * FROM members WHERE `email`='$remail' ")or die(mysql_error());
              if (mysql_num_rows($remch) > 0) {
                      $rerror == 1;
                      echo "Sorry, that email address is already in use<br />";
               }
       $rusch = mysql_query("SELECT * FROM members WHERE `user`='$ruser' ")or die(mysql_error());
               if (mysql_num_rows($rusch) > 0) {
                      $rerror == 1;
                      echo "Sorry, that username is already in use<br />";
               }
if ($rerror != "1"){
        mysql_query("INSERT INTO members ('user', 'pass', 'email') VALUES ('$ruser', '$rpass', '$remail') ")or die(mysql_error());
        echo "Well Done! You can now login!<br />";
}else{
        echo "<font color='red'>There was a error, check the error messages above and try again<br />";
     }
   }
?>


What happens is it shows the register but asking for the details which is fine but when you click submit the URL in my browser changes but whats displayed on the page stays the same. Please can someone help it's really confusing me :(
#6
Support Requests / PHP Problem, Urgently Need Help!
April 21, 2006, 07:41:10 PM
On my index.php file i use the switch command so users can navagate to index.php?pg=register and ect. But recently it stopped working, I also tried using if ($pg == "register"){ which didn't work, whats wrong? Is anyone else having these problems
#7
Support Requests / Re: Hi
January 26, 2006, 06:42:40 PM
that isnt true i use $_POST[id] or whatever all of the time and it works
#8
Support Requests / Re: Reset Script
January 25, 2006, 07:45:22 PM
I fixed it, its fine now
#9
Support Requests / Hi
January 25, 2006, 07:45:01 PM
I made a script for owner accounts on my game to edit players accounts but it doesn't seem to be getting the data from the forms here is the code
<title>eluxian - Staff Options</title>
<?PHP
include("game_header.php");
$title = "Staff Options";
if ($playerinfo[status] != "MEM") {
echo "<font face=Verdana,arial size=1></br>Welcome to the Staff Centre</p>";
}
if ($playerinfo[status] == "OWN"){
echo "[<a href=admin.php?step=edit>Edit Account</a>]</br>";
}
if ($step == "edit"){
if ($playerinfo[status] != "OWN"){
echo "You are not authorised to view this page, it has been recorded that you have tried to view the page</br>";
}else{
echo "Who would you like to edit?</br>";
echo "ID: <form action=admin.php?step=edit2 method=post><input type=text name=id><input type=submit value=Edit>";
}
if ($step == "edit2"){
if ($playerinfo[status] != "OWN"){
echo "You are not authorised to view this page, it has been recorded that you have tried to view the page</br>";
}
}else{
$_POST[id] = $editid;
$getid = mysql_query("SELECT * FROM userdb WHERE id='$editid'")or die(mysql_error());
while ($edit_info = mysql_fetch_array( $getid )){
echo "<table border=0><tr><td>Name</td><td>ID</td><td>Email</td><td>Password</td></tr>";
echo "<tr><td>$edit_info[name]</td><td>$edit_info[id] </td><td> $edit_info[email]</td><td>$edit_info[pass]</td></tr>";
   }
}
}
if ($playerinfo[staus] == "MEM") {
echo "</br>Your not Staff!";
}


echo "</br></br></br>";
echo "<marquee width=700><a href=elite.php><font color=red>Do you want 1 years free Elite Days? Then Click Me</a></marquee>";
?></table>
<?PHP include("game_footer.php"); ?>

any help?
#10
Support Requests / Re: Reset Script
January 25, 2006, 04:56:58 PM
cant any1 help me?
#11
Support Requests / Reset Script
January 23, 2006, 01:11:47 PM
Hi, I made a Reset Script to be run by a Cronjob and the script is
<?php

mysql_connect ("localhost", "eluxian", "****") or die ('I cannot connect to the database because: ' . mysql_error());
   mysql_select_db ("eluxian");

mysql_query("UPDATE userdb SET energy_max='10'")or die(mysql_error());
$result = mysql_query("UPDATE userdb SET energy_now=energy_max")or die(mysql_error());

$result = mysql_query($sql);
?>
P.S the password is really like that i hashed it out for the post

But it doesn't work, its supposed to set energy_now to energy_max but it doesn't work. But it did the other way around.
I have checked the connection line with pass and user thats fine, the db is fine and the tables are fine also the collums are in the db but it doesn't work, Any ideas?
#12
Support Requests / Re: Cronjobs
January 21, 2006, 07:03:02 PM
thank you for your help   :D
#13
Support Requests / Cronjobs
January 21, 2006, 03:42:10 PM
Hi, Im on a silver account on freepgs and I was just wondering does freepgs support cronjobs because I need them to do a reset on my game site. If freepgs doesn't support them could you offer any subsitutes freepgs does support which do the same thing?