server

C# Solution to upload a file.

Can someone provide me with a way of uploading files, such as images or text files,from an iphone app to a web server. I have found many examples but all are in php. I'm using C# with ASP.NET and need to do a simple upload. Thanks in advance. I actually needed a solution for the iphone app. How to upload the file from the iphone to an ...

How to implement server-sided applications that can process user's inputs?

There are some web-based services such as converting .flv files into .mp3 files, .doc files into .pdf files, etc. These are the servers that take files from the user and apply respected applications (such as conversion). After that, the converted file may be available to the requested user. I understand a little bit about writing a text...

Can Apache serve a default file instead of a 404?

We have Apache serving a set of files from a particular directory. If a file requested in that directory does not exist, can I make Apache return a default file - instead of a 404? If so, how? ...

sending large data .getJSON or proxy ?

Hey guys. I was told that the only trick to sending data to a external server (i.e x-domain) is to use getJSON. Well my problem is that the data I am sending exceeds the getJSON data limit. I am tracking mouse movements on a screen for analytics. Another option is I could also send a little data at a time. probably every time the mouse...

Why won't my client/server code work outside of my local machine?

I am trying to create a very basic little client server application, but I can only get it to work locally on my own machine. Server code: int d = 0; try { for (AdministratorPort = 8000; d < 1; AdministratorPort++) { IPAddress ipAddress = IPAddress.Parse("220.101.27.107"); ...

[PHP]: Directory handling problem.

My project files are located on remote server in the folder. I access a file in this folder in this way: http://www.example.com/searchtest.html This opens a page with Input Box where user types keywords to search. The search script is a .php file located in the root itself. The script has to search for .html files with the name similar...

PHP fwrite vs. output piping

I'm writing a tool that allows someone to connect to a web page and generate files for download on the fly. To write these files, I can use PHP functions like fopen or fwrite, or I could create a script that can be called as a system call to generate the output such as: php downloadGen.php > filetocreate.xml The fwrite version of the ...

Help with Sessions Issues

This just a same script in different server: The link below works. When you enter the correct characters it display success. http://mibsolutionsllc.com/captcha%5Ftest/test.php This link below works. Even you enter the correct characters. Display always error. The session value doesn't give function the right way. http://www.universit...

Vista and out-of-process COM server

I'm having a hell of a time trying to figure out user privilidges and security settings on Vista. The situation is this: I have a 32 bit C++ application that acts as an out-of-process (==standalone exe) COM server. I have several .Net, FoxPro, X++ and C/AL client applications that use this server. They all work on WindowsXP. They often ...

Is it OK for a process to be CPU intensive for a prolonged period of time?

The case: A scheduled task running on Windows. The program's job is to extract some information from text documents. It uses a lot of regular expressions to do this. The program is therefore CPU Bound. The service takes every document it finds in a folder and converts them one after another. Normally, everything is OK, the service fi...

Unlimited WHOIS lookup

Hello, I'm working on a domain statistics project and does anybody know how can I get unlimited WHOIS (thick) data for domains? Many registrars are limiting their WHOIS servers for look ups. What I need to do is caching more than ten million domains. Also, is it possible to set up my own WHOIS server for storing thick data? Is there an...

safe place to save code

Where is the most secure place to store sensitive code on a server (ex, authorization php, contact scripts, sensitive or protected javascript)? You guys/girls got any tips or tricks on how to protect that kind of stuff? ...

Disable viewing directory tree via url

I bought a domain name and am trying to figure out how to configure it responsibly. I haven't set up an index.html file yet and I've noticed that if I hit my domain, I see my file directory tree. and I can dive down to all the files within my browser. Is there a way that I can disable this? ...

Setting Up a Default Server On Eclipse

A very simple question - in the Eclipse documenation it says, at various places, that there is a default server installed along with eclipse yet I can't find any further documentation or details. So is there a default server installed? ...

DNS Server Refusing Connection

I am implementing a dns client, in which i try to connect to a local dns server, but the dns server is returning the message with an error code 5 , which means that its refusing the connection. Any thoughts on why this might be happening ?? Thanks ...

How can I reduce memory usage of a Twisted server?

I wrote an audio broadcasting server with Python/Twisted. It works fine, but the usage of memory grows too fast! I think that's because some user's network might not be good enough to download the audio in time. My audio server broadcast audio data to different listener's client, if some of them can't download the audio in time, that m...

Nested Server Controls to allow nested html

Does anyone know how to make nested server controls accept nested html without "injecting" it out from serverside, ie. <uc1:CustomServerControl runat="server"> <NestedControl></NestedControl> <NestedControl2></NestedControl2> </uc1:CustomServerControl> but to do this: <uc1:CustomServerControl runat="server"> <div> ...

Is anyone using a ColdFusion framework that has specific path requirements without mapping or locating resources in the server root?

Let me first say I am aware of this faq for Mach-II, which discusses using application specific mappings as a third option when: locating the framework in the server root is not possible and creating a server wide mapping to the Mach-II framework directory is impossible Using application specific mappings would also work for other Co...

How should a Java program handle an external mail server being down?

I have a constantly-running Java program that needs to send an email whenever it encounters a problem. However it is possible that the mail server it uses could be down at the time it tries to send the email. What is the best way to ensure that the email will be delivered when the mail server comes back up? ...

A server side component for tracking a large number of RSS & Atom feeds

I am looking for an open source component that can help me track a large number of RSS feeds (>> 10K RSS sources). I don't care about the programming language, but it should be something with a simple API where I can add or remove RSS feeds and asynchronously receive notifications every time an RSS is updated. Preferably in Java or Pyt...