On Tue, August 21, 2007 3:08 am, Per Jessen wrote: > N0K wrote: > >> But if it run in the browser, i think it have to run in cli, dont >> you >> think ? > > No, certainly not by default. They are very different environments, as > you have already found out. If you want to force it to work, you could hack up a CGI SAPI sort of thing... Or just toss it into a web-server somewhere and use wget from the command line to access it, which would be much easier. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php