Everything posted by Rookie_Racer
-
Hosts + Domain
Im saying the ycould improve as on high traffic i get errors whe i get over 200 users in 2 mins
-
Hosts + Domain
Well with my current host i can get a domain + Unlimited Hosting+ unlimited Bandwidth for $7.84 a month is buy everymonth Pay Every Month $7.84 $7.84 Pay Every 3 Months $7.54 $22.62 Pay Every 6 Months $7.24 $43.44 Pay Every 12 Months $6.84 $82.08 Pay Every 24 Months $5.84 $140.16 Pay Every 36 Months $4.84 $174.24 but i have coupon code for 2$ a month off so i get it for $5.84 a month with domain Is this good are there any otehr good hosts' out there? Cheers
-
Download from FTP
Ok Just Chmod it to 777 If you can type a command "FILENAME.EXE" CHMOD 777 I think Not sure just right click in filezilla and file permissions 777
-
Download from FTP
put them in your Public_Ftp folder if you have one ftp.myurl.com/directopryy/domewifdhgdgfdb.exe
-
MySQL Noob help :)
Its american, althought im getting deiffernt errors now someone helped me code this right <? session_start(); $page="Refferals"; include"header.php"; include"mysql.php"; if($_SESSION['loggedin']==1){ $getuser=mysql_query("select * from users where id={$_SESSION['userid']}",$c); echo $query; $ui=mysql_fetch_array($getuser); $getuser=mysql_query("select * from users where id={$_SESSION['userid']}",$c) or die(mysql_error()); $ui=mysql_fetch_array($getuser); $id = ($ui['username']); //change this as you need, can be queried from a form if you want $query = "SELECT referrals FROM users WHERE id = ".$id; $data = mysql_query($query) or die(mysql_error()); $results = mysql_fetch_array($data); echo "<div align='center'>Referrals: ".$results['referrals']."<hr width='15%'></div>"; $id = ($ui['username']); //change this as you need, can be queried from a form if you want $query = "SELECT id, username FROM users WHERE referrer = '[u][b]admin[/b][/u]'"; $data = mysql_query($query) or die(mysql_error()); echo "<div align='center'>"; while($results = mysql_fetch_array($data)) { echo $results['id']." - ".$results['username']."<br />"; } echo "</div>"; } else { echo "<div align='center'>Please <a href='login.php?ref=refferals'>log in</a> to see your referrals.</div>"; } ?> <table width="90%"> <tr> <th colspan="2"> <div align="center">Refferals</div> </th> </tr> <tr><th width="50%">User ID</th><th>Username</th></tr> <tr> <td valign="top"> <? "<div align='center'>"; while($results = mysql_fetch_array($data)) { echo $results['id']; } echo "</div>"; ?> </td> <td valign="top"> </td> </table> <h2>Refferal Banners</h2> <p class="post-by"></p> <p> Get paid faster and easier, by using these banners. Got a blog? Maybe a Site? Use these banners to get refferals.</p> <p> <br><u>HTML Code:</br></u> <textarea name='styled-area' id='styled' onclick='this.focus();this.select()' readonly>><a href='<?=$siteurl;?>/?ref=<?=$ui['username'];?>'><img src='<?=$siteurl;?>/images/banner1.gif' border='0' /></a></textarea><br><br> <br><u>BB Code:</br></u> <textarea name='styled-area' id='styled' onclick='this.focus();this.select()' readonly>>[url='<?=$siteurl;?>/?ref=<?=$ui['username'];?>'][img=<?=$siteurl;?>/images/banner1.gif][/url]></textarea><br><br> </p> <? include"side.php"; include"footer.php"; ?> This query here $id = ($ui['username']); //change this as you need, can be queried from a form if you want $query = "SELECT id, username FROM users WHERE referrer = '[u][b]admin[/b][/u]'"; $data = mysql_query($query) or die(mysql_error()); More specificially the admin bit, when i log in on another account, eg 'test', it gives me this error Another thing is that it echo's the query fine, but when in a table it doent? Anyone help? I have msn if you ned it
-
Web Form
A drop down saying other... and then a Text box pops up next to i maybe?
- MySQL Noob help :)
-
Not Showing Modules!
Yes Just you WAMP or XAMPP
-
MySQL Noob help :)
Thanj you, but now i got the ol' mysql_fetch_array() error, i cant remmeber whats wrong cos ima a mysql nub and havent done it for ages Thanks http://server9.hosting24.com/~eazyrew/ref.php
-
MySQL Noob help :)
Ok heres a live version http://server9.hosting24.com/~eazyrew/ref.php Thanks
-
MySQL Noob help :)
Well that one gives me a parse error
-
MySQL Noob help :)
So i have this database, for example we have the user admin with 1 refferal, so it has under the row refferals 1 we then have the user 'test' who has 0 refferals but in the refferer row it has admin, what i need is a way to fetch the data from the db, i dont know how tho you see ima n00000b here is my mysql.phpb i currently have this, which i guess is wrong <?php include 'mysql.php'; $query = "SELECT refferals, subject, FROM gpt"; $result = mysql_query($query); while($row = mysql_fetch_array($result, MYSQL_ASSOC)) { echo "refs :{$row['refferals']} <br>" } ?> thanks
-
CSS Drop Downs
Basically i want a OTHER tab, but i dont gte all this CSS drop down stuff Coould you help? I want a 2 level menu Called Other and out link 1 2 3 in for me then i have th strctru to add them Thanks I attached Stlyle and Index http://www.twixmixer.co.uk Aswell Thanks index.html style.css
-
Help With domain
Yeh ist a forum
-
Help With domain
BUMPPPP
-
Help With domain
I need help with thinking of a domain Must be .co.uk To do with Computers(Help, Building,Problems etc), Internet, Web Design All that stuff Thanks
-
Help With PHP Code
Prolly cos i justed wiped everything from there, and doing a fresh upload
-
Help With PHP Code
Basically When You Go There http://onlinewars.co.uk/ it comes up with PHP Error Message Warning: require(./../smarty/Smarty.class.php) [function.require]: failed to open stream: No such file or directory in /home/a2045737/public_html/include/class.xdbSmarty.php on line 24 Free Web Hosting PHP Error Message Fatal error: require() [function.require]: Failed opening required './../smarty/Smarty.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a2045737/public_html/include/class.xdbSmarty.php on line 24 Free Web Hosting But i dont know how to fix it In the file class.xbdSmarty.php there is this <?php /** * OBST, a tool for the multilingual browsergame TribalWars. * Copyright © 2006-2007 Robert Nitsch * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA **/ // stellt die Smartyklasse bereit // URL: [url="http://smarty.php.net"]http://smarty.php.net[/url] require(OBST_SMARTYDIR.'/Smarty.class.php'); class xdbSmarty extends Smarty { function xdbSmarty() { $this->template_dir = OBST_DIR_TEMPLATE.'/'; $this->compile_dir = OBST_ROOT.'/cache/compiled'; $this->cache_dir = OBST_ROOT.'/cache'; $this->assign('obst_root', OBST_ROOT); } } ?> How do i fix it?? Thanks PM Me if you want more info Thanks
-
CSS Margin Problem
Thank you it worked
-
Photochop challenge 6
Meh
-
CSS Margin Problem
if you look at my styless.css i want the content to have a top maargin of 5px but the news and links have a 5px mrgin but when i do i 5px on the content the whol bottom half moves
-
CSS Margin Problem
IM trying to put a 5px margin on my #content but whenver i o it leaves a massive gap of 5px imbettween the header and navbar and the rst of the page please Help me Elliott EDit http://nextgengamers.comli.com/
-
Help CSS Alignment
Ok Your'e The WOman Thanks Dizi Yer TToo Big with out the center on 100% width ANything Else that you think needs changing?
-
Help CSS Alignment
Dizi.... Your The man ;) i saw it when i googled and i thought.. Nah that wont do anything BUt Dizi Thanks Looks Good Now? What Doya Thik? http://rookieracer.summerhost.info/zoidstemp/
-
ClanSystem (My New Creation for Testing)
I like It http://rookieracer.summerhost.info/clansystem_0.1/index.php