GithubHelp home page GithubHelp logo

tsvts10804-01-phpvcard-chihchunhan's Introduction

練習與作業:(需繳交)

homework vCard產生器

  1. 建立資料夾為PHP_vCard,內含 index.php(表單),api.php(驗證處理),preview.php(預覽資訊),以及多個版型檔案layout.css×N

  2. 設計index.php畫面為表單網頁,表單欄位可輸入

    • 姓名
    • 職稱
    • 聯絡電話
    • 電子信箱
    • 技能簡介
    • 人像照片
    • 下拉選單選擇版型
    • 按鈕有[預覽],能提交form資料到api.php
  3. 設計api.php,能將form表單的資料包含圖片路徑(記得存入空間)一起轉成SESSION或COOKIE,接著導向到preview.php。導向連結用header('location:preview.php');

  4. 設計preview.php,主要是能自動依版型(link到layout.css)跟session資訊(或cookie) 整合到HTML,成為完整的vCard畫面。另外提供返回按鈕,設計為<button onclick="window.history.go(-1)">回頁面</button>

  5. 發揮所學去規劃HTML+CSS,或者去偷老師的示範網站

🔗 View Homework Code

tsvts10804-01-phpvcard-chihchunhan's People

Contributors

chihchunhan avatar summer10920 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.