Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JS/CGI and Files
#11
only I, not O actually. (except with cookies, but that's not what you want)
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#12
javascript can, on netscape, with a special set of routines that require permission from the browser, and even access internet data. since only idiots have permission enable, javascript is essentially impossible. your example involves using a javascript source file. you could make your entire source file document.write's but that's only for faking ssi, and besides, it's a pain in the posterior
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#13
:o comcast won't use PHP either :x i should write an ANGRY LETTER.
size=9]"To announce that there must be no criticism of the president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." -- Theodore Roosevelt[/size]
Reply
#14
Thanks, everyone; I guess I should show you what I need it for:

http://mywebpages.comcast.net/jckut10/tag/tag.html
http://mywebpages.comcast.net/jckut10/ticker.html


These are my first Javascripts (blush), it took me a while to get 'em right.

For the first, I wanted to keep all the names, dates, and tags in a file ('data.txt' or something like that), so I can read and write to it.
(When you get in, it may give an error). Type some stuff in and click "Submit" to see what should be in the file.

For the second, I need to be able to read the "headlines" from a file. As it is now, the headlines are built in, but if I put them in a file, more than one website could have access to them. If more than one website had a ticker, and all read from the same file, you could click 'Add', enter your info, and instantly your news about a QBmagizine, new game, whatever, would be on every site and could reach the entire QB world. Just imagine it...
size=9]"To announce that there must be no criticism of the president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." -- Theodore Roosevelt[/size]
Reply
#15
well, you need one of the two. (or asp or flash, me no likey them)

in this particular case if you were willing to upload them yourself, you could store the strings in a .js file. if you have cgi/php you can also, instead of a ticker, use the headline page like qb45.com. but you'd need cgi/php. check out freewebspace.net for a nice free hosting search engine.
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#16
.js file would be good Big Grin But the thing is, I wouldn't be able to get everything...
size=9]"To announce that there must be no criticism of the president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." -- Theodore Roosevelt[/size]
Reply
#17
that being? it's just a bunch of strings.
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#18
I mean, I wouldn't be able to get all the news, myself. The advantage to the "Add" button would be that the ticker would be on many sites, so a person could put their own things in and give it a number of days until it "expires", that is, is removed from the ticker. In a sense, it would update itself as more and more games are produced.
size=9]"To announce that there must be no criticism of the president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." -- Theodore Roosevelt[/size]
Reply
#19
that, my friend, would probably need a cgi file to generate a .js script. Sorry Sad You might still be able to grab that headline page from Qbasicnews without any cgi/php/ssi though, if you're interested.
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#20
Thanks, I'll try qbasicnews's
size=9]"To announce that there must be no criticism of the president, or that we are to stand by the president, right or wrong, is not only unpatriotic and servile, but is morally treasonable to the American public." -- Theodore Roosevelt[/size]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)