thanks everyone, i just wanted to know how to do this using php cuz its easy using asp/vscript.
does that meen you solved it somehow? i have a feeling you are being sarcastic. i would never recommend doing it in asp/vbscript either (ive developed in asp for 8 years) and i think you'd be hard pressed to find someone who does.
it would be easy enough to do in php aswell, just not a good idea. any reason you must?