Hi,
Happy new Year...
i need to retrieve the data from the web server which is developed
using HTML and i need to process those data in c but i should not use
any CGIs.
Can anybody help me in this.
regards,
karthiga 3 2131
<ka*******@gmai l.comwrote in message
news:11******** **************@ s80g2000cwa.goo glegroups.com.. .
>
i need to retrieve the data from the web server which is developed
using HTML
A web server developed in HTML. That may be computing history.
and i need to process those data in c but i should not use
any CGIs.
I also need to water my lawn, but I may not use water.
Can anybody help me in this.
Based on what I've read so far, you need more help than I can give.
>A web server developed in HTML. That may be computing history.
:D
It depends really on what you want to do. "Parse" is a dangerously
unspecific word, and its applications can range from the trivial to the
obscure.
How to get the data from the server: well, you might like to play with
sockets, open a connection to the server, then download the html page,
then parse it. These things tend to be slightly more os-specific, but I
can help you along if you need to. I believe, however, that in your
application it may be simpler to use the output of wget.
"Parse": okay, do what you wish. But if you need to do too complicated
things, then maybe C is not the most suited...
no cgi's: by definition, cgi is simply a program. I am guessing that
what you mean is that the program cannot be hosted on that server (?).
F.
thanx for ur reply..
I am not doing any parsing here...
i need to retrieve data from web server, developed in HTML and process
that in c...
Is it possible to retrieve the data using snmp ie OID and MIS...
rgd,
karthiga
Franchie wrote:
A web server developed in HTML. That may be computing history.
:D
It depends really on what you want to do. "Parse" is a dangerously
unspecific word, and its applications can range from the trivial to the
obscure.
How to get the data from the server: well, you might like to play with
sockets, open a connection to the server, then download the html page,
then parse it. These things tend to be slightly more os-specific, but I
can help you along if you need to. I believe, however, that in your
application it may be simpler to use the output of wget.
"Parse": okay, do what you wish. But if you need to do too complicated
things, then maybe C is not the most suited...
no cgi's: by definition, cgi is simply a program. I am guessing that
what you mean is that the program cannot be hosted on that server (?).
F.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Chung Leong |
last post by:
My contribution to the comp.lang.php FAQ:
-------------------------------------------------------------
Q: How do I retrieve a page from a web site?
A: Pass a URL to file() or file_get_contents(). The former returns the
contents as an array of lines. The latter returns the same as string.
Example:
$html = file_get_contents("http://www.cnn.com");
|
by: David Rasmussen |
last post by:
Some sites seem to be session driven in the sense that if I visit the
homepage and do a few clicks I can navigate anywhere I want, but if I
paste the current location into a new browser window after having
navigated to some page, it doesn't work. It just returns to the start
page or says "timeout" etc.
This means that I can't read these pages from PHP with
$string = file_get_contents('http://some.url/blah/deep/link');
|
by: Vanessa |
last post by:
I have a question, is that any other way to retrieve data from another
webpage besides using XML object? Because I am using XML object now but give
me so much problems.
If I used MSXML2.ServerXMLHTTP object, it gives me time out error:
msxml3.dll error '80072ee2'
The operation timed out
If I used Microsoft.XMLHTTP object, it will hang IE!
|
by: Matt |
last post by:
When we submit the form data to another page, we usually do the following:
<form action="display.aspx" method="post"> will submit the form data and
open
display.asp in the current browser
<form action="display.aspx" method="post" target="_blank"> will submit the
form data
and open display.asp in a new browser
|
by: kev |
last post by:
Hi all,
I have created a database for equipments. I have a form to register the
equipment meaning filling in all the particulars (ID, serial, type,
location etc). I have two buttons at the end of the form which is
submit and cancel. After i have clicked submit, the information is
stored directly into my corresponding database table. My problem here
is i need to retrieve back the information submitted to display all the
data that the...
| |
by: Alfred |
last post by:
I want to post text field data from these HTML TEXTAREA tags to a
PostgreSQL database and have it reappear back on another page exactly
as I had typed it. Over the years I have done this but only did it
with simple text. This time around, I want to handle much more complex
text. I need to preserve some kinds of features.
(Yes, I have turned off magic quotes.)
- Need to strip diacritics. I learned I could use htmlentities to
catch...
|
by: Harry |
last post by:
Hi Guys
I dont really know how to do this: if there are a page of others,
some data are embedded inside the data array like this:
<script language="JavaScript" type="text/javascript">
<!--
var jsData = new Array();
jsData = {bowl:"I", year:1967, winner:"Packers", winScore:35,
loser:"Chiefs", losScore:10};
jsData = {bowl:"II", year:1968, winner:"Packers", winScore:33,
|
by: lifeisgreat20009 |
last post by:
I am a newbie to Struts and JSP...I have been working on the code below for 5 hours now..I googled a lot but couldn't get much help so finally I am here.. Hoping of getting my problem solved. Please give me some idea where I am going wrong ??
I just want to retrieve data from my emp_mstr table and display it using my JSP file...
The table emp_mstr is as follows :-
CREATE TABLE EMP_MSTR(
EMP_NO VARCHAR(10) PRIMARY KEY,
PASSWORD...
|
by: gavy7210 |
last post by:
hello friends
i am new to struts.
i want to add the user information in the database and then display it back to him.
i am using struts 1.2,Eclipse Platform Version: 3.4.2,mySql 5.0.1,jdk 1.5..
i have created a form bean to get the data from the user.
then in my action class i m trying to get a database connection and adding the values of the user. and i also wanna show them back to him.
its a dummy project for my learning(to get...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |