server

Data content not rendering on the webpage: Server not replying back

My page is made in php, I have qcodo which is layered on top of my database for the website. Occasionally, the webpage does not render and instead of the content it should display it displays the website URL in the body. This problem started occurring after I added few fields in the database. At first I thought this might be a qcodo pr...

How complex an object can be passed to silverlight from server, using WCF?

hello, Please note that my experience in Silverlight/.Net and WCF is about two weeks of googling and deciphering tutorials. I need to attempt and provide feedback to a client on if Silverlight will be a possible solution to their application needing a RIA front end. The client has a rather large .Net based application with a UI layer bu...

how to make my server support APNs?

i read in some stackOverflow post that The host would need to have port 2195 open and support push notifications under apns.how do i make my server to support apns. what does this line means in Push Notification guide To establish a trusted provider identity, we should present this certificate to APNs at connection time using peer-to-...

Different charset on different server?

I've just tested locally my web application, everything works fine, but after uploading to server application behaves differently. I use function formatiraj_string_url to convert diacritic symbols and get clean url... locally it works fine but on server this function doesnt convert them the same way. Few days earlier I tested this on so...

Is it the best practice to store content in the database as html when content is written in markdown?

Or is just saving markdown and rendering it on requests usually okay? I'm writing a site that uses markdown for content. Stack overflow similarly uses markdown for comments and questions. I'm storing the content as markdown in the database and then rendering it to html when the user visits the site. I've got a feeling I ought to be st...

do i need to maintain a databse for using push notification on my web server?

how we can maintain push notification for hundreds of devices? do we need to maintain a database on server or apple will maintain this,we just need to send payload.also i'm confusing in this matter that how do i cancel already sent payload...does someone knows about it? ...

Implementation differences between Zend_Rest_Server & Zend_Rest_Controller

There seems to be two different ways in the Zend Framework to implement a RESTful API, one by adding objects&functions to the Zend Rest Server object inside a action controller, the other through extending the very sparsely documented Zend Rest Controller method mentioned in the Zend Rest Router configuration. My questions are: Do you...

jQuery .find() in server response

I am trying to get the text inside a specific div in a server response. I used Firebug to see what the response was, and I can see my element in the returned code, but for some reason I can get jQuery to capture it. Here is what I am using: var response = $('<div />').html(serverData); $('#uploadedFiles').html($(response).find("#creat...

How to create an easy-to-program-for server for many clients in C#?

I suppose similar questions were already asked, but I was unable to find any. Please feel free to point me to an existing solutions. I'll explain my scenario. I'd like to create a server application. There are many clients (currently only a few dozens, but it should scale up to 1000+) that connect to the server (which is running on a si...

How to create a custom 404 page for my Django/Apache?

I know that you use .htaccess in the document-root directory in standard apache. What if I use Django? Can someone give me step by step how to create a custom 404 page? THanks. ...

strange Encoding issue

i have a contact form sending itself to me by email using ASP classic, CDO.message. thing is, that it has hebrew characters and i encoded it UTF-8. but when sending to my email i get ??????? instead of hebrew. i copied the exact files handeling this form to another FTP i have, and BOOM! it works fine.. what is the cause? ...

How the localhost port number of .NET Development Server set?

Guys, I see that time to time localhost port number changes (http://localhost:1519/ ....). Basically how does it being set or chosen? And when does it change? Thanks! ...

If I'm making a mail system that manages large amounts of email would I be better off using james or Javamail

I'm trying to decide whether to use James(http://james.apache.org/) or Javamail(http://java.sun.com/products/javamail/) to build a email system that takes and processes email. It will send and recieve email along with processing the content, checking for spam etc. What are the advantages/disadvantages of each and which do you recommend I...

Running C++ binaries without the runtime redistributable (Server2k3, XPSP3)

Having written a CGI application in Visual Studio 2008 and debigged it locally, I uploaded it to a Windows Server 2003 OS where it promptly failed to run. I am guessing I need to install the wretched Runtime distributable, but after reading this: http://kobyk.wordpress.com/2007/07/20/dynamically-linking-with-msvcrtdll-using-visual-c-20...

Concept Application Server IDE CIDE will not launch on XP in IE8?

I am trying with concept://localhost/Samples/CIDE/cide.con with the server running as an NT service A few code examples run (many crash Client.exe but not the server) e.g. concept://localhost/Samples/test.con runs. thanks ...

Java Chat Server

FYI This is homework. I have to build a Java Chat server. I have been able to build a server which communicates with 1 client. But I need this to communicate with multiple users. A user is supposed to type in the person's name they wish to talk to followed by a dash (-) and then the message to be sent. I am able to get users signed on b...

Why can't gdb attach to server application summoned with inetd?

I have a server application that can be summoned for the client using inetd. However, if I try to attach to the server process that was launched with inetd, I get the following response: ptrace: Operation not permitted. gdb --annotate=3 /my/app/here <processId> Current directory is /usr/local/bin/ GNU gdb 6.8 Copyright (C) 2008 Free S...

Bad Fairness with a ReadWriteLock / SharedLock under load

Hello, we are currently designing a multithreaded server application. To optimize performance, we decided to implement a ReadWriteLock, i.e. multiple threads can get a lock if they only want to read but just one thread may hold the write lock. This lock is used with a list and iterating over the list is the "read" operation. Now this...

Miniature PHP webserver not accepting connections on anything other than 127.0.0.1:80

Hello, I've created a miniature 'web server' that simply returns one message to any request sent to it on port 80. I can connect to it via http://127.0.0.1/ but when I try to connect to it with my actual IP address, nothing comes through. Code: # config $conn_ip = "127.0.0.1"; // probably localhost $conn_port = 80; // port to host...

Opensource (or paid with trial) MM7 test Server?

Hi, Does anyone know of a MM7 server I can use for testing my MMS client? I've looked at mm7.net, but this is more of a toolkit than a testserver. And it is really lacking in good documentation (a how to guide etc). thanks ...