file access

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jerry

    file access

    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



  • Thomas 'PointedEars' Lahn

    #2
    Re: file access

    Jerry wrote:
    [color=blue]
    > 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...[/color]

    .... for is a server-side solution. Nothing else can provide reliably what
    you are requesting.
    [color=blue]
    > ....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?[/color]

    Server-side JavaScript can provide that, client-side JavaScript cannot.
    [color=blue]
    > 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?[/color]

    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

    Comment

    • Laurent Bugnion, GalaSoft

      #3
      Re: file access

      Hi,

      Thomas 'PointedEars' Lahn wrote:[color=blue]
      > Jerry wrote:
      >
      >[color=green]
      >>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...[/color]
      >
      >
      > ... for is a server-side solution. Nothing else can provide reliably what
      > you are requesting.[/color]

      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.
      [color=blue][color=green]
      >>....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?[/color]
      >
      >
      > Server-side JavaScript can provide that, client-side JavaScript cannot.
      >
      >[color=green]
      >>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?[/color]
      >
      >
      > 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.[/color]

      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.
      [color=blue]
      > PointedEars[/color]

      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

      Comment

      Working...