Dynamic Web Pages: deutschsprachiger PHP Knotenpunkt seit 1999

Dynamic Web Pages : tutorials _





 
 
 
 
 
 
 

PHP QuickRef

Via QuickRef gelangen Sie direkt zur gesuchten Funktion im Handbuch.

 
 

Printmedien

PHP-Magazin
Das PHP Magazin erscheint 2-monatlich zum Preis von 9,80 €. Studenten erfreuen sich über ermäßigte Abos.

PHP-Journal
Das PHP Journal erscheint 2-monatlich zum Preis von 14,95 €. Studenten und Abonnenten erfreuen sich über bis zu 25% Ermäßigung.

PHP Solutions Magazin
Das PHP Solutions Magazin erscheint alle 3 Monate zum Preis von 8,75 €. Studenten erfreuen sich über ermäßigte Abos.

PHP-Architect
Der php|architect erscheint monatlich als digitale PDF-Version zum Preis von $3,99 USD und als Print-Version zum Preis von $8,69 USD. Im Abo gibt es Rabatt (30% Print, 15% PDF).

 
Tutorials: Dateisystem
Tutorial in dieser Kategorie hinzufügen
Deleting files with PHP (551 Zugriffe)

Following our tutorials on uploading files and listing files, this tutorial will walk you through deleting files from a directory. This is done using the unlink() function.

Tutorial kommentieren  Defekten Link melden

 
Monitoring File Uploads using Ajax and PHP (726 Zugriffe)

Because of the limitations of HTTP, it is difficult to monitor the status of files as they are uploaded via HTML forms. While other programming languages have built-in methods to monitor file uploads, PHP does not. This article shows how to implement such a solution in PHP.

In order to achieve this, the APC (Alternative PHP Cache) PHP extension is required, as well as PHP 5. Specifically, APC 3.0.13 or newer and PHP 5.2 or newer are required for the code in this article to work. We will cover installation of APC in the next section. It is assumed you already have a working PHP 5.2 installation.

In this article we will develop a solution that will allow users to upload a file from their computer using HTML forms. We will then determine the progress of the upload while it is in progress using Ajax, and display the status to the user.

Tutorial kommentieren  Defekten Link melden

 
Using DirectoryIterator to List Files in PHP (1261 Zugriffe)

DirectoryIterator - ... , if your PHP version has now been upgraded to PHP 5, you can take advantage of DirectoryIterator instead. This class (don't get scared) is part of the SPL library that is now bundled within PHP 5.

Tutorial kommentieren  Defekten Link melden

 
PHP Multiple files upload (1652 Zugriffe)

You can upload multiple files with one time submittion. Array is a big role in this tutorial, let's see the scripts.

Tutorial kommentieren  Defekten Link melden

 
Private Pages with PHP and Text Files (2586 Zugriffe)

You run a website that is simple enough it doesn't require a database. But your site features certain pages to which you'd like to limit access. Most of the time, that implies using a database to store passwords and usernames. There is an easier way, however. It's less secure, but it involves a lot less coding.

Tutorial kommentieren  Defekten Link melden

 
A beginners introduction to PHP’s file functions (1568 Zugriffe)

Welcome to this beginner's introduction to PHP's file functions. In this article I will take you through all the inbuilt filesystem functions, and explain them. This article is mainly geared towards beginners, but it could still be useful to more advanced developers as a simple refresher.

This article will show you how to do the following things:
- reading files (using several different methods)
- writing files
- copying files
- deleting files
- getting file properties (like last modified time, last access time, etc)
- checking file permissions
- reading directories
- and more!

Let's get started with the most basic thing: reading files.

Tutorial kommentieren  Defekten Link melden

 
Creating a file manager with PHP (1607 Zugriffe)

Moving files across multiple computers can often be a problem, and synchronization is one of the biggest problems. What if you could simply store your files in one place, and access it on each computer? With PHP that's no problem, and in this tutorial you'll learn how to create your own simple file manager.

Our file manager will have four main features: uploading, editing, deleting and streaming (downloading) files. Everything can be done without having to touch an FTP program, which makes it a lot easier to quickly change something.

Let's start with the most important feature: uploading files.

Before you start, read this: The file manager we create in this tutorial is prone to security problems, especially if you don't know what you're doing. If you're unsure, wait a few days more, because in the next article we'll have a look at creating a file manager that's completely 100% secure!

Tutorial kommentieren  Defekten Link melden

 
PHP Streams (Lucky Dip) [Slides php|tropics] (1493 Zugriffe)

# Streams is a big topic area
# Everyone uses them
# A lot of people misuse them
# This is a collection of useful tid-bits ranging from basic to advanced level

Tutorial kommentieren  Defekten Link melden

 
File Management with PHP (4058 Zugriffe)

We can find many articles related to uploading, viewing, and downloading files. This article is written on the basic concept of uploading and managing files. File uploading is the process of copying the file from your machine to the remote server. Other users of the same system then share this file by viewing or downloading it. What happens when you upload a file that already exists in the remote folder to which you are uploading?

Tutorial kommentieren  Defekten Link melden

 
Hashing Your Way To Success Or, What To Do When You Don't Have A Database (1398 Zugriffe)

Assume for a moment if you will that you don't have a database to use for storing information. Or perhaps you have some other reason for wanting to store information in a file. What kind of naming and directory structure can you use to increase performance? Furthermore, how will you remember the structure you chose?

This is an excellent opportunity to abstract (remove) yourself from the details of your file system by writing two functions that do the dirty work. This is also an excellent opportunity to use the hash function in PHP (and many other languages) to store and retreive data quickly.

Tutorial kommentieren  Defekten Link melden

 
zurück

Folge DynamicWebPages!

PHP News als RSS abonnieren ...
Auf Twitter folgen ...
Fan werden auf Facebook ...

 
 

PHP Newsletter

Bleiben Sie immer "Up-To-Date" mit unseren Newslettern!

PHP Newsletter
PHP Trainingsletter

 
 
 
 
 
 

PHP Releases

 
 

Sponsoren

 
 
 
   
powered by Hetzner


top Alle Rechte vorbehalten. © Dynamic Web Pages 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 top

  Seitenaufbau in 0.041 Sekunden