#!/usr/pkg/bin/wsbasic

  pass = "change this"
  url  = "http://win-www.uia.ac.be/u/wschrep/ip-post/set_ip.php"
  
  cmd     = "echo \"pass="+pass+"\" | lynx -post_data \""+url+"\""
  result  = run( cmd )
  
  test    = mid( result, 5,2 )

  if test == "OK" 
    print "post successfull"
  else
    print "post failed: ",result
  
