Name: Michael Emma
Member since: 2006-10-10 15:38:52
Last Login: 2006-10-26 19:09:28


I'm a student, My interests range from scripts. I have been writing some scripts since I had a computer, the first of which had been my extremely pleasing classified script. I started programming seriously in 1998, and now focus on web 2.0

Recent blog entries by michaelemma

25 Oct 2006 (updated 25 Oct 2006 at 20:20 UTC) »

to redi! a boy want to learn php, and i just show him an example!

learn php step by step!show an easy way to Learn PHP

php code!

login.php <table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <form action="checklogin.php" method="post"><td align="center" valign="middle"><table width="400" border="0" cellpadding="5" cellspacing="1" class="tablebg"> <tr class="tdbg"> <td colspan="2">

Administrators Login
</td> </tr> <tr class="tdbg"> <td>
</td> <td>
<input name="username" type="text" id="username">
</td> </tr> <tr class="tdbg"> <td>
</td> <td>
<input name="password" type="password" id="password">
</td> </tr> <tr class="tdbg"> <td colspan="2">
<input type="submit" name="Submit" value="Submit"> <input type="reset" name="Submit2" value="Clear">
</td> </tr> </table></td></form> </tr> </table>

<? require_once('conn.php'); session_start(); $username=$_POST['username']; $password=$_POST['password']; $exec="select * from admin where username='".$username."'"; if($result=mysql_query($exec)) { if($rs=mysql_fetch_object($result)) { if($rs->password==$password) { $_SESSION['adminname']=$username; header("location:index.php"); } else { echo "<script>alert('Password Check Error!');location.href='login.php';</script>"; } } else { echo "<script>alert('Username Check Error!');location.href='login.php';</script>"; } } else { echo "<script>alert('Database Connection Error!');location.href='login.php';</script>"; }


conn.php <? $conn=mysql_connect ("", "", ""); mysql_select_db("shop"); ?>

checkadmin.asp <? session_start(); if($_SESSION['adminname']=='') { echo "<script>alert('Please Login First');location.href='login.php';</script>"; } ?>

13 Oct 2006 (updated 25 Oct 2006 at 15:12 UTC) »

AMD-ATI to cut 2,000 jobs

Damn it, DAAMIT!

By Charlie Demerjian

THE SECOND WE got word about the upcoming AMD layoffs was the second before the phone started ringing asking about details. We can now fill in some of the blanks, but nowhere near all.

The numbers we hear back up the earlier set precisely - 1,200 from ATI, 800 from AMD, give or take a bit. The picture on the ATI side is a little clearer because of the nature of the cuts, you can just quantify them more easily.

The first of these is the AIW program we told you about earlier today. Add in a few of the smaller offices, sales and marketing type ones that overlap with AMD, and you have a few more toward the magic 1200.

DAAMIT will do a little cutting closer to home also. Corporate Marketing is looking awfully redundant, how many people do you need to sell to a single account? Probably not many, so there go a few more. There will probably be a bunch of NA PR that goes along with it, they have been under fire recently for certain specific leaks. I would expect that to be more overlaps than anything else though.

The one that gets me is a few software teams will be let go from ATI, but the sources were not more specific than that. You can guess the AIW related ones are on the short list, but who knows after that? This one is the most curious to me.

On the AMD side, it is a little less clean cut. 800 is a lot, but far from the end of the world. The cuts we are hearing from that side are more culling of deadwood than groups. AMD is pretty lean, owning 20% of the x86 market with 10% of Intel's people, so there is not a huge amount of spare groups.

We are told the AMD cuts are more on the person level, with performance being measured there rather than what a group is doing. There are no underperforming divisions there to remove as a whole like the ATI side is.

We expect announcements shortly after the merger closes, certainly before the end of the month, and they will most likely take effect in mid-November like we said earlier. Rumour has it that the severance packages will not be as generous as Intel, but far from the outright screwings of HP. Things are never dull at the combined AMD/ATI nowadays.


michaelemma certified others as follows:

  • michaelemma certified badvogato as Journeyer

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

Share this page