Checking if a file exist



Hey All,
I'm a bit new at this,and i tryed seraching google about it but i
didn't quite got a solution.
I'm writing an HTML page that needs to check if another html file exist
(in the same folder) and if not,to call to a C file and create that
html file.
I tryed to do that with JavaScript but i understood there is no such
option.
Can u advice?
and once i know that file doesn't exist,can i call to a C file from a
simple html page?

Thanks a lot!

.



Relevant Pages

  • Re: Thoughts on mod_lisp
    ... writing templates in HTML and then inserting active ... > HTML with a static file than it is if you have to recompile and reload ... just as easy as C-x C-s, and I find writing lhtml easier than writing ...
    (comp.lang.lisp)
  • Re: why does screwed up source code work?
    ... I find this whole discussion a bit puzzling, because although it is clear that writing HTML has nothing to do with programming that's an objection to calling HTML writing programming. ...
    (alt.html)
  • Re: Beginning, Middle and End
    ... Arranging my day so that I am doing my writing when I am naturally ... I *am* a real writer, and I have never come close to ... maybe I can do html -- add a few more pages of paper ... Black Flag starts falling behind schedule, ...
    (rec.arts.sf.composition)
  • utility functions within a class?
    ... I might be missing something obvious here, but I decided to experiment with writing a program that involves a class, so I'm somewhat new to this in Python. ... Specifically, I am writing a class that defines methods that wrap string arguments inside HTML elements, and ultimately creates and HTML page. ... First it will create a string with the proper DTD, then it will append the <head> element and the element, wrapped in the element. ...
    (comp.lang.python)
  • Re: Populate a combo with an array
    ... you want to interlace server-side scripting with HTML, ... I usually abstract as much processing as possible before writing any HTML. ... Unsolicited commercial email will be read at a cost of $500 per message. ... If your question is worth asking, ...
    (microsoft.public.inetserver.asp.general)