server

receive and parse mails on the server via php

Hi, maybe mine it's a bit a simple question; I would like to instruct my server to receive mails and to parse them via a php script. How can I do it? Thanks ...

How do I add a new virtual host to my apache?

<VirtualHost mydomain1.com:80> ServerAdmin webmaster@localhost ...stuff here </VirtualHost> <VirtualHost mydomain2.com:80> ServerAdmin webmaster@localhost ...stuff here </VirtualHost> This doesn't seem to work. Before, it was <VirtualHost *:80> and it worked. ...

I am not able to FTP to a FTP server.

I am not able to FTP a file from Iphone device(with wifi) to remote FTP server. Most of the times, i am getting "stream open error" and very few times, the file is getting FTPed. But while checking FTP server, the uploaded file is empty i.e the file size is 0 bytes. But the file which is uploaded has some definite size. Note: i use acti...

Memcache - Local or Dedicated Server?

What are the pros and cons of having memcached running on a seperate server instead of locally? This is my server setup: -2 Dedicated Servers (Load Balanced) -1 Dedicated MySQL Server -1 Dedicated Memcached Server Is there any benefit of dropping the Memcached Server and putting the daemon locally on the 2 dedicated servers? Or is that...

Connecting/Adding a private network on windows server 2008

Hey all, I have a duel server configuration on a host provider using VPS. I was told by my Host provider that in order to use free bandwidth between my two servers (they are in the same location) I need to add a alias "subnet" to a specific ip (A private network, VPN). How do I add an aliased ip in widnwos? in Linux the relevant comma...

How to do a jQuery $.ajax or $.get request on a distant/other server? No Json or JSONP

Hello there, I'm working on a little widget that will allow to embed like an iframe (but with a jQuery plugin) a part of my website. I've successfully made a search.php API that produces in JSONP what I need to retrieve. It works! (thx to this community ;) ). I had difficulties to understand and use right callback request to allow a di...

how to store image data in X server in gtk, gdk?

Is there anyway to store image data in X server memory so that rendering of images, (for example in scrolling), is faster and so that round trips to x client can be reduced? ...

rails delayed_job memory consumption problem

Hi, We're having huge problems with the delayed_job plugin - http://github.com/collectiveidea/delayed_job/ When we start tasks with "ruby script/delayed_job start", the process never lets go of RAM it acquires. So it starts with 10%, 25%, gets to 80% and never lets go of the ram, even if it has no jobs to process. Any ideas how we ca...

Simple Java Server with PrintWriter - problem sending a response to browser

Hi, I've just started looking at HTTP etc. and have written a simple Java Client that uses URLConnection to send a URL to a server and pulls down the index.html page (as plain text). Now I'm working on a simple server but I'm stuck at the first hurdle, (well maybe 2nd or 3rd), I can't get it to respond to the client properly. Here is ...

PHP mail() contact form not delivering to Gmail - advice needed

I'm using a PHP contact form and it is sending mail to non gmail addresses, however when I set it to send to a gmail address, it doesn't get delivered (it doesn't even appear in junk mail). I've heard of issues like this before - I'm not a web developer/expert so can anybody suggest code/configuration changes to my PHP contact form belo...

Using Server CPU for Desktop Applications

Though Its a n00bish question I'vent found any clear answer anywhere even after long days of googling. Recently I am Planning to Use a AMD Opteron Quad Core 2350 for my Home Lab. I'll not run it as a Pro Server. rather I'll use it for Development Only. It will have the following things 2 Instances of Apache Server (I'll Need this) 1...

Update to PHP 5.3 on Debian 5.0-i386-default

Hello, I currently have PHP 5.0 installed on my Debian VPS and was wondering how I would be able to upgrade it to PHP 5.3 and keep all of my installed modules running. Thanks, Jake ...

PHP code not executing, new to PHP

Last week I started playing around with LAMP Ubuntu and I didnt have any issues. Today some code wasn't working so I tried running this in index.php: <?php phpinfo(); ?> This doesn't work when I connect to localhost in my browser, but it works in testphp.php at localhost/testphp.php Any suggestions? Thanks ...

How I'm going to make wamp server 2.0i work on my 64bit win7 laptop?

I installed wamp server and after that I received an error and then I reopened it but this time I ran it as an administrator and after that I checked on my browser if the 'localhost/' is working and unfortunately it doesn't. I installed wamp server on the default location which is 'c:' ...

PHP server event handling

Hello. I am looking for a way to have like a button in a web page, only when you press it the event handling is a program in a server. Like a trigger to execute a program in the server. Is there any way to do this? Cumpz. ...

How can I programatically get HBA information (or PowerPath details) from a server?

I'd like to monitor details of my HBA's and not sure how to extract info from my PowerPath console or anything from my QLogic HBA's. Any detail or information would be great. From what I can tell, Microsoft uses something called HBAAPI when installing the Exchange Best Practice tools... ...

How does linux file descriptor limits work?

I was told that my server refused to accept client network connections at a specific port could be due to the lack of file descriptors. I looked up what this is all about and read about it here: http://www.netadmintools.com/art295.html So I tested my system and I got this: cat /proc/sys/fs/file-nr 1088 0 331287 What does this m...

Heroku + Logs Command :: Can Logs Detail can be increased at Heroku.

Is it possible to see the last log of Heroku server. I have used heroku logs to see the last process but it shows limited log. But i want to see more process done at heroku. So what command or what process should I follow to see the logs at Heroku. Thanks in advance. ...

Python easy_install gives [errno13]

Hello guys, I'm tring to install Hookbox but without success, when I call easy_install or python setup.py install it gives me [Errno 13] Permission denied: '/usr/local/lib/python2.6/site-packages/test-easy-install-68779.write-test' When I try to grant write permissions to this derectory it gives chmod: /usr/local/lib/python2.6/si...

Calling "start" to start program and "stop" to close current instance in C

I wrote a simple server in C and would like to have the same functionality calling it as other C daemons (such as calling it with ./ftpd start and closing that instance with ./ftpd stop). Obviously the problem I'm having is that I do not know how to grab the current instance of the running program. I can parse the options just fine (usin...