1

I want to get company details from http://mca.gov.in/DCAPortalWeb/dca/MyMCALogin.do?method=setDefaultProperty&mode=31

Only the second input CIN/FCRN/LLPIN/FLLPIN is required . example CIN : U01400DL2014PTC267361

I have the following code :

<?php
$url=http://mca.gov.in/DCAPortalWeb/dca/MyMCALogin.do?method=setDefaultProperty&mode=31';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
$output = curl_exec($ch);
curl_close($ch);     
?>

I looked at the source of that page, and don't find any form in that page. It seem to be using JavaScript to retrieve company information after clicking on "Submit" button.

So, I don't understand how to input that CIN in the form and retrieve the company details using PHP.

Suggest me any method that can help in this case.

2
  • 1
    Hi, Have you found the way to get company details.
    – Thirumal
    Dec 6, 2016 at 6:22
  • Any progress you made here ?
    – Kiran
    Jun 17, 2017 at 8:11

1 Answer 1

0

There is a form where data is sending, look:

<form action="/DCAPortalWeb/dca/CompanyMaster.do" method="post" name="CompanyMasterEditForm">
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.