hi i m trying to get value of a environment var in C and php which was set in shell script
#test.sh MAILVAR="TEST MAIL VAULE" /*test.c*/ int main() { char *email; email=getenv("MAILVAR"); printf("%s",email); } <?php /*test.php*/ $email=getenv("MAILVAR"); echo "$email"; ?> i m getting NULL output in both programs pls advise --- Manish Kumar Arya See Dave Matthews Band live or win a signed guitar http://r.lycos.com/r/bmgfly_mail_dmb/http://win.ipromotions.com/lycos_020201/splash.asp ================================================ To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org =================================================