Jump to content
php.lv forumi

include image


Ivkins

Recommended Posts

Esmu iesācējs saskāros ar tādu problēmu.

 

Ir root mapē atrodas index.php un header.php

 

Header's satur linku uz bildi, index failā ir include (header.php) un bilde rādās it kā viss ok,

 

Vēl ir direktorija piem.(test) kurā atrodas test.php - test/test.php un tajā test.php ir arī noradīts tas pats include (../header.php), bet tagaad ir problēma nerādā bildi, bet visu pārējo kas ir header.php rāda?

 

Kā ir jānorāda bildes atrašanās vieta header.php, lai no jebkuras direktorijas atrastu bildi?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...