Newton
Members-
Content Count
11 -
Joined
-
Last visited
Everything posted by Newton
-
If you need the data a few page access' later then just dump it in a cookie as a concatenated string.
-
Shouldn't your mysql_connect statement have 'localhost' instead of localhost?! (Notice the ')
-
As luck would have it, I wrote such a system about 2 years ago for my sisters school. They didn't use it eventually because of licensing issues. (I know it sounds stupid but they wanted to charge students for every exam while I made the system for them for free. And they didn't want to pay me either.)Anyways, using flat files for such a system would not only compound your problems it would be literally impossible to debug such a system if something went wrong. Using MySQL would be the easiest way to do it. To learn mysql just google for it, theres gazillions of tutorials available out there.I'm not sure if I can help you much with the flat file system but if you decide to do a MySQL based system, drop me a PM.
-
You could use strtotime function present in php. You might have to format your string accordingly though. I haven't really worked with the function much but if you use a format such as, "10 April 2005", it'll give you the timestamp. Just play around with it for a bit and see what you come up with.
-
Does the official game site show the server status? If yes, you could just ask them for permission to show game status. If you can't, ask around on their forums and all, people generally know how to get that kinda info. On your image problem, try changing the image url to http://forums.xisto.com/no_longer_exists/.... , just remove the www part.
-
Help Importing Mysql Database Results Need help formatting link
Newton replied to candicej's topic in Programming
You have an extra </tr> and are missing a <td>. The corrected code should be: result = mysql_query("SELECT * FROM uploads WHERE Category='Drama'")or die(mysql_error()); ?><table cellspacing="2" cellpadding="2"><tr> <th>Title</th> <th>Author</th> <th>File</th></tr><?php// keeps getting the next row until there are no more to getwhile($row = mysql_fetch_array( $result )) {//<!--Print out the contents of each row into a table-->echo "<tr><td>";echo $row['Title'];echo "</td><td>";echo $row['Author'];echo "</td><td>";echo $row['File'];echo "</td></tr>";}echo "</table>"; -
Keyhole is a paid service isnt it?And I heard that Google plans to take this map service international although the data won't be as accurate as that provided by keyhole.
-
What Is Your Best Game You Ever Played? i want to know it:P
Newton replied to hellgate's topic in Computer Gaming
While UT 2004 leaves all it's clones and older versions far far far behind, I'm still in love with the original UT. That's primarily because UT 2004's specs require you to have a very good computer, a luxury which I don't have. I can barely manage to run the original UT without chops. But I've played UT 2004 on friends computer and it really does kick *bottom*. As far as RTCW goes, yeah, it's one of the best multiplayer games I have seen. Although I havent played RTCW much, I have played Wolf ET, a free 'clone', quite a lot. I wish I could but my inet connection doesn't support the load anymore. However, as far as my personal favourite goes, it's OpenTTD. I'm not sure how many of you actually like Tycoon-like games but I for one am crazy about them. The customizations that OpenTTD provides are amazing. Plus it has a very dedicated team of developers who aren't working for money or fame but for the game, always a sign that the game will go places. OpenTTD Link if anyone wants it. -
I hope you realise that if you get caught browsing a banned site through a proxy, there could be serious reprecussions. Just be careful when you do it. And make sure no one who could rat on you is around. I've been through it and I know that it can kill your career further if such a thing goes on your permanent record.
-
1. LOTR (Ofcourse)2. Fight Club3. Ocean's 11I'm sure that's not my final list. There's way too many to choose from.