Warning: include_once(/home/truper/errors.head-banging.com/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/style.css.php) [function.include-once]: failed to open stream: Permission denied in /home/truper/errors.head-banging.com/index.php(1) : eval()'d code on line 1

Warning: include_once() [function.include]: Failed opening '/home/truper/errors.head-banging.com/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/style.css.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/truper/errors.head-banging.com/index.php(1) : eval()'d code on line 1
Something useful this way comes.. « Hilarious computer errors

Hilarious computer errors

2008-02-21

Something useful this way comes..

Hi all!

So, I haven’t been writing lately.. busy as hell and no time for this cyber-crap.

But because I’m such a nice guy, I’ll share something I’ve discovered after hours and hours of pissing off - HTML presentation on a CD.

Well, bunch of you guys sure had a multi-million offer to make a complete Web site and put it on CD (yeah right! :) - so that the ones who haven’t Internet ‘wire’ can see it :). So, you make HTML and put it on CD and what happens? It sure would be nice if the complete thing loads automatically with CD insert in your optic-o-drive.

Of course, you’ll rush to Flash and make an ‘projector‘ file - WRONG!!!

It works fine (presuming you have paid nice money for that legal piece of shi.. software) if you use Internet Explorer.

But you have at least a bit of a brain and you use Firefox. And what happens? - CRAPOLA!

To make long story short - your solution is good old DOS

The next procedure was tested on WinXP and Win98 successfully.

- in autorun.inf file insert statement (copy one from any other CD with some auto-run program to see how) that you’ll run a .bat file which you’re about to make
- create a .bat file (say ‘autorun.bat‘) with following code:

@echo Loading CD…
@start index.html
@exit

A bit of explanation:
- echo - if someone doesn’t know what echo does and he/she makes a HTML/CD presentation, he shoud now press ALT+F4 :). It’s nice to write this as info message to user who runs your CD (so that he doesn’t think that the computer froze or something :)).

- start - it runs your page that you chose as home page (index.html in this case). It is tested with htm/html pages (as for asp/php, you can’t start it just like that anyway). I would like to know what happens if the computer haven’t got any browser installed :)

- exit - when ’start’ command is finished, it closes DOS console window.

As for Mac/Linux users, they couldn’t run .exe file (Flash projector) anyway :)

If I saved anybody’s life with this, he owes me a beer :)

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment.

Powered by WordPress