Cesar D. Rodas, web development. Technology news. PHP, MySQL, Apache, C, Bash, ASM

Archive for September, 2007

PHP: optimizing the use of Arrays

Saturday, September 29th, 2007

Write programs in PHP is very easy, that is because PHP syntax is simple and very effective. But also in PHP you must have some concepts for write effective programs, because if you are planing to have a very busy web site that little optimizations tips could help you to handle more visitors and to offload a little the processor. (more…)

Conferences

Friday, September 28th, 2007

PHP: Amazon S3 Stream Wrapper

Monday, September 24th, 2007

PHP since version 4 comes with a great feature that is with the possibility to register new Stream Wrapper. (see this articles are good, this, an this too).

Usually IO functions (fopen, unlink, mkdir and others) are handle by the Operating System or an Deamon(service) that works with the hardware for do the operation. PHP because is an JIT (just in time compiling, a kind of interpreted language) gives a tool to developers that is create a Class that manage a type of IO operations, for example take a look behind: (more…)

smb stream wrapper for PHP

Monday, September 17th, 2007

Today in PHPclasses I saw a new class that is very useful. A Stream wrapper that uses the smbclient to access access Windows shared files.

Very useful when you need to work with Windows and shared resources, because use the native PHP may not work correctly sometimes, not because there is a bug, that is simple a windows bug, for further details about the problem, please read this.

The class description said:

This class is a stream wrapper that can be used to access remote files and directories on Windows or other operating systems that support the SMB protocol.

It uses the smbclient program to access Windows network shares, so it works under Linux, other Unix platforms or even under Windows with the Samba client packages installed.

The class implements functions to create, read and write to files available in the local network shares.

It can also list the local network hosts, available shares in an host, and directories of a share.

Congratulations Victor M Varela, and keep writing good and useful class.

While I was writing this post I saw that this class has a Notable package notification with following comment of the site administrator:

Useful package that can simplify accessing local network files on Windows shares or other operating systems that support the SMB protocol.

Once again congratulations Victor.

Download the class

Enter your email address:

Delivered by FeedBurner

this Site

Archives

September 2007
S M T W T F S
« Aug   Oct »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Syndication

Google