0% found this document useful (0 votes)
33 views1 page

2/4/2011 Assignment - I: WWW - Phpnet.us

Uploaded by

Mohit Garg
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views1 page

2/4/2011 Assignment - I: WWW - Phpnet.us

Uploaded by

Mohit Garg
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

2/4/2011

Assignment - I

Q:1
Based on the knowledge you gained in the class create an account on
www.phpnet.us
It’s a website where you can create your free account(of type
yourname.phpnet.us) to execute your php scripts. Sign up for a free account
and all the details(including the ftp account) will be mailed to you by this
website itself. Create your scripts in phpdesigner 7 and upload them to your
account. Execute the following script on your newly created account.
<?php

/**
* @author MohitGarg
* @copyright 2011
*/
$a="mohit";
$b=1;
$c=1.5;
$d=array($a,$b,$c);
for($i=0;$i<count($d);$i++)
echo "<BR>".gettype($d[$i]);
?>

Q:2
Is php interpreted or compiled? What is the difference between two?

Q:3 Download wordpress from wordpress.com and install it on the account


you just created in question 1. Download the following link.
http://wordpress.org/latest.zip.Unzip it and upload the unzipped folder on
your account and enjoy your first blog running and write some new posts.

Q: 4 Read the php.ini file using phpinfo() function and write it down the
following constants from it and explain their significance.

SMTP
CURL
Gzip

Q:5 Issue netstat command from command prompt and note down all the
ports and socket connection you see ther.Therafter download tcpmon utility
and execute it and check whether you get the same output.

You might also like