Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Unable to change User-Agent
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
TJ  
View profile  
 More options May 15 2012, 6:37 pm
From: TJ <tj.dividemy...@gmail.com>
Date: Tue, 15 May 2012 15:37:26 -0700 (PDT)
Local: Tues, May 15 2012 6:37 pm
Subject: Unable to change User-Agent
Hello -

This may be a silly question, but what is the best way to activate a
script which queries a RETS server, while preserving a specified User-
Agent?

I'm attempting to access a script which runs a RETS query (via
SearchQuery) through my browser, but after setting by User Agent (via
$rets->AddHeader("User-Agent", $rets_user_agent); ) it always defaults
to my browser User Agent, and my connection fails.

Thank you!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wade Berlin  
View profile  
 More options May 15 2012, 7:26 pm
From: Wade Berlin <phoenixw...@gmail.com>
Date: Tue, 15 May 2012 19:26:10 -0400
Local: Tues, May 15 2012 7:26 pm
Subject: Re: Unable to change User-Agent

Hello,  

Please forgive me, no offense intended, but I think you may not be understanding the way job flows work with the RETS Server / PHP / your HTTP server OR your browser requests.

To try to simply state the basics:

PHP (running PHRETS on your server) should be making the requests, querying the RETS server, processing the results, then reporting to your browser or shell or whatever you are using to report  the results of the entire processing after the script is run in it's entirety.  In other words, your own server or desktop machine running php handles everything then you see the results.  So the browser you are using has no direct connection to the RETS server.

If the rets server is identifying your browser as the user agent, then you've bypassed php and PHRETS altogether, which would explain the user agent setting being ignored..

On May 15, 2012, at 6:37 pm, TJ wrote:

> Hello -

> This may be a silly question, but what is the best way to activate a
> script which queries a RETS server, while preserving a specified User-
> Agent?

> I'm attempting to access a script which runs a RETS query (via
> SearchQuery) through my browser, but after setting by User Agent (via
> $rets->AddHeader("User-Agent", $rets_user_agent); ) it always defaults
> to my browser User Agent, and my connection fails.

> Thank you!

Thank you for your time,
Wade Berlin
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=
BrokerIDX Networks
Creative,Affordable, Cutting Edge Technology for the Real Estate Professional
www.brokeridxsites.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- =-=

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »