Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Uploading media, then displaying it

Name: Roger 2007-06-14 22:45 ID:GTmqL9WA

I need a script in where I can upload a flash and it generates a page with it.

Name: Anonymous 2007-06-14 23:10 ID:Heaven

ok

Name: Anonymous 2007-06-15 5:29 ID:Heaven

VIP QUALITY

Name: Anonymous 2007-06-15 12:57 ID:SPzXoBEs

>>1

Sorry, no, I do not know what you mean.

Name: Anonymous 2007-06-15 23:07 ID:K2y8mlu3

Like if a user uploads a swf game, it generates a page that displays it.

Name: Anonymous 2007-06-15 23:10 ID:Heaven

#!/bin/sh
scp flash.swf somewebhost.com:/var/www/htdocs
wget http://somewebhost.com/flash.swf

Name: Anonymous 2007-06-16 5:43 ID:22c75lrl

#!/usr/bin/perl

use strict;
use CGI;
use MIME::Base64 qw(encode_base64);

my $query=new CGI;
my $file=$query->param('file');

print "Content-type: text/html;\n\n",'<html><body><form method="post" action="',$ENV{SCRIPT_NAME},'"><input type="file" name="file"><input type="submit"></form>';

if($file){
 binmode $file;
 local($/) = undef;
 print '<object type="application/x-shockwave-flash" data="data:application/x-shockwave-flash;base64,',encode_base64($file),'"></object>';
}

print "</body></html>\n";

Name: Anonymous 2007-06-16 5:49 ID:Heaven

>>7
gtfo

Name: Anonymous 2009-01-14 4:19

>>7
Nice script

Name: Anonymous 2010-12-17 1:30

Are you GAY?
Are you a NIGGER?
Are you a GAY NIGGER?

If you answered "Yes" to all of the above questions, then GNAA (GAY NIGGER ASSOCIATION OF AMERICA) might be exactly what you've been looking for!

Name: Anonymous 2011-02-04 18:15


Don't change these.
Name: Email:
Entire Thread Thread List