473,320 Members | 1,982 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Environment variables

1
hello,

can i got answers for the following questions:


which variable can Ensure that no one can launch a man-in-the-middle attack?

Which variable can Reducing bandwidth for the organization?

which variable can Determine the browser you might be using?

variable that Allow a server side coder to give you a website in your preferred language?

variable that Restrict content to the local LAN?

variable Stop you from sending too much information to the server. **?
Dec 7 '07 #1
13 1720
numberwhun
3,509 Expert Mod 2GB
hello,

can i got answers for the following questions:


which variable can Ensure that no one can launch a man-in-the-middle attack?

Which variable can Reducing bandwidth for the organization?

which variable can Determine the browser you might be using?

variable that Allow a server side coder to give you a website in your preferred language?

variable that Restrict content to the local LAN?

variable Stop you from sending too much information to the server. **?
First, it is against TSDN policy for you to post your school/class/course work here and expect an answer. You are going to have to get your own answers to your own home work.

You can use the following code to get a list of all environment variables and then use google or even perldoc.perl.org to look them up and determine the answers to your questions:

Expand|Select|Wrap|Line Numbers
  1. #!/usr/bin/perl -w
  2.  
  3. # Print a formatted listof all the environment variables
  4.  
  5. use strict;
  6.  
  7.  
  8. print "Content-type: text/html\n\n";
  9.  
  10.  
  11. foreach my $key (sort keys %ENV) {
  12.     print "$key ";
  13.     print("$ENV{$key} \n");
  14. }
  15.  
Regards,

Jeff
Dec 7 '07 #2
first , thanx for reply

secondly, its not a school homework it's a final semester preparing for the final exams.

by the way i'm a network student and i dont have that much of experience in Programing and we have only searching way to get these question's answers ...

thanx in advanced..
Dec 7 '07 #3
numberwhun
3,509 Expert Mod 2GB
first , thanx for reply

secondly, its not a school homework it's a final semester preparing for the final exams.

by the way i'm a network student and i dont have that much of experience in Programing and we have only searching way to get these question's answers ...

thanx in advanced..
Well, you obviously have access to a computer. If it has Perl on it, then you can run the code that I gave you an look up the variables online. Otherwise, you can search google for environment variables for the OS in question and read about it.

Regards,

Jeff
Dec 7 '07 #4
KevinADC
4,059 Expert 2GB
No clue why you are asking these questions on a perl forum.
Dec 7 '07 #5
numberwhun
3,509 Expert Mod 2GB
No clue why you are asking these questions on a perl forum.
You know, I didn't even think of that.

Which OS are you using? Once you tell me that, I can move this question to a more appropriate forum.
Dec 8 '07 #6
KevinADC
4,059 Expert 2GB
You know, I didn't even think of that.

Which OS are you using? Once you tell me that, I can move this question to a more appropriate forum.

Jeff, two different members replying to the question? Smells fishy.....
Dec 8 '07 #7
numberwhun
3,509 Expert Mod 2GB
Jeff, two different members replying to the question? Smells fishy.....
Wow, I didn't even notice that either. Ok, I am through with this thread until the ORIGINAL poster replies.
Dec 8 '07 #8
i don't think you guys not experts enough that's why
you keep chit-chat together...

And thanx 4 nothing i'll find it somewhere else .....
Dec 8 '07 #9
numberwhun
3,509 Expert Mod 2GB
i don't think you guys not experts enough that's why
you keep chit-chat together...

And thanx 4 nothing i'll find it somewhere else .....
I think you need to take a step back and rethink your actions!

First, You are NOT the original poster of this thread. Your OP name is completely different. If you are in fact the original poster, then why use a different account to reply?

Second, I provided assistance to which the original poster has not yet responded to. Sure, you responded, but see my "First" note.

On the topic of who are experts and such, well, I am better than than to even offer a response to a comment like that from an obvious troll. We are not paid moderators and experts, but we are dedicated to our forum and the like. You are more than welcome to go somewhere else as all of the other users here are happy to accept our suggestions and assistance.

Regards,

Jeff
Dec 8 '07 #10
JamieHowarth0
533 Expert 512MB
Hi there,

To Jeff - I second your opinions entirely.

To the OP/second member (if they are one and the same, which seems highly likely) - I strongly advise you think about the way in which you approach this forum. We have strict Posting Guidelinse and I advise you to read the section regarding Homework or Coursework Questions and Answers.

With respect to your "opinion" on whether other members of this forum are classed as "experts"... our moderators, experts and administrators, collectively, have more than 200 years in experience both working with and studying our respective specialist languages and/or technologies, whether they be Perl, PHP, ASP or any others.

You would be well-advised to remember - you approached us, you signed up, you agreed to our Posting Guidelines upon signup.
If you had actually bothered to read the FAQ (which we always recommend newbies like yourself do) then maybe you would have posted your question in the correct forum in a manner which we would have respected and responded to appropriately to help you finish your University studies.

For sswl11 and gtrsniper, this is your first, last and only warning.
Your posts will be strictly moderated from now onwards until the administration team deems otherwise. If your posts are found to contravene our Posting Guidelines then your account and IP addresses may be banned, and threads and posts may be deleted.

If you want help then ask for it, and then maybe you might learn something from people with more experience and knowledge than you - after all, you went to University to do just that, didn't you?

medicineworker
Dec 8 '07 #11
eWish
971 Expert 512MB
@qtrsniper:

Doesn’t the school you attend have the resources to provide you with the adequate tools for the preparation of your exams? Is there a writing class that you could attend? For your sake, I hope so. You have displayed to us that you cannot write a complete sentence and that you obviously have trouble doing your own work. Seeking help from an online forum instead of reading your textbook or other school approved resources does not sound like an exemplar student.

Please remember your manners when seeking help from others. It is best not say things that are offensive. Most of the experts you encounter in this forum will be at other forums you visit online. So, being insulting only makes it harder on you and eventually no help will be given. Hopefully you have learned something today.

--Kevin
Dec 8 '07 #12
KevinADC
4,059 Expert 2GB
hehehe... at least I got a laugh out of this thread.
Dec 9 '07 #13
RedSon
5,000 Expert 4TB
All,

The original poster's account will be permanently banned. The account grtsniper will be banned for one week.

This behavior is intolerable. Lets hope that grtsniper learns from this behavior.

Also...if anyone suspects that other noob accounts are created that are sock puppets for grtsniper please PM me directly.

-MODERATOR

PS This thread is closed.
Dec 9 '07 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Greg Lindstrom | last post by:
Hello- I am running python 2.3. on an HP-9000 box running Unix and have a POSIX script that sets up my production environment. I would like to run the script from inside a python routine and...
28
by: Christian | last post by:
Another question from a not even newbie: In Unix you can set an environment variable with the command export PYTHONPATH but I would like to set the variable from at .py script. So my question...
4
by: Bill Davidson | last post by:
All: I've found the 'Environment.GetEnvironmentVariable()' method; but how do I create and/or set an environment variable? Thanks, Bill
4
by: Ron Clarke | last post by:
I have an application that starts other processes. The app needs to create/set a few environment variables when a process starts, let the process run, then remove the environment variables when the...
6
by: Fuzzyman | last post by:
Hello all, I would like to set a Windows Environment variable for another (non-child) process. This means that the following *doesn't* work : :: os.environ = value In the ``win32api``...
1
by: pagates | last post by:
Hi All, What's the "best" way to get System Environment Variables (VS2003)? Environment.GetEnvironmentVariable("xxx") only gets user Environment variables. Thanks, pagates
2
by: ANarula | last post by:
I am running into a strange problem. I have perl script which reads the "APPDATA" environment variable, and does some work on that directory. When I a launch this script from Command Prompt, it...
3
by: Tristan | last post by:
Hello community: I post this because I could not find satisfactory answers in the posts generated by this nice group. I work on winXP. I have many little python applications in different folders,...
3
by: smitty1e | last post by:
Just a fun exercise to unify some of the major input methods for a script into a single dictionary. Here is the output, given a gr.conf file in the same directory with the contents stated below: ...
4
by: Stephen Cattaneo | last post by:
Hello all, I am attempting to execute an automated test (written in Python) via cron. I have to check the HOSTNAME variable as part of the test, oddly under cron the HOSTNAME environment...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.