473,386 Members | 1,715 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,386 software developers and data experts.

Connecting a Moodle Page

65
Hi friends,
Can anyone tell me the way to connect a Moodle page with our PHP page?
That is I need the questionnaire option which already available in Moodle.
If I want to connect it with my php script what i hav to do???
Plz..... Help me out..........

Thanx n Regards
Yas
Feb 21 '08 #1
3 3682
harshmaul
490 Expert 256MB
Hi Yas,
What does your PHP code do exactly.

The easiest way to connect anything to PHP, is by using query strings.

So you can build up a query string based on information you have available in page and pass that on to the next page.

And also how much control do you have over moodle? are you able to print out anchor tags?
Feb 21 '08 #2
yasmine
65
Hi Yas,
What does your PHP code do exactly.

The easiest way to connect anything to PHP, is by using query strings.

So you can build up a query string based on information you have available in page and pass that on to the next page.

And also how much control do you have over moodle? are you able to print out anchor tags?

Hi harshmaul,

I'm going to use questionnaire and feedback modules of moodle.
I can't understand your answer properly.
Could you please explain it some more in detail....???

For example, if i'm going to create a login page, then how can I connect that page with the moodle's login page?

Plz.... Help me out....

Thanx n Regards
Yas.
Feb 22 '08 #3
harshmaul
490 Expert 256MB
hi,
I was playing about with it, and if you want a page that logs you in to moodle accross different applications.... use this html

This will allow login as guest...

Expand|Select|Wrap|Line Numbers
  1.         <form action="http://mymoodleserver/index.php" method="post" id="guestlogin">
  2.           <div class="guestform">
  3.             <input type="hidden" name="username" value="guest" />
  4.             <input type="hidden" name="password" value="guest" />
  5.             <input type="hidden" name="testcookies" value="1" />
  6.             <input type="submit" value="Login as a guest" />
  7.           </div>
  8.         </form>
  9.  
Feb 22 '08 #4

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

Similar topics

4
by: Sacha Korell | last post by:
First of all, sorry for cross-posting, but this newsgroup is much busier than "aspnet.mobile". I'm trying to create a portal page that redirects depending on the device that is connecting. ...
1
by: Jim Bayers | last post by:
Our network nazi doesn't want us running a webserver on the server that has a connection to the campus database so we created a remote object that runs as a windows service. The windows service...
1
by: jdfultonii | last post by:
I have a client that is changing hosts. We have a Windows 2003 server running the latest MySQL version and PHP Version 5.1.6. The problem is I cannot seem to get the site to connect to the...
6
by: xeqister | last post by:
Greetings, We are having a situation here whereby one of our staff created a very huge 32K buffer pool in a production database and caused the database to go down. When we try to reconnect to the...
4
by: jonniethecodeprince | last post by:
Greetings all. I have a problem with PERL and SQL Server. I need to upload a database query to a web page using PERL and SQL Server. I have tried to do this myself but nothing displays on the...
0
by: radhikamrudhu | last post by:
hi friends, i am trying for single signon for moodle and asp.net application .Both are using different databases i.e for moodle we are using mysql database and for our asp.net...
0
by: aboutjav.com | last post by:
Hi, I need some help. I am getting this error after I complete the asp.net register control and click on the continue button. It crashed when it tries to get it calls this Profile property ...
3
by: uziben | last post by:
How do you manage Moodle Database outside Moodle CMS?
4
by: buzz2050 | last post by:
Hi all, I am working on a Moodle project, I have downloaded and installed the latest build(1.9); me using this framework for the first time so presently trying to get familiar with the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.