www.uburst.com www.uburst.com

"Environmental Variables"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

Future Feature Wish List
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"Environmental Variables"
Posted by ronharter on Nov-17-00 at 09:43 AM (EST)
It would be nice if the cart would print some variables such as REMOTE_HOST, REMOTE_ADDR, REMOTE_USER, and HTTP_USER_AGENT on the order form. The IP address could be used as an extra measure of security and the browser type could be helpful in narrowing down problems with certain browsers.

This could be a optional and set from the control panel.

I know you guys are probably busy counting ballots
(sorry, just had to get that in ), but maybe in a future release.

Ron Harter

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: Environmental Variables, Bill Weiner, Nov-17-00, (1)
Environmental Variables, ronharter, Nov-17-00, (2)
RE: Environmental Variables, James, Nov-18-00, (3)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: Environmental Variables"
Posted by Bill Weiner on Nov-17-00 at 01:13 PM (EST)
Ouch! That ballot remark hurt! :^)

Anyway, you can access those enviroment variables pretty much anywhere in the script (such as the "complete_order" subroutine) via code such as:

$extra = "BROWSER TYPE IS " . $ENV{'HTTP_USER_AGENT'} . "\n";
$extra .= "REMOTE_HOST = " . $ENV{'REMOTE_HOST'} . "\n";
$extra .= "REMOTE_ADDR = " . $ENV{'REMOTE_ADDR'} . "\n";
$extra .= "REMOTE_USER = " . $ENV{'REMOTE_USER'} . "\n\n";

Unfortunately, to write/read that data to/from the order file... will take a couple changes in a couple different places. So we'll, just add it to our future feature wish list.

javascript:document.write("Go Bush!");document.close()

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
2 . "Environmental Variables"
Posted by ronharter on Nov-17-00 at 02:52 PM (EST)
Thanks,
We have had one case of fraud where a person used a stolen credit card to place orders. It would have been helpful to have his IP address (of course that could be spoofed) to try and locate them.

I lived in FL for 8 years but on the west coast. I did spend a lot of my free time (or misspent it) in Daytona Beach.

Ron

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
3 . "RE: Environmental Variables"
Posted by James on Nov-18-00 at 08:57 PM (EST)
javascript:document.write("Go Bush!");document.close()
Indeed!

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.