Results 1 to 22 of 22

Thread:

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Mar:2005
    Location: Sofia
    Posts: 166

    , . , . , - , . ?

  2. #2
    hmm BornToDrink's Avatar
    Join Date: Aug:2005
    Location: .
    Posts: 11,573
    http://en.wikipedia.org/wiki/Front_Controller_pattern

    :
    http://www.phppatterns.com/docs/desi...roller_and_php

    :
    , index.php , :
    index.php?page=contacts

    , index.php , , ?page
    :
    Code:
    switch ( @$_GET['page'] ) {
        case 'edit':
            include ('actions/edit.php');
        break;
        case 'post':
            include ('actions/post.php');
        break;
        case 'delete':
            include ('actions/delete.php');
        break;
        case 'default':
            include ('actions/view.php');
        break;
    }
    html, , , .
    , - - , .
    PHP... , ...
    Hey, mother, I come bearing a gift. I'll give you a hint. It's in my diaper and it's not a toaster.
    .

  3. #3
    XaMaB's Avatar
    Join Date: Nov:2001
    Location:
    Posts: 20,387
    asp.net master page. , . css/javascript/frames .
    : XaMaB; . 0.42

    In God we Trust (all others must submit a X.509 certificate). , ()

  4. #4
    Registered User
    Join Date: Mar:2005
    Location: Sofia
    Posts: 166
    , HTML CSS, . HTML HTML PHP java?

    P.S. header, banner, .
    Last edited by ivoes; 3rd August 2010 at 18:19.

  5. #5
    Banned
    Join Date: Aug:2008
    Location:
    Posts: 5,960
    frontpage 2000 - 3 , .

    .

  6. #6
    Registered User
    Join Date: Mar:2005
    Location: Sofia
    Posts: 166
    P.S. header, banner, .

  7. #7
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    . .
    BornToDrink, .
    , , , , , 20-30 .

    -
    $page = $_GET['page'];
    if (file_exists('actions/'.$page)) include 'actions/' . $page;

    . request , . ..

    ivoes, PHP, - 3-4 .

  8. #8
    hmm BornToDrink's Avatar
    Join Date: Aug:2005
    Location: .
    Posts: 11,573
    Quote Originally Posted by tedych View Post
    . .
    BornToDrink, .
    , , , , , 20-30 .

    -
    $page = $_GET['page'];
    if (file_exists('actions/'.$page)) include 'actions/' . $page;
    - .
    -, .
    Hey, mother, I come bearing a gift. I'll give you a hint. It's in my diaper and it's not a toaster.
    .

  9. #9
    Registered User
    Join Date: Mar:2005
    Location: Sofia
    Posts: 166
    , php, - - . php .

    - <?php include("filename.html"); ?>, html php, , html?

    ---------- 18:49 ---------- 18:25 ----------

    , html CSS : <link rel=stylesheet type="text/css" href="style.css" />.

    php , <?php include("blablabla.html"); ?>

    , ...
    Last edited by ivoes; 3rd August 2010 at 18:37.

  10. #10
    Registered User
    Join Date: Jul:2005
    Location: Sofia
    Posts: 640
    .php .html html- . php php .
    - .html .php <?php include "filename.php"; ?> .

  11. #11
    ! vbTheKing's Avatar
    Join Date: Sep:2003
    Location:
    Posts: 4,138
    Quote Originally Posted by blalala View Post
    .php .html html- . php php .
    - .html .php <?php include "filename.php"; ?> .
    PHP, .
    ''? * *
    - !
    ...

  12. #12
    Registered User
    Join Date: Mar:2005
    Location: Sofia
    Posts: 166
    , , PHP . blalala .

  13. #13
    Registered User
    Join Date: Mar:2005
    Location: Sofia
    Posts: 166
    , PHP. , , ?

    ---------- 19:43 ---------- 19:16 ----------

    Quote Originally Posted by vbTheKing View Post
    PHP, .
    Dreamweaver PHP . : <body> <?php include("index.html"); ?> </body>

    ...

    Dreamweaver design , preview in Chrome .

  14. #14
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    PHP ( PHP).

    , . . ., , .

  15. #15
    Registered User
    Join Date: Mar:2005
    Location: Sofia
    Posts: 166
    , index.html , index.php .
    PHP ?

    ---------- 21:34 ---------- 20:41 ----------

    , . - ivoes.0009.ws. , "blablabla" "paragraph", . menu.html index.php...

    , .
    Last edited by ivoes; 3rd August 2010 at 21:51.

  16. #16
    Registered User
    Join Date: Mar:2005
    Location: Sofia
    Posts: 166
    , : ivoes.0009.ws
    google Chrome Firefox , Internet Explorer ?

  17. #17
    Pesho's Avatar
    Join Date: Nov:2001
    Location: Sofia
    Posts: 5,169
    Quote Originally Posted by ivoes View Post
    , : ivoes.0009.ws
    google Chrome Firefox , Internet Explorer ?

    HTML , - , - . - :

    - <html>
    - DOCTYPE , , (.. )

    .
    , !

  18. #18
    Registered User
    Join Date: Mar:2005
    Location: Sofia
    Posts: 166
    Quote Originally Posted by Pesho View Post
    HTML , - , - . - :

    - <html>
    - DOCTYPE , , (.. )

    .
    , , (), . . preview IE . .

  19. #19
    Registered User DarkPaIn's Avatar
    Join Date: Mar:2008
    Location:
    Posts: 1,773
    - click

  20. #20
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    cross-browser / , IE6, 4.7. 3-4- .
    , -, .
    , , , 15-20 .., - .

  21. #21
    Registered User
    Join Date: Mar:2005
    Location: Sofia
    Posts: 166
    IE , , F5 . ...

  22. #22
    TEKIL4O's Avatar
    Join Date: Feb:2007
    Location: Rousse/Sofia
    Posts: 341
    IE
    , javascript , "" , include <script></script> , PHP
    EP 9NPA+ U (HR-05/IFX)| 4200+X2@2.8GHz (IFX-14) | 2x1GB KINGSTON (DDR430 3-4-3-6-1T@2.7V) | GB 8800GT (512MB) | WD6401AALS | CFT-750-14CS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |