Article 5HCMN Pointing an HTML form "Action" to a php script file which is inaccessible via a URL

Pointing an HTML form "Action" to a php script file which is inaccessible via a URL

by
2aprepper
from LinuxQuestions.org on (#5HCMN)
Can this be done? I want to point the "action" of an HTML form to a php script which does not have a URL. This script resides in a directory above the web root. I can access it via an "include" directive using various means but cannot access the script via the "action" method of a form. Is this even possible, or MUST the script be web-accessible in this case?

My reason is pure curiosity. It's not a homework assignment (I'm 64) nor is it for my work (I'm retired). I was once a programmer for an engineering firm but that was long ago and I have CRS syndrome now. :-)

Thanks in advance.latest?d=yIl2AUoC8zA latest?i=nnaUvgK1nsA:tFZd1S9OwvU:F7zBnMy latest?i=nnaUvgK1nsA:tFZd1S9OwvU:V_sGLiP latest?d=qj6IDK7rITs latest?i=nnaUvgK1nsA:tFZd1S9OwvU:gIN9vFwnnaUvgK1nsA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments