1

Possible Duplicate:
Post data and retrieve the response using PHP Curl?

It's a tracking from a delivery carrier...

The target url is the following: Link

Is it possible to directly pass the number to the page, instead of manually insert the tracking number? Thanks

Community
  • 1
  • 1
smepie
  • 439
  • 2
  • 9
  • 21

1 Answers1

0

A "low" level solution would be to use a html template library that replaces key words in an .html with values from you cgi application.

take a look at: http://www.algonet.se/~thunberg/template2doc

if that is not what you're looking for check out ajax to query your cgi and return a value - to use in your java script: http://www.w3schools.com/ajax/default.asp

Also , look at the jquery library for more elegant solutions: How can I call a CGI function within a javascript function?

Community
  • 1
  • 1
T.T.T.
  • 33,367
  • 47
  • 130
  • 168
  • sincerely, reading your guidelines i don't understand how to do that... i haven't to call the cgi function but to pass a number to the field, so directly i can go to destination page instead of being blocked at first page... – smepie Aug 05 '11 at 16:12