J
John Salerno
Out of curiosity, is there any kind of standard practice for where
html/php/asp, etc. pages get stored on a web server? What I mean is,
when you upload your pages, do they all get put in a root directory? Or
an 'html' folder? Do you separate your PHP/ASP etc. files into a
directory that is separate from the HTML files? Or are they all put
together?
I ask this because I just signed up for a Python package, but it
requires that the PSP (Python Server Pages) files be put in a folder
called 'python'. There is a separate folder for html files called
'htdocs'. Now, I could, if I wanted, put all my files in the python
folder and just use that, but if I use the separate folders, then any
links to my pages would require this: ../htdocs/file.html and that does
not seem portable to other servers.
So when you write your static html pages and your dynamic PHP etc.
pages, do you put them all together so that the links to them are simply
the file name itself? Or should they be split into appropriate folders?
Thanks, hope that made sense!
John
html/php/asp, etc. pages get stored on a web server? What I mean is,
when you upload your pages, do they all get put in a root directory? Or
an 'html' folder? Do you separate your PHP/ASP etc. files into a
directory that is separate from the HTML files? Or are they all put
together?
I ask this because I just signed up for a Python package, but it
requires that the PSP (Python Server Pages) files be put in a folder
called 'python'. There is a separate folder for html files called
'htdocs'. Now, I could, if I wanted, put all my files in the python
folder and just use that, but if I use the separate folders, then any
links to my pages would require this: ../htdocs/file.html and that does
not seem portable to other servers.
So when you write your static html pages and your dynamic PHP etc.
pages, do you put them all together so that the links to them are simply
the file name itself? Or should they be split into appropriate folders?
Thanks, hope that made sense!
John