Jump to content
xisto Community

HmmZ

Members
  • Content Count

    365
  • Joined

  • Last visited

Everything posted by HmmZ

  1. Properties Dimension: 728*90 pixels Size: 32.3 KB (33072 bytes) Design: Clean and Simple Animated: Yes Author: HmmZ Own Comments I need something to put at the left (the light blue area), any suggestions? and of course feedback/comments/suggestions and critisism always appreciated! (I already have a new idea, wich will change this ad a bit, so come check it out when it's done! )
  2. How do you mean, make the font more of a feature? what kind of effect did you have in mind?the left and right borders don't match, so ill fix that, isn't the ratio between width of left and right border:height of top and bottom border, a good ratio? gives it the kind of theater look..Thanks for the feedback
  3. animated too and significantly reduced in size how is it? My own comment would be that i made the self-made leg a bit too big..but i'm pretty preoud of the rest, the foggy ambience gives it the taste i wanted it to give, maybe the gridded background (not the borders) is a bit overdone.. and now your comments! and just for the heck of it..heres the render i used (yes it's a large and large-sized image): render
  4. i need a line of php for picking out the new messages a user has received since his last visit, i got a $userlastvisit variable wich is updated once the user logs in, but i can't figure out the line i need for $msgnew.Any help appreciated
  5. My first effort in imageready....it needs some work on the size part size of file:694.21 KB (710876 bytes)
  6. I don't have much time on my hands lately, but for the desired company i wanna create (yea im a wannabee and a dreamer) i have made a little logo, i suppose it would be a first step feedback pls!
  7. Well, i didn't save it or anything so ill have to start completely over..here goes the 'short' version Step 1: Connect, login and authenticate Of course, before you start authenticating a user you need a login form that ultimately suits the authentication process, and a config file that sets up a connection to your mysql database and the therein situated usertable, those are a basic thing but do the trick and are self-explanatory: config.php <?$server = "host";$database = "database name";$db_user = "db username";$db_pass = "db password";$table = "usertable";?> logform.php <form action="login.php" method="post">Username: <input type="text" name="username" size="15">Password: <input type="password" name="password" size="15"><input type="submit" value="Log In"></form> Then you need to create the login.php, wich basically is your authentication page, ill explain everything after the code...: login.php <?ob_start();include("config.php");// connect to the mysql server$link = mysql_connect($server, $db_user, $db_pass)or die ("Could not connect to server..");// select the databasemysql_select_db($database)or die ("Could not select database");$match = "select id from $table where username = '".$_POST['username']."'and password = '".$_POST['password']."';";$qry = mysql_query($match)or die ("Could not match data because ".mysql_error());$num_rows = mysql_num_rows($qry);if ($num_rows <= 0) {echo "Sorry, there is no username $username with the specified password.<br>";echo "<a href=log_form.php>Try again</a>";exit;} else {setcookie("loggedin", "TRUE", time()+(900 * 1));setcookie("username", "$username");echo "You are now logged in!<br>";echo "Continue to the <a href=members.php>Members</a> area.";}ob_end_flush();?>allright, ob_flush() is a function used in php to send the output of the content, known as the output buffer, in this script, it basically sends the output of the authentication to the database, following a full check of the send data. then the script includes config.php, wich is the file used to connect to the server,database and ultimately the table. $link is the variable that actually connects to the database using variables assigned in config.php. then you have to select the database where the usertable is situated following the query to 'get' the username and password inserted in the login fields, then it checks if there's a match, if so, it gives the user the link to the members area, if not, it displays a login error. with a successful login it also sets 2 cookies, one for the successful login and 1 for the user itself, within the usercookie, it also sets the variable $username, if you now anywhere wanna display the users username, you don't have to assign a whole new variable, all you need is $username, wich basically displays the username used with the login. Step 1: members area code We've gone through the whole login and authentication process, but we of course need something on each members page that recognizes and validates the user, this small code checks if the cookie is valid and disconnects or connects (continued)the user if valid or invalid: <?if (!isset($_COOKIE['loggedin'])) die("You are disconnected! <a href=\"log_form.php\">Click here</a>"); $username = $HTTP_COOKIE_VARS["username"]; echo "You are connected! Ť $username ť";?> Put that small piece of code at the top of every members page to secure your members pages. Thats about it, Hope this helps.. and NO dooga, this is not ripped or anything so don't accuse me again, ive never ripped before and i like to keep it that way..
  8. no...sorry..some damn mod (Dooga) insinuated i copied the complete tutorial. I've made several tutorials now and always had the consent of the mods, that they pleed me guilty to plagiarizing is an agressive insult towards me, so forget the tutorial, if mods don't appreciate contributions, then fine.
  9. I play both the korean version as the international beta version, the international version first needs to sort out the serverload, as it's always full, the korean is great, but...korean :Di love the game tho (in korean version: lvl9)
  10. The code i gave you should disable the use of ['s and ]'s, wich are the tags needed for html, people won't be able to insert html, because they will then show as plain text, you can't disable all characters used inside of html tags, as this would cause a great disability to your textarea..
  11. I wrote a tutorial about it (to give the tutorial some more perspective I wrote the full authentication system), It's pending right now, so you'll have to wait until some mod validates it :DI'll post the link once its validated.
  12. Now that looks seriously nice, great way to contrast abstract with grunge! now give it a border, align your text centerdown (and make it a bit more visible if possible) and try to smudge or blur that diagonal line between red/white (bit middle on the left side) 7/10
  13. Sorry for the double post, i didnt know what to do with "numbers-only textbox", googled and the only possible way is javascript: <script language="javascript" type="text/javascript"><!--function intOnly(i) { if(i.value.length>0) { i.value = i.value.replace(/[^\d]+/g, ''); }}//--></script>Integer Only Textbox:<br><input type="text" onChange="intOnly(this);" onKeyUp="intOnly(this);" onKeyPress="intOnly(this);"> Source: Evoluted.net
  14. well i think the following could work: <textarea name=$textarea cols='10' rows='30'></textarea>$textarea=htmlspecialchars($textarea,ENT_QUOTES);$textarea=StrReplace($textarea,'<','>');$textarea=StripSlashes($textarea); That kind of stuff is normally used for SQL Injection prevention, but it should strip all the < and >, wich are the characters needed to get html going..
  15. you mean like with ratings? It's all done through if() statements, if you want to put an if() on a value (for example with the ratings), it's something like this: if($rating['X'] { } wich means that if the variable $rating gets the property value of X (NONE-10) it will whatever you specify. Hope that helps
  16. Argh, can't edit... that link is wrong sorry (forgot the output) the tutorial
  17. Sorry for the non-working script <form method=post action='submit.php'>$user=$_SESSION['username']//the session name of $user (in brackets) has to correspond with the $_SESSION[''] you//are using for your user(login)$userid=mysql_query("SELECT userid from usertable where username='$user'")//adjust tablename to correspond with your usertableYour comment: <input type='textarea' name='comment' cols='30' rows='10'>Your rating: <select name='rating'><option value='0'>NONE</option><option value='10'>10</option><option value='9'>9</option><option value='8'>8</option><option value='7'>7</option><option value='6'>6</option><option value='5'>5</option><option value='4'>4</option><option value='3'>3</option><option value='2'>2</option><option value='1'>1</option></select><input type='hidden' name='userid' value=$userid><input type=submit value=submit name='go'> then just make a new page called submit.phpfor this page you need to insert a field in your 'comment/rating' table with something like author <?php$comment=$_POST['comment'];$rating=$_POST['rating'];$author=$_GET['userid'];if(!$user || !$userid){die("A problem occured when connecting to the database");if(empty($comment) {echo "Please write your comment";}if($rating==0){echo "Please give a rating";}} else {mysql_query("INSERT INTO commenttable VALUES('$comment','$rating','$author')") or die("A problem occured when trying to post your comment");} Hope this helps..
  18. well first, you need to connect to mysql and make your way to your DB $conn=mysql_connect('localhost','username','password');$db=mysql_select_db("dbname",$conn);if(!conn){die("could not connect to server.."); }if(!db){die("could not connect to database.."); } then make a form code and complete your script: <form method=post action='thispage.php?insert=yes'>insert into table: <input type='text' name='insert' size=30><input type=submit value=submit name='go'>$insert=$_GET['insert'];if($insert=yes){ mysql_query("INSERT field into table VALUES('')"); } it should be something similar to that..
  19. Relatively low size (19kb) animated and layout with Xisto style color (lightblue) appreciation/comments and suggestions greatly appreciated
  20. outer space in this context means out of our little galaxy, called the Milky Way galaxy.It sounds terrific to see such a development, but if it takes 25 years for a spaceship to reach the end of our galaxy....o my .Radioisotopes, sounds like they are actually alot further then they're interpreting. I hope they will get some new good developments on space-engines and aircraft, although we won't be seeing much of the developments (it will take quite some years before they actually make some visual improvement) i do hope they keep trying and 'go where noone has gone before'.I've always been intrigues by outer space, the beauty of 'the skyline of outer space' just speaks to people, and of course the question 'is there more intelligent life?' always stands out.
  21. Sounds like a great development in the medical scenes. The reason why it has not been on the news yet is because the scientists probablywant to do many more intensive tests to proof it works, on just 1 person is just not enough to be called 'cure for cancer'.and Cammy, i think it's very wrong from you to say that they are stacking up the cure because they are making lots of money out of it, the scientist that was responsible for this possible cure had to make alot of effort to achieve this cure with his team, and it could earn him some awards, making money from something that you know many, many people will be happy with, just sounds like an act of brutal genocide.
  22. Hello and welcome to a great community Gimli.It's pretty easy to get your credits up, just post in the forums and they'll come faster then you think. If you got any programming knowledge, you can help people in the programming languages board, if you got any graphical experience (such as with photoshop) you can post signatures and more in the appropiate boards.Or if you just wanna talk in general, about free stuff, about moneymaking on the net, games or even way other things, the appropiate boards exist :DAnd if you need help with your website you can post in the website discussion board, there are lots of people willing to help you, such as myself.
  23. Looks cool johnny, maybe you can try to get some more 'noise' on your J (in your name)
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.