170 Forum Posts by "luke-stealth-man"
I have two files (example.php and security.php). I'm including security.php in example.php
e.g. <?php include 'security.php'; ?>
Is there a line of code I can put at the top of the file so that if someone manually types in mysite.com/security.php it will redirect to another page, but if it's included, it will just ignore the redirect and run the rest of the script?
Thanks in advance for the help!
I have two div's, one floated left and the other right. The one on the right contains a picture that has a width of 200px and the left one has several paragraphs of text. How would I get the text on the left to go down the page alongside the image, then fill the other 200px once it goes past the bottom of the image.
Kind of hard to explain, the diagram might help.
I think I'm putting it all together wrong because it's not working correctly. Can you post what the full and final script should look like? Thanks.
I have the following script.
function showonlyone(thechosenone) {
var newboxes = document.getElementsByTagName("div");
for(var x=0; x<newboxes.length; x++) {
name = newboxes[x].getAttribute("name");
if (name == 'newboxes') {
if (newboxes[x].id == thechosenone) {
newboxes[x].style.display = 'block';
}
else {
newboxes[x].style.display = 'none';
}
}
}
}
This allows me to show hidden content when a link is clicked.
<a href="javascript:showonlyone('newboxes1');" ><li>CLICK HERE</li></a>
<div name="newboxes" id="newboxes1" style="display: none;">
Hidden content.
</div>
<a href="javascript:showonlyone('newboxes2');" ><li>CLICK HERE</li></a>
<div name="newboxes" id="newboxes2" style="display: none;">
Hidden content.
</div>
When you click the link it shows the content and hides any of the other divs contents. But, if you click the link a second time it doesn't collapse the content. How can I modify the script to do this?
I get the message "Couldn't find package flashplugin-nonfree".
To cut a long story short I've had to install Ubuntu on one of my computers because Windows can no longer run on it. The computers only used for the internet so it's not a massive issue.
I've loaded up Ubuntu and set everything up and am currently surfing around online. However, after several failed attemps I'm still unable to install flash player. Could someone using very basic steps (rather than say open a terminal, say go to applications, and click terminal, for example) explain how to download and install flash player.
Much appreciated, thanks.
Any ideas how I do via my Music folder? e.g.
Do you have a student overdraft account? If so, have you spent it, or do you use it sparingly in case of a rainy day? Just curious as to how many people have them and make use of them.
Out of the three prince of persia titles released on the PS2 (sands of time, two thrones, warrior within), which do you think is the best? Having only played Sands Of Time briefly, I'm trying to decide which to buy since I can pick any of the three for under three quid these days.
Is there a way to link my vista laptop to my vista computer? By this I mean have the images, music, programs, etc all show up on both computers? When I download a program on one, it will automatically download on the other. Same with saving word documents, pictures, etc, etc.
Basically link the two computers together so they act like one machine.
Thanks, but I think I'll be able to install it no problem once I manage to put it on a disk.
Really struggling with this but I want to do it :( I'm using a program called InfraRecorder to burn the .iso file and it says it's working no problem. However, when I take the CD out there's nothing on it. Any ideas?
I've burned the .iso file to a disk (like it said) but do I need to do anything else? Or simply put it in my disk drive and load from boot?
I'm trying to find the image file to burn to disk, but can't find it. Is it the full .rar file, or a smaller file within that?
I can do it from a CD, that's not a problem. So basically, I go to the Ubuntu website, put the software on a CD, install it on my computer, following the (hopefully) easy steps. Then when I see an option about installing it over the top of windows, I click it. Sounds simple enough.
One last question, whats the story with software for Linux. Do the big companys (Microsoft and Adobe) cater for it? And are games playable on it. The latter isn't a massive problem (since the only game I own is the original Halo) and I can always install it on windows (if it'll go on vista)
I've got a computer that is currently running Windows Vista. Is it possible to put a version of Linux onto my USB stick and install in completley over the top of Vista. Not along side it, but get rid of Vista and be left with Linux or Ubuntu (I think there the same thing?).
If so, how do I do this. Thanks.
Is it possible to wipe a computer back to it's original settings without using any disks? So obviously I can't reinstall the Vista OS because I don't think I have a disk. Basically I just want to delete everything from it and set it all up again from the stage of entering my name, etc. Take everything off but leave the Vista OS alone. Is this possible?
Anyone know where I can buy the Alien Hominid figures online, delivered to the UK. A UK seller would also be prefarble. The Behemoth shop are always out of stock and I cant see them in the Newgrounds shop.
These are the ones I mean.
At 7/18/09 01:41 PM, adam2510 wrote: http://www.avsmedia.com/
this will do it :)
Thanks. Only problem is I think it puts a watermark on my file. Any ideas of any software that wont do this?
I've got a .flv file that I want to burn to a DVD to watch on my TV. Problem is I have no idea how to do this. Is there any free software I can get? Thanks.
At 7/13/09 11:14 AM, Jon-86 wrote: I have it saved beside Dannys gay cowboy pic :D
Oh wow.
1) I don't seem to be able to delete all of my favorites. I can get it down to one but it say's I can't delete the last one.
2) If I contact a review mod will they be able to delete all of my flash and audio reviews (different account than this by the way).
Hi all, I've got a .avi file and I wondered what format it needed to be for me to put it on a DVD disk. Also is there any free software to do this? Thanks a lot.
I'm about to watch a DVD but can't decide between Heat
and Gangs of New York. Directed at anyone who's seen both, which would you reccomend?
.
Quick question, I'd be extremley grateful to anyone who can help me with this. As the title suggest, I'm trying to think of the name to a Robbie Williams song. The video shows three contestants participating in some sort of music contest (X Factor, Pop Stars, etc).
Thats pretty much all I remember about it, anyone any ideas? Thanks.
Anyone got any idea what the song and artist are from the pretty popular dance song with lyrics along the lines of "you drive me crazy, woop, woop". I've heard the song plenty of times but have no idea who sings it or what it's called. I searched for You Drive Me Crazy but that just brought up some brittney spears crap. Thanks in advance :)
I'm on a Windows Vista laptop and as far as I can tell I'm the Adminastrator.
Theres a file found at
C >> Windows >> System32 >> drivers >> etc
It's called hosts
I can open this file, but it says I cant save it. I need to edit it, but in Notepad it says that the path isn't correct, and in notepad++ it says please check whether the file is already open. Even when I try to save it in the folder as hosts2, to delete hosts and replace it, it says I dont have permissions.
Any help, please.
At 2/13/09 10:35 AM, carlosbarn wrote: You know where you heard the song from?
Heard it in my Media class. I can probably find out when I go back, but it's half term and I don't want to wait.

