<?php include($_SERVER['DOCUMENT_ROOT'].'image'); ?> <image src="image/risunok.png">
- So the problem is with the paths. Check whether the picture is displayed on a direct link. - fStrange
- 2What the line does include ($ _ SERVER ['DOCUMENT_ROOT']. 'Image'); ? - ReinRaus
- <img src = "image / risunok.png" /> try this - bemulima
|
1 answer
Damn to answer the question of the author, you must first understand why! Well, we believe that we understood ...
<?php // DOCUMENT_ROOT равен '/дисковый/путь/к/корню/вашего/веб-пространства' // image видимо название папки // Скорее всего, здесь надо получить путь к файлу include($_SERVER['DOCUMENT_ROOT'].'image'); ?> <img src="image/risunok.png" /> <img src="http://www.santarosa.edu/~dpearson/2010fall/cis5852/lessons/07/images/doc_root.jpg" />
Check if anything will be displayed ...
|