Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Path problem of images in php

  1. #11
    Join Date
    Feb 2005
    Posts
    32

    Default

    Quote Originally Posted by nesheret
    Your php script should be something like(I have tested it and it works on my account) ....
    Code:
    <?php
      echo "[img]images/coloredsqcomp.gif[/img]";
    php>
    Regards
    Correct, it's also my idea, if you want .php file included display something, you must use "echo"
    Or can try stupid like me 3 years ago:
    <?
    echo file_get_contents("header.php");
    ?>
    Output is all thing in header.php
    :)
    Sorry about my bad English

  2. #12

    Default

    Shouldn't a ' be recognized first?:

    <img src=/'/images/coloredsqcomp.gif'/>

    I have this on my page, It works really well

  3. #13
    Join Date
    Mar 2005
    Location
    sibiu
    Posts
    44

    Default

    Quote Originally Posted by darklightdusk.bizhat.com
    Shouldn't a ' be recognized first?:

    <img src=/'/images/coloredsqcomp.gif'/>

    I have this on my page, It works really well
    It doesn't matter, try withour recognizing them and you will see that it will also work

  4. #14

    Default

    ah, I noticed:)....

    thanks;)

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

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