Find Jobs
Hire Freelancers

C++ cgi for windows

$30-250 USD

Completed
Posted about 14 years ago

$30-250 USD

Paid on delivery
C++ cgi to serve media files from diferent path of document root. Main ideas: receive id from query_string: [login to view URL] 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 = [login to view URL]() file_to_serve= "%s\\%s" % (media_dir,[login to view URL](form["media"].value).hexdigest()) print "Content-Type: application/x-shockwave-flash\n\n" print [login to view URL](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/[login to view URL]; />'; <param name="wmode" value="transparent" />'; <param name="quality" value="high" />'; <embed src="http://localhost/[login to view URL]; quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" type="application/x-shockwave-flash"></embed>'; </object> The cgi must run in [login to view URL] webserver... Project must delivered with binary to run in all windows (32/64bits) and sources, to compile with gcc, ou another opensource compiler.
Project ID: 629709

About the project

3 proposals
Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I can meet your requirements and provide a solution in a very short manner
$150 USD in 2 days
5.0 (2 reviews)
2.9
2.9
3 freelancers are bidding on average $127 USD for this job
User Avatar
Looking forward to take up the project
$180 USD in 4 days
4.8 (62 reviews)
6.0
6.0
User Avatar
Cgi expert.
$50 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of PORTUGAL
Sintra, Portugal
4.7
4
Payment method verified
Member since May 31, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.