server

System.IO.Directory.Exists in web application

Hello, I am faced with this strange problem: In an .net web application, there is some code equivalent to this: if (Directory.Exists("config")) { ... } It basically checks to see if C:\Windows\system32\inetsrv\config directory exists, why the code is written like this is beyond me and this question. What confuses me is the above co...

online update mechanism for a c++ SERVER app

Couldn't find anything about this topic. I have a Windows TCP C++ server application which I want to update from time to time. As you obviously understand this introduces a problem - the server should be 24/7 from the users' perspective. When updating, it is also desired to keep the current TCP connections with the users. I've been ...

MySQL - how to backup database to a different server?

Hi, I have 2 databases with MyISAM tables which are updated once a week. They are quite big in size (one DB is 2GB and the other is 6GB). I currently back them up once a week with mysqldump and keep the last 2 weeks' worth of .sql dumps on the same server where the DBs are running. I would like, however, to be able to dump the backups ...

Old Fashion - DDE Question

hey all, i use old outsource application which create a DDE server, i've built a code that link to that DDE server and Lunch it to other server (worked fine). now, its can't connect to the DDE server any more, i've check with Excel file on the same Server and its worked fine, i didn't change anything in the code in the server transfer,...

programatically highlight/select a "dl" item

the following test html creates a tabbed list (new, update, delete) on the row. the current test updates the data, via javascript/ajax calls, and so the tab selected by the user doesn't change, as the page isn't redisplayed/regenerated. however, if i change the test, to do a call back to the server, so the server has to redisplay the p...

Accessing my home network using CURL

Hey everyone, This question sort of covers both ServerFault.com and here, but this seems more programming than server. I set up my home computer to run Apache server. It answers to port 5900, which has been port forwarded from my wireless router. I then set up a Dynamic DNS server to continually update what the IP address of my home ...

Do you know any good Perl server scripting tutorials?

Are there any good introductory tutorials for Perl server-side scripting available freely on the internet? I checked perl.org and google searches like perl server scripting, server side script examples in perl, but did not get any good results. Is Perl not that common as a server-side language? It is mentioned here as one. ...

Highlight and Edit XML in a browser

Trying to provide a user with editable XML page in a browser. For example, the following is part of an XML. <Employee name="John Doe" type="contract" ID="1000"> <Salary>10000</Salary> <Email>[email protected]</Email> </Employee> When the above is presented to the user in a brower (either IE or FF), the user should be a...

google code + temp server?

Hi, We are starting a new project to develop a website using django. We have created a project on google code. We would like to be able to occasionally show the progress of the site to some people, without having to purchase a real server. We are all modifying the project through eclipse and SVN. What's the best way to create a runser...

AS3 MP3 Player Loads when opened locally, but doesn't show up at all on my server?!??!

sup everyone, I'm in my last quarter in college making my online portfolio and I just wanted to say that you guys have been a load of help the last week. Almost more so than my teachers... So I have some AS3 MP3 code that my teacher gave me a while ago and it loads perfectly when I load the site locally on my computer, but I uploaded th...

Transcode FLAC on the fly to MP3 for streaming

I have a large collection of FLAC audio files on my server. I would like to be able to listen to them from my computer (preferably over SSH) and from my iPhone. I realize that SubSonic is able to do all of this but I also found a tool called MP3fs which mounts a mp3 transcode of flac files. What solution should I choose and why? ...

Can someone spot the memory leak?

Hello I been trying to find this memory leak for a while now and no luck. What I have is a server that serves requests for a flash client security acceptance. It only sends out one packet nothing more but has the power to hold over 10,000 concurrent connections? maybe 65,534 if it has too. Anyways after serving about 210,000+ users in ...

Upload a photo from camera to PHP server

I have 3 days into this and my mind is melting oozing out my ears.... please help! The end result is that I want to upload selected photos from and Android phone to a php website. I can display the images from the camera and get the filename that I want to upload. However I cannot use FileInputStream on the file name because it is no...

Is PHP timing out, or is it something else that's causing my script's results to vary after each execution?

I have a directory full of XML files. For each of these files I make a search at RIPE. For each search I do a couple of RegEx searches through the returned HTML code. But after a couple of loops, file_get_contents stop returning data, and all my operations after are done on an empty string. I figured PHP may be timing out since these pa...

Need the best approch to show a group of server control according to its permission.

Suppose I have a page which have more that 50 asp.net server controls. Now I want to display some control according to the logged in user's permission and rest of the controls will be hidden. In the same way, if an another user logs in then according to his/her permission it will show another group of controls on that page. So what is t...

Android app to connect to backend database / website

Hello, I want to setup an Android app that will connect to a backend database (web/database server that I maintain). What are some good resources for doing so? Thanks in advance. ...

Masking / Pointing subdomain to different server and keeping same url in address

This may be a question for Server Exchange but I am starting to feel pretty cozy here and I feel like someone here will definitely know the answer. We are currently rebuilding a php site in rails and have the new site that is being rebuilt on a linode box [nginx]. The live domain lives on a slicehost box [also niginx]. Upon launch we ...

How to set my own DNS server

Hi, I'm not sure this is a right site for this kind of a question but I decided to give it a try... Well, I have a new server running on its own IP address with Plesk installed. Plesk provides me a primary DNS server and I would like to set my primary domain (lets say domain.com) as a nameserver, I understand I have to do this in regist...

IIS, how to track when the server is up or down?

Hi Guys, I would like to know if there is a way, like a logging option in IIS to keep track of when the server or a site is up or down, so that when you get a client saying the service was down, you can go and check at that time and date and know if it was the server or the site, or something else.... Thanks for the help ...

Common Lisp or Scheme for server-side?

I wonder if some functional languages are used for web development and which are most useful and supported with that goal? ...