Backslash Bug |
[eluser]Unknown[/eluser]
I dunno if this is a bug but, im just starting with Codeigniter and im having trouble with directories. I made a header.php page with images with the link "../images/balhblah.png" the images shows fine with http://localhost/ci/index.php/login but the images doesnt show anymore when i add a slash at the end like http://localhost/ci/index.php/login/ if u go http://codeigniter.com/index.php, everything is fine but if u go http://codeigniter.com/index.php/ some images are missing how can i fix my problem?
[eluser]bitist[/eluser]
Instead of: Code: <img src="../images/balhblah.png"> use: Code: <img src="{http_path_to_image}/images/balhblah.png">
|
Welcome Guest, Not a member yet? Register Sign In |