1 Replies - 544 Views - Last Post: 13 August 2012 - 01:03 AM

#1 infantheartlyjes  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 10
  • Joined: 27-October 11

cgi scripts with command line arguments in c++

Posted 13 August 2012 - 12:22 AM

Shall i create a cgi script with main function command line Argument ? If i can , How can i pass the data to this command line arguments ?

And shall i pass Array of data from Javascript to cgi-script which is created in c++. How many ways are available for Passing a data from a Html Page to cgi-script ?
Is This A Good Question/Topic? 0
  • +

Replies To: cgi scripts with command line arguments in c++

#2 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 3569
  • View blog
  • Posts: 10,402
  • Joined: 08-June 10

Re: cgi scripts with command line arguments in c++

Posted 13 August 2012 - 01:03 AM

View Postinfantheartlyjes, on 13 August 2012 - 09:22 AM, said:

How many ways are available for Passing a data from a Html Page to cgi-script ?

Zero.

unless you use browser specific extensions. Javascript is normally sanboxed to the browser (i.e. does not have access to the file system) to prevent security issues.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1