Not-Noticeably.net

Skip navigation

All posts tagged with "Scripts"

What not to do on the internet

Inspired by Jem's latest entry, I've come up with a quick and easy list of what not to do on the internet, or, more specifically, when you own a website.

  1. Do not steal.

    Sounds obvious, right? Don't take things that aren't yours. Seen a lovely image on some site and think it would look great on yours? Too bad. Yes, you can ask the author's permission but in all likelihood their answer will be negative. In some cases, the creator might feel insulted that you want their image when they've spent a long time making it and/or require payment or whatever.

    This goes for more than images though - it goes for scripts, fonts, text... Basically anything you see on another site. Unless the owner has specifically stated that you may take their work (and even then this should be investigated - some people are distributing stolen works), you can't have it. This is the concept of Copyright and Intellectual Property, something that if you are not familiar with, I suggest you educate yourself about as a matter of urgency.

  2. Do not redistribute things you did not create.

    A lot of people have scripts such as Wak's Ask&Answer on their sites for download because the original site doesn't exist any more and they want to share the script. It's fine because they don't claim they made it, and they always give credit, right? Wrong.
    Most scripts (including the Wak's one mentioned above) prohibit redistribution without the author's permission. I highly doubt the number of sites offering that script for download have contacted its creator regarding their offering it at their site. I definitely wasn't contacted when PHPAskIt was put up for download on a few people's sites, yet my site and script are still publicly available, so it's not like anyone needs to share it because it's not around any more.

    Even if a script does not state that it should not be redistributed, that doesn't mean you can do what you want with it (and yes, redistribution does mean editing the script and giving out/putting your edited version up for download). Under the Copyright law, the Copyright holder (the creator) retains the right to redistribute unless they have specifically stated otherwise. That is, if the script author hasn't said you can redistribute it, then you can't do it.

    Again, this isn't just to do with scripts (though it's one of the most common). Fonts, smilies and celebrity imagery are among those affected by this too.

  3. Do not remove credits.

    If you obtained the right to use something (e.g. a script, font, article, etc.) which requires a link back to the creator's site (also known as linkware), then you mustn't remove the credit. Doing so voids your right to use said item. However, I have ranted about this before so I'm not going to do it again.

  4. Do not direct link.

    Direct-linking is linking to an image on somebody else's server. When you post an image somewhere, you might use this sort of code:

    <img src="http://example.com/someimage.jpg" alt="An image">

    Notice the part in the src - do you have permission to link the image from example.com? Direct-linking is theft of bandwidth (data transfer) which most webmasters pay for. It's a bit like if you're using your neighbour's wireless internet that they are paying for (and you're not) - it doesn't belong to you, you don't have permission to use it, so don't do it.

    Some sites might set their images up so that you can't direct-link to them; others might change the image to something of their choosing (not always a good thing). Others still might take advantage of the fact that you're direct-linking to do malicious things with their image - Jem got me to direct-link an image off her site and she was successfully able to steal cookies from me. ...But then Jem is evil so she would do that. :P

Um, that's all I can think of. Basically don't do things you wouldn't like done to you. I'm guilty of most of what I've said above... In my n00b days I took a few images from a site that I didn't pay for and made layouts out of them. I also removed credits and direct-linked from some sites, though I don't believe I have ever redistributed a script that I did not write or at the very least co-write.

On a slightly different note, if you are still using unpatched versions of PHPFanBase, PHPCurrently, PHPCalendar, PHPQuotes, PHPClique or FA-PHPHosting then you will find yourself hacked in a matter of seconds. Even though I have nothing to do with any of those scripts on my site, I've got bot after bot scouring every single link on my site looking for protection.php to exploit nasty code with, and I'm far from being the only site they're doing this to.
If you've been living under an e-rock for the past two years (that's how long this exploit has been around for) then you really need to read this as soon as you possibly can, and either patch your scripts or even better, stop using them at all and switch to safer alternatives.

Uni, PHPAskIt, funny dates and other blurb

I had my final university exam this morning. I have no idea if it went well or not, the questions were badly worded and rather confusing so I answered them as best I could. If it didn't pass then oh well. Buuuut... That is it. That is the end of university forever! :D Assuming I've passed everything, obviously. But yeah, I'm done. Now the job search starts. *Snore*

Now that studying is done and out of the way, work on PHPAskIt 3.0 will be stepping up. It's almost finished as it is, but I'm wondering if perhaps there needs to be more done to it... Anyone got any suggestions on things they want to see? Most of what has already been suggested both at CodeGrrl and on my previous PAI blog entry have already been implemented.

Also... Is anyone good with AJAX, and willing to contribute to PHPAskIt? Obviously since PAI is a free script this wouldn't involve payment, but I would just need some guidance from an AJAXy wiz if one is available. I've tried doing some AJAX myself and whilst I was moderately successful, I don't really want to put out some JS that will most likely break or be full of security holes because I'm not very good at it.

...has anyone noticed the date today? For people who write the short form of the date in day/month/year format, today is 05/06/07. At 9 minutes past 8 and 10 seconds this morning it was 05/06/07 08:09:10, heh. For those who write the date in month/day/year format, 05/06/07 happened on the 6th of May. Either way, slightly amusing. Woooo

Oh and I've decided the tag cloud will stay for now. I'm going to try and make it all colourful and pretty and stuff and if I can't do that then the ugliness of it right now will be gone (promise) :P Thank you all for your feedback.

Akismet for Guestblock

I'm not sure if anyone else has done this or not, but since my Guestblock started getting ridiculously spammed yesterday (I've only had it about 2 weeks!), I decided to do something about it. The built-in spam protection wasn't working, and blocking IP addresses is about as useful as telling those spammers how naughty they are for leaving their messages all over your site. Tut.

Sooo. After successfully implementing Akismet into my CMS a while ago, I wondered whether I'd be able to do the same for Guestblock (the main site is kind of dead right now). Lo and behold, I have successfully done it.

If anyone is interested in the modification for their guestblocks, let me know. Please note that in order to use the Akismet anti-spam system you must have an account at Wordpress.com.

Woo!

Older Entries | Newer Entries