Danh mục

Giải pháp thiết kế web động với PHP - p 23

Số trang: 10      Loại file: pdf      Dung lượng: 761.20 KB      Lượt xem: 10      Lượt tải: 0    
Xem trước 2 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

USING PHP TO MANAGE FILESFigure 7-1. PHP makes light work of creating a drop-down menu of images in a specific folder. When incorporated into an online form, the filename of the selected image appears in the $_POST array identified by the name attribute of the element—in this case, $_POST[pix]. That s all there is to it! You can compare your code with imagelist_02.php in the ch07 folder.PHP Solution 7-4: Creating a generic file selectorThe previous PHP solution relies on an understanding of regular expressions. Adapting it to work with other filename extensions isn t difficult, but you need to...
Nội dung trích xuất từ tài liệu:
Giải pháp thiết kế web động với PHP - p 23

Tài liệu được xem nhiều: