I am very much new to mediawiki, only a couple of days research. Here I already have an article called e.g., "sample" which I need to save it to mediawiki database which was installed on my wamp server (localhost). So how to achieve that? Should I need to write a program for achieving it? Can anyone please help me in this?
Also, I have an HTML form and how to save that form to mediawiki DB?
you can use webservices to create an article and save it to your mediawiki database
here are some links ,pls refer to it.
http://www.mediawiki.org/wiki/Extension:CreateArticle
http://www.mediawiki.org/wiki/Extension:CreateArticle/sourcecode
An API for manipulating wiki pages is available in core MediaWiki: https://www.mediawiki.org/wiki/API:Edit
The HTML form cannot currently be stored in the DB unless it is adapted to work with wikitext. This may change in the future.
Related
I'm trying to make a website for an assignment. In this assignment, I have to include examples of some of my work and I want to include a database I made in Microsoft Access, is there anyway I could do this? It preferably has to be in html. The database is just a table, a form and a report.
HTML can't to connect to database alone, you should to use other tecnology together to this be possible, a better way to do it in a web system is to connect through a API, if not know about, google it, have a lot of documentation and tutorial to make modern restful API, for your case that is using microsoft access I found this Microsoft tutorial maybe can help you.
-> https://support.microsoft.com/en-us/help/308459/how-to-connect-an-html-page-to-a-microsoft-access-database
I have a database built in Php myAdmin, and I want to connect it to a form I have on a joomla3 website. But when I fill details in on form, all data goes to default joomla3 database and not my database. Anyone got any ideas around this ?
I need my front end form data connecting with my own database not the default database in Joomla.
Thanks in advance.
Probably what you want may be figured out by following this Joomla docs instructions.
You can install the great RS Forms component for a small fee - this allows complete control of the form and you can wire it to your own php script to process the form.
You need to be careful to protect your script from bad data designed to hack your site as people enter code into the form - js is not enough you need to scrub the data before you attempt to do anything with it.
I'd need to make some custom pages for a Joomla website.
One would need to get some very basic information through queries from a MySQL database and list the fetched entries as a paged list.
And the other would be a form that would need to run some query to an API to get a confirmation.
How would you suggest me to do build this? I'm currently looking at the docs but I'm kind of lost and don't know where to start.
Any suggestions are greatly appreciated and welcome!
Thanks and have a nice day!
I'm not sure what API you would need to integrate, but there might be some extensions on the Joomla Extensions Directory that might suit your needs.
If you would like to write your own queries, you could use a plugin such as Sourcerer which will allow you to write custom PHP in your articles. Or you could create your own Module or Component. To get you started, you might also want to consider using a Module Generator or Component Generator.
Hope this helps.
I know that there's a lot of posts about that, but i can't find any one that suit my needs.
Here we go: I am developing (newbie dev, of course) an iOS app that is suppose to populate an UITableView with the acquired data from a xml report from a server (mysql and php).
The point is I was able to manually generate the sql report on the server (actually is a wordpress plugin that manually generate and save the report inside a folder on the server) and made the app download it by pointing to the right location of the file (very basic i Know) but is there an easy way of making my app send a request to the server to automatically generate and download the xml?
All the data i must use is inside a database on the server. The parse of the xml is not that difficult and I can handle it. My real problem is allowing the app sending those requests to the server.
Please note that i have no experience in PHP or SQL and have poor knowledgement on that tools so that is what i haven't found any post that suits me as all of them talks in a advanced SQL and PHP language.
All help is appreciated.
Thanks in advance folks!
You'll want to make an NSUrlRequest against a php script on your web server that runs the query and returns the XML as the output. See this link from the Apple guide to get you started: https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/URLLoadingSystem/Tasks/UsingNSURLConnection.html
The question is too general to give more specific advice than that you should take a look at the Cocoa URL loading system, or alternatively another networking library such AFNetworking.
I am doing a Web project, where I am using HTML5 and Django to store database in sqlite3. The part being, since I had to use python, I installed mod_python for apache2. Now the thing is I went through many sites for head start to store the data and retrieve it. When I check in google related to how to use mod_python I did get certain information on how I can send a request to a .py file and then execute it. But with Django documentation providing a tutorial which is to develop a polling webApp, I am not finding it measurable to the part I am trying to achieve.
I want to send the request from an Html file where I have a search box and some radio buttons, to Django through Apache2 (mod_python) and then access my database in sqlite3. Please could anyone give me brief idea on whether I am doing it right? Also if yes, can u give me a hint as in how can I send the request from HTML file to the database from Django and mod_python being used? I am a bit confused with Django tutorial.
Please if anyone can just let me know what exactly I should do! Or if any link with a proper guidance would be of great help.
Thank you.
Well, for starters, if you can install and use mod_wsgi instead of mod_python, you should -- mod_python hasn't been supported for years. I'd also strongly recommend that you use anything other than SQLite for a production web application -- SQLite doesn't cope well with multiple simultaneous transactions.
If you're stuck using mod_python, then see the Django documentation for using mod_python.
Once you've got that working, the rest of your questions can be answered by the Django Tutorial, particularly part 4, which covers the use of HTML forms with Django views and templates:
http://docs.djangoproject.com/en/1.3/intro/tutorial01/
http://docs.djangoproject.com/en/1.3/intro/tutorial02/
http://docs.djangoproject.com/en/1.3/intro/tutorial03/
http://docs.djangoproject.com/en/1.3/intro/tutorial04/