![]() |
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
dalehay.com Archive - Page 4April Fools1st Apr 2008 08:08am
Not sure if any other sites have any jokes yet as Yahoo and Live haven't got any up. By Dale Hay -:- Permalink -:- 0 CommentsWill Unreal Tournament 3 work with this?31st Mar 2008 09:32amMartyn's Dad brought Unreal Tournament 3 yesterday from the games shop, now I was wondering if it will run on my laptop? As the minimum specs on the back are mad! Here are the minimum specs and mine are beneath it... however I've now installed it but when I try and run it, it just gives me a "Microsoft 'Send Error Report' Box". :( Ideas? Minimum Specs - Mine By Dale Hay -:- Permalink -:- 0 CommentsTutorial: DreamScene on ANY Windows Computer29th Mar 2008 07:14amIf you are lucky enough to own Microsoft Windows Vista Ultimate edition then you'll like one of the funky features in it... the ability to have a moving background. This though is nothing new as there is a way anyone on a Windows computer can have a moving background. This small tutorial shows you how. Step 1. Step 2. <html>
<head>
<title></title>
<style type="text/css">
html,body {
overflow:hidden;
margin:0;
}
</style>
</head>
<body bgcolor="#000000">
<embed type="application/x-mplayer2" src="C:\Video.avi" name="mediaplayer" width="100%" height="100%" showcontrols="0" showstatusbar="0" showdisplay="0" autostart="1" loop="1"></embed>
</body>
</html>
Note: Change the "Video.avi" to the exact filename of the video you want to use.Then save the file as a HTML page. (File -> Save -> [Change Save Type As to All Files] -> Filename: background.html) Step 3. By Dale Hay -:- Permalink -:- 0 CommentsGoogle's gone black...29th Mar 2008 01:31amGoogle (for UK visitors anyway) has changed it's site design from a white background to a black background, why? For Earth Hour. Basically a website that has a dark background colour uses less energy to produce, meaning less carbon emissions and all that crap.
By Dale Hay -:- Permalink -:- 0 CommentsHorrible People - Episode 727th Mar 2008 22:09pmEpisode 7 is out and it's getting closer to the end of the series. Arturro tries to cockblock Michael and his turkey baster, while Amanda pushes Rex towards the grave. By Dale Hay -:- Permalink -:- 0 CommentsSudoku - Update26th Mar 2008 03:12amDon't worry... I've just completed it. Though I have to do an Advanced one now. Wish me luck!! eek! By Dale Hay -:- Permalink -:- 0 CommentsSudoku26th Mar 2008 02:59amI've finally started becoming unsocialable after starting to get hooked by this bleeding thing. I can always do the puzzles in The London Paper, though the ones in the London Lite are harder... much harder, even when they are rated 1 star out of 5. Though I picked up a page from The Independent (Saturday 22nd March 2008) the other day and have completed the Elementary one though I'm on the Intermediate one now and I'm so far through it but I am now officially stumped and I'm not sure which way or what way to go. Here is what I have (so far) ...
The numbers in bold are what I have gained since I posted this. By Dale Hay -:- Permalink -:- 0 CommentsDuMP Development26th Mar 2008 02:49amOk, I haven't released another copy of it just yet because I am stumped with some of its coding... well the playlist. I had two decisions either save the playlist in the registry or save it on the harddrive in a file, which I opted for saving on the harddrive. Now the filelist saves and it loads (saves on closing and loads on opening, YAY!) however for some reason I can get it to save the full path of it, but when it retrieves the data from the file - which shows the full paths - I cannot get it to show just the filename along with, when saving, it saving the full paths again. Writing this makes it sound soooo much easier but I can't seem to get it to work.. all those loops and trys. When I sort it out I'll release another copy... of which will mean all I have to add afterwards is the capability of it changing to another track when it has finished playing the current track. Not so hard IMO. By Dale Hay -:- Permalink -:- 1 CommentsCreate your own Image Uploader22nd Mar 2008 20:09pmIntroduction What You Need Part 1 Part 2 <form action="upload.php" method="POST" enctype="multipart/form-data">The action bit tells the form where to go once the submit button is pressed. The method bit tells us how to send the data, either GET (through the browsers varibles) or POST (through your hosts temporary file) and enctype tells the form what type of data is going through. Next we need to make the box where people can select an image: <input type="file" name="image">The type bit tells your page what type of box it'll be (either text, password, button, submit, reset or file) with it as file you will see a "browse" button added at the end of it. The name of the form is important as that will be passed through to the next page. Finally we just need to add the last two bits, which is the submit button (which we'll put the text on the button as "Upload Image") and then closing the form. <input type="submit" value="Upload Image"> </form>The type on the button is submit which tells your page that it will send the information through when clicked and the value is what text is to be shown on the button, which we have told it to be upload image. Then the backslash-form is just the ending of the form. Part 3 <?php // Turn the image that is being uploaded into a varible. $imagename = $_FILES['image']['name']; // Copies the image from your web servers temporary file to your web server copy($_FILES['image']['tmp_name'], "./hostedimages/$imagename"); // Send out a message afterwards to say it has been uploaded echo "Your image has been uploaded and can be viewed here: <br>"; echo "http://www.dalehay.com/hostedimages/$imagename <hr>"; echo "<b>Preview:</b><br><img src='./hostedimages/$imagename'>"; ?>Pretty small output however it works and this is how. On the 'index.php' page we called the input box 'image' so when the file gets sent to your 'upload.php' page it has the global name of 'image' - in this script we use the extra bits called 'name' (the exact file name of the image [eg; MyCar.jpg]) and 'tmp_name' (which is as a temporary file [eg; file0001.tmp]). The copy() PHP tag has two properties.. the first is the location of the temporary file (hence why we used ['tmp_name']) and then the second property is where the image is being sent to (in our example it's to a folder called 'hostedimages' and after you see we are calling the varible $imagename which is just reading the ['name'] value of the image). Part 4 Problems By Dale Hay -:- Permalink -:- 7 CommentsWhat type of poo do you do?20th Mar 2008 15:21pmThe Bristol University have came up with a poo chart to determine the different types of dumps you do. What one(s) have / do you do?
By Dale Hay -:- Permalink -:- 0 CommentsIndex, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Watch Free movies online at tvscreenonline.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
![]() ![]() |