Search results

  1. Scoochi2

    PHP Problems

    Does your current host allow you to use .htaccess? If so, you shouldn't have a problem. Even if not, you can still redirect without using JavaScript. Put the following into your .htaccess (if you can use it): RewriteEngine On RewriteCond %{HTTP_HOST} ^.*myoldsite\.com$ [NC] RewriteRule...
  2. Scoochi2

    .htaccess

    ^ Looks right to me Livewire. To change permissions with X10's File Manger, select the file[s] and press the 'Change Permissions' icon/text. Then play around with the checkboxes until it says 700 at the bottom :) Both methods should work, though.
  3. Scoochi2

    .htaccess

    I think you don't even need .htaccess Just change the permissions to 700?
  4. Scoochi2

    ActionScript 3

    Take a look at the following: http://www.kongregate.com/games/Kongregate/shootorial-0 It's a tutorial for CS3, but I assume it's enough to get you started :) After that, you may wish to view tutorials 1,2,3... etc, until you feel comfortable enough.
  5. Scoochi2

    How To Replace A Code With A Word In HTML.

    This is not possible using pure HTML. You need to use a programming language to do this. A quick to implement change would be to add a simple JavaScript function that will change all instances of (game) to hawx (or anything else you want it to). But this means that it will only work on browsers...
  6. Scoochi2

    php form submission

    um.. how about something along the lines of the following? Of course, it only works for JS browsers, others will actually have to click the button. The example below will submit the data straight away. It could easily be changed to submit after a certain amount of time, or at another event. The...
  7. Scoochi2

    CSS efficiency

    yeah, I forgot you were tiling it :) lol, change it to 225px, same as 15 15px high images.
  8. Scoochi2

    Javascript Error

    Are you sure there's an error? What do you want it to do, and what's going wrong? If it is less 2, a message pops up and it returns false. If the searchlength is more than 2, nothing will happen. Don't you want it to return true? In which case you need to add an 'else return true;'... If...
  9. Scoochi2

    CSS efficiency

    CSS: div.block{ height:15px}Total size of CSS: 26 bytes And just migrate your styling from the span to the div, as it is unnecessary. HTML: <div class='block'><a href='http://www.website/thepage.php'>link</a></div>Total size of HTML: 72 bytes There ^ :) A total of 98 bytes (for an uber-slow 1...
  10. Scoochi2

    CSS efficiency

    you do realise that a larger file size sometimes means more efficient code? The 'additional code' should be no more code than actually putting in the image in the first place anyway:)
  11. Scoochi2

    CSS efficiency

    If you want to go down the image route, use 1x1 px image, and stretch it in your HTML. If you want the most efficient method, use CSS and not an image[s]. Instead of using span, just put in a blank div, set the background and define a height and width...
  12. Scoochi2

    Query on visitor counter with click counts for individual web page

    Use a server side on your pages to increment the value of a key in a database. For each different page, increase a different key dependent on the page being loaded. You can check the stats via a db manager (such as phpmyadmin if using PHP/MySQL), or you could create a simple page that gives you...
  13. Scoochi2

    CSS simple problem

    Actually, yes. In your initial post you mentioned that you only wanted different links to be different colours when you hover on them. If you're happy with everything else staying at the defaults, the only thing you need to do is to tell it what you want to do on the hover. See my above post...
  14. Scoochi2

    CSS simple problem

    a:hover.hovergreen { color: yellow; } a:hover.hoverred { color: red; } a:hover#hoverblue{ color: red; } Use the above snippet as a quick example of using multiple styles for the same type of element. In your HTML: <a href='redpage.html' class='hoverred'>This link is red on hover.</a><br> <a...
  15. Scoochi2

    can't do "save image as"

    HTML is an open source language. Anything you can see, you can see the source for. Anything you see, you can copy. Even if there was a way of completely stopping somebody from stealing an image, they could always view it on the site and simply use the 'print screen' key on their keyboard, which...
  16. Scoochi2

    Help generating a transparent png image using php

    Not really, you just need the .TTF file for the font that you wish to use on the server. <?php // Set the enviroment variable for GD putenv('GDFONTPATH=' . realpath('.')); // Name the font to be used (note the lack of the .ttf extension) $font = 'SomeFont'; // Print the text, using the...
  17. Scoochi2

    Help generating a transparent png image using php

    I think it may only be a typo... imagecolortransparent($image, $bg_color);
  18. Scoochi2

    Help generating a transparent png image using php

    As you can see from the image in my sig, I have successfully done this. EDIT: Well, ok then. It is hard to tell against a plain white background... but it is! Here's a quick method that you could use: <?php header("Content-type: image/png"); $image = imagecreatetruecolor(500, 150) or...
  19. Scoochi2

    snow script?

    What is your script? If what you're looking for is snow falling from the top of the screen and down the page, here's a script I use. Will only work in JS enabled browsers. Most variables are pretty much self explanatory. Don't set snowmax too high or it will be too hard on people's comps...
  20. Scoochi2

    Bot to follow user around

    In short, the only people that would agree to this are the people getting paid to do this. And the advertisers. Ask the end users for permissions to keep anything like this on their computer and the answer will be a big fat no. As leafypiggy said, if there are so many people showing how to get...
Top