Posts Tagged ‘File’

PHP Tutorial: Creating .zip files [part 01]

WEBSITE: betterphp.co.uk In this video I show you how to add files to a zip file using the ZipArchive class.

PHP LFI Tutorial

In this tutorial I will show you a PHP Local File Inclusion technique using /proc/self/environ.

PHP Tutorial: Email File Attachments [part 02]

WEBSITE: betterphp.co.uk In this part I show you the code for the mail_file() function we created. And here is that wikipedia link I promised: en.wikipedia.org

PHP Tutorial: Email File Attachments [part 00]

WEBSITE: betterphp.co.uk In this video I demonstrate the email file form we will be making in this tutorial.

PHP Tutorial 25 – Writing To A File (PHP For Beginners)

In the previous tutorial we looked at the file_get_contents function which allowed us to read the contents of a file. This tutorial looks at the file_put_contents function which will allow us to easily put data into a file. We will also look how to overwrite the data and append the data. For more information, check out the website: howtostartprogramming.com

PHP Tutorial 24 – Reading A File (PHP For Beginners)

There are multiple ways to read a file in PHP but the method recommended by PHP.NET is to use the file_get_contents function. It will return the file as a string and then allow you to play around with it. You could use this for a local text file on your machine or even an external HTML page. For more information, check out the website: howtostartprogramming.com

PHP OOP Tutorial 4 | File Logger

I had a brain-fart during the tutorial forgive me for the pause somewhere in there! Anyways, Lets get our hands dirty with a File Logger object in OOP. I think by practicing it’s the only way to learn, rather than going through all the rules. So lets do it!

Java Bukkit Plugin Tutorial: Using Config Files – Implementing the Options [part 02]

NOTE: You most likely can cast to an Integer to avoid the silly string workaround I showed here. Try it ! WEBSITE: betterphp.co.uk In this series I explain the basics of using config files in your plugins, this extends the first series I did so you may also want to watch that.

PHP Tutorials: Security – File Uploading

Not protecting file uploads is a common security problem, and can lead to a variety of security issues. Have you protected your file upload process? WEBSITE phpacademy.org FORUM http TWITTER twitter.com FACEBOOK www.facebook.com

PHP Tutorials: Security – File Includes

Including files from any potentially user defined source can lead to severe security vulnerabilities being present in your code, allowing an attacker to potentially gain full control of your website. WEBSITE phpacademy.org FORUM http TWITTER twitter.com FACEBOOK www.facebook.com