Jump to content
xisto Community

QuickSilva

Members
  • Content Count

    182
  • Joined

  • Last visited

Everything posted by QuickSilva

  1. Also let me say that I had this problem once. I applied for Google Adsense a long time ago and did get accepted. Now I put the adverts on a different website, and I emailed there support team over this. I think all you have to be approved once, and you can put the adverts on any website as long as it sticks to the rules made by Google. I may be wrong, but what they have told me, I think that is what happens.I do not know if Google actually check the websites that you have put the advertisements on, they probably will do to check if it abides by the rules.
  2. Well to be honest, I actually forgot to post a reply to this. I only am replying because I remembered when I saw it on the "Latest Activity" table at the bottom of the page. I can happily say that we are together and in a happy relationship, which I hope continues for a long while to come.With Valentines day coming up shortly, I hope this can be a good year, and we will have a good time. Some people say that if they reject, they won't be friends, but that isn't only the case. Well for me this paid off... Got to rush to school... Bye and thank you very much for all your help!
  3. Currently testing. If the shoutbox is for the blaim, will it have to be removed? So long my friendly shoutbox, it's been a good few, urm, days while you have been there .
  4. Very nicely put and extremely simple to follow. Maybe you could make a little form showing how to implent this actually into a web page, e.g. a contact us form. Or you could assign a session to this, and use md5 encryption on it to process this that way. I have quickly made an example of this: Image.php: <?phpsession_start();//CAPTCHA GENERATOR//Created by Rob Valkass 2007//Edited by QuickSilva//Feel free to distribute and use as you want//Just leave this notice and comments intact//Email: webmaster@rvalkass.co.uk//Web: rvalkass.co.uk///Set the header to say what sort of information we are giving the browserHeader ("(anti-spam-content-type:) image/png");//Generate 2 random numbers for use in our encryption$enc_num = rand(0, 9999); //This number will be encrypted$key_num = rand(0, 24); //This is used to choose which bit of our string to use in the image//Use these to get a random string of numbers and letters using MD5//We then cut the 32 char MD5 down to an 8 char string, starting from a random point$hash_string = substr(md5($enc_num), $key_num, 8);//MD5 the $hash_string variable again$hash_md5 = md5($hash_string);//Asign it to a session$_SESSION['captcha'] = $hash_md5;//Create an array of the images available to us as backgrounds$bgs = array("lipsum.png", "fibres.png", "rainbow.png");//Choose the background image using the handy array_rand function$background = array_rand($bgs, 1);//Now to start creating the all important image!//Set the background as our randomly selected image$img_handle = imagecreatefrompng($bgs[$background]);//Set our text colour to white$text_colour = imagecolorallocate($img_handle, 255, 255, 255);//Set the font size$font_size = 5;//Get the horizontal and vertical dimensions of the background image$size_array = getimagesize($bgs[$background]);$img_w = $size_array[0];$img_h = $size_array[1];//Work out the horizontal position$horiz = round(($img_w/2)-((strlen($hash_string)*imagefontwidth(5))/2), 1);//Work out the vertical position$vert = round(($img_h/2)-(imagefontheight($font_size)/2));//Put our text onto our imageimagestring($img_handle, $font_size, $horiz, $vert, $hash_string, $text_colour);//Output the imageimagepng($img_handle);//Destroy the image to free up resourcesimagedestroy($img_handle);?> Form.php <form method="post" action="process.php"><img src="image.php" border="0"><br /><input type="text" name="image"><br /><input type="submit" value="Submit"></form> Process.php <?phpsession_start(); //Start the session$session = $_SESSION['captcha']; //Define the session we set in image.php$image = $_POST['image']; //Define the post$image = md5($image); //MD5 encrypt the postif ($session == $image){ //if they have put the right text inecho "Correct!";}else{echo "Incorrect!";}?>I have not tested this, so there maybe a few errors.
  5. I have voted for male. Why? Because I am a male, believe it or not! After 10 votes here is the statistics: Male: 90% (9 Votes) Female: 10% (1 Vote) So as you can see, male is leading by a far way at this moment in time. But it could all change.
  6. That is the real problem if your an online gambler, you don't know what kind of cheating snippets of coding they have implanted into the website. They could easily make something so the Casino wins 9/10 of the time, if it is impossible to win, is that against the law? But then again, they are other websites that play it fairly. In my opinion, I would rather actually go to the Casino in real life than bet on a PHP or some other type of script that will make myself lose all the time, and drain me out of some money.Yes in some games the Casino does have a higher chance of winning, but you can learn that and win it. But on a website, it could be a random formular, which you can't learn and makes the Casino win over the end user all the time. To be honest, I do not trust online gambling.
  7. function url_exists($url){if(!strstr($url, "http://")) { $url = "http://".$url; };$fp = @fsockopen($url, 80);if($fp === false) { return 'false'; } else { return true; };};Right here goes. You are returning the text "false" and not just false, so that's problem one. Another problem I spotted was that you put a ";" after the "}", and you do not do that. So here is the code fixed: function url_exists($url){if(!strstr($url, "http://")) { $url = "http://".$url; }$fp = @fsockopen($url, 80);if($fp === false) { return false; } else { return true; }} And I believe it isn't to do with the ===, as that means if it returns something (I think).
  8. Hmm... Cool. But I would recommend FasterFox add-on. It does all of this, but automaticaly and there is some other settings what you can tweak to make it go even faster, also. Here is the link: http://fasterfox.mozdev.org/ Give it a go, it's much simpler. It also has a page timer, so you can see how slow and slugish you are going ;).
  9. Pretty cool, but I don't think i'm going to print this topic out, go to a cola machine at school and try it. Does it work in England? For the price of a Cola, I don't find the point in, let's say, cheating the system.If I was homeless and went to sleep next to a cola machine, I would have a go at it, but I am not, so don't really need to.But I still think, it will look suspicious to other people when you have your hand shoved up the "trap door".Not going to try this one. I have read others like this, where you type in keys and it gives you one for free.If someone actually attempts this, please post your outcomes!
  10. I use Gmail for all my emailing needs. The conversation view is such great, you can view all your replies and everything from one page. The AJAX interface gives it just that bit better layout, and it can do all sorts of things, like saying how many new messages, displaying messages all from one page, saving on your bandwidth and theres. You can view the website in plain HTML also, so it is more better for older browsers, or if you are viewing the website on a PDA or something similar. I can't forget the Google Messenger what you can use with the web mail client to make it an even better email website.Overall a very good email service, and I have heard that it is going to be out of beta very shortly.
  11. Well I played it once. I couldn't even get past the training level or something like that. There are so many scammers out there saying that you can cheat Runescape by downloading a virus or something. My friend once made a new email and pretended to be the owner of Jagex to some kids at our School. Did work and he got some items or something similar to that. So to conclude this, I haven't played this game really, and I think the ?5 premium membership or something like that is a rip off.
  12. $result = mysql_query("select * from comments order by id desc limit 10");//the while loop$id = $_GET['id'];if (isset($id)){mysql_query("DELETE FROM comments WHERE id = '$id'");echo "Comment deleted!";}while($r=mysql_fetch_array($result)){//getting each variable from the tableecho $r["comment"];echo "<a href=\"?del=".$r['id']."\">Delete</a><br />";} I have not tested this
  13. I have had Windows Vista on my other computer now since they released the beta version a while back. I quite like the operating system, and I wonder how long till they stop doing Windows XP updates. The visual is very nice, and there are some new games also - not played them though. Overall this is a very nice operating system, and has some great features!
  14. Very nice Opaque! I may take out more paid hosting from Xisto - Web Hosting and try out the new server, but first I must pay this invoice. Well done on this, and Xisto Corporation grows bigger every day of the year. Well done Opaque!
  15. I hope it is coming back! I wasn't in the shout box every 2 seconds though, unlike some people *hint hint*
  16. Here is a quote from Opaque: Looks like while installing all these new features, something mucked up and they have to revert back. Good job they actually do take backups!
  17. Cool! I personally think it would look better with a 1px black border. The style I don't like really, I much prefer the style like in your signature to this. But nevertheless, pretty cool!
  18. . So that is why my post count got taken down. Nevertheless, it will make the forum a bit more active, as they need to get there credits back up. I am loving the upgrade by the way!
  19. Very nice story. I really enjoyed reading that one. Quite emotional at some points, but you battled through that and good on your for doing so. I believe for you it was well worth the trouble and all because now you have such great websites and companies. You and all of the staff have done really well in making and maintaining this website. If this website ever closes, I truly do not know what to do. This website is one of the few things I actually use on the internet, along with Wikipedia .Anyway, very good website and overall one of the best I have ever been on and the best community on the internet!
  20. Hey... Looks like your doing some updating! :o

  21. I agree. If anyone has used this website to this date, please post a testimonial for it here. I don't think we really trust these types of websites, as they have not really got going. I personally see lots of these websites, making out that you can earn hundreds of dollars per day, with minimum effort.Plus fact I think the only reason the user posted this website is to gain referrals. The site's layout looks a bit un-professional, and looks like a group of children developed it (not offending anyone). If this were a real company, making a lot of money, surely they would go for a more professional less straining on the eyes layout.
  22. ... Was this the art of some scripter/hacker... Intending to mess up Trap 17? Thank you for alerting us, and I suggest you have a drink of water to cure the dizziness .
  23. Oh so very cool. I actualy knew how to do this, but for some people that didn't, it's a very good tutorial. You have explained it very well and made it quite simple to understand. Very well done!
  24. I have just uploaded Joomla onto my webserver on Trap 17. I got quite bored just going round it all. I don't really know how to do anything on it, and would have liked a CMS with a Forum built in - Like PHP-Nuke. Hmm... I'll take a more deeper look a bit later
  25. You could try and make a website, then put cutenews into that. As it is flat-file, I think there may be some small security holes in the software. Nevertheless, give it a shot. http://www.cutephp.com/
×
×
  • 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.