mmcdonald 28 Posting Pro

Okayyyyyyyy first of all I'm not downloading some random .rar file :)

Second of all yes you are on track. Keep yourself up-to-date with the latest graphics engines jsuch as havok and ensure you're well aware of engine application. It's great that you developed a game on your own - building a portfolio really is the best way to secure yourself an interview with a major games development agency.

Don't rely on your computer science degree however, remember: "Anyone can get a deree". What employers in this industry are really looking for is evidence of your skills, passion, creativity, general knowledge (common sense) and the ability to innovate existing technologies.

You're about to target one of the most highly saturated employment markets making it one of the hardest jobs to secure. To increase your chances of securing a position within the ranks (as a junior) then complete your degree with an Hons 1:1, get yourself a masters degree (or your countries equivilent) and then pack out your portfolio.

Good luck,
Michael

mmcdonald 28 Posting Pro

Ignore this message I failed :3 sorry haha

mmcdonald 28 Posting Pro

Or you could just grow up, go without your social diarrhea for a few hours, get yourself some good grades and then have a great job that allows you to use Facebook because you're so high up the corporate ladder! No? I didn't think so.

Your best bet is to use a proxy or your smartphone. Believe me when I say this... your school technicians are smarter than you. If they don't want you on facebook you're not getting on it. It's that simple - sorry!

Saying that I did bypass my schools security back in the day for my peers at a rate of 50p per session; it was the easiest 'business' I've ever run!

mmcdonald 28 Posting Pro

Could be an issue with a local firewall or something in regards to accessing JQuery. Have you considered adding the .mis.js file locally and trying again? It's a weak reponse and I apologise for that but it's all I can think of at this moment in time.

mmcdonald 28 Posting Pro

Judging by your question - you chose a very... humerous, username.

All you need is a simple shell script if it's on a linux webserver that used the cp command with the -B switch. The -U switch might also be useful. I'm not sure why you're asking this in VB.NET, maybe that's due to my lack of knowledge in the area, but still - everything you want can be achieve on a windows server using a batch script (or powershell, which is simply cmd on steroids) as well as scheduled tasks or on a linux webserver using a shell script that simply does something like:

cp -RUF /home/webserver/public/website.com/public/[source] /sys/backup/[destination]

YOUR PATHS WILL BE DIFFERENT...

You would only need the -R switch if you're copying the contents of a directory rather than the folder itself. -R is recursive. -U only copies the file if the source is newer than the destination. -F switch forces the copy.

Sorry for the sloppy reply in a hurry.

For all of the above you'll need access to the server via SSH or remote desktop, or at least FTP/SFTP access to execute manual backups.

mmcdonald 28 Posting Pro

As far as I'm aware... that's impossible. You could use the GD library but that would be ridiculous as far as I'm concerned. You would need to use JavaScript or HTML5 imo - probably the best way forward. You'd need to pull in your database values as you construct the code for the graph.

http://canvasjs.com/html5-javascript-line-chart/
http://www.jscharts.com/how-to-use-line-graphs

mmcdonald 28 Posting Pro

Is this not viable?

public:
   void theFunction()
   {
      MessageBox::Show("This is a sexy message", MessageBoxButtons::OKCancel,
         MessageBoxIcon::Asterisk);
   }

Or am I well off... I could be (I'm a total C++ novice)

mmcdonald 28 Posting Pro

Plug the monitor into another PC if you have one to test. Try a new cable incase the current one is faulty. Triple check that the video card the port is on is actually enabled. Make sure the cable is snug in both the monitor and the video port. Try another video port if you have one. Connect the external monitor to a laptop if you don't have another desktop? Try lots of different scenarios to troubleshoot.

mmcdonald 28 Posting Pro

I've recently used many of the Nokia Lumias and they're really great devices. Easy to use, configure and very strong! (I'm clumbsy and they survived).

I would also recommend the HTC One X+ it's a great phone and my current device, android OS too which is the cherry on top. I'm kind of gutten to be honest, I got the X+ and then found out about the One. HTC One is a beautiful device - it's a full metal body lasered out of a single block; so stong! Great OS, durable and easy to use.

Here's a good review: http://www.anandtech.com/show/6747/htc-one-review

mmcdonald 28 Posting Pro

Ignore this topic people - multiple post. The issue was the use of the reserved keyword use in his query. See here: http://www.php.net/manual/en/reserved.keywords.php

mmcdonald 28 Posting Pro

Also, though off-topic, isn't it safer/more reliable to use:

if(isset($_POST['userfile'])){

in comparison to:

if ($upload == 'Upload'){

mmcdonald 28 Posting Pro

It means that the index userfile has no value.

As Unimportant states are the following snippets in the same file?:

    <?php
    $fName = $_FILES['userfile']['name'];
    $tmpName = $_FILES['userfile']['tmp_name'];
    $japSize = $_FILES['userfile']['size'];
    $uploadDir ="/srv/www/htdocs/dirupload";
    $filePath = $uploadDir . $fName;
    if ($upload == 'Upload')
    {
    if ($fName == '' )
    {
    echo "<script>alert('Please complete the information!')</script>";
    }else{
    $result = move_uploaded_file($tmpName, $filePath);
    if (!$result)
    {
    echo "<script>alert('Error Uploading File!')</script>";
    exit;
    }else{
    echo "<script>alert('Uploading of file successful')</script>";
    }
    }
    }
    ?>

and this:

    <form method="post" enctype="multipart/form-data">
    Press browse to select what file to upload:
    <input name='userfile' type='file' id='userfile' size="45">
    <input name='upload' type='submit' class='box' id='upload' value='Upload'>
    </form>
mmcdonald 28 Posting Pro

Pass... blocks look fine. Did you cut out some of your error?

Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\

Error could be in an include rather than this script.

mmcdonald 28 Posting Pro

I'm not too sure here. Could this be down to deprecation causing a stray curly brace? It would be really helpful to see the code.

mmcdonald 28 Posting Pro

I support @Unimportants answer. If your form is on the same file as the processing script above you'll need: action="<?php $_SERVER['PHP_SELF']; ?>"

mmcdonald 28 Posting Pro

If this was my project I would store their username and a unix time stamp in a queries table. I would then execute a cronjob every few minutes to count the number of times the users username appears in the queries table. If the cronjob count exceeded 100 I would take 100 off of the result.

Lets say there are 120 rows meaning this user has executed 120 queries. I would take 100 off of the result ( The allowed total ) leaving me with 20.

I would then use a delete query to find the oldest 20 and delete them. Lets say we define that 20 in a variable called $overflow.

DELETE FROM table_name WHERE username=$username ORDER BY timestamp ASC LIMIT 0, $overflow

I hope this makes sense, and I hope it's along the right lines :)
M.

mmcdonald 28 Posting Pro

I use this code to search my DB. When the search field is submitted you are directed to mydomain.com/search.php?search=search_term. I then get the search term using $_GET['search'] and query my SQL database using:

id like '%".$txtsearch."%' OR server_name like '%".$txtsearch."%' OR ip like '%".$txtsearch."%' or administrator like '%".$txtsearch."%' OR url like '%".$txtsearch."%'

Here's the search function in full (excluding how I display my results).

$txtsearch="";
            if (isset($_GET["btnsearch"])=="Search") 
            {
                        $txtsearch=$_GET['search'];
                        $count_query="SELECT * FROM servers WHERE active = '1' AND enabled = '1' AND ( id like '%".$txtsearch."%' OR server_name like '%".$txtsearch."%' OR ip like '%".$txtsearch."%' or administrator like '%".$txtsearch."%' OR url like '%".$txtsearch."%' ) ORDER BY vote_count DESC; ";

                        $select_query=" SELECT * FROM servers WHERE active = '1' AND enabled = '1' AND ( id like '%".$txtsearch."%' OR server_name like '%".$txtsearch."%' OR ip like '%".$txtsearch."%' or administrator like '%".$txtsearch."%' OR url like '%".$txtsearch."%' )  ORDER BY vote_count DESC
                                limit $eu, $limit ";
            }