Birun Posted February 2, 2007 Share Posted February 2, 2007 Let me just declare that i know nothing of php, but have been forced to learn it by my boss for some Filemaker integration. That said: I need help executing a php scrip located in another folder within my wwwroot directory. Let me explain: I am running a script in c:\Inetpub\wwwroot\StudioSuite\Main\home.php now i need to create a link to another script located in c:\Inetpub\wwwroot\StudioSuite\Contacts\records.php And i haven't a clue on how to do that, because whenever i create a href to the script records.php it looks for it in the Main directory and not the Contacts directory............help me please. Link to comment https://forums.phpfreaks.com/topic/36830-changing-directory/ Share on other sites More sharing options...
trq Posted February 2, 2007 Share Posted February 2, 2007 A link should look something like.... <a href="http://yoursite.com/Contacts/records.php">records.php</a> If you wanted to include this file within home.php it would look like.... include '../Contacts/records.php'; Link to comment https://forums.phpfreaks.com/topic/36830-changing-directory/#findComment-175701 Share on other sites More sharing options...
Birun Posted February 2, 2007 Author Share Posted February 2, 2007 Thanks a million thorpe Link to comment https://forums.phpfreaks.com/topic/36830-changing-directory/#findComment-175704 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.