By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,377 Members | 1,657 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,377 IT Pros & Developers. It's quick & easy.

file access

P: n/a
Hi all!

I have a small website and am having a slight difficulty keeping up with the
changes needed to keep it current and fresh. I have a lot a archived pages
that I'd like to rotate maybe in case I haven't prepared a new days worth of
content. What I'm asking...
....is it possible to access html files on my files on my hosted site's
server for the simple process of copying and pasting the code into another
newly created file prior to loading it with the use of script functions that
are compatible with Netscape and IE for Mac's and pc's?
I ask before I embark on the quest of learning scripting. I have some
programming skills in C++ from years ago and am sure will pick it up quite
quickly, but should I, or should I use a different approach?
Your advice would be extremely helpful.

Thanks in advance.

Jerry

Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Jerry wrote:
I have a small website and am having a slight difficulty keeping up with the
changes needed to keep it current and fresh. I have a lot a archived pages
that I'd like to rotate maybe in case I haven't prepared a new days worth of
content. What I'm asking...
.... for is a server-side solution. Nothing else can provide reliably what
you are requesting.
....is it possible to access html files on my files on my hosted site's
server for the simple process of copying and pasting the code into another
newly created file prior to loading it with the use of script functions that
are compatible with Netscape and IE for Mac's and pc's?
Server-side JavaScript can provide that, client-side JavaScript cannot.
I ask before I embark on the quest of learning scripting. I have some
programming skills in C++ from years ago and am sure will pick it up quite
quickly, but should I, or should I use a different approach?


I suggest you use PHPs includes, because it's free, open source, (like
JavaScript) part of the C language family (i.e. has similar syntax) and
is (unlike JavaScript) designed for server-side operation.

---> http://www.php.net/
PointedEars
--
This script is a hack. It's brute force. It's horrible.
It doesn't use Artificial Intelligence. It doesn't use Virtual Reality.
It's not perl. It's not python. It probably won't work unchanged on
the "other" thousands of unices. But it worksforme. -- ramiro in run-mozilla.sh

Jul 20 '05 #2

P: n/a
Hi,

Thomas 'PointedEars' Lahn wrote:
Jerry wrote:

I have a small website and am having a slight difficulty keeping up with the
changes needed to keep it current and fresh. I have a lot a archived pages
that I'd like to rotate maybe in case I haven't prepared a new days worth of
content. What I'm asking...

... for is a server-side solution. Nothing else can provide reliably what
you are requesting.


Reliably being the keyword. Solutions to read files on the client exist,
but are depending on the client's configuration, and shouldn't be used
for critical operations.
....is it possible to access html files on my files on my hosted site's
server for the simple process of copying and pasting the code into another
newly created file prior to loading it with the use of script functions that
are compatible with Netscape and IE for Mac's and pc's?

Server-side JavaScript can provide that, client-side JavaScript cannot.

I ask before I embark on the quest of learning scripting. I have some
programming skills in C++ from years ago and am sure will pick it up quite
quickly, but should I, or should I use a different approach?

I suggest you use PHPs includes, because it's free, open source, (like
JavaScript) part of the C language family (i.e. has similar syntax) and
is (unlike JavaScript) designed for server-side operation.


JavaScript is just a language. It is designed for anything the platform
allows. JavaScript on ASP, for example, is server-side, and works pretty
well.
PointedEars


Laurent
--
Laurent Bugnion, GalaSoft
Webdesign, Java, javascript: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch

Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.