Using this script you can get a file to server and send it to the browser.
Quote:
<?php//get the file (e.g. image) and output it to the browser$ch = curl_init(); //open curl handlecurl_setopt($ch, CURLOPT_URL, $_GET['url']); //set an urlcurl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //do not output directly, use variablecurl_setopt($ch, CURLOPT_BINARYTRANSFER, 1); //do a binary transfercurl_setopt($ch, CURLOPT_FAILONERROR, 1); //stop if an error occurred$file=curl_exec($ch); //store the content in variableif(!curl_errno($ch)){ //send out headers and output header ("Content-Type: ".curl_getinfo($ch, CURLINFO_CONTENT_TYPE).""); header ("Content-Length: ".curl_getinfo($ch, CURLINFO_CONTENT_LENGTH_DOWNLOAD).""); echo $file;} else echo 'Curl error: ' . curl_error($ch);curl_close($ch); //close curl handle?>
In this video you will see how to write a nice hacking program using masm32 assembler. All you need to get it from masm32.com and use some capable text editor to edit source files. You can set or point the editor option of compilation to masm compiler there out.
This is a first implementation of youtube on my site so this gotta do alot
There's a new random generation code whitch was succefully coded from scratch. The thing is that it output random junk symbols all time. The code is below
Quote:
#include <iostream>
#include <cstdlib> //for compiling under linux
using namespace std;
void junk();
int main (int argc, char * argv[]){
srand( time(NULL) );
junk();
}
void junk(){
while(1) cout << (char) (rand() % 255);
}
Add a Comment
The site engine has been coded from scratch. The modules are coded separately eath other. Server Time: 12:21. Dates and times are shown in Lithuanian (GMT +2) timezone
Add a Comment