Em Andamento

C++ cgi for windows

C++ cgi to serve media files from diferent path of document root.

Main ideas:

receive id from query_string: [url removed, login to view]

generate a md5hash with media value, in this example generate a md5hash from 1,

this hash is a name of media file (always application/x-shockwave-flash) in another dir in server...

open and read media file content, the data is encoded in base64.. decode and send to brownser

Python Example:

import cgi

import hashlib

import base64

import os

media_dir="c:\\media"

form = [url removed, login to view]()

file_to_serve= "%s\\%s" % (media_dir,[url removed, login to view](form["media"].value).hexdigest())

print "Content-Type: application/x-shockwave-flash\n\n"

print [url removed, login to view](file(file_to_serve, "rb").read())

I have a html page, where a get this cgi to show flash media, like.

<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0">

<param name="movie" value="http://localhost/[url removed, login to view]; />';

<param name="wmode" value="transparent" />';

<param name="quality" value="high" />';

<embed src="http://localhost/[url removed, login to view]; quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" type="application/x-shockwave-flash"></embed>';

</object>

The cgi must run in [url removed, login to view] webserver...

Project must delivered with binary to run in all windows (32/64bits) and sources, to compile with gcc, ou another opensource compiler.

Habilidades: Programação C, Área de trabalho do Windows

Ver mais: cgi windows, html form mongoose, mongoose cgi exe, cgi html windows, cgi query_string, example cgi windows, mongoose cgi, shockwave com, python media server, python get type, macromedia flash 8, c read example, mongoose cgi example windows, gcc windows cgi exe, cgi example, mongoose python windows, python download file, download file python, os x download, get windows 8, download c++, download c, c++ download, windows os, windows form

Acerca do Empregador:
( 4 comentários ) Sintra, Portugal

ID do Projeto: #629709

Premiar a:

MicB

I can meet your requirements and provide a solution in a very short manner

$150 USD em 2 dias
(2 Avaliações)
2.9

6 freelancers estão ofertando em média $110 para este trabalho

srinichal

Looking forward to take up the project

$180 USD in 4 dias
(50 Comentários)
5.7
$100 USD in 7 dias
(26 Comentários)
4.4
throwngo

Cgi expert.

$50 USD in 3 dias
(0 Comentários)
0.0
develonthelake

is done, actually.

$80 USD em 1 dia
(0 Comentários)
0.0
taowuwei

Professional C++ crossplatform developer.

$100 USD in 2 dias
(0 Comentários)
0.0