This forum is in archive mode. You will not be able to post new content.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - iLike

Pages: [1]
1
Web Oriented Coding / Re: Write to file
« on: December 12, 2010, 02:50:46 PM »
Code: [Select]
This function is identical to calling fopen(), fwrite() and fclose() successively to write data to a file. Plus, the fopen() call allows you to change the opening permissions more easily than the file_put_contents().
Nevertheless, file_put_contents is nice if you want to write something quickly :)

2
Scripting Languages / Re: MD5 BruteForcer.
« on: December 03, 2010, 02:30:41 PM »
Actually, PublicEnemy, Java isn't all so slow compared to what it was. (The language itself is comparable with C++ iirc)
It's the JVM that's slow as shit.

3
Hardware / Re: Make your old flash drive bootable!
« on: November 29, 2010, 08:00:37 PM »
Universal USB Installer is supposed to work great as well. The folks at ubuntu.com recommend that to write an ubuntu image to a USB flashdrive.

Note, I've never used this before, I always use Unetbootin. Works great, other than that it fucked my USB flashdrive over. (it rewrote the partition table, nothing big :3)

4
Web Oriented Coding / Re: Write to file
« on: November 29, 2010, 07:23:55 PM »
The reason why the second one appends and the first one doesn't, is because of the
Code: [Select]
$FileHandle = fopen("MyFile.txt", 'a+') or die("Cant open file!"); line.
Notice the a+? That means: append & read.
w3schools has a list of all opening types (by the lack of better words, lol) available here

Pages: [1]


Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.