Jump to content

[SOLVED] php directory path in link help


pcw

Recommended Posts

Hi,

 

I have got a page called 'logged-in.php' with a form and some links on. This page is located in the 'templates' directory.

 

The 'templates' directory is in the 'software' directory. Now when I use the form or click a link in 'logged-in.php', and the form action or file is located in the 'software' directory, the form action is

 

http://www.mysite.com/software/templates/whatever.php

 

instead of

 

http://www.mysite.com/software/whatever.php

 

What would I need to put in the form action, or link to go to the correct path?

 

I would just type it but I need to install this on several servers.

Link to comment
https://forums.phpfreaks.com/topic/147462-solved-php-directory-path-in-link-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.