473,396 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Interact with External CGI Forms (Local PHP Site to Webmin)

Hi I am new here,

I am having a hard time with this scenario. I am working on a PHP Website that needs to interact with a System Administration GUI called Webmin (http://www.webmin.com/) located in another server.

Basically the site I am working on allows users to register their domain Names (that they already own) and my PHP script needs to interact with Webmin in a Form by Form basis. The user should not see Webmin at all and shouldn't even realize that there are interactions with an external Site.

Anyone have any ideas, I was browsing through this community and I have read that a way of interacting with external forms is to have an invisible Iframe that contains the external site and posting elements through the iframe. But one problem is that Webmin requires someone to logon before they can configure DNS settings and set up Zones etc.

Anyway this is complicated and its my first time coding in PHP so any help would be greatly appreciated.

Thanks

Al
Aug 20 '07 #1
5 2373
bump!
Sorry still could use some help :)
Aug 20 '07 #2
Ok I have done some research and for anyone trying to load an external Form, you can use PHP function cURL or fopen.

http://curl.haxx.se/docs/manpage.html - Curl documentation

I just got to figure out how to get past the Webmin Authentication to post directly to the CGI forms.

Any ideas?

Al
Aug 20 '07 #3
Ok I have done some research and for anyone trying to load an external Form, you can use PHP function cURL or fopen.

http://curl.haxx.se/docs/manpage.html - Curl documentation

I just got to figure out how to get past the Webmin Authentication to post directly to the CGI forms.

Any ideas?

Al

All solved,
Just use cURL it has function to handle authentication etc.

Happy coding!

Al
Aug 23 '07 #4
Atli
5,058 Expert 4TB
I'm glad you worked it out.
Sorry we couldn't be of more help.

There is also some documentation on curl at php.net
Aug 23 '07 #5
NP at all!

I hope someone else can benefit from this thread.
Aug 24 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: David Dorward | last post by:
I'm attempting to read an XHTML 1.1 file, perform some DOM manipulation, then write the results to a different file. I've found myself rather stuck at the first hurdle. I have the following: ...
1
by: sam | last post by:
Hi, Had anyone written any python module for webmin? Since webmin is written in perl, but I want to write a python app/module used by webmin. If you know the detail of writing a python module...
12
by: Peter Collinson | last post by:
Hi... My external style sheet for a 200+ page site is marked up as: BODY, P, TABLE, TD, DIV { background: #ffffff; font-style: normal; font-variant: normal; font-weight: normal; font-size:...
2
by: volantecho | last post by:
hi, i m using webmin to create a cron job of a php script. While i click on 'run it now', it works, generate the output. However, the php script doesnt execute for every minutes which i've set...
6
by: Ian Frawley | last post by:
Hello everyone I have written a Windows Service to monitor local and remote Processes/Applications. However I am stuck because if it is installed as a user account I cannot get it to interact...
5
by: John Smith | last post by:
Hi folks, I'm embedding a Windows Forms User Control into an aspx web page. I've created the class library in C# and added the user control to it. If the control just has simple Windows Forms...
1
by: ABC | last post by:
I have a new project which is a web site used by Internal and External users (login required users) and public users (no login required users). On internal users, all users login network using...
5
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
3
by: Big Charles | last post by:
Hi, We have developed an ASP.NET web application and are planning to host it in an external Server, which provides us a good bandwidht. We need to put he web application outside because the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.