hi all ive been up all night trying to get this work, im trying to test the `$year` value against the date to make sure that it is not less than the current date

here is my code at the moment it doesn't seem to work im not sure what im doing wrong

```
   public function checkDateField($month, $day, $year)
   {
        if (!is_numeric($month) || !is_numeric($day) || !is_numeric($year) || !checkdate($month, $day, $year)< date("m-d-y")) {
            $msg = '*Invalid date';

        }
        return $msg;    
   }

```
['https://Stackoverflow.com/questions/16158995', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2228587/']
```
$ export QEMU_LD_PREFIX=/usr/arm-linux-gnueabi

```

This works for me.
It's basically the same thing as:

```
$ qemu-arm -L /usr/arm-linux-gnueabi/

```

You can add it to the ~/.bashrc file so you don't have to type it everytime you open the terminal.
I solved the problem by copying the following libraries into /lib but I believe there should be a way better solution rather than this nasty solution I invented!

```
sudo cp  /usr/arm-linux-gnueabi/lib/ld-linux.so.3 /lib
sudo cp /usr/arm-linux-gnueabi/lib/libgcc_s.so.1 /lib
sudo cp /usr/arm-linux-gnueabi/lib/libc.so.6 /lib

```

Please let me know if there are other better solutions as I am interested to know.