in reply to problem with using data

well the script works perfect when runing it command-line
but when I run it in my browser (with all the fields filled)
nothing happens