Re: [PHP] browser identification problem
Ernest E Vogelsinger [EMAIL PROTECTED] wrote on 02/17/2003 11:20:41 PM: At 06:05 18.02.2003, Jason Wong said: [snip] On Tuesday 18 February 2003 01:18, [EMAIL PROTECTED] wrote: then set 'user_agent' in php.ini to match that of one of the compatible browsers. I don't see any user_agent entry in my php.ini file. I did a search on the php.net site and didn't find any info on this. What would be the proper way to set this in php.ini, and in which section of php.ini? Anywhere in php.ini I suppose. Or it can be set at run-time using ini_set(). [snip] http://www.php.net/manual/en/ref.filesystem.php#ini.user-agent Thanks for the link. I added the following to my php.ini - user_agent = Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212 And it prevents any pages from being displayed. I copied that line from the http_user_agent line in php_info. The php doc mentioned above doesn't provide any info on the format of the user_agent line. Obviously I'm doing it wrong. Suggestions? Thanks -- Chip -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] browser identification problem
Jason Wong [EMAIL PROTECTED] wrote on 02/14/2003 10:08:45 PM: On Saturday 15 February 2003 05:01, [EMAIL PROTECTED] wrote: I have an ecommerce app (MAS200 eBusiness Manager) that works. I am updating my web site to php frames. Now when I want to connect to the eBusiness Manager server Presumably you mean connect to that app with some php code? On my web page is a link to another server, just a simple url link. The existing pages are .php pages. I get this error: Unsupported Browser The browser you are using (PHP/4.2.3) is currently unsupported. Please update your browser to the most current level. This happens regardless of the browser I am using. How can I get this to send the actual browser info, not this php info in its place? The error comes from some php code accessing that app and has nothing to do with whatever browser you're using. I have had the existing .php pages accessing the other server for a couple years now with no problems. Only differance is the new page that has the link is frames. I don't know why that would make a differance though. Find out what browsers that app is satisfied with, 5.0 and higher browsers. then set 'user_agent' in php.ini to match that of one of the compatible browsers. I don't see any user_agent entry in my php.ini file. I did a search on the php.net site and didn't find any info on this. What would be the proper way to set this in php.ini, and in which section of php.ini? Thanks, -- Chip -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* The Usenet news is out of date */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] browser identification problem
Chris Shiflett [EMAIL PROTECTED] wrote on 02/14/2003 02:47:43 PM: --- [EMAIL PROTECTED] wrote: I have an ecommerce app (MAS200 eBusiness Manager) that works. I am updating my web site to php frames. There is no such thing. Perhaps you mean HTML frames? Take a look at this web site - http://www.phpbeginner.com/columns/mark/frames -- Chip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] browser identification problem
Here's a bit more info - just for clarity and understanding of what's going on... There are actually 3 server involved - My current web site is hosted on my isp's server. I have another server here in my office which contains about a gigabyte of down- loadable docs. And we have our ecommerce site, which is integrated into MAS200, our ERP system. On the original web site (on the isp's sever) are links to the other two servers. This is all fine. This system works, it's not the most efficient, but it works. I am setting up a new server to host my web site, which will include the downloadable docs (thus I will be removing that extra sever from all this), and will co-locate it at my isp's office. (Rather than have them host my site on their server.) Okay, so the web site on my new server is a mirror of the existing site on my isp's server. That existing site has no problem linking to and logging into the remote ecommerce server. But, my new server is the one with the problem. The isp's server is running php-4.2.2. Mine is running 4.2.3. So, the same web page can access the remote ecommerce server fine on the isp's system, but not on mine. I have a call in to the isp's tech support, I'll try to get a copy of their php.ini and find out what is differant between theirs and mine. -- Chip Jason Wong [EMAIL PROTECTED] wrote on 02/14/2003 10:08:45 PM: On Saturday 15 February 2003 05:01, [EMAIL PROTECTED] wrote: I have an ecommerce app (MAS200 eBusiness Manager) that works. I am updating my web site to php frames. Now when I want to connect to the eBusiness Manager server Presumably you mean connect to that app with some php code? I get this error: Unsupported Browser The browser you are using (PHP/4.2.3) is currently unsupported. Please update your browser to the most current level. This happens regardless of the browser I am using. How can I get this to send the actual browser info, not this php info in its place? The error comes from some php code accessing that app and has nothing to do with whatever browser you're using. Find out what browsers that app is satisfied with, then set 'user_agent' in php.ini to match that of one of the compatible browsers. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* The Usenet news is out of date */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] browser identification problem
On Tuesday 18 February 2003 01:18, [EMAIL PROTECTED] wrote: then set 'user_agent' in php.ini to match that of one of the compatible browsers. I don't see any user_agent entry in my php.ini file. I did a search on the php.net site and didn't find any info on this. What would be the proper way to set this in php.ini, and in which section of php.ini? Anywhere in php.ini I suppose. Or it can be set at run-time using ini_set(). -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* Your computer account is overdrawn. Please reauthorize. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] browser identification problem
At 06:05 18.02.2003, Jason Wong said: [snip] On Tuesday 18 February 2003 01:18, [EMAIL PROTECTED] wrote: then set 'user_agent' in php.ini to match that of one of the compatible browsers. I don't see any user_agent entry in my php.ini file. I did a search on the php.net site and didn't find any info on this. What would be the proper way to set this in php.ini, and in which section of php.ini? Anywhere in php.ini I suppose. Or it can be set at run-time using ini_set(). [snip] http://www.php.net/manual/en/ref.filesystem.php#ini.user-agent -- O Ernest E. Vogelsinger (\)ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] browser identification problem
I have an ecommerce app (MAS200 eBusiness Manager) that works. I am updating my web site to php frames. Now when I want to connect to the eBusiness Manager server I get this error: Unsupported Browser The browser you are using (PHP/4.2.3) is currently unsupported. Please update your browser to the most current level. This happens regardless of the browser I am using. How can I get this to send the actual browser info, not this php info in its place? -- Chip Wiegand Computer Services Simrad, Inc www.simradusa.com [EMAIL PROTECTED] There is no reason anyone would want a computer in their home. --Ken Olson, president, chairman and founder of Digital Equipment Corporation, 1977 (Then why do I have 8? Somebody help me!) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] browser identification problem
--- [EMAIL PROTECTED] wrote: I have an ecommerce app (MAS200 eBusiness Manager) that works. I am updating my web site to php frames. There is no such thing. Perhaps you mean HTML frames? Now when I want to connect to the eBusiness Manager server I get this error: Unsupported Browser The browser you are using (PHP/4.2.3) is currently unsupported. Please update your browser to the most current level. So, eBusiness Manager is lame. Thanks for the tip. :-) This happens regardless of the browser I am using. How can I get this to send the actual browser info, not this php info in its place? What are you talking about? What is PHP info? The error message? Whatever eBusiness Manager is apparently checks what browser you are using and does not operate unless it approves of your choice. This is an indication of pitiful software design, but I don't see how this relates to PHP nor what question you are attempting to ask. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] browser identification problem
On Saturday 15 February 2003 05:01, [EMAIL PROTECTED] wrote: I have an ecommerce app (MAS200 eBusiness Manager) that works. I am updating my web site to php frames. Now when I want to connect to the eBusiness Manager server Presumably you mean connect to that app with some php code? I get this error: Unsupported Browser The browser you are using (PHP/4.2.3) is currently unsupported. Please update your browser to the most current level. This happens regardless of the browser I am using. How can I get this to send the actual browser info, not this php info in its place? The error comes from some php code accessing that app and has nothing to do with whatever browser you're using. Find out what browsers that app is satisfied with, then set 'user_agent' in php.ini to match that of one of the compatible browsers. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* The Usenet news is out of date */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php