Comedy Hometown - Watch Comedy Hometown's Latest Video!

Welcome to Havenworld's Gaming, Computing and Programming Forums!

Unlock extra board access and remove this notice by registering for free below:
Choose username: Email:
Choose password: Antibot:
Type the letters shown in the picture to the left:
Verify password:

Pages: [1]   Go Down
  Print  
Author Topic: Run a script from a Web page  (Read 1106 times)
Aj
Gold Member
****

Reputation: 2
Offline Offline

Posts: 162



WWW
« on: July 17, 2008, 10:34:49 pm »


Create a new Web page with this code:

Code: [Select]
<html>
<head>
<title>Run your PHP scripts</title>
</head>
<body>

Click on <a href="http://www.yourwebsite.com/phpscripts/simple.php">this link</a> to run your first PHP script.

</body>
</html>

# Save the Web page as phplinks.html in the PHPSCRIPTS folder on your computer.
# Upload phplinks.html into the home directory of your Web site.

TIP: Don’t upload phplinks.html into the /phpscripts directory on the Web server.

Put it in the home directory of your Web site on that server, where the home page—index.html—resides.

Open a Web browser and go to:

www.yourwebsite.com/phplinks.html





# Click the link.


The output should look like this:





Akl
Getting started
*

Reputation: 0
Offline Offline

Posts: 7


« Reply #1 on: July 17, 2008, 10:59:16 pm »

we were taught this in grade 5 in our computer classes.
However, it was much neater in HTML format too.
Starry
Global Moderator 2008' XD
Elite Silver Member
*****

Reputation: 3
Offline Offline

Posts: 137


Ex-Legend. #3 registered.


« Reply #2 on: July 17, 2008, 11:01:18 pm »

Most people probally already know this, but its a good tut with pics, so rep++
IPkPure
Two leaves
**

Reputation: 4
Offline Offline

Posts: 24


« Reply #3 on: July 17, 2008, 11:05:13 pm »

cool tut i haven't learned php at all yet and im still learning html but cool
Roger
Ex-Staff
Havenworld Guru
***

Reputation: 108
Offline Offline

Posts: 766



« Reply #4 on: July 17, 2008, 11:12:01 pm »

we were taught this in grade 5 in our computer classes.
However, it was much neater in HTML format too.

I never learned HTML since grade 7.
You guys were lucky lol.
Mod Umair
Senior Member
*****

Reputation: 2
Offline Offline

Posts: 92


« Reply #5 on: December 23, 2008, 12:31:05 am »

Simple tutorial, but I like it.
Matt
Administrator
Havenworld Junkie
*

Reputation: 59
Offline Offline

Posts: 2024


« Reply #6 on: December 23, 2008, 10:14:43 am »

we were taught this in grade 5 in our computer classes.
However, it was much neater in HTML format too.

I never learned HTML since grade 7.
You guys were lucky lol.

I'm in what you'd call grade 11 now, and we haven't touched HTML.
legend1234
Gold Member
****

Reputation: 2
Offline Offline

Posts: 161



WWW
« Reply #7 on: December 23, 2008, 12:40:23 pm »

we were taught this in grade 5 in our computer classes.
However, it was much neater in HTML format too.

I never learned HTML since grade 7.
You guys were lucky lol.

I'm in what you'd call grade 11 now, and we haven't touched HTML.

wat the hell is a computer anyways ?
Pages: [1]   Go Up
  Print  
 
 

Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC | Havenworld © 2006 - 2009 Havenworld Plc | The Peoples World
Page created in 0.147 seconds.