Reputation: 13
I have a php code that has a form . The action tag in the form includes a CGI script (updated.py) as the following :
<form id="phpbasics" name="phpbasics" method="GET" action="http://localhost:8888//cgi-bin/updated.py" enctype="multipart/form-data">
when I submit the form the CGI result is displayed in another page . I need the cgi results to be displayed in my php page. Any ideas?
Upvotes: 0
Views: 131
Reputation: 13
The answer is
<form target = "mypage.php" id="phpbasics" name="phpbasics" method="GET" action="http://localhost:8888//cgi-bin/updated.py" enctype="multipart/form-data">
then I used Iframe
<iframe name="mypage.php"></iframe>
Upvotes: 1