server

Is there any Open Source DirectShow Data to Server filter?

Is there any Open Source DirectShow Data (bites) to Server ( to http://url:port/) filter? ...

PHP miniwebsever file download

$httpsock = @socket_create_listen("9090"); if (!$httpsock) { print "Socket creation failed!\n"; exit; } while (1) { $client = socket_accept($httpsock); $input = trim(socket_read ($client, 4096)); $input = explode(" ", $input); $input = $input[1]; $fileinfo = pathinfo($input); switch ($fileinfo[...

Web Proxy Log sample

. hi . i have to log all the field in isa web proxy . where can i find right sample code ? ...

File permissions question

If I need a php-page to have access to upload images and move images from a folder on the server, what permissions would I set on the folder then? I know we have "Owner", "Group", and "Others". But what does the server (or the php-code itself) count as? Owner? Also, would I need to set the php-page with the upload script with some spec...

WN server filter won't work

WN servers have an alternative to cgi programs called filters. I have been trying to get one to work, but I have had no luck. I am writing in python. It looks like the server is not receiving any output from the program but is parsing nothing and wrapping this nothing in my standard header and footer. I have chmod 755 the program and...

what is a new way for remote desktop

i want to connect t my server without using remote desktop of windows or VNC . can you help me with another way and explain for me a new way for remote desktop? my server is : windows 2003 ...

python,running command line servers - they're not listening properly

hello all Im attempting to start a server app (in erlang, opens ports and listens for http requests) via the command line using pexpect (or even directly using subprocess.Popen()). the app starts fine, logs (via pexpect) to the screen fine, I can interact with it as well via command line... the issue is that the servers wont listen fo...

Lightweight Flash Video Recording Server

I am currently using Wowza Media server for recording videos from webcam using Flash. However servers like Wowza, Red5 & Flash Media Server seem to be overkill for merely this task. Are there any alternative lightweight video recording servers which can be used for the purpose? My load would not be more than 5 users at a time and my ser...

Client Server Communication Using Sockets

What's the easiest way to send a message to a server and read the response it gives you in a non-blocking way ? (using sockets and mfc maybe) ...

Response.Write on Server Controls

I am creating a custom include method (load) to check if a file exists. The load function includes the file if it exists or sends an email to notify me of a broken link if it doesn't. The problem I am having is if the include file contains server controls, it just displays them as plain text. This is a problem if I were to try to add ...

mysql and php: setting config variables on start - impact on server?

date_default_timezone_set('America/Guayaquil'); $cnn->execute('SET NAMES utf8'); $cnn->execute('SET GLOBAL time_zone = "-5:00"'); Hi, the code above is run everytime someone enters the website im developing. Does someone know what the impact (in performance) of those commands is? ...

Virtual Server VM loses network connectivty after restart

Hi , I have a problem with a VM in Virtual Server 2005 technology losing network. Here is the repro steps Copy the VM from another server with saved state. Create a VM using the same differencing disks and the saved state files but with a different network. Restore the VM, it works fine and the network configuration is available. Re...

PostgreSQL-Server doesn´t start

Hello, I would like to use PostgreSQL locally on my computer and have installed it. I use Windows 7. I am not able to start the PostgreSQL-Server. When using the "Start Server"-program, I get the following output in the dos command window: Start DoCmd(net start postgresql-8.4)... System error 2 (my translation) System cannot find the...

Giving upload folder these permissions safe or not?

I have a classifieds website with a picture script for uploading pics onto the ads. The pics are uploaded to the "images" dir. The php code which does this requires write access to the directory I am guessing... So, what permissions would you set to the php upload file, and the images directory? I am thinking like this: drwxr-xr-x ...

Determine site domain in BaseHTTPServer

I try to implement simple server on python based on HTTPServer. How can i extract information about site domain served in current request? I mean it can serv several domains such as site1.com and site2.com for example, how can i get it in this code: from BaseHTTPServer import BaseHTTPRequestHandler, HTTPServer class MyHandler(BaseHTTPR...

Still don't understand file upload-folder permissions

I have checked out articles and tutorials. I don't know what to do about the security of my picture upload-folder. It is pictures for classifieds which should be uploaded to the folder. This is what I want: Anybody may upload images to the folder. The images will be moved to another folder, by another php-code later on (automatic)....

post in update panel returns 0|error|500| reason or how to handle the error to see better description

Hello, I have an update panel which contains a few controls, a Place Holder which is dynamically populated (i don't know if this is what is causing the error) and after the post is made the server is returning 0|error|500| only that, everything is working fine in my development machine, but something is wrong on server (Windows Server ...

Any way to turn off quips in OOWeb?

http://ooweb.sourceforge.net/tutorial.html Also any way to change the logging file for the underlying Pygmy server? Not really a question, but I can't seem to stop writing stuff like this. Maybe someone will find it useful. I know rewriting an HTTP server is not the way to turn off the quips ;) /* Copyright 2010 Misha Koshelev. All R...

ISP Config 3 - squirrel login error & how to add an smtp server for sending mails

Hi, Case #1: I have ISPConfig3 running, sending email through telnet server.mydomain.com 25 are possible. Receiving email also possible. BUT!! problem occurs when I try to login to squirrel... I've been awaken for 2 days now and still couldn't figured out why logging in into squirrel always having an error: ERROR: Connection droppe...

Forms Authentication works on dev server but not production server (same SQL db)

Hi, I have the same problem as a previously solved question however, this solution did not help me. I have posted the previous question and answer below: http://stackoverflow.com/questions/2215963/forms-authentication-works-on-dev-server-but-not-production-server-same-sql-db/2963985#2963985 Question: I've never had this problem ...