The first link contains an example (I didn't look at the second one), so where exactly is your problem?
I also noticed that you had a very similar thread recently (CGI scripts - Big problem for me) - did none of the suggestions work? Or did these suggetions fail to work for you? If yes: don't just repost your question, but describe your problems.