Helaman Posted July 19, 2005 Share Posted July 19, 2005 I have a web site where there are products and prices for retail. I want to have one page with just prices for distributors. I have been searching for info on how to secure one web page with a password and ID, but have come up dry. I wanted to create a sub driectory and apply a htacces file to it. I just can't figure how to get a correct path to the new directory. I am not even sure what to ask. I am sure someone must have done.....help please Helaman Link to comment Share on other sites More sharing options...
Guest Posted July 19, 2005 Share Posted July 19, 2005 In /includes/configure.php add: ?define('DIR_WS_DIRECTORY', 'my_directory/'); Then link to your file like this: ? ?<td valign="top"><?php echo '<a href="' . tep_href_link(DIR_WS_DIRECTORY . 'my_file.php') . '">My Link</a>'; ?></td> ? Matti Link to comment Share on other sites More sharing options...
Helaman Posted July 20, 2005 Author Share Posted July 20, 2005 In /includes/configure.php add: ?define('DIR_WS_DIRECTORY', 'my_directory/'); Then link to your file like this: ? ?<td valign="top"><?php echo '<a href="' . tep_href_link(DIR_WS_DIRECTORY . 'my_file.php') . '">My Link</a>'; ?></td> ? Matti <{POST_SNAPBACK}> I am just crazy enough to try that Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.