Results 1 to 10 of 10

Thread: PHP

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    _
    Join Date: Apr:2006
    Location: _
    Posts: 1,128

    PHP

    . index.php include_once /opt/files . php , - /opt/files/image.png

    Files 777. .

  2. #2
    ! vbTheKing's Avatar
    Join Date: Sep:2003
    Location:
    Posts: 4,138
    - include_once image.png, ?
    ''? * *
    - !
    ...

  3. #3
    Registered User tedych's Avatar
    Join Date: Nov:2003
    Location:
    Posts: 17,654
    ' include ?! PHP .png

  4. #4
    _
    Join Date: Apr:2006
    Location: _
    Posts: 1,128
    index.php include_once ("/opt/files/main.php") .

    main.php . .
    main.php html .

  5. #5
    Registered User
    Join Date: Jul:2006
    Location:
    Posts: 1,071
    Quote Originally Posted by Red_Leader View Post
    main.php html .
    .png . <img src="localhost/opt/files/image.png" />... - Alias Apache. .js/.css , .

    php , .png . : , , , . html , . , .

    /opt/files , 777?

  6. #6
    Jedi rargirov's Avatar
    Join Date: Oct:2007
    Location:
    Posts: 654
    -> ../opt/files/main.php

  7. #7
    _
    Join Date: Apr:2006
    Location: _
    Posts: 1,128


    index.php /var/www/index.php

    <?
    include_once '/opt/main.php'
    ?>


    main.php /opt/main.php


    <html>

    <head>

    <title>RMC</title>

    <link rel="shortcut icon" type="image/x-icon" href="/opt/css/dropdown/images/favicon.ico" />

    <link href="/opt/css/dropdown/themes/helper.css" media="screen" rel="stylesheet" type="text/css" />



    <link href="/opt/css/dropdown/themes/dropdown.css" media="screen" rel="stylesheet" type="text/css" />

    <link href="/opt/css/dropdown/themes/default.css" media="screen" rel="stylesheet" type="text/css" />



    </head>

    <body>
    .........................



    index.php /var/www

    <html>

    <head>

    <title>RMC</title>

    <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />

    <link href="helper.css" media="screen" rel="stylesheet" type="text/css" />



    <link href="dropdown.css" media="screen" rel="stylesheet" type="text/css" />

    <link href="default.advanced.css" media="screen" rel="stylesheet" type="text/css" />



    </head>

    <body>

    ?


    . Apache

  8. #8
    Registered User
    Join Date: Jul:2006
    Location:
    Posts: 1,071
    Quote Originally Posted by Red_Leader View Post
    . Apache
    . http://red_leader.com/etc/passwd && etc/shadow, , , Apache ( , "../"- , ). , Alias- <directory ...> Apache.

    777 , , - 644 www-data ( ).

    :
    , /var/www/ Apache ( htdocs-, ?). /opt/- - !

  9. #9
    _
    Join Date: Apr:2006
    Location: _
    Posts: 1,128
    Quote Originally Posted by mialy View Post
    . http://red_leader.com/etc/passwd && etc/shadow, , , Apache ( , "../"- , ). , Alias- <directory ...> Apache.

    777 , , - 644 www-data ( ).
    , Alias

  10. #10
    ! vbTheKing's Avatar
    Join Date: Sep:2003
    Location:
    Posts: 4,138
    , .. "opt/files/image.png".
    ''? * *
    - !
    ...

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 |