hi, is it just me or when you have a html form for example
<form action="actionhere" method="post">
it doesnt work if actionhere has ../ at the front. to me it looks like all ../ are ignored.
am i doing something wrong as i need to let the form access a file that is outside the public_html folder.
thanks, any help appriciated.
html form action
Moderator: General Moderators
As far as I remember folders and files outside public_html (CPanel way) are not accessible from outside - they can only be accessed from within the Server using Server side scripts.
Your form is trying to post some data that lies outside the public_html directory which is the root directory for the domain.
Your form is trying to post some data that lies outside the public_html directory which is the root directory for the domain.
PHP, ASP, Perl, CFM - anything that your host supports.
But even then you wouldnt be able to anything on your HTML part that accessess the files outside public_html - you can just include them like include_once("../somescript.php") which will be processed internally.
For your tag purposes you'll need to keep them all inside public_html.
But even then you wouldnt be able to anything on your HTML part that accessess the files outside public_html - you can just include them like include_once("../somescript.php") which will be processed internally.
For your tag purposes you'll need to keep them all inside public_html.