loading files through one file to hide locations
- by Phil Jackson
Hello all. Im currently doing a project in which my client does not want to location ( ie folder names and locations ) to be displayed.
so I have done something like this:
<link href="./?0000=css&0001=0001&0002=css" rel="stylesheet" type="text/css" />
<link href="./?0000=css&0001=0002&0002=css" rel="stylesheet" type="text/css" />
<script src="./?0000=js&0001=0000&0002=script" type="text/javascript"></script>
</head>
<body>
<div id="wrapper">
<div id="header">
<div id="left_header">
<img src="./?0000=jpg&0001=0001&0002=pic" width="277" height="167" alt="" />
</div>
<div id="right_header">
<div id="top-banner"></div>
<ul id="navigation">
<li><a href="#" title="#" id="nav-home">Home</a></li>
<li><a href="#" title="#">Signup</a></li>
all works but my question being is or will this cause any complications i.e. speed of the site as all requests are being made to one single file and then loading in the appropriate data.
Regards,
Phil