Jump to content
xisto Community

8ennett

Members
  • Content Count

    435
  • Joined

  • Last visited

Everything posted by 8ennett

  1. Right, i understand exactly what you're saying now, however the advertising banners etc. I've used in the past from companys has never once been in an iframe. It's usually javascript which calls either an embed object or something similar from the advertising server. My sites always use break-out-of-frames scripts which prevents any frames, including iframes from being used on the page anywhere. This is quite a common practice and advertisers are fully aware of this which is why they tend to use flash, javascript or some such technique. The way it works, the javascript calls for a specific response and the ad server returns what ever, the last site i used you could specify what genre of adverts were displayed and so on.
  2. Unfortunately for you the router can't assign its own ip's and have the pc assigning ip's as well. Basically when you setup ICS on a computer, that computer takes on the IP allocation duties a normal router would do, but only if the DHCP server on the router is turned off. The DHCP server btw is what allocates the ip's to every device connected to it wirelessely and hardwired. The other devices on the network will be fine, the pc with ICS enabled will assign the ip's for you to these devices through your router (as long as the DHCP server is turned off). The port forwarding, well that should be easy enough to sort out yourself.
  3. My first console was a NES, the version before the SNES, I had doctor Mario for it, it was tetris but with coloured pills instead lol but what you were saying about using a PC instead of a games console, if that's what you're interested in doing then you have to get an alienware pc. They're designed for gaming and the graphics quality and speed is amazing. I especially love the extra widescreen monitors you can get that are curved around you so it feels like you're in the game. If you wanted to you can even get a wireless attachment so you can use the xbox360 controllers and wireless headsets on your pc. My favourite console though has to be the wii. I bought Medal of Honour: Heroes 2 and the full interaction of the environment with the controller was great. Very difficult to get used to in the beginning, I was always taking bodyshots instead of headshots which was a mistake. The maps were well designed too and the gameplay was excellent, but as always you would always get someone who would go around and kill his own teammates which really messed with your overall kill rating. I finally mastered the sniper rifle and shotgun and worked my way up on the scoreboard from rank 33,000 to 64 then had to stop playing after my son was born lol I love other wii games too just for the physical side of the gameplay, like need for speed carbon. That was great, you would tilt the handset up and down for acceleration and reverse and use the nunchuk to stear by tilting it left and right. You could rotate the camera with the analogue stick and nitro on the little button. Resident evil 4, yet another great game to play on the wii. I think if they put more tech. in to the graphics and memory of the console then it could be greatly improved and have some AMAZING games released for it.
  4. Had a quick skim through the code, not bad actually. I was going to go with a slightly more simple one but effective none the less. Not sure what it is you mean when you talk about iframes and ad sites. Where does the iframe come in to a star rating service? or is it ad servers you're rating? I don't quite understand sorry.
  5. Right, I've just eaten a massive king prawn curry so i'm gonna have a lie down for an hour, but when I come back i'll show you how to do it using PHP and the $_GET variable! Unless that's not what you're looking for, if you don't want the page to refresh then I can show you how to do it with PHP and ajax
  6. Yeah I've filed myself a ticket now explaining the situation, I was just wondering why they had set it to fraud and if anyone else had this problem before. I thought it was strange the colour of my account on the billing section was red, then I noticed the key beneath it said red meant 'Terminated'. So has anyone else had this happen to them or is it just I've been denied hosting do you reckon?
  7. Maiden are my all time favourite, they were the very first band I ever listened to and liked, my brothers were avid fans so it was inevitable!
  8. 8ennett

    Msn Bing

    Did you hear about what Microsoft are trying to negotiate with Rupert Murdoch? They're trying to pay him to make all his online sites for all his media companies exclusively searchable on Bing and no others. Google are outraged by this, and so is everyone else, and I reckon if this actually goes ahead then murdoch's online visibility will rapidly deteriorate causing him to break the contract with Bing and pay a hefty penalty for doing so.
  9. I was just wondering why my application for web hosting was considered to be fraudulent? I logged in to the billing and support area and it said on the application details it was classed as fraud and was highlighted in red for terminated. Was there some form of problem with my account?
  10. I think that may have been the case, I was looking at that figure the other day. I know a few people who would be willing to contribute posts every now and then in the tutorials section and wouldn't really use any mycents they collected so it would help the forums out without draining opaques wallet any further. Total respect for the guy and what he's doing, this is why I'm not going to take the mick with this place. If I earned enough mycents for a whole years worth of top-tier web hosting i would probably not use it all and keep posting anyway. It's a fantastic dream he has and is great for people who are looking for a web host that does not take liberty's with its clients.
  11. I'm sure these forums were quite active at some point, but I've noticed that they seem to have died off a fair bit. I'm making regular posts on topics I like to have an opinion in yet when I check the date of the original topic it was up to five years ago it was made. Is there any kind of reason behind this, and if so is there anything I can do to help get this place back up to strength?
  12. Need to get a dedicated metal section in this forum guys, that's the one subject I can talk about all day and night regardless of post counts and myCENTS and stuff lol Right people, let's run it down, some of the best metal tracks around that ISN'T any of this nu metal boll**** or alternative wan* Pantera, Cowboys From Hell Stabbing Westward, The Thing I hate ASP, How Far Would You Go (Nice and bouncy) KoRn, All in the family Slayer, that's all i need to say Stormwarrior, Heading Northe Soil, Halo U.D.O., instigator U.D.O, screaming eagles Aw man, I can't even start, you want some awesome advice on metal music then reply to this an give me a reason to educate you people!!!
  13. Actually I looked in to this a little further and it turns out that one is wrong, the $ sign has been in us before the formation of the United States. The other theories on this are it is an adaptation of the Peso sign and the other theory is it comes from the pillars of hercules on the spanish coat of arms. Either way. Anyway I just realised I posted this on the wrong board. If an admin would be so kind as to move it to a more appropriate board.
  14. There are so many responses to this yet this was posted over five years ago lol if they're still having trouble with this guy then they need some police intervention me thinks. Invision boards are notoriously unsecure, although that has been addressed over the years. But yeah if you aren't going to write your own forum then I would suggest vBulletin. Highly secure and full customiseable with so many additonal plugins available. Short of that, you could always try hacking this guy back, or just go round to his place and kick in his PC? Possibly his face while you're at it? lol only joking
  15. Right, so the basic $2 package doesn't have shell access then but still has access to the crontab application? I'm assuming it has it's own GUI in Cpanel then? Or is it just a single line command textbox that only allows crontab input and nothing else?
  16. Imagine how many whiteboards it would take for five years worth of solid coding lol You would end up being issued your own prison complex just to store the buggers! If I was imprisoned for five years then I would probably ask for a none-networked computer that was isolated from the other prisoners and pay for it myself, then sit back and work on my coding in peace. Obviously having to send it off for evaluation and monitoring for malicious content.
  17. EDINBURGH, Scotland – A 19-year-old Scottish man who admitted to threatening his grandmother’s parrot for interrupting his sleep, was ordered by the courts to apologise with chocolates. Stefan McKinsley, 19, pleaded guilty the following Monday to a breach of the peace after his grandmother phoned police Friday at 2:45 a.m. and told them the teenager was intoxicated and hitting the parrot’s cage, Britain’s The Daily Telegraph reported Monday. Prosecutors said McKinsley, who threatened the bird with violence if it did not quiet down and allow him to sleep, did not calm down after his grandmother put a cloth over the parrot’s cage. McKinsley, who spent the weekend in jail, was sentenced by Edinburgh Sheriff Court to buy his grandmother a box of chocolates by means of an apology. Truly bizarre!
  18. One of my friends is 24 and he still plays runescape lol the lack of free decent mmorpg's online is the reason why I am currently building my own, hence why I'm looking to get hosting with the admins of this fine site. I'll be going for the basic package to start with while the game is still in development and then once it is finished I will be upgrading the hosting package as my user base grows.
  19. Excellent stuff, thanks for that. My previous host didn't allow cron jobs and so I had to go to a cron website for it to periodically run certain php files, and obviously anybody monitoring my sites traffic would be able to see my cronjob.php's $_GET values used to protect it and make the whole site potentially unsecure.
  20. I've had a quick hunt around the forums and through the FAQ but couldn't find anything about cron jobs. Is crontab supported with webhosting or will I have to outsource my cronjobs?
  21. A wife decides to take her husband to a strip club for his birthday. They arrive at the club and the doorman says, "Hey, John! How ya doin'?" His wife is puzzled and asks if he's been to this club before. "Oh, no," says John. "He's on my bowling team." When they are seated, a waitress asks John if he'd like his usual and brings over a Budweiser. His wife is becoming increasingly uncomfortable and says,"How did she know that you drink Budweiser?" "She's in the Ladies' Bowling League, honey. We share lanes with them." A stripper then comes over to their table, throws her arms around John, and says "Hi Johnny. Want your usual table dance, big boy?" John's wife, now furious, grabs her purse and storms out of the club. John follows and spots her getting into a cab. Before she can slam the door, he jumps in beside her. He tries desperately to explain how the stripper must have mistaken him for someone else, but his wife is having none of it. She is screaming at him at the top of her lungs, calling him every name in the book. The cabby turns his head and says, "Looks like you picked up a real ***** tonight, John!!" A couple went to a doctor because the man was feeling down, tired all the time. The doctor said I will give a shot of vitamins, a prescription for some pep pills from the drugstore, and an empty jar for checking your sperm count - bring it back in next week so I can check it. When the guy came back to the doctor, the doctor said, "Why, this jar is empty, I told you I needed to do a sperm count." The guy said, "I tried with my left hand, I tried with my right hand, my wife tried with her left hand and she also tried with her right hand, she even tried with her teeth. We could not get that jar open!" A taxi passenger tapped the driver on the shoulder to ask him a question. The driver screamed, lost control of the car, nearly hit a bus, went up on the footpath, and stopped centimeters from a shop window. For a second everything went quiet in the cab, then the driver said, "Look mate, don't ever do that again. You scared the daylights out of me!" The passenger apologized and said, "I didn't realize that a little tap would scare you so much. " The driver replied, "Sorry, it's not really your fault. Today is my first day as a cab driver. I've been driving a funeral van for the last 25 years." An Amish boy and his father were visiting a mall. They were amazed by almost everything they saw, but especially by two shiny, silver walls that could move apart and back together again. The boy asked his father, "What is this, Father?" The father [never having seen an elevator] responded "Son, I have never seen anything like this in my life, I don't know what it is." While the boy and his father were watching wide-eyed, an old lady in a wheel chair rolled up to the moving walls and pressed a button. The walls opened and the lady rolled between them into a small room. The walls closed and the boy and his father watched small circles of lights with numbers above the walls light up. They continued to watch the circles light up in the reverse direction. The walls opened up again and a beautiful 24-year-old woman stepped out. The father said to his son, "Go get your mother." This new seatbelt has saved many lives! A young lady had just visited her doctor and he informed her that she was pregnant. The young lady had been married for ten years and had wanted a baby very badly. As she sat on the bus, on her way home, she felt that she had to share the good news with someone. The gentleman sitting next to her seemed as good as anyone to share the good news with. Sir, she said, I just received the best news you could ever imagine. I have to share it with someone or I'll bust. She told him the news that the doctor had told her about being pregnant. The man shared her enthusiam as he shared his expierence. He said he was a farmer and he had trouble with his hens laying eggs. He stated that he went out to the hen house one morning and all of his hens had layed eggs. He was so happy. he added, "but confidentially, I changed cocks." The newly pregnant woman responded, "Confidentially, me too." Once upon a time, a beautiful, independent, self assured princess happened upon a frog in a pond. The frog said to the princess, "I was once a handsome prince until an evil witch put a spell on me. One kiss from you and will turn back into a prince and then we can marry, move into the castle with my mom and you can prepare my meals, clean my clothes, bear my children and forever feel happy doing so." That night, while the princess dined on frog legs, she kept laughing and saying, "I don't think so!!" 4 married guys go fishing. After an hour, the following conversation took place: First guy: 'You have no idea what I had to do to be able to come out fishing this weekend. I had to promise my wife that I would paint every room in the house next weekend.' Second guy: 'That is nothing, I had to promise my wife that I would build her a new deck for the pool.' Third guy: 'Man, you both have it easy! I had to promise my wife that I would remodel the kitchen for her.' They continue to fish. When they realized that the fourth guy has not said a word, they asked him. 'You haven't said anything about what you had to do to be able to come fishing this weekend. What's the deal?' Fourth guy: 'I just set my alarm for 5:30 am. When it went off, I shut off my alarm, gave the wife a slap on her butt and said: 'Fishing or Sex ?' and she said: 'Wear sun-block.'
  22. The best way to do this would probably be a USB version of linux. Use UNetBootin to load a version of Ubuntu on to a USB flash drive, restart the computer then in the bios change the boot order to USB first. Then insert your USB key and save the changes, the computer will boot up in Ubuntu without affecting your hard drive and you can download and run an antivirus scanner to scan the hard drive while it is not being used at all!
  23. You don't learn to be a 'hacker', in order to exploit security weaknesses in systems, websites etc. you first have to learn all about the system. Once you have studies and become well hearsed in what it is you want to break in to then it's simply a case of using your new found knowledge to test weaknesses. For example, if you want to hack a website and it uses php, there is a page on the website where you can enter your email address to be added to the mailing list. Now we assume that when we enter our email address then that information will be added to a mysql database, which means the POST data sent will be inserted in to a query such as: mysql_query("INSERT INTO maillist (email) VALUES ('".$_POST['email']."')"); Notice that the data isn't being processed and is just being input directly to the database (obviously we can't see the code but hacking is all about trial and error). So what we could type in to the email address form is: x'); DROP TABLE maillist; -- Now what the new query will look like after the data has been inserted in to the query like above is: INSERT INTO maillist (email) VALUES ('x'); DROP TABLE maillist; -- Now our unfortunate Mr WebHost has lost his entire mailing list because he didn't use mysql_real_escape_string before inserting his POST data. Now this kind of thing you can expect to work on a site created by a complete noob to php programming, but very doubtful it will work on a pro's site, in fact it's probably impossible. When making attacks such as this you have to ensure you are selecting your targets carefully, some even put in measures to catch people in the act of hacking. I would demonstrate more examples over things such as .asp and through .exe files but I won't bother. I only learned about the different types of exploits myself to better protect my own software and website designs. Actually using this knowledge to cause random damage for no reason is just childish, it should only be used if you actually have a goal that needs accomplishing, such as gaining admin status for your favourite online game, or accessing a file on another persons computer and changing your college grades or such like. Once you have the ability, USE IT RESPONSIBLY!!!
  24. First of all you will need to create the following documents and copy and paste the contents of the below code in to them: shoutbox.php mysql_select_db ('DATABASE NAME'); if (isset($_GET['sendshout']) && !isset($_GET['readshout'])){ $shout = mysql_real_escape_string(trim(htmlentities(strip_tags($_POST['message'])))); mysql_query("INSERT INTO shoutbox (user, date, content, name) VALUES ('".$_SESSION['id']."', '".time()."', '".$shout."', '".$_SESSION['username']."')"); } if (isset($_GET['readshout']) && !isset($_GET['sendshout'])){ $query = mysql_query("SELECT * FROM shoutbox ORDER BY date DESC LIMIT 0, 10"); while($row = mysql_fetch_assoc($query)){ echo "<strong>".$row['name']." linenums:0'><?php session_start(); mysql_connect ('MYSQL HOST', 'MYSQL USERNAME', 'MYSQL PASSWORD'); mysql_select_db ('DATABASE NAME'); if (isset($_GET['sendshout']) && !isset($_GET['readshout'])){ $shout = mysql_real_escape_string(trim(htmlentities(strip_tags($_POST['message'])))); mysql_query("INSERT INTO shoutbox (user, date, content, name) VALUES ('".$_SESSION['id']."', '".time()."', '".$shout."', '".$_SESSION['username']."')"); } if (isset($_GET['readshout']) && !isset($_GET['sendshout'])){ $query = mysql_query("SELECT * FROM shoutbox ORDER BY date DESC LIMIT 0, 10"); while($row = mysql_fetch_assoc($query)){ echo "<strong>".$row['name'].":</strong> ".stripslashes($row['content']);."<br />"; } } mysql_close ('MYSQL HOST', 'MYSQL USERNAME', 'MYSQL PASSWORD'); ?> shoutbox.js return; } htmlRequest.open('POST', 'shoutbox.php?l=sendshout=true', true); htmlRequest.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); htmlRequest.send('message='+document.shoutbox.message.value); document.shoutbox.message.value = ''; document.shoutbox.message.focus(); } linenums:0'>function ajaxFunction(){ var ajaxRequest; try{ // Opera 8.0+, Firefox, Safari ajaxRequest = new XMLHttpRequest(); } catch (e){ // Internet Explorer Browsers try{ ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try{ ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e){ //browsers all not support, rare case alert("Your browser does not support ajax, please use Mozilla Firefox!"); return false; } } } return ajaxRequest; } function showData() { htmlRequest = ajaxFunction(); if (htmlRequest==null){ alert ("Browser does not support HTTP Request"); return; } htmlRequest.onreadystatechange = function(){ if(htmlRequest.readyState == 4){ document.getElementById("shoutarea").innerHTML = htmlRequest.responseText; } } htmlRequest.open("GET", "shoutbox.php?readshout=true", true); htmlRequest.send(null); } showData(); setInterval("showData()",1000); function saveData(){ htmlRequest = ajaxFunction(); if (htmlRequest==null){ alert ("Browser does not support HTTP Request"); return; } if(document.shoutbox.message.value == "" || document.shoutbox.message.value == "NULL"){ alert('You need to type a message!'); return; } htmlRequest.open('POST', 'shoutbox.php?l=sendshout=true', true); htmlRequest.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); htmlRequest.send('message='+document.shoutbox.message.value); document.shoutbox.message.value = ''; document.shoutbox.message.focus(); } index.html <html> <head> <script language="JavaScript" type="text/javascript" src="shoutbox.js"></script> <title>Shoutbox</title> </head> <body> <form id="shoutbox" name="shoutbox" method="POST" onSubmit="saveData(); return false;"> <div id="shoutarea"></div><br /><input $id="message" name="message" type="text" size="50" maxlength="100" class="textbox" /><input type="submit" name="submit" value="submit"/> </form> </body> </html> You will also need to run the following MySQL query either in the console or using phpMyAdmin: CREATE TABLE `shoutbox` ( `id` integer(255) NOT NULL auto_increment, `user` integer(255) NOT NULL, `date` integer(255) NOT NULL, `content` varchar(100) NOT NULL, `name` varchar(45) NOT NULL, PRIMARY KEY (`id`) ); Now the above files assume that you have already written to your session the following variables, $_SESSION['id'] : This is the current users unique id number £_SESSION['username'] : The current users display name These variables would usually be set in some kind of user login script however to test the shoutbox you could just write them in to the shoutbox.php script. Now what happens above, the ajax javascript file contains all the custom functions required to operate the shoutbox. We include this in the head of the our html (or php) index file soit can be used when submitting our form. The forms onSubmit function being used to call the saveData function from the javascript document. I think the rest is actually pretty self-explanatory so have fun testing it out. Just to recap quickly, in shoutbox.php where there is the following line: mysql_select_db ('DATABASE NAME'); linenums:0'>mysql_connect ('MYSQL HOST', 'MYSQL USERNAME', 'MYSQL PASSWORD'); mysql_select_db ('DATABASE NAME'); Replace MYSQL HOST with your hostname eg. localhost, MYSQLUSERNAME with your username eg. root, and MYSQL...well you get the idea. Also do the same for the very last line of code in shoutbox.php. Also replace the two $_SESSION variables outlined above with what ever your site uses.
×
×
  • 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.