Jump to content

Default folder


Bravat

Recommended Posts

How to define default folder. For example I have folder images and in that folder specific image. In the root directory I have index.php with

<?php require_once("public/includes/header.php"); ?>

and in index.php there are links which goes to different folder:

 <a href="public/sajt/kategorija.php?id=<?php echo $id;  ?>">

which also have header.php, but there is no image. How to make default folder for image, or some similar solution?

Link to comment
https://forums.phpfreaks.com/topic/226613-default-folder/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.