HighDots Forums  

variable

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss variable in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
9thReg
 
Posts: n/a

Default variable - 07-13-2008 , 10:26 AM






Hello all,

I've got a little icon that has the text "Environment" that is inside the
Bindings tab of the Application panel of dreamweaver. Even when I create a
blank page this is still there. What is an Environment Variable? How did it get
there? What does it do? What can I do with it? How do I get rid of it?

Thanks.


Reply With Quote
  #2  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: variable - 07-13-2008 , 11:21 AM






Are you working with server scripting? If so, which?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"9thReg" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hello all,

I've got a little icon that has the text "Environment" that is inside the
Bindings tab of the Application panel of dreamweaver. Even when I create a
blank page this is still there. What is an Environment Variable? How did
it get
there? What does it do? What can I do with it? How do I get rid of it?

Thanks.



Reply With Quote
  #3  
Old   
9thReg
 
Posts: n/a

Default Re: variable - 07-13-2008 , 07:57 PM



I'm working with PHP, MySQL, and dreamweaver 8.

Reply With Quote
  #4  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: variable - 07-14-2008 , 06:34 AM



Those are your PHP environment variables.

http://us2.php.net/getenv

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"9thReg" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I'm working with PHP, MySQL, and dreamweaver 8.


Reply With Quote
  #5  
Old   
9thReg
 
Posts: n/a

Default Re: variable - 07-15-2008 , 01:25 PM



Thanks for the reply. I'm sorry, but I'm still pretty new. What exactly is a
PHP environment variable? What is it used for? Is this type of variable
preferred over (or does it replace) other variable types?


Reply With Quote
  #6  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: variable - 07-15-2008 , 01:46 PM



It allows you to include 'environment' things (i.e., things that are part of
the PHP or Apache environment - like what you see when you have "phpinfo()"
in a page) in your PHP code, like the absolute path to the webserver's root
folder. This would let you work with root relative links in an include
file, for example....

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"9thReg" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Thanks for the reply. I'm sorry, but I'm still pretty new. What exactly
is a
PHP environment variable? What is it used for? Is this type of variable
preferred over (or does it replace) other variable types?



Reply With Quote
  #7  
Old   
9thReg
 
Posts: n/a

Default Re: variable - 07-15-2008 , 03:20 PM



Oh, I understand. Thank you very much. Are there any resources I might be able to get so I can learn more about them and how to use them?

Reply With Quote
  #8  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: variable - 07-15-2008 , 03:41 PM



Google "environment variables" with your favorite scripting language added.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"9thReg" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Oh, I understand. Thank you very much. Are there any resources I might
be able to get so I can learn more about them and how to use them?


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.