Jump to content

Lamez

Members
  • Posts

    1,686
  • Joined

  • Last visited

    Never

Posts posted by Lamez

  1. $future = mktime(0, 0, 0, date("m")  , date("d")+$days, date("Y"));

     

    How would i use that? :/

     

    $future is the day that is $days away from today

     

    if $days = 5

    then

    $future = today+5 days.

     

    I think.

  2. okay I did something like this in my function definition. Would this be considered "proper"

     

    <?php
    function addErrorLog($error, $ip = NULL, $date = NULL, $time = NULL){
    if($ip == NULL)
    	$ip = getIp();
    if($date == NULL)
    	$date = currentDate();
    if($time == NULL)
    	$time == currentTime();
    mysql_query("INSERT INTO ".TBL_ERROR_LOG." (ip_address, time, date, error) VALUES ('$ip', '$time', '$date', '$error')");
    }
    ?>
    

  3. Hey guys, for whatever reason I am getting this syntax error:

     

    Parse error: syntax error, unexpected '(', expecting ')' in C:\wamp\www\core\functions.php on line 229

     

    here is line 229:

     

    <?php
    function addError($error, $ip = getIp(), $date = currentDate(), $time = currentTime()){
    ?>

     

    Any ideas?

  4. I see, thanks for clearing that up for me :). You truly out nerd me. I hope to boast up some nerdy-ness (?) later on today. I am going to try attempt 2^3 on creating a proxy server with a frontend login html form, and backend mysql using the most simplest way as possible. Did that make sense, it looks correct. I am going to bed. Sorry to the creator of this thread for all the offtopic-ness (?).

  5. WINE is a Windows API extraction layer. "WINE Is Not an Emulator" ... Yet another GNU Recursive name!

     

    Maybe I should have used the word 'geek', Hadn't seen anyone talk about CS for so long.

     

    [ot]EDIT: How can you run WoW faster? Linux supports X11 not Direct X. Emulating a piped graphics system in a piped environment = slow. Windows is the only true gaming OS that can go further. WineX should fix part of it, but it's of cost. [/ot]

    I am not completely sure. I know I run around ~60 FPS in 7, and ~80 in Linux. Maybe I am running less background programs? I really have no idea, but that is what was being produced when I had it installed. Also, x11 is that like OpenGL? I was using OpenGL.

  6. 1. Flawlessly? I'm not sure how WINE works, but I'd imagine it has some penalty to run it, meaning that using WINE over MS would result in a lower frame rate.

    2. CS2 is a highly supported game. Try a less supported game.

    3. Probably 99.9% of the CS2 community wouldn't know how to get WINE (Or a Linux OS for that matter) to work.

     

    Wow, someone's a little nerd there.  :tease-03:

     

    "but I can no longer get it because it is out dated (CS2), and I don't have the money to upgrade to the new CS4."

    I was referring to the OP's original statement, Adobe Photoshop CS2. (In the era of when I used it on WINE.)

     

    CS is not a demanding game by any means, but this is getting off topic.

    [ot]

    Nerd? We are talking on a web development forum, A WEB DEVELOPMENT FORUM, or much less, a forum. All of us are automatically nerds. We are also talking about upgrading OSs. UPGRADING OSs!

     

    Wine is a api layer for linux.

     

    Also, I get a higher frame rate running WoW with Wine, then I do running it flat on windows. Go figure.

     

    -A Proud Nerd.

    [/ot]

  7. That is just a short synopsis I wrote. It does not end there.

     

    I wonder if it'd be grossly ironic if I pirated this movie.

     

    I shall find it somewhere if it's free, looks like an awesome view. I assume it's free as it's 35mm..

     

    I thought about it, then I thought, well I am a hypocrite.

  8. That is just a short synopsis I wrote. It does not end there.

     

    Something tells me that movie didn't win most entertaining award? Or any award for that matter?

     

    http://www.revolution-os.com/index.html

     

    Companies such as Hewlett-Packard, IBM, Oracle, Wipro, Ogilvy & Mather, OSTG, and Dreamworks Animation have rented REVOLUTON OS for private theatrical screenings. It has also screened in numerous film festivals including South By Southwest Film Festival, the Atlanta Film & Video Festival, Boston Film Festival, and Denver International Film Festival. REVOLUTION OS won Best Documentary at both the Savannah Film & Video Festival and the Kudzu Film Festival.

     

     

  9. You haven't upgraded to Windows 7 unless the end result is that the operating system you're running is Windows 7.

     

    People who install linux for the first time usually boast about others to install it too, Hehe.

     

    Anyway, Microsoft Virtual PC is free and you can VM up an XP install if there are programs you need to run that can't on 7. I'm not sure if you could somehow import your files and registry to it, but it's a recommended (and simple) option if it is needed.

     

    Actually I have been running Linux for about five years now. I just have more a reason to encourage others to do so. See:

    http://www.phpfreaks.com/forums/index.php/topic,285308.0.html

  10. Just install Linux.

     

    How do you upgrade XP to Win7 by installing Linux?

    Simple.

    Step 1: Backup stuff.

    Step 2: Download preferred distro ISO and burn to a CD

    Step 3: Format and install using the CD

    Step 4: Restore backup

    Step 5: Enjoy Linux.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.