server

iPhone Server Mirror Functionality

My app reads a from decentralized (so I have the ability to change servers if I have to) xml file with TBXML parser. The xml file consists of only a few lines like this <xml> <mirror url="http://www.someserverabc.com/data.xml" priority="1"/> <mirror url="http://www.someservermirror.com/data.xml" priority="2"/> <mirror url="http://www.a...

Some basic Comet/Jquery questions?

My questions are: What's a meta, what do subscribe and unsubscribe do, and what does startBatch/endBatch do? ...

secure data transport between web server and database server

I'm planning on provisioning a web server and database server in a server farm environment. They will be in the same network but not in the same domain, both windows server 2008 and the database server is sql server 2008. My question being, what is the best way to secure data in transport between the servers? I've looked into IPSEC an...

Custom Server to communicate with my software?

I am working on a major project that I need for work. I am working on a project that requires software validation. I would like this to be handled by a custom server I will write in Python, this server will be the "gateway" between the user and product activation. The software program will be purchased from other companies in volume li...

Use Azure Appfabric on a local system

Hi there, we want to use the azure appfabric for our software. But not every customer wants to buy an expensive azure account. Is it possibile to define and use an azure interface in our software but to connect the server and client local? Mimefilt ...

Server Configuration : PhpSecInfo Report

This is PhpSecInfo Report for our servers: I cant access to php.ini for fix warnings. I want to know, Could the hacker access to database with this settings? I have a very simple site that read data from database. There is mysql_real_escape_string, numeric data filter, sprintf vs in my queries. Please help me about this issue. Thanks a...

nginx better than apache for dynamic content?

Hi, i have searched for this around the web and i can't find the right answer for my question. basically i want to know if i can get better performance with nginx than with apache (in php apps), and i'm not involving static content (where i know nginx is better). the sites are a widely collection of scripts with a lot of variables, us...

Reading/writing data to server, ftp, or website

Hi, I'm writing an app that will periodically send information out to a remote server, and then get relevant information about other users from that server back to the local database. What's the best way to handle sending out this info (i.e.: XML or binary) and writing it to the remote server. Also, how can I assure that, when 500+ u...

C# When a managed thread ends its time-slice will it incur context switch?

In Russinovich book it says that thread (NOTE: this is about OS thread) will need dispatching (scheduling) if it a) became ready b) ended its timeslice, yields or blocks. I have a managed thread in my C# real-time app for which is very important to achieve as fewer context switches as possible. This thread has Highest priority and the ...

Windows Server 2008 R2 time slice size?

How big is time slice for a thread to run in W2008R2 ? ...

server's default gateway for communication between network hosts

The correct answer to question [1] below is: Configure SrvA with no default gateway address What I cannot understand - 1) Why would it prevent the hosts on subnet B to connect to hosts on subnet A and through them to SrvA (since they, according to the task solved and correct answer, would continue to have access to SrvA)? 1a) ...

HTTP web wodwebserver ocx

Hello guys, THas anybody done any projects with the webserver from an existing control found here http://www.weonlydo.com/WebServer/web.http.server.com.activex.component.asp i need ideas on how i to develop/implement these settings on a webserver, Documents, Redirect, CGI, Associations, MIME Types i just out of ideas, i have only do...

Can't run a Perl app

Although I can run test.cgi from the same location but app.cgi gives "Internal Server Error". I checked the permissions, chmoded 755 to everything. The app is located in domains root so the url will be domain.com/app.cgi This is the htaccess: AddHandler cgi-script .cgi Options +ExecCGI IndexIgnore * DirectoryIndex app.cgi RewriteEn...

Getting server ip using Dns.GetHostEntry in c#

I use .net 3.5/c# I need to get server's IP, I was using this code: string strHostName = Dns.GetHostName(); IPHostEntry hostInfo = Dns.GetHostEntry(strHostName); string serverIpParam = hostInfo.AddressList[0].ToString(); return serverIpParam; However, after a switch to Windows 2008 server, my IP has letter format instead of usual f...

Looking for a Distributed Server System to speed up my php "call home" script

I'm not exactly sure what I'm looking for but basically I have a PHP app that customers use on their own server. In it it does a 'call home' command to check if the license key they are using is valid before allowing them to use it. I currently make it connect to my primary server which is very fast, but it is hosted in the US and if...

Multi-threading Problem in Java: How to clear last element in a list when update method is no longer called?

I have this problem in a project I'm working on: I have a list of elements sent through a server, I have a local copy of that list each time the server calls my client's update method. The update method itself checks if the newly sent list is identical to the local copy, if not, modify the local copy. This means that if on the server, ...

Web Sockets questions

Hi, I have a couple of questions concerning Web Sockets. The latest Firefox 4.0 nightlies support Web Sockets. So does Webkit (Chrome 4 + Safari 4/5). Internet Explorer 9 is supposed to feature Web Sockets at some point according to Microsoft (before the stable release). Anyway, my questions are: I am building a JavaScript admin int...

is multithreading is possible in a simple java server using udp connectionless protocol? pls give an example!!

is multi-threading is possible in a simple java server using udp connectionless protocol? pls give an example!! ...

antiword shell command does not work correctly through PHP

I called antiword in the shell using putty and it worked fine. However, when i call it using shell_exec() it always gives empty string. Here is the code I used: $file="IS_BT_KLVZ_MSI_001.doc"; $content=shell_exec("/usr/local/bin/antiword /usr/local/apache/htdocs/dokuman_sorgusu/documents/$file"); var_dump($content); In one forum, I s...

web hosting video files and large files

Hi, I would like to make a website to host videos, and/or large files to a large community of 5000 for example. What would be the best solution? Thanks. ...