hello admin,
how to display the following shortcut.
your here >> home >> files >> 2014 >> 02.
is database required for that ? any suggestions please .......
thank you........
you do not need database to create breadcrumbs. That's what you are looking for. you can accomplish this with the global $_SERVER variable.
This might get you started: link
yeah.. thanks for the reply sir.it is working .
but which is showing directory like this
http://example.com/2014/02 it is ok but
i need path not the directory (/).
for example
<a href="http://example.com">Home</a>
<a href="http://example.com/files.html">Files</a>
<a href="http://example.com/2014.html">2014</a>.
now breadcrumbs is Home >> Files >> 2014.
is it possible. i hope you understand thank you........
example.com/2014/ which is also a good idea but plesk panel does not support .htaccess.
actual location of file ishttp://example.com/myfiles/2014/2014.html
i need to show the url as
1. example.com/myfiles/2014/-dir-/2014.html
2. example.com/myfiles/-dir-/myfiles.html etc....
means i think there must be a .php file under /2014/
here is discussion thread http://www.daniweb.com/web-development/php/threads/472591/how-to-read-file-path-using-dir
.
any suggestions please......
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.