folder name into a file

Discussion in 'PHP' started by int_josh, Jan 26, 2007.

  1. #1
    how do i insert folder name into an html file?
     
    int_josh, Jan 26, 2007 IP
  2. moroswitie

    moroswitie Peon

    Messages:
    43
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    html files are not dynamic
     
    moroswitie, Jan 26, 2007 IP
  3. int_josh

    int_josh Peon

    Messages:
    202
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    into html code
     
    int_josh, Jan 26, 2007 IP
  4. moroswitie

    moroswitie Peon

    Messages:
    43
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    what is your goal you could just type it

    <html>
    
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>my page</title>
    </head>
    
    <body>
    
    <p>C:\windows\system32</p>
    
    </body>
    
    </html>
    HTML:
     
    moroswitie, Jan 26, 2007 IP
  5. int_josh

    int_josh Peon

    Messages:
    202
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    nm thanks for tryin to help

    I already figured it out
     
    int_josh, Jan 26, 2007 IP
  6. picouli

    picouli Peon

    Messages:
    760
    Likes Received:
    89
    Best Answers:
    0
    Trophy Points:
    0
    #6
    He probably wants to know how to insert a dynamic var into an HTML page

    Using PHP you can do this, for example:
    <a href="http://www.domain.com/<?php echo $subdirectory ?>/file.html">Click me now!</a>
    PHP:
    HTH, cheers!
     
    picouli, Jan 26, 2007 IP
  7. moroswitie

    moroswitie Peon

    Messages:
    43
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    could you post the code
    So we can better understand?
     
    moroswitie, Jan 26, 2007 IP
  8. moroswitie

    moroswitie Peon

    Messages:
    43
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8

    Yep that's probably what he wanted.
    well he figured it out already.
     
    moroswitie, Jan 26, 2007 IP