Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Whats up dudes,
I am editing a script that has recently
broken due to server migration. The CGI
is crashing on 1 line when it calls a really
weird event.The script parses form input into a simple
data file and then runs a C simulation.Here is the script,
try
set return_page to http_10_header &
""
set filename to "whc
server:WebSTAR:WebSTAR:afrsim:para
meters.dat"<--THis is the STRANGE EVENT
set resultlist to event WaynTKii
post_args given class SEPl:{"=", "&"}
set refNum to event ScTlOpen alias
filename
--write file refNum text
"Pat's:webstar:cgi-bin:afrsim:afrsim2.html
"
repeat with n from 2 to 8 by 2
event ScTlwrit refNum given class
text:(item n of resultlist)
end repeat
event ScTlClos refNum
launch application "whc
server:WebSTAR:WebSTAR:afrsim:afrsim
"
Anyone has an idea let me know,,Thanks

![]() |
My post don't always make...
|
type 1 error
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |