Welcome to Geeklog, Anonymous Thursday, July 10 2025 @ 04:18 am EDT

Geeklog Forums

Should scripts be downloaded or seen?


Hi!
I just can't decide if I should post my java/vb/whatever scripts as regular posts in my blog or install file management and only have them as files?

So the first option will let people see the scripts online, while the second one will overide the need to save them in notepad...

What do you think?

Thanks
 Quote

Status: offline
Forum User
Regular Poster
Registered: 08/13/03
Posts: 107
Why not both?

Preferably with a link to the file-management download page from within the article/post? This allows both capabilities, you can show teh code, and even annotate/format it within the post, and then have the actual source avaliable for download....


Exaurdon~
 Quote

Status: offline
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
(not exactly an answer, but related)

A problem that we have here on the site is that people sometimes upload .php scripts, i.e. without packing them. When you approve such a script, it would be executed, not downloaded. Changing the file's extension to .phps when approving it will then cause the script to be displayed, which is okay for proper scripts but may be a problem for language files (because of special characters not being encoded properly).

Just something to be aware of ...

bye, Dirk
 Quote

I guess one should zip the phps then.

Anyway, why not writing the source code in the description of the file instead of having two places for each script (story and file)?
 Quote

All times are EDT. The time is now 04:18 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content