Click Here
Home Blog Gallery Links Tutorials Projects

Welcome to programming section. You'll find useful pieces of code and other tips in this section of the site, and in some other pages such as Projects or Links.

Newest Comments on Site

Date PostedLatest Post OnAuthor
2018-08-31 17:13Google Captcha nonsenseAnon
2015-06-24 20:08Sign: Jochaidyškėsnigger
2012-12-05 15:15RawrAnonymous

Newest Images in Gallery

The Wild Outdoors Roronoa Zoro Sign: Jochaidyškės
Deviantart Fail

Today's Most Popular Images

Sliding Unleashed Wasted Lightning Strike
Trashed Away

Latest Blog Entries

[PHP] Curl: Get contents of a remote file and output it to browser 2012-10-05 14:13
Using this script you can get a file to server and send it to the browser.
//get the file (e.g. image) and output it to the browser
$ch = curl_init(); //open curl handle
curl_setopt($ch, CURLOPT_URL, $_GET['url']); //set an url
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //do not output directly, use variable
curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1); //do a binary transfer
curl_setopt($ch, CURLOPT_FAILONERROR, 1); //stop if an error occurred
$file=curl_exec($ch); //store the content in variable
//send out headers and output
header ("Content-Type: ".curl_getinfo($ch, CURLINFO_CONTENT_TYPE)."");
header ("Content-Length: ".curl_getinfo($ch, CURLINFO_CONTENT_LENGTH_DOWNLOAD)."");
} else echo
'Curl error: ' . curl_error($ch);
curl_close($ch); //close curl handle
[C++] Adding a program to Startup 2011-06-16 16:10
A nice c++ example how to add a program to startup is here. All you nead to add this to your code. it utilizes windows api btw. The example is below.
HKEY hkey;
char szBuf[] = "C:\\Windows\\notepad.exe";
RegOpenKeyEx(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\Currentversion\\Run", 0, KEY_SET_VALUE, &hkey);
RegSetValueEx (hkey, "notepad.exe", 0, REG_SZ, (LPBYTE) szBuf, strlen(szBuf) + 1);
full code below.
Video: Masm32 Hacks: Create an AutoTyper for Notepad 2011-05-30 16:55

In this video you will see how to write a nice hacking program using masm32 assembler. All you need to get it from 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 :D

Go to Blog to see all entries.

Add a Comment

Get Your IP Instantly
Enter the text from the image below to the text field next to it (text is case sensitive):


Enter Captcha (Case Sensitive):


Main Content
Site Info

Unique visit count:
1213 visits on page.
5109 visits on site.
Detailed Statistics