★ wanayoo — archive 1999 http://www.phpbuilder.com/Nouvelle recherche | Portail wanayoo

    



Search:

Keywords:

  

How-To Columns

Quick Clicks

Easy Calendar Applications

Mark Musone

One of the latest crazes on the 'net has recently been online calendars. with the MCAL library and PHP, writing calendar applications is now easy and fully functional. The MCAL library is very similar to the c-client IMAP library. It offers a common simple interface for accessing calendars that can be stored in many different formats, both local and remote formats are supported.

In this tutorial, we will use the mstore calendar driver. The mstore calendar driver uses a local file storage format. Another driver that can be used is the ICAP driver, which allows access to remote calendar stores.

One things that makes the MCAL library very different than other libraries is that it does not just handle "simple" calendaring. It is a feature rich calendaring library that handles dates from year 1 to year 9999, incorporating the Gregorian calendar and extrapolating back. This calendaring obviously contains events and many event objects. (It essentially uses icalendar objects and properties).

Read More.

 

PHP, MySQL and images

William Samplonius

Joe's used auto sales, an average sized car yard of around 150 cars has decided to make the big leap into the new millennium. First of all they had to get themselves a nice new computer, with that new computer came the "Internet". After a few weeks of searching the internet they decided to go all out, now they wanted a web site of their own. And it just so happens that Joe's good friend knows a little HTML, three days later Joe's used auto sales was online and ready for business.

It wasn't long before they realized they were not going to get very far with that site. They needed something where they could add, modify and delete listings in a database. Well, to make a long story short they ended up contacting me. And of course I said I could do it. So, that day I had to find out what type of database to use. After asking a few questions I decided to create a database using PHP and MySQL.

Read More.

 

HTML_Graphs

Tim Perdue

When I compiled PHP on my LinuxPPC box, I didn't have GD installed and didn't want to add another layer of complexity by compiling it in. GD will let you do all kinds of cool things - creating gifs, complex charts, etc, if you use libraries from the Sample Code Archive here on this site and PHP's built in functionality.

I didn't want the lack of GD to stifle me too much, so I started hunting around for a way to generate html-based graphs and charts. Fortunately, someone had already gone to the trouble of writing up a class to handle that. Phil Davis at WebGuys provided a nifty class called HTML_Graphs.

At first, I was a little taken back by the complexity of the class. It does all kinds of things, from vertical bar charts to multiple horizontal bar charts. Because I knew I was going to use the class a lot, I spent some time creating a couple of wrapper functions.

Read More.

Binary Data + MySQL + PHP

Or: How to store images directly in the sql database

Florian Dittmer

Florian Dittmer

If you want to store binary data like images and html files directly in your MySQL database, this column is for you!

I will show how you can store the data via the HTML forms "File" feature in your database and how you can access and use this data in your webproject.

If you have read the article "PHP, MySQL and images" by William Samplonius here on phpbuilder.com, this might be interesting for you as William stores the binary data somewhere on your harddisk (using a shell command), instead of storing the image directly in the Sql-Database.

Read More.

 

The Power of CVS

Tim Perdue

It's pretty clear that CVS has become the standard for code versioning and control in the open source community. The core PHP developers even use it to control who can check in code, and to see what changes occurred and who made those changes.

CVS isn't just for hardcore software developers. I'm finding that it is really useful for developing PHP web sites (or really any HTML site). Since I have multiple machines in multiple locations across the US, it's super-convenient for me to store all my code in my main CVS tree in West Des Moines, IA and access from my desktop in SunnyVale, CA and my laptop before I jump on a plane.

Read More.

 

"WebBox" Architecture in PHP

Bill Holloway

Almost any interactive website breaks down into logical divisions. For example, there is sometimes a "People" section of the site where you can create an "account" for yourself, log in to your account, edit your account, etc; on e-commerce sites there's always an "Order" section where you create order, check an order's status, cancel an order, update an order, etc. In the webbox architecture each of these functional areas is made into a PHP object with a thin wrapper around it to allow each of the object's functions to be called and receive arguments via URL, form action or via PHP script. The object plus its thin wrapper layer and other supporting files, I call a "webbox." The functions that can be called on the webbox, I call "boxactions." I use the term "webbox" for the wrapped object because this entity isn't really a pure PHP object anymore (it can't be subclassed) and because of the one feature that distinguishes its "boxactions" from regular PHP class functions -- that they can be called directly from URLs or form actions. The implementation of this feature is the whole purpose of the webbox architecture. Without it, "webboxes" are nothing more than regular PHP objects, and I should not use any new terminology.

Read More.

  New! Jobs Board
Post a job or resume.

  Support Forum
Feel free to ask a question if you have one. PLEASE stop in and see if you can answer questions for other developers!

  Links
Add a link to your PHP-driven site.

  PHP3 Manual
Indispensable - check here first.

  Mailing List Archive
Updated every 15 minutes.


PHP/MySQL Tutorial
Threaded Discussions with PHP/MySQL
Site Navigation with PHP
Image Creation With PHP

Column Archive
19991014
Storing Binary Data In a DB

19990927
Easy Calendar Applications

19990915
The Power of CVS

19990908
PHP, MySQL and images

19990831
WebBox (Fusebox) Architecture

19990812
HTML_Graphs

19990729
Interactive Image Maps

19990716
Apache on WIN32

19990616
Regular Expressions

19990610
PHP Layout Class

19990601
PHP and Classes

19990518
PHP4/Zend OverView

19990502
Generating Pronounceable Passwords

19990421
Slapping together a search engine

19990414
Session Management and Authentication with PHPLIB

19990407
Spell Checking and URL Tricks

19990331
Where did they go today?

19990316
Templates - why and how to use them in PHP3

19990308
So you want to use a database in your site?

19990302
Creating your own logfile

19990221
Sending Mail With PHP3

19990207
IMAP Mail Reading With PHP3

19990130
Logging With PHP

19990124
Image Creation With PHP

19990117
Building Dynamic Pages With Search Engines in Mind

Quickies:



 

Sample Code | Columns | Mail Archive | Support | Get Started! | Links | Contribute!

Contact (non support questions)

By viewing these pages you agree to the Legal Terms of Service.

 

 

 

  Geocrawler.com | GoToCity.com | DirectriCity.com | PHPBuilder.com | The Des Moines City.net