Search found 2 matches

by inka
Tue Jul 27, 2010 12:10 pm
Forum: PHP - Code
Topic: Relative paths
Replies: 3
Views: 67

Re: Relative paths

Use a base url or absolute path. Thank you about the tipp. If I use a base url for the included files, which are mostly HTML, is there a way not to exit every time from html to php if I have a link? Better way than this: <script type="text/javascript" src="<?php echo BASE_URL; ?> inc...
by inka
Tue Jul 27, 2010 11:54 am
Forum: PHP - Code
Topic: Relative paths
Replies: 3
Views: 67

Relative paths

Greetings! I`m currently trying to make a webpage that is kinda based on a template, but I found a very big problem. The pages include the header and the footer files. The problem is when I try to create a folder and a page in it. I can change the include links for these pages but the header and foo...