Monthly Archives: October 2011

Uncategorized

vugen :: search and replace characters in a string

What happens when you have to submit special charaters, or reserverd characters in vugen? It can be quite a pain. Yes you can always do a web_convert_param(), but sometimes it doesnt do what you need. I’ve noticed it converts a space to a + not a %20….This has really confused me when submitting a webform…
The only other way to get around it is to write a function that searches your string, and replaces it.
read more »

Uncategorized

vugen :: send email [gmail] on error

Ever had to run a soak test, load test, whatever test at an un-Godly hour? Did you ever hit ‘play’ and then go home, and, just pray (religious?) that the test would be finished with all your results when you get to work the next day?, only to find it crashed 4 mins after you left…yes, it sucks.
In my situation, I had a script running for about 3 days. Don’t ask why, it was just the situation I was in…! I found myself logging into the box every few hours to make sure the script was running, and it was really getting on my nerves. It got to a point where I would spontaneously wake up in the middle of the night just to check it…yes, I’m a freak, thanks for coming to my show!.
So to get around this, I managed to create a very easy way to have vugen send you an email when your script fails. Its really quite simple.
read more »