SunQuest
           PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old June 23rd, 2003, 07:24 AM
kathiramu kathiramu is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 6 kathiramu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
php with iis

hi,
i am using php 4.0 with IIS (win 2k). I am using isapi PHP install. I am unable to use

$myBrowser = getenv("HTTP_USER_AGENT");
print $myBrowser;
//i see no output blank screen but no error.

but the following code works

$myBrowser = $_SERVER['HTTP_USER_AGENT'];
print $myBrowser;

can anyone tell me what is that i have to do to make getenv() work. i dont know if i have to do anything with php.ini file. The register_globals value is on and the safe_mode is off. Please let me know what exactly is the problem.

thanks in advance.
ramu


Reply With Quote
  #2  
Old June 23rd, 2003, 07:27 AM
jorgen jorgen is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Hardenberg, Holland<marquee>
Posts: 284 jorgen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: php with iis

http://nl.php.net/getenv

Note: This function does not work in ISAPI mode.

It probably helps if you search at the php.net website, before asking stupid questions!

Reply With Quote
  #3  
Old June 23rd, 2003, 08:38 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: php with iis

thnks jorgen,
thnks for the reply. but your reply was too harsh.
hope you understand that people who are using this forum are sometimes new to php.
bye
ramu

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > php with iis


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway