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

Topics - Ries

#1
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
#2
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
#3
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?
#4
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?
#5
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?