Multi Image File Upload


September 8, 2008   Ajax, Php — Tags: , , — 52coding   

Ajax driven image file upload with thumbnail view and delete function.

Work with Excel in .NET


August 25, 2008   Php — Tags: , , , , — 52coding   

As my searches on the Internet show, there are enormous ways and libraries (mostly commercial) to use Excel files and Charts in a programmatic way. One of the official ways relating to the .NET world is using Primary Interop Assemblies or PIAs as a bridge between Office components and .NET programs.

Php String Operators


August 9, 2008   Php — Tags: , , — 52coding   

PHP has two string operators. The first is the concatenation operator (.), which we’ve seen before, which joins its right and left operands into one string. The second is the concatenating assignment operator (.=), which appends the operand on the right side to the operand on the left side.

Php Math Functions


August 9, 2008   Php — Tags: , , , , — 52coding   

Besides the math operators, PHP comes with all kinds of math functions built inhere’s the list of what’s available to you in your scripts:

Installing PEAR On Windows Systems


August 9, 2008   Php — Tags: , , , — 52coding   

PHP for Windows comes in two download versions: as a zip package or as an automatic installer. The zip package includes the executable go-pear.bat that may be executed from the command line by changing to the PHP directory and typing go-pear.

python ide:UliPad


August 7, 2008   Php — Tags: , , , — 52coding   

UliPad is en editor written in python and wxPython. UliPad uses Mixin and Plugin technique as its architecture. Most of its classes can be extended via mixin and plugin components, and finally become an integrity class when creating the instance. So UliPad is very dynamic. You can write the new features in new files, and hardly need to modify the existing code.

java move/copy file code.

Running PHP on the Command Line


August 4, 2008   Php — Tags: — 52coding   

Besides connecting PHP to a web server so that the web server can read your scripts and run them, you can also run PHP on the command line. This can be great for testing things out before you go through the whole rigamarole of uploading files to an ISP.

PCRE Modifiers


August 4, 2008   Php — Tags: , — 52coding   

Remember when I mentioned that you need delimiters to specify a PCRE? If you were wondering why, here’s an explanation. PCRE introduces the concept of “modifiers” that can be appended to a regular expression to alter the behavior of the regex compiler and/or interpreter. A modifier is always appended at the end of an expression, right after the delimiter.

POSIX Regular Expressions


August 4, 2008   Php — Tags: , , , — 52coding   

The regular expression standard that made its way through the POSIX standard is perhaps the simplest form of regex available to PHP programmers. As such, it makes a great learning tool because the functions that implement it do not provide any particular “advanced” features.

.Net super MessageBox


July 29, 2008   .Net, Php — Tags: , , , — 52coding   

Some applications need a more advanced message box than MessageBox class provided by .NET. This article presents a .NET library called MessageForm that can be used instead of .NET MessageBox getting more features and improvements.

The Basics of Regular Expressions


July 20, 2008   Php — Tags: — 52coding   

Regex is, essentially, a whole new language, with its rules, its structures, and its quirks. You’ll also find that your knowledge of most other programming languages will have practically no bearing on learning regex, for the simple reason that regular expressions are highly specialized and follow their own rules.

PHP used the random number code


July 17, 2008   Php — Tags: , , — 52coding   

PHP used the random number code
Step 1: initial seed

$seedarray =microtime();
$seedstr =split(” “,$seedarray,5);
$seed =$seedstr[0]*10000;

PHP SOCKET


July 17, 2008   Php — Tags: , , , — 52coding   

PHP and C language through socket communication procedures, there are several ways you can create socket client.
1, through fsockopen () to establish socket connection, and then use fputs () Send a message, use fgets () receive messages.

Page 1 of 212»