hi, i'm not english so excuse me for the grammatical/sintax errors..
i'm relly going crazy looking for that...
i need an example code or something that could help me to create an
very simpe c application that have to do this:
run on a linux server like a daemon and manage variables printing out
the value.. for example...
the appz code:
// $n1 (passed var by browser)
if(!$sum) $sum =0;
$sum = $sum + $n1;
print $sum;
####################
so if you wrote in the browser http://www.site.com:8000/appz.dll?n1=5
you get back
5
than someone in internet do http://www.site.com:8000/appz.dll?n1=2
he get back 7
and again if someone else then type http://www.site.com:8000/appz.dll?n1=5
he get back 12
(yes i know that if i restart computer the count start again from 0..
i'll save the variable every 1 minutes on a file)
and more....
i'm very interested to know if this is possible... without using apache
wich is very slow...
the program should handle millions of request/day... and usually i
should use apache+php+file(or)mysql to do this operation...
and requires a lot of resources at every hits....
i think that this program stored on a ramdisk partition could do the
things really faster..
if someone could help me you make me really happy..
Thanks,
Francesco 15 1511
Francesco wrote: hi, i'm not english so excuse me for the grammatical/sintax errors..
Grammatical errors are OK, syntax ones (at least in C) are not. ;-) i'm relly going crazy looking for that... i need an example code or something that could help me to create an very simpe c application that have to do this:
run on a linux server like a daemon and manage variables printing out the value.. for example...
You should go to comp.unix.programming or any of the groups with `linux`
in their name. Here, only standard ISO/ANSI C is discussed, and there
are no such things as servers, daemons or linux in it.
Cheers
Vladimir
<snipped the rest of the problem description>
--
As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality.
-- Albert Einstein
Francesco wrote: k thanks!
Who's `k`? Thanks for what?
Please quote what you're replying to, otherwise many people won't know
what you're on about (see instructions below). For example, /I/ haven't
seen /my own/ post yet, so I'm just assuming you're thanking me...
Also, people around here (myself included) tend to frown on text-speak.
Cheers
Vladimir
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
--
Brook's Law:
Adding manpower to a late software project makes it later
Vladimir S. Oka wrote: Francesco wrote:
k thanks!
Who's `k`? Thanks for what?
Please quote what you're replying to, otherwise many people won't know what you're on about (see instructions below). For example, /I/ haven't seen /my own/ post yet, so I'm just assuming you're thanking me...
And as my fine ISP is playing its little tricks on me _again_, I think I
may never see that post -- ever... :-(
Cheers
--
"Of course power tools and alcohol don't mix. Everyone knows power
tools aren't soluble in alcohol ..."
-- Crazy Nigel
sorry, i'm not abitual groups user....
thanks stand for "thanks for the tips, i have posted the message on
linux programming group :) "
Have a nice day...
Vladimir S. Oka <no****@btopenworld.com> wrote: And as my fine ISP is playing its little tricks on me _again_, I think I may never see that post -- ever... :-(
Check your reader settings, you might have plonked yourself. This
happened to me once, and it took me a quite some time to figure out what
was wrong.
Ico
--
:wq
^X^Cy^K^X^C^C^C^C
Francesco wrote: sorry, i'm not abitual groups user.... thanks stand for "thanks for the tips, i have posted the message on linux programming group :) "
Have a nice day...
You are very welcome! Who are you thanking to? And for what?
Please quote some context the next time you reply to something.
Usenet is not for private messages.
--
Ioan - Ciprian Tandau
tandau _at_ freeshell _dot_ org (hope it's not too late)
(... and that it still works...)
Ico wrote: Vladimir S. Oka <no****@btopenworld.com> wrote: And as my fine ISP is playing its little tricks on me _again_, I think I may never see that post -- ever... :-(
Check your reader settings, you might have plonked yourself. This happened to me once, and it took me a quite some time to figure out what was wrong.
Thanks for the advice, I'll have a look.
Although I don't think that's the problem. It's only roughly one in five
or so own posts that I can't see. Anyway, I'm getting used to it :-(,
and am keeping them in my outbox, just in case I have to reply to
someone with no quoting habits.
Cheers
Vladimir
--
Try to be the best of whatever you are, even if what you are is no
good.
On Sat, 28 Jan 2006 09:59:37 +0000, Vladimir S. Oka wrote: Although I don't think that's the problem. It's only roughly one in five or so own posts that I can't see. Anyway, I'm getting used to it :-(, and am keeping them in my outbox, just in case I have to reply to someone with no quoting habits.
What news reader do you use? Or are you posting via email?
--
Hilsen/Regards
Michael Rasmussen http://keyserver.veridis.com:11371/p...rch=0xE3E80917
Michael Rasmussen wrote: On Sat, 28 Jan 2006 09:59:37 +0000, Vladimir S. Oka wrote:
Although I don't think that's the problem. It's only roughly one in five or so own posts that I can't see. Anyway, I'm getting used to it :-(, and am keeping them in my outbox, just in case I have to reply to someone with no quoting habits. What news reader do you use? Or are you posting via email?
KNode 0.9.2 (KDE 3.4.2 on SUSE 10.0 box).
If the question is about me saying `outbox`, I actually meant `Sent`
folder in KNode's `Local Folders` which is where everything that I post
ends up.
Cheers
Vladimir
--
Ask not for whom the <CONTROL-G> tolls.
On Sat, 28 Jan 2006 12:14:20 +0000, Vladimir S. Oka wrote: KNode 0.9.2 (KDE 3.4.2 on SUSE 10.0 box).
I have not heard of any such problems with KNode. Have you filed it as a
bug?
--
Hilsen/Regards
Michael Rasmussen http://keyserver.veridis.com:11371/p...rch=0xE3E80917
Michael Rasmussen wrote: On Sat, 28 Jan 2006 12:14:20 +0000, Vladimir S. Oka wrote:
KNode 0.9.2 (KDE 3.4.2 on SUSE 10.0 box).
I have not heard of any such problems with KNode. Have you filed it as a bug?
I don't actually think the problem's with KNode. Here's what actually
happens:
I post a follow-up to an article on c.l.c using my ISP's news server.
Most of the time I see it on c.l.c in due time on my ISP's news server.
Sometimes, however, I never see it on c.l.c on my ISP's news servers.
However, it's /always/ visible on Google Groups, or if I subscribe to
c.l.c using a different news servers (say, one of the free ones).
All the while I'm using same news client, i.e. KNode.
I'll drop it here now, as it's off topic. Any suggestions where's the
best place to ask (apart for bugging my ISP, of course).
Cheers
Vladimir
On Sat, 28 Jan 2006 13:34:00 +0000, Vladimir S. Oka wrote: Michael Rasmussen wrote:
On Sat, 28 Jan 2006 12:14:20 +0000, Vladimir S. Oka wrote:
KNode 0.9.2 (KDE 3.4.2 on SUSE 10.0 box). I have not heard of any such problems with KNode. Have you filed it as a bug?
I don't actually think the problem's with KNode. Here's what actually happens:
I post a follow-up to an article on c.l.c using my ISP's news server. Most of the time I see it on c.l.c in due time on my ISP's news server. Sometimes, however, I never see it on c.l.c on my ISP's news servers. However, it's /always/ visible on Google Groups, or if I subscribe to c.l.c using a different news servers (say, one of the free ones). All the while I'm using same news client, i.e. KNode.
Try see if the problems occurs in another news reader. If not I'll drop it here now, as it's off topic. Any suggestions where's the best place to ask (apart for bugging my ISP, of course).
Try KDE mail lists.
--
Hilsen/Regards
Michael Rasmussen http://keyserver.veridis.com:11371/p...rch=0xE3E80917
"Vladimir S. Oka" wrote: I don't actually think the problem's with KNode. Here's what actually happens:
I post a follow-up to an article on c.l.c using my ISP's news server. Most of the time I see it on c.l.c in due time on my ISP's news server. Sometimes, however, I never see it on c.l.c on my ISP's news servers. However, it's /always/ visible on Google Groups, or if I subscribe to c.l.c using a different news servers (say, one of the free ones). All the while I'm using same news client, i.e. KNode.
I'll drop it here now, as it's off topic. Any suggestions where's the best place to ask (apart for bugging my ISP, of course).
Bugging your ISP is probably the only way. It looks as if he is
failing to post articles originating on his system. When he
propagates them to other systems they are marked as "SEEN-BY" his
system, so they don't come back.
--
"The power of the Executive to cast a man into prison without
formulating any charge known to the law, and particularly to
deny him the judgement of his peers, is in the highest degree
odious and is the foundation of all totalitarian government
whether Nazi or Communist." -- W. Churchill, Nov 21, 1943
CBFalconer wrote: "Vladimir S. Oka" wrote: I don't actually think the problem's with KNode. Here's what actually happens:
< snip> Bugging your ISP is probably the only way. It looks as if he is failing to post articles originating on his system. When he propagates them to other systems they are marked as "SEEN-BY" his system, so they don't come back.
It seems to have been KNode after all. I tried Thunderbird and it
happily showed all my posts. Went back to KNode, unsubscribed to c.l.c,
exit, re-subscribed, and voila, here's everything again. I tried this
as I had this un/re-sub procedure nagging at the back of my head for a
while, as if I saw it in a post recently. Time to talk to KNode people,
then.
Thanks again for help and advice.
Cheers
Vladimir This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: J-miami |
last post by:
I am just starting to learn Perl. I had an idea that there should be
free open-source Internet Cafe management software for Linux. I
searched around online but couldn't find anything. The...
|
by: Simon |
last post by:
I'm doing a survey.
When do you think GNU/Linux will be ready for the average Joe? What
obstacles must it overcome first?
|
by: Dan V. |
last post by:
Situation:
I have to connect with my Windows 2000 server using VS.NET 2003 and C# and
connect to a remote Linux server at another company's office and query their
XML file. Their file may be...
|
by: John Eric Hanson |
last post by:
My company is considering a development path in which we develop code on 32
bit Windows machines to run remotely on 64 bit Linux machines.
What could go wrong?
|
by: Mairhtin O'Feannag |
last post by:
Hello,
I have a new Linux RH 9.0 server, on which I'm trying to setup DB2. I
did the RPM install of IBMJava2-JRE-1.4.1-2.0, which I got from the IBM
site. All *APPEARED* to have worked fine. ...
|
by: diffuser78 |
last post by:
I am using 8 computers on a small network. I have one Main computer
which should be able to remotely start other computers. I used Wake on
LAN to start them all.
My Main computer is Linux.
...
|
by: diffuser78 |
last post by:
I am a newbie in Python and want your help in writing python script.
I have to remotely shut the windows px from linux box. I run OpenSSH on
windows PC. I remotely connect it from Linux box using...
|
by: Justin |
last post by:
We have a simple shell script called testsp.sh (located at /home/
userid)
Within the shell script, the following command is called:
db2 -tvf callsp.sql
When the shell script is run in command...
|
by: clintonG |
last post by:
Microsoft Charging $90 for .NET Undermines Huge Market Compelling The Use of
Linux!
Anybody with eyes sight can see "digital signage" emerging as a "display
device platform" and a HUGE...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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,...
|
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,...
|
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...
|
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...
|
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: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| | |