Member Avatar

I'm using Windows XP. I got a new flash disk and I used it outside in an internet cafe. When I got home, there was this weird file that suddenly popped out so I supposed that it was a virus or some malicious file because I haven't seen it before. The filename was AUTORUN, I think the extension was .dll. Anyway, I deleted it. Now when I open my computer, and double click on the icon for drive C, nothing happens. I can still open the other folders (like the documents folder of my sister etc..) and the drive A, …

Member Avatar
+0 forum 35
Member Avatar

I'm using a blog hosted at wordpress and for really long posts, I'm trying to add a "cut-the-crap" link to something else in the page. Now for plain html, I know you can do it with this: [code] <p>Blah blah blah, this is going to be a long post so you can <a href="#endcrap">skip the crap</a> and avoid a lot of... ... ... *very long text here* ... ... <span id="endcrap">Still reading? Good.</span> blah blah blah again. [/code] However, when I try to save the post, wordpress strips the [icode]id="endcrap"[/icode] attributes in my posts. I've 'googled' this already and even …

Member Avatar
+0 forum 5
Member Avatar

Hallu! It's my first time to give someone a 'bad' reputation. I just thought it was weird to receive an alert that says "May you receive the same reputation in return." THAT's something I don't want to happen. Right? :D

Member Avatar
+0 forum 7
Member Avatar

BAH. Let's get rid of the predictions and cheesy resolutions... we all know nothing in life goes as planned. So what are the [B]New Year's Resolutions you think you can't keep[/B]? at all? I'll start with my list: 1. Come to class on time. 2. Update the site regularly. 3. Eat healthy. 4. [B]Stop opening more than 8 tabs everytime I browse the www.[/B] 5. Do not light firecrackers on New Year's Eve...

Member Avatar
+0 forum 3
Member Avatar

I'm trying to make a membership system where users can 'approve' or 'disapprove' another member only once. If they have approved the member previously or disproved the member previously, I want to be able to detect it. I also want to display the average user approval for each member on their profile. (# of approvals/ # of approval+disapproval received) I'm thinking of having 2 tables: 1. The `members` table - basic user info 2. The `ratings` table - each row is an entry for when user#1 votes (+ or -) for user#2. My concern is this: 1. Is this the …

Member Avatar
+0 forum 4
Member Avatar

I didn't know where else to put this thread *sorry if it's in the wrong forum* I want to go an a hiatus, and I found this .htaccess tutorial where you can redirect users from an old file or directory to a new file or directory... I was wondering if I can do this for the whole site. (ie) Can I put this line in the .htaccess file? [code] Redirect / http://mysite.com/hiatusmessage.html[/code]

Member Avatar
+0 forum 2
Member Avatar

I'm using an html form to add to a list, specifically a flatfile database called demo3.txt. The add.php file is this: [CODE] <?php $name = $_POST['name']; $nickname = $_POST['nickname']; $motto = $_POST['motto']; $fp = fopen("demo3.txt","a"); if(!$fp) { echo 'Error: Cannot open file.'; exit; } fwrite($fp, "\r\n".$name."|".$nickname."|".$motto); echo 'The data has been added to the database. <a href="form.html">Add more?</a>'; fclose($fp); ?> [/CODE] The form code looks like this: [CODE] <form action="add.php" method="post"> <label>Member name:</label><input type="text" name="name" size="20"><br> <label>Nickname:</label><input type="text" name="nickname" size="20"><br> <label>Motto:</label><textarea name="motto" rows="5" cols="50"></textarea><br> <input type="submit" value="Add to List"> <input type="reset" value="Clear Form"> </form> [/CODE] I haven't uploaded the codes …

Member Avatar
+0 forum 3

The End.