Re: writing php code

From: Date: Sun, 13 Apr 2003 11:12:44 +0000
Subject: Re: writing php code
Groups: php.general 
Request: Send a blank email to php-general+get-143661@lists.php.net to get a copy of this message
Not sure about the first question. With regard to the second, you could HTTP_GET_VARS and HTTP_POST_VARS and pass variables when ever you'd like. For example, within my site (http://www.healthyproductsplus.com/inv/products.php) I use server side includes to add my header information to ALL pages... My 'header file' is responsible for checking security and passing variables to appropriate pages. My header is a kind of control center for the entire site. -----Original Message----- From: Naghmeh Nayer <na_nayer@yahoo.com> To: php-general@lists.php.net <php-general@lists.php.net> Date: Sunday, April 13, 2003 6:14 AM Subject: [PHP] writing php code >I have 2 questions in writing php: 1- How can i attach a file to email via php code? 2- Is there any variable which scope is all the scripts, i mean some thing like application variables in asp programming? ie:application("var1")[i work with register_globals = off ] thank you in advance > > >--------------------------------- >Do you Yahoo!? >Yahoo! Tax Center - File online, calculators, forms, and more

« previous php.general (#143661) next »