server

Serving images directly from server with getting path from PHP script.

Hello everyone, as most of you probably know, we can serve images from PHP using constructs like this: RewriteRule ^images/([a-zA-Z0-9]+)\.jpg script.php?image=$1 And then in PHP: header('Content-Type: image/png'); $image=imagecreatefromjpeg($pathComputedSomewhereElse); imagejpeg($image); That's dead simple, but that's not my prob...

Server push in php

Hi there, In an app, I am looking forward to implement server push functionality. I have gathered some information about the technology also, but I am little confused that with which language should I prefer for and what else requirement needed(note: this is going to be a social n/w app)? I have just finished a project based on php / ...

Tracking outgoing http requests from a web server

Hi, I want track all outgoing HTTP requests from my server. Is there any easy way to do this? ...

What are the information sent to the server in the http request

When a request is sent to the server from the browser for a web page what are the information sent to the server in the http request? Can we check those information?If yes how to do that? ...

Communication between winform client and server's web service

Hi everyone, currently I'm an internee and about to join in a project in which I have to take responsible for implementing the server side part. The scenario: _There are many kiosks, each runs a winform application, this application read barcode from customer's card and then send the info to server. _The server has several web services,...

How to share username+password between 2 server ?

I need to create for my blog in PHP, a chat like facebook-chat in erlang. But I don't know how to share the username+password between APACHE and Ejabberd. How do I do this ? ...

Dispatch requests to other servers based on API key

I am designing an app that requires that all requests to our servers be routed through a single 'dispatcher'-type server. This server will, based on an API key sent in the request, forward the request on to an appropriate backend server, than relay the response back to the client. eg., an incoming request could be http://example.com:657...

How do I install Sphinx on a CentOs 5.5?

Newbie here.. Hello there I want to install sphinx search to my CentOS 5.5. I just need to know the commands, for the full installation. If you could write a simple numbered manual that would be appreciated. ...

SMTP mail error

Hello i have some problem when using SMTP mail using PHP. when i am use mail function that time always it shows errore Like "Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?" How can i slove this problem at (Project is on Cpanle) Kindly help me ...

FTP Server Implementation C++

Hi all! I have to implement a kind of FTP server in C++ for a school project. The goal is learn how the FTP works internally. I'm a lil bit lost in how to start it. I know the FTP Protocol, but I still don't know what can I do to start coding. Someone can point me a way to start? Some links, libs in C++, etc? Remembering that is a serv...

Jasper Exception on Jboss 5.0.1

I am getting the following exception when deploying my application to Jboss 5.0.1 : org.apache.jasper.JasperException: Unable to read TLD "META-INF/c.tld" from JAR file "vfsfile:/opt/jboss-eap-5.0.1/server/xxxx/deploy/jbossweb.sar/jstl.jar": java.io.IOException: Permission denied I found the following ticket: https://jira.jboss.org/b...

Android acting as a wifi server?

I am working on a few devices that need to send raw data to an android device wirelessly (wifi). The android devices needs to be able to support multiple devices so I figured a server is best. Is there a way to have the android device act as kind of a router/server access node by producing its own LAN network? Any pointers appreciated, ...

Create a wireless Network in Ubuntu 10.04?

Hello., Whenever i need to copy some files and couldnt find a pen drive, [ i dont have bluetooth enabled in my lap], I create a new ad hoc (wireless) network in windows and share the necessary files on the network and share files with the other system. Now, i want to do the same with Ubuntu. But, i couldn't. I could create a new networ...

What resources/references exist for package management within an organization

I would like to have a custom package system of mostly open source software to deploy within my organization on at least two systems: RHEL and Fedora >=13. Possibly also Mac OS. What blogs/books or other references are relevant? If you have specific tips, this would also be most welcome. Thanks, SetJmp ...

PHP parse_ini_file TC_CONSTANT warning

I've got a weird issue, weird as in nothing comes up on Google. I'm trying to parse an ini file full of HTTP status codes, StatusCodes.ini. I've tested in three different environments, locally (WAMP) on a shared host (Hostmonster.com) and now on a dedicated machine running CentOS w/ CPanel/WHM. The first two environments seem to work fin...

Need Compilers on Server

Hello, I'm looking to build a web service that can compile some entered code (probably C/Java) and can run some tests on it. What kind of design should I follow? What compiler can I place on my server to do the job? Recommendations? Pros? Cons? ...

Having issues with file permissions through VSFTPD

So I've activated the virtual users option for VSFTPD which allows any user names that much a directory under /var/www/ to be a user. I've configured it properly so that users can login, but once logged in, can't make any changes to the directory. It's 755 and it's ownership is set to www-data:users. Anyone have any thoughts? Thanks. ...

possible to connect a tcp client on windows to a server on linux ?

writing a server that runs on linux (Ubuntu) using mono. and a client that runs on windows using .net, can i connect to the server in linux. i will use c# for both server and client programming. ...

mod_rewrite problem, with accessing files?

i have this file that is on the root folder called sumbit.php and when i acesss a page like this for exmaple http://www.example.com/viewtopic.php?topic=14 the new url is http://www.example.com/topic/14 on firebug its saying its accessing http://www.example.co.uk/topic/submit.php, when its meant to access http://www.example.co.uk/...

How to prevent my HTTP server from "sleeping"?

I've written a very basic HTTP-based server program that runs in the background on my computer to allow me to automate various tasks from my Android (via HTTP requests in Tasker). This all works fine (barring this problem), except that after more than about 30 minutes of inactivity, the application ends up in a sort of sleep mode, and ta...