473,396 Members | 1,724 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,396 software developers and data experts.

Cross Server Saving a html page to my server with php proxy

5
I use php proxy to get xml data and it works when i use it to read another web page it works but does not save it displays the web page in the borwser what i want to do is to save the table obtained from my gps provider to my server and then read it wit a frame to extract the lat lon to use it in my map to locate vehicles is there a way to save the web page
thanks in advance
r.soler
Sep 29 '07 #1
3 1596
pbmods
5,821 Expert 4TB
Heya, R.

How are you fetching the XML file? Are you using cURL?

Try setting CURLOPT_RETURNTRANSFER using curl_setopt().
Sep 30 '07 #2
rsoler
5
Heya, R.

How are you fetching the XML file? Are you using cURL?

Try setting CURLOPT_RETURNTRANSFER using curl_setopt().
It works now but the trouble i have is that i need to save also the cookie on my computer to the server if not does not shoe the values that i need i am looking to see how this can be done red cookie from temporary internet files and send to my server
Sep 30 '07 #3
pbmods
5,821 Expert 4TB
Heya, R.

Also set the CURLOPT_HEADER option. cURL will then return the header data as well as the content. Simply look for the Set-cookie headers.
Sep 30 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Chris Gray | last post by:
Is there such a beast? In particular, I'm looking for a production-quality proxy server fully compliant with HTTP/1.1 written in Python. If there isn't, is there anything that comes close? ...
2
by: Fuzzyman | last post by:
I am trying to write a small server program that will work on a *client* machine as a localhost server. It should then act as a proxy server but modify URLs fetched through it - so that the fetches...
4
by: Fuzzyman | last post by:
In a nutshell - the question I'm asking is, how do I make a socket conenction go via a proxy server ? All our internet traffic has to go through a proxy-server at location 'dav-serv:8080' and I...
19
by: Mark Gross | last post by:
I am attempting to programatically drive a Lotus Notes web application from a VB.NET database application (who wants to rekey information in one database into someone else's web page for entry to...
1
by: WT | last post by:
Hello, I have an asp.net 1.1 application that runs an asp.net 2.0 page in an iframe. I need to save the contained app before saving the main one when the save button is clicked. For this I...
6
by: Simon | last post by:
Hi All, An experiment i'm doing requires requires a synchronous cross-domain request, without using a proxy. I wondered if anyone had any ideas to help me achieve this. Below is what I have...
5
by: dolittle | last post by:
Hi, I`m trying to read the href property of an iframe with a javascript that running in the main frame. When the main frame and the inner iframe are both from the same domain I can read it with:...
6
by: ampo | last post by:
Hello. Can anyone help with cross-domain problem? I have HTML page from server1 that send xmlHTTPRequest to server2. How can I do it? Thanks.
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.