Trang 6 / 10 FirstFirst ... 3456789 ... LastLast
Hiển thị kết quả từ 51 đến 60 / 100
  1. #51
    Tham gia
    26-10-2007
    Bài viết
    133
    Like
    0
    Thanked 1 Time in 1 Post
    hikkk júp mìh với...mìh mới cài Xampp 1.7.0 nhưg lại dc mỗi cái apache nó running còn Mysql nó báo :"Mysql service not started [-1]", ai bít chỉ mìh zới thank trc nhé !

  2. #52
    Tham gia
    14-12-2008
    Bài viết
    1,343
    Like
    16
    Thanked 10 Times in 10 Posts
    mình cũng học php với mysql được vài tháng nhưng do iu đương quá nên học cũng chậm
    theo mình mấy bạn để bắt đầu tốt thì mua vài cuốn cơ bản về php và mysql tiếng việt về học cho dễ . như sách của dh khtn tp hcm cũng ngon đấy !
    còn cài server apache thì thì nên dùng WAMP(apache,mysql,php) cài rẹc rẹc là bắt đầu chạy ok. khỏi phải cài đặt từng cái rồi thiết chỉnh cho chúng vừa lòng nhau mệt lắm . mình cài WAMP cái là vào chạy ok lun.
    down WAMP tại :
    http://www.wampserver.com/en/download.php

  3. #53
    Tham gia
    06-04-2009
    Bài viết
    3
    Like
    0
    Thanked 0 Times in 0 Posts
    Bác chủ Topic đang làm 2 bài hướng dẫn xong trốn đâu rồi, leo hết mấy cây cột điện mà vẫn chưa bác viết tiếp bài sau là sao? ...

  4. #54
    Tham gia
    10-11-2006
    Bài viết
    47
    Like
    0
    Thanked 1 Time in 1 Post
    Các bạn tham khảo thêm về PHP:
    http://www.vn4000.com/content/view/5079/32/

  5. #55
    Tham gia
    08-04-2009
    Bài viết
    46
    Like
    0
    Thanked 0 Times in 0 Posts
    Quote Được gửi bởi conmeobp View Post
    Cũng là dân lính mới tò tè, góp script "require" (hay include), dành cho ai
    đó muốn tìm học PHP_Basics như tui.
    Chỉ với script "require" ta có thể tạo 1 site theo PHP đơn giản nhứt.

    Giả thiết các bạn đã setup tốt Apache - PHP - MySQL vô PC của bạn.

    Copy các files sau vô C:\Appser\www\

    1/ index.php

    <html><head>
    <title>php_basics</title>
    </head><body>

    <?
    require("ind_head.inc");
    ?>
    <?
    require("ind_left.inc");
    ?>
    <?
    require("ind_righ.inc");
    ?>
    <?
    require("ind_styl.inc");
    ?>
    <!-- page content -->
    <table width="65%" cellpadding = 12 cellspacing =0 border = 0>
    <tr><td>
    <a name="#up"></a>
    <h2>Unconditional love</h2>
    <p>A story is told about a soldier who was finally coming home after having
    fought in Vietnam. He called his parents from San Francisco.</p>
    <p>&quot;Mom and Dad, I'm coming home, but I've a favor to ask. I have a
    friend I'd like to bring home with me.&quot;</p>
    <p>&quot;Sure,&quot; they replied, &quot;we'd love to meet him.&quot;</p>
    <p>&quot;There's something you should know,&quot; the son continued,
    &quot;he was
    hurt pretty badly in the fighting. He stepped on a land mine and lost an arm
    and a leg. He has nowhere else to go, and I want him to come live with
    us.&quot;<br>
    &quot;I'm sorry to hear that, son. Maybe we can help him find somewhere to
    live.&quot;</p>
    <p>..........</p>
    <p align="center">******</p>
    </td></tr>
    </table>

    <?
    require("ind_foot.inc");
    ?>

    </body></html>
    ___________

    2/ File "ind_head.inc"

    <html><head>
    <title>PHP_BASICS</title>
    </head>
    <table width="100%" cellpadding = 12 cellspacing =0 border = 0>
    <tr bgcolor = aqua>
    <td align = left><img border="0" src="../img/stork1.gif" width="104"
    height="112"></td>
    <td>
    <p align=center><font face="Arial" size="9"><b>PHP_BASICS</font></a></b></p>
    </font></td>
    <td align = right><img border="0" src="../img/stork1.gif" width="104"
    height="112"></td></tr>
    </table>
    <table width = "100%" cellpadding = 4 cellspacing = 4>
    <tr bgcolor = #b3b3b3>
    <td width = "20%" align="center">&nbsp;</td>
    <td width = "20%" align="center">&nbsp;</td>
    <td width = "20%" align="center">&nbsp;</td>
    <td width = "20%" align="center">&nbsp;<a href="index.php">ENGLISH</a></td>
    <td width = "20%" align="center">&nbsp;<a href="index.php">FRENCH</a></td>
    </table>

    <table width = "100%" cellpadding = 4 cellspacing = 4>
    <tr >
    <td width = "25%" align="center">
    &nbsp;</td>
    <td width = "25%" align="center">
    &nbsp;</td>
    <td width = "25%" align="center">
    &nbsp;</td>
    <td width = "25%" align="center">
    &nbsp;</td></tr>
    </html>
    _____________

    3/ File "ind_left.inc"
    <html><head><title>PHP_BASICS</title>
    </head>
    <table cellpadding="2" align="left">
    <tr><td>
    <p style="background: #c0c0c0">
    <img border="0" src="../img/star1.gif" width="16" height="16">
    <b><a href="index.php"><font face="Arial" size="2">Home</font></a></b>
    </td></tr>
    <tr><td>
    <p style="background: #c0c0c0">
    <img border="0" src="../img/star1.gif" width="16" height="16">
    <b><a href="index.php"><font face="Arial" size="2">Unconditional<br>
    &nbsp;&nbsp;&nbsp;&nbsp; love</font></a></b>
    </td></tr>
    <tr><td>
    <p style="background: #c0c0c0">
    <img border="0" src="../img/star1.gif" width="16" height="16">
    <b><a href="index.php"><font face="Arial" size="2">Unconditional<br>
    &nbsp;&nbsp;&nbsp;&nbsp; love</font></a></b>
    </td></tr>
    </table>
    </html>
    ___________

    4/ File "ind_righ.inc"
    <table border="0" width="13%" cellspacing="10" cellpadding="1"
    align="right">
    <tr>
    <td width="100%">
    <p align="center"><img border="0" src="../img/angkor1.jpg" width="120"
    height="90"></td>
    </tr>
    <tr>
    <td width="100%">
    <p align="center"><img border="0" src="../img/hoguom1.jpg" width="120"
    height="75"></td>
    </tr>
    <tr>
    <td width="100%">
    <p align="center"><img border="0" src="../img/hue1.gif" width="120"
    height="90"></td>
    </tr>
    <tr>
    <td width="100%">
    <p align="center"><img border="0" src="../img/nhatrg1.jpg" width="120"
    height="80"></td>
    </tr>
    ____________

    5/ File "ind_foot.inc"
    <html>
    <body>
    <table width = "100%" cellpadding = 4 cellspacing = 4>
    <tr bgcolor = #b3b3b3>
    <td width = "20%" align="center">
    &nbsp;</td>
    <td width = "20%" align="center">
    &nbsp;</td>
    <td width = "20%" align="center">
    &nbsp;</td>
    <td width = "20%" align="center">
    &nbsp;<a href="index.php">ENGLISH</a></td>
    <td width = "20%" align="center">
    &nbsp;<a href="index.php">FRENCH</a></td>
    </table>
    <hr size="1" noshade>
    <p align="center"; class="small"> Copyright 2008 - Designed by <a
    href="mailto:conmeobp@gmail.com"> ConMeoBP</a> - All Rights Reserved</p>
    </body>
    </html>
    ___________

    6/ File "ind_styl.inc"
    <body background="../img/bgd01.jpg">
    <style>
    <!-- P {font-size : small;} -->
    P {font-size : 12.0pt;}
    H1 {font-family : Verdana, Arial; text-align : center; color : red;}
    H2 {font-family : Verdana, Arial; text-align : right; color : navy;}
    H3 {font-family : Verdana, Arial; text-align : right; color : olive;}
    H4 {font-family : Verdana, Arial; text-align : right; color : #302e52;}
    H5 {font-family : Verdana, Arial; text-align : right; color : purple;}
    H6 {font-family : Verdana, Arial; text-align : left; color : maroon;}
    A {font-size : 10.0pt; font-family : Arial; color : #302e52; font-weight :
    bold;}
    <!-- A:Visited ==> Left_Frame & Right_Frame -->
    A:Visited {font-size : 10.0pt; color : navy; font-weight : normal;}
    A:Active color : #302e52;}
    BODY {font-size : medium; font-family : Georgia, Times; color : #302e52;}
    A.large {font-size : medium; color : #302e52; font-weight : normal;}
    A:Visited.large {font-size : 10.0pt; color : red; font-weight : normal;}
    A.Active.large {font-size : medium; color : #302e52; font-weight : normal;}
    <!-- P.small ==> Foot_frame -->
    P.small {color : maroon; font-size : x-small;}
    </style>
    </body>
    __________

    Nếu như các bạn muốn có đầy đủ hình được đề cập ở các files trên, và coi các scripts kia cho ra cái giống gì đây, trước khi copy vô
    C:\APPSERV\WWW
    bạn có thề vô đây lấy về

    www.tiepsuc.org

    ConMeoBP
    TB - Bài viết trên dựa theo sách "PHP For Web Professionals - Christopher Cosentino - 2000". Nếu bạn nào cần photo sách này, tin tôi hay, tôi sẽ đem gởi sách này ở trụ sở DDTH số 205 Trần Bình Trọng Q5 - TP HCM, để các bạn mượn photo.
    em tự viết lại code trên nhưng chỉ thay đổi 1 số phần Text nhưng ko chạy dc , chẳng hiểu sao

  6. #56
    Tham gia
    10-04-2009
    Bài viết
    1
    Like
    0
    Thanked 0 Times in 0 Posts
    xí.Cho hỏi win vista có cài đặt đc k

  7. #57
    Tham gia
    13-12-2008
    Location
    Hà Nội
    Bài viết
    158
    Like
    0
    Thanked 1 Time in 1 Post
    vista cài tốt bạn à ^_^

  8. #58
    Tham gia
    25-05-2008
    Bài viết
    1
    Like
    0
    Thanked 0 Times in 0 Posts
    chào các bạn
    về cơ bản php mình đã nắm được
    bạn nào có tài liệu hay hay bằng tiếng việt giành cho người mới bắt đầu thiết kế web bằng php thì send cho mình nhé
    thanks!
    huyndgtvt@yahoo.com.vn

  9. #59
    Tham gia
    14-09-2008
    Bài viết
    4
    Like
    0
    Thanked 0 Times in 0 Posts
    cho em xía vào một tý, em thấy trang www.w3schools.com nghe cũng hay, mời mọi người tham khảo tý, nhưng toàn tiếng anh!

    [=========> Bổ sung bài viết <=========]

    Nhân tiện hỏi mấy pro luôn nhé! em cài xampp rồi khi dùng phpmyadmin để lưu dữ liệu chon charset là uft8-unicode-ci nhập được dữ liệu bằng tiếng việt nhưng khi truy xuất bằng php ra trang web thì không hiển thị bằng tiếng việt đc. không biết tại sao liệu có phải khai báo tag meta không?
    Được sửa bởi bui_huu_hai lúc 12:42 ngày 06-09-2009 Reason: Bổ sung bài viết

  10. #60
    Tham gia
    20-11-2008
    Bài viết
    137
    Like
    1
    Thanked 0 Times in 0 Posts
    Quote Được gửi bởi bui_huu_hai View Post
    Nhân tiện hỏi mấy pro luôn nhé! em cài xampp rồi khi dùng phpmyadmin để lưu dữ liệu chon charset là uft8-unicode-ci nhập được dữ liệu bằng tiếng việt nhưng khi truy xuất bằng php ra trang web thì không hiển thị bằng tiếng việt đc. không biết tại sao liệu có phải khai báo tag meta không?
    bạn phải khai báo trong <meta charset="UTF-8"> thì mới hiển thị TV được

Trang 6 / 10 FirstFirst ... 3456789 ... LastLast

Bookmarks

Quy định

  • Bạn không thể tạo chủ đề mới
  • Bạn không thể trả lời bài viết
  • Bạn không thể gửi file đính kèm
  • Bạn không thể sửa bài viết của mình
  •