MiniK
Members-
Content Count
113 -
Joined
-
Last visited
Everything posted by MiniK
-
Ha! Well said. xD I don't dream as much as I used to, and when I do dream, I forget what the dream was about.
-
I'm thinking of getting AdSense but I have a few queries:-Is AdSense entirely free?-Can Google access any of your information?-How much, on average, do you get per click?Thanks,MiniK
-
Basically, there's this series of books I read called "CHERUB", and I'm thinking of creating a mission in which CHERUB fans win prizes. Here is the mission briefing so far: ***CLASSIFIED MISSION BRIEFING*** TO BE HANDLED ONLY UNDER STRICT PERMISSION BY JOHN JONES THIS DOCUMENT IS PROTECTED WITH A RADIO FREQUENCY IDENTIFICATION TAG ANY ATTEMPT TO REMOVE IT FROM THE MISSION PREPARATION BUILDING WILL SET OFF AN ALARM DO NOT PHOTOCOPY OR MAKE NOTES The Forming of LAFE In late 1997 a Mexican Businessman, Paulo Mensita, his wife Carmen and his son Pablo travelled from their small home in Mexico City to Britain for a two week trip. They had saved up for months to go on the short trip so were extremely excited. One day, Paulo returned to his hotel room to find the dead body of his travel agent in his room. He fervently denied being at all involved in the mans death but was nonetheless taken into custody by the Metropolitan Police. The police decided that Mr Mensita should be extradited back to Mexico where he was promptly convicted of murder and executed. Mrs Mensita believed that, had he been tried in Britain rather than by the corrupt Mexican Government, he would have been seen as innocent and stayed alive. She was prompted by these events to create the Liberation Army for Foreign Extradites (LAFE) which, despite its name, was purely peaceful. Ryan Huish Ryan Huish was blamed for a spate of burglaries in London in 1999 but nothing could ever be pinned down on him. If the robberies had all been carried out by the same person, as suspected, they would have collected almost two million pounds worth of belongings over the two week period that the incidents occurred. In 2005, Ryan Huish was recognised by police at several LAFE meetings, speaking closely to Carmen before and afterwards. It was suspected that he was involved and information about this was passed on to the intelligence services. Dana Smith On a recruitment mission one month ago, CHERUB agent Dana Smith unwittingly met Pablo Mensita. He was too old to be recruited, but Dana got talking to him socially. He very easily gave up information that he was Carmens daughter and was staying in the care home whilst she was back in Mexico, organising various matters. He also explained that Ryan Huish was running LAFE whilst his mum was away and how it looked like the peacefulness of the organisation was likely to change. Danas mission was adapted in an attempt to get more information out of Pablo and is ongoing to this present time. MI5s Response When CHERUB gave the information Dana had gathered was given to MI5 two weeks ago, they rejected it, explaining that they couldnt trust a teenagers word, especially when the idea of was so ridiculous. Chairman Zara Asker tried to persuade MI5 to reconsider but they bluntly refused. The mission seemed hopeless. CHERUBs Solution Since MI5 were so unwilling to get involved in any investigation into LAFE, CHERUB decided to take matters into their own hands. Mission Controller John Jones took control of the situation, taking information from Dana and passing it on to any cherubs who wanted to help keep CHERUBs good name. Many agents have so far tried to help and, although some have helped, many have failed to uncover any important information. Carmen is returning to Britain in the next few weeks and Pablo is hinting that Ryan is planning something major in that time. Its up to anyone who can help to stop his plans before something terrible happens. THE CHERUB ETHICS COMMITTEE UNANIMOUSLY ACCEPTED THIS MISSION BRIEFING. ALL MISSION CANDIDATES SHOULD CAREFULLY CONSIDER THE FOLLOWING FACTORS: This mission has been classified LOW RISK. Cherubs are not required to leave the campus as part of the mission and any information about it should not be removed from the computer suite of the mission preparation building. Cherubs are reminded that the computer systems in the mission preparation building work differently to normal computers, leaving no trace. This means that certain sites and features cannot be accessed through them. I don't know whether to carry on with it. What do you think?
-
I don't understand what the script is or what it does. Could someone expand on "text editor", please?
-
Yes, I agree with teknoTom. If I'm gonna have a chip put in my eye, I want to at least have a say as to whether I want it or not. It's just unnatural.
-
I am 13. Does this make me superior to ickle kiddies? It's funny when you walk up to toddlers and shout "I AM CONSIDERABLY MORE IMPORTANT THAN YOU!!!". They just stare at you. I also agree with the shove 'em in the freezer until they look demented idea.
-
I luff GMail. I can remember the good ol' days when you had to be invited. I kept sending invitations to myself. Hotmail isn't as good. GMAIL looks more professional, it has less ads.
-
Yersh. I think Xisto is cool, the way it takes away hosting credits. It's /THE/ best free host out there, and it's the only hosting forum I have managed to keep active one.
-
Hello. This is my first web tutorial ever. This is basically a simple register and login script. Yes, I know its a bit rubbish but Im quite new to PHP/MySQL. Heres the register form. This can be any file extension you like. Id recommend calling it register.html. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;<html xmlns="http://www.w3.org/1999/xhtml/;<head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Register</title></head><body><h1>Register</h1><table><tr><form action=register.php method=post><td width="81">Username:</td><td width="247"><input name="username" size="30" autocomplete="off" value="" type="text" /></td></tr><tr><td>Password:</td><td><input name="password" size="30" type="password" /></td></tr><tr><td>First Name:</td><td><input name="firstname" size="30" type="text" /></td></tr><tr><td>Last Name:</td><td><input name="lastname" size="30" type="text" /></td></tr><tr><td>Age:</td><td><input name="age" size="30" maxlength="2" /></td></tr></table><p><input type="submit" class="button" value="Register" /></p></form></body></html> Now create a MySQL database. Then create a file that will be called mysql-connect.php. Here is the file: <?php$con = mysql_connect("DB_HOST","DB_USER","DB_PASS");mysql_select_db("DB_NAME", $con);?> Replace DB_HOST with the host of your database. This is usually localhost, but some hosts differ. Replace DB_USER with the username for your database, and DB_PASS with the password of your database and then replace DB_NAME with the name of your database. Enough with this file, lets get onto the actual registration script. Save this as register.php. <?phpinclude 'mysql-connect.php';$username = $_POST['username'];$password = $_POST['password'];$firstname = $_POST['firstname'];$lastname = $_POST['lastname'];$age = $_POST['age'];$ip = $_SERVER['REMOTE_ADDR'];$result = mysql_num_rows(mysql_query("SELECT * FROM TABLENAME WHERE username='$username'"));if($result == 1) { echo <h1>ERROR!</h1>The username you have chosen already exists!; }else { mysql_query("INSERT INTO TABLENAME (username, password, firstname, lastname, age, ip) VALUES ('$username', '$password', '$firstname', '$lastname', '$age', '$ip')"); echo ' <p>Congratulations! You have successfully registered! </p> <p>Click <a href="login.php">here</a> to login.</p>;?> OK, lets break this down: include 'mysql-connect.php'; Include the database connection file. $username = $_POST['username'];$password = $_POST['password'];$firstname = $_POST['firstname'];$lastname = $_POST['lastname'];$age = $_POST['age'];$ip = $_SERVER['REMOTE_ADDR']; This part gets all of the variables: username, password, first name, last name, age and ip address. $result = mysql_num_rows(mysql_query("SELECT * FROM TABLENAME WHERE username='$username'")); This checks to see if the username already exists in the database. Make sure you change TABLENAME to the name of the table in which the user information is stored. if($result == 1) { echo <h1>ERROR!</h1>The username you have chosen already exists!; }else { mysql_query("INSERT INTO TABLENAME (username, password, firstname, lastname, age, ip) VALUES ('$username', '$password', '$firstname', '$lastname', '$age', '$ip')"); echo ' <p>Congratulations! You have successfully registered! </p> <p>Click <a href="login.php">here</a> to login.</p>; If the username already exists, display an error message, and if not, insert the user information into the database and display a login link. Make sure you change TABLENAME to the name of the table in which the user information is stored. Now onto the login form. This is quite simple. Just save it as login.php. <html><head><title>Login</title></head><body><form name="login" action="login2.php" method="post"><table align="center"><tr><td class="title">Username</td><td><input name="user" size="30" autocomplete="off" value="" type="text" /></td></tr><tr><td class="title">Password</td><td><input name="pass" size="30" type="password" /></td></tr></table><p style="text-align:center;"><input type="submit" class="button" value="Login" /></p></form></body></html> Basically, that asks for username and password, and sends them to another file called login2.php which we shall move onto now <?phpinclude 'mysql-connect.php';$username = $_POST['user'];$password = $_POST['pass'];$query1 = mysql_query("SELECT * FROM TABLENAME WHERE username='$username'");$result = mysql_num_rows($query1);if($result == 0){include '<h1>Error!</h1>The username you specified does not exist!';}else{$checkuser = mysql_query("SELECT * FROM TABLENAME WHERE username='$username'"); $row = mysql_fetch_array($checkuser); $password2 = $row['password']; $status = $row['status']; if ($password == $password2) { //PUT PASSWORD PROTECTED INFORMATION HERE } else { echo '<h1>Error!</h1>The username and password combination you entered does not match the ones we have in the database.'; }}?> Lets break this file down aswell. $username = $_POST['user'];$password = $_POST['pass']; This grabs the username and password that they entered. $query1 = mysql_query("SELECT * FROM TABLENAME WHERE username='$username'");$result = mysql_num_rows($query1); This checks to see if the user exists in the database. Make sure you change TABLENAME to the name of the table in which the user information is stored. if($result == 0){include '<h1>Error!</h1>The username you specified does not exist!';} If not, display an error message. else{$checkuser = mysql_query("SELECT * FROM TABLENAME WHERE username='$username'"); $row = mysql_fetch_array($checkuser); If the user does exist, get the information stored in the database about that user. Make sure you change TABLENAME to the name of the table in which the user information is stored. $password2 = $row['password']; Get the users password. if ($password == $password2) { //PUT PASSWORD PROTECTED INFORMATION HERE } If the password in the database matches the one they entered, display password protected information. else { echo '<h1>Error!</h1>The username and password combination you entered does not match the ones we have in the database.'; }} If not, display yet another error message. OK, thats the script. Hope you liked it. It was for a website I was making but I have no need for it anymore, so I thought I would post it here so that other people can learn from it. This /should/ work, but if it doesn't, just let me know and I can advise you on what is wrong and can edit it. We can ALL learn from our mistakes.
-
Have you done that thing where you have to upload a file? It adds it to Google quicker. I don't really need SEO. I just advertise on forums.
-
I'm on a writing spree. xD The creature was drawing nearer and nearer. It's gleaming eyes were focused on the boy in front of it. The boy was scared. In fact, he was terrified. The creature crept nearer; it's grey skin brushing against the boy's bedroom door. The creature leapt up into the air and landed on the boy. He fell to the floor. The creature grabbed the boys neck and tried to strangle him. He was getting drowsy. He forced his eyes open to try and get rid of the strange creature. He felt like he was being demented. The creature had gone. Everything went black. *** "Dan, get up!" Daniel Green's mother shouted as she burst through his door. "No! Go away!" Daniel said as he opened his eyes, "Oh." he said breathing heavily. "Another nightmare?" Linda Green asked whilst pulling open his curtains. "Yeah, it was that monster. He came back again. He tried to kill me" Daniel said, weeping. "Don't worry, mate." Linda said putting her arms around her son, "We'll take you to the doctor's. He'll know what to do." *** Daniel had a wash, brushed his teeth and got dressed. He ran down the stairs to his mother who was waiting for him. "Come on, son." she said grabbing her coat and opening the door. They walked down the hard, gravel drive to her green Renault Scenic. He jumped in the passenger seat and put on his seatbelt. His mother got in and started the ignition. She reversed and started heading down the road towards the doctor's surgery. Linda noticed a blue Mondeo parked in the middle of the road. She went up to it and hit the horn. The driver poked his head out through the window and started shouting in some foreign language they didn't understand. "Bloody foreigners!" Linda shouted. The driver pulled into the road and when he had finished, Daniel turned round and stuck his two fingers up to the driver. "Eh!" Linda shouted. "It was what he deserved!" Dan said. Linda carried on driving and noticed that her best friend; Jane was walking into a tanning salon. "Look! What does she need to go in there for? She's in Spain eight months of the bloody year!" "Mum!" "What?!" she said looking at her son realising what Daniel was pointing at. She was about to smash into a Frontera in front of her. "Sh*t!" she screamed slamming her breaks on. There was a loud bang and everything went black...
-
New Virus Masking As Ie7 Download
MiniK replied to Saint_Michael's topic in Security issues & Exploits
Use Firefox. It's a lot better than IE, and it allows you to change the layout and you can add lots of cool features. -
Just downgrade your upgrade to a grade that's higher than your current grade. You get a free ring ding! Nah, I've never used Vista and although people say bad stuff about it, I'm tempted to try it.
-
My school's quite boring. In fact, my life's quite boring. Bah! Stupid school! Stupid peoples! Stupid..something!
-
I got a lot of inspiration from the film. I wrote this last night for a competition on another forum I frequent: Notice from truefusion: If it was for another forum, then quote this one. Adding quotes.
-
I like the idea too. It just seems a bit coincidental as I only just started re-making games again today..
-
Basically, the story I'm planning is that the above story is just a story a boy reads at school, and he becomes obsessed with this book and the story of 69. He starts to think that 69 is after him too and some of the things that happen to Tom are also happening to him too. You will discover more about 69 as I write it. Lemme just say, the ending isn't as "happy" as you may expect..
-
Have a look at w3schools.com. They have some pretty good HTML and other scripting tutorials.
-
Aaaargh! Basically, I'm really annoyed but I dunno why. Probably because I keep agreeing to do things like websites and stuff but I do so much stuff, I can't keep track. I've tried to calm down by doing some writing. I like writing, it's soothing for the mind. It allows you to express yourself. I've done this: Mum? Thomas Gregory said crawling out of bed. He felt dizzy. Something had come over him, but he didnt know what it was. He staggered over to the door in his dressing gown. He pushed it open, not knowing what to expect. The previous evening had shared many secrets, but more importantly, it revealed the true meaning of 69. The number. The dreaded number. The number that killed Toms father. The number that ruined his life. Tom screamed. The sight before him was ghastly. A trail of blood lay before him. Thomas felt a chill come over him. The grey, rugged curtains were dancing as the wind rushed through the open window. He was overcome with shock. Lying at the end of this trail of blood was a body. He didnt recognise who it was at first, but after a few silent moments, it hit him, like a bullet to the head. He felt sick. He wanted to throw up. The weak, frail body of his mother lying on the floor made his eyes well up. A sudden rage made him realise just how strong he was. Although there was no clear sign of the cause of his mothers death, the blood seeping through her mouth gave him a clear picture of who committed this evil act of homicide. Always believe in yourself was what his mum used to say to him back when he was a child. Back when there was no 69. No evil number to ruin his life. He wanted to make her proud. Even if 69 had got her, he wanted to feel the warm sense inside that his mother would be proud of him. His eyes were blurry. Through tears he scrambled to his feet. A question still remained: why had 69 not gone after him? Was there a reason? Or is it just a coincidence. Tom knew exactly what 69 wanted, but was he willing to give the one possession of any meaning to a number? Thats all 69 was. A number. A number can hold many secrets, though. Through all of the tragedy and woe, was 69 innocent? Was it really 69s fault, or did it just happen to be in the wrong place at the wrong time? Please tell me what you think: it may help having some decent critisism. Thanks for being here.
-
Whats Important To You When Designing Your Web?
MiniK replied to Ninkul's topic in Websites and Web Designing
I also prefer to be standards complient. XHTML is definately the way forward. I also try to use javascript to display the page content, so the users don't have to keep changing pages, if a large proportion of the pages are already loaded and waiting to be displayed it makes things work faster.Graphics have to be consistent with either the theme or the design. The less megs the images take, the better. -
I've tried using Blender but I found it quite confusing. I prefer Macromedia Flash to be honest. It's a lot easier and has more functionality.
-
Gmail is without a doubt the better of the two. It has more storage, better searching, easy integration with practically any email client, auto-responders and, my particular favourite feature, filters.
-
I'd try compiling it in py2exe. That's probably the best Python compiler out there. It generates an exe file (the clue's in the name), which only needs one dll normally although as you are using Tkinter it may need more than one.EDIT: I've dowloaded the zipped version. It runs on my system, though I suspect that's because I have Python installed on my system.
-
Haha. I like it. It's good.