PDA

View Full Version : Homework [CODEING]



JK
23-03-2007, 07:29 PM
ICT Homework.
Find as many HTML or PHP Codes as posible. For eg. a right click protection code.

K So thats my homework, i got quite a few so far. im looking for one like HabboHotelFM.Com were you cant select anything. Please help. +REP if you can

Blob
23-03-2007, 07:36 PM
PHP Codes:

<?php
/* This isnt created by ANYONE of HabboxForum, this is creating by me /*
$text = "hello";
$text = ucfirst($text);
echo $text;
/* See I told you, it isnt make by Dunko of HabboxForum, is made by me /*
?>

It wouldnt show in PHP tags.

Invent
23-03-2007, 07:52 PM
Why do you love ucfirst(); so much? lol.

JK
23-03-2007, 07:57 PM
Why do you love ucfirst(); so much? lol.

LMAO loooool

QuickScriptz
23-03-2007, 08:07 PM
http://www.dynamicdrive.com

Mr.OSH
23-03-2007, 08:19 PM
Have a look at some stuff on www.hotscripts.com (http://www.hotscripts.com) and pull some code of the free stuff on them. :)

Also Yey! 600th Post! :P *changes signiture...*

Luckyrare
23-03-2007, 08:19 PM
PHP for homework? What schools this?

php.net at you will find them all ;)

Heres a few


addcslashes (http://uk2.php.net/manual/en/function.addcslashes.php)
addslashes (http://uk2.php.net/manual/en/function.addslashes.php)
bin2hex (http://uk2.php.net/manual/en/function.bin2hex.php)
chop (http://uk2.php.net/manual/en/function.chop.php)
chr (http://uk2.php.net/manual/en/function.chr.php)
chunk_ split (http://uk2.php.net/manual/en/function.chunk-split.php)
convert_ cyr_ string (http://uk2.php.net/manual/en/function.convert-cyr-string.php)
convert_ uudecode (http://uk2.php.net/manual/en/function.convert-uudecode.php)
convert_ uuencode (http://uk2.php.net/manual/en/function.convert-uuencode.php)
count_ chars (http://uk2.php.net/manual/en/function.count-chars.php)
crc32 (http://uk2.php.net/manual/en/function.crc32.php)
crypt (http://uk2.php.net/manual/en/function.crypt.php)
echo (http://uk2.php.net/manual/en/function.echo.php)
explode (http://uk2.php.net/manual/en/function.explode.php)
fprintf (http://uk2.php.net/manual/en/function.fprintf.php)
get_ html_ translation_ table (http://uk2.php.net/manual/en/function.get-html-translation-table.php)
hebrev (http://uk2.php.net/manual/en/function.hebrev.php)
hebrevc (http://uk2.php.net/manual/en/function.hebrevc.php)
html_ entity_ decode (http://uk2.php.net/manual/en/function.html-entity-decode.php)
htmlentities (http://uk2.php.net/manual/en/function.htmlentities.php)
htmlspecialchars_ decode (http://uk2.php.net/manual/en/function.htmlspecialchars-decode.php)
htmlspecialchars (http://uk2.php.net/manual/en/function.htmlspecialchars.php)
implode (http://uk2.php.net/manual/en/function.implode.php)
join (http://uk2.php.net/manual/en/function.join.php)
levenshtein (http://uk2.php.net/manual/en/function.levenshtein.php)
localeconv (http://uk2.php.net/manual/en/function.localeconv.php)
ltrim (http://uk2.php.net/manual/en/function.ltrim.php)
md5_ file (http://uk2.php.net/manual/en/function.md5-file.php)
md5 (http://uk2.php.net/manual/en/function.md5.php)
metaphone (http://uk2.php.net/manual/en/function.metaphone.php)
money_ format (http://uk2.php.net/manual/en/function.money-format.php)
nl_ langinfo (http://uk2.php.net/manual/en/function.nl-langinfo.php)
nl2br (http://uk2.php.net/manual/en/function.nl2br.php)
number_ format (http://uk2.php.net/manual/en/function.number-format.php)
ord (http://uk2.php.net/manual/en/function.ord.php)
parse_ str (http://uk2.php.net/manual/en/function.parse-str.php)
print (http://uk2.php.net/manual/en/function.print.php)
printf (http://uk2.php.net/manual/en/function.printf.php)
quoted_ printable_ decode (http://uk2.php.net/manual/en/function.quoted-printable-decode.php)
quotemeta (http://uk2.php.net/manual/en/function.quotemeta.php)
rtrim (http://uk2.php.net/manual/en/function.rtrim.php)
setlocale (http://uk2.php.net/manual/en/function.setlocale.php)
sha1_ file (http://uk2.php.net/manual/en/function.sha1-file.php)
sha1 (http://uk2.php.net/manual/en/function.sha1.php)
similar_ text (http://uk2.php.net/manual/en/function.similar-text.php)
soundex (http://uk2.php.net/manual/en/function.soundex.php)
sprintf (http://uk2.php.net/manual/en/function.sprintf.php)
sscanf (http://uk2.php.net/manual/en/function.sscanf.php)
str_ getcsv (http://uk2.php.net/manual/en/function.str-getcsv.php)
str_ ireplace (http://uk2.php.net/manual/en/function.str-ireplace.php)
str_ pad (http://uk2.php.net/manual/en/function.str-pad.php)
str_ repeat (http://uk2.php.net/manual/en/function.str-repeat.php)
str_ replace (http://uk2.php.net/manual/en/function.str-replace.php)
str_ rot13 (http://uk2.php.net/manual/en/function.str-rot13.php)
str_ shuffle (http://uk2.php.net/manual/en/function.str-shuffle.php)
str_ split (http://uk2.php.net/manual/en/function.str-split.php)
str_ word_ count (http://uk2.php.net/manual/en/function.str-word-count.php)
strcasecmp (http://uk2.php.net/manual/en/function.strcasecmp.php)
strchr (http://uk2.php.net/manual/en/function.strchr.php)
strcmp (http://uk2.php.net/manual/en/function.strcmp.php)
strcoll (http://uk2.php.net/manual/en/function.strcoll.php)
strcspn (http://uk2.php.net/manual/en/function.strcspn.php)
strip_ tags (http://uk2.php.net/manual/en/function.strip-tags.php)
stripcslashes (http://uk2.php.net/manual/en/function.stripcslashes.php)
stripos (http://uk2.php.net/manual/en/function.stripos.php)
stripslashes (http://uk2.php.net/manual/en/function.stripslashes.php)
stristr (http://uk2.php.net/manual/en/function.stristr.php)
strlen (http://uk2.php.net/manual/en/function.strlen.php)
strnatcasecmp (http://uk2.php.net/manual/en/function.strnatcasecmp.php)
strnatcmp (http://uk2.php.net/manual/en/function.strnatcmp.php)
strncasecmp (http://uk2.php.net/manual/en/function.strncasecmp.php)
strncmp (http://uk2.php.net/manual/en/function.strncmp.php)
strpbrk (http://uk2.php.net/manual/en/function.strpbrk.php)
strpos (http://uk2.php.net/manual/en/function.strpos.php)
strrchr (http://uk2.php.net/manual/en/function.strrchr.php)
strrev (http://uk2.php.net/manual/en/function.strrev.php)
strripos (http://uk2.php.net/manual/en/function.strripos.php)
strrpos (http://uk2.php.net/manual/en/function.strrpos.php)
strspn (http://uk2.php.net/manual/en/function.strspn.php)
strstr (http://uk2.php.net/manual/en/function.strstr.php)
strtok (http://uk2.php.net/manual/en/function.strtok.php)
strtolower (http://uk2.php.net/manual/en/function.strtolower.php)
strtoupper (http://uk2.php.net/manual/en/function.strtoupper.php)
strtr (http://uk2.php.net/manual/en/function.strtr.php)
substr_ compare (http://uk2.php.net/manual/en/function.substr-compare.php)
substr_ count (http://uk2.php.net/manual/en/function.substr-count.php)
substr_ replace (http://uk2.php.net/manual/en/function.substr-replace.php)
substr (http://uk2.php.net/manual/en/function.substr.php)
trim (http://uk2.php.net/manual/en/function.trim.php)
ucfirst (http://uk2.php.net/manual/en/function.ucfirst.php)
ucwords (http://uk2.php.net/manual/en/function.ucwords.php)
vfprintf (http://uk2.php.net/manual/en/function.vfprintf.php)
vprintf (http://uk2.php.net/manual/en/function.vprintf.php)
vsprintf (http://uk2.php.net/manual/en/function.vsprintf.php)
wordwrap (http://uk2.php.net/manual/en/function.wordwrap.php)

Invent
23-03-2007, 08:23 PM
PHP for homework? What schools this?

In my school you are lucky enough to find a teacher who knows what it is ;\

My old ICT teacher said why am I coding it as its a University subject o-o

Luckyrare
23-03-2007, 08:28 PM
In my school you are lucky enough to find a teacher who knows what it is ;\

My old ICT teacher said why am I coding it as its a University subject o-o

Yes my old ICT teacher asked what I could code and I said PHP ect, he said he knew what it was but wanted me to "recap" him on it :rolleyes:

JK
23-03-2007, 08:35 PM
We gotta do HTML But if i do some PHP I Could get higher marks

F32
23-03-2007, 08:49 PM
What year are you in?

Internet
23-03-2007, 08:50 PM
What year are you in?

I'd say year 8 or 9, as they're 13.

F32
23-03-2007, 08:51 PM
I'm in year 11 and we're not supposed to know any form of coding.

Jazza
23-03-2007, 09:01 PM
I'm in year 11 and we're not supposed to know any form of coding.

Why is that? What business is it of theirs anyway?

Homosexual
23-03-2007, 09:09 PM
I'm in year 7 and know coding. We're not supposed to either.

F32
23-03-2007, 09:12 PM
Why is that? What business is it of theirs anyway?
Curiosity :rolleyes:

We're not going to stalk him by knowing what year he's in - I mean, that limits it to around 3million people.

timROGERS
23-03-2007, 09:22 PM
If only my school even did a thing about HTML :( The closest I got was when we had to make a sports site in IT, and I ended up coding it all on my own :P

Mentor
23-03-2007, 09:27 PM
Technicaly isnt there pretty much infite amounts of codes to do anything o.0

JK
23-03-2007, 11:16 PM
What year are you in?

im in year 8. My school is a specialist ICT school

Rockstar
24-03-2007, 03:37 PM
Yes my old ICT teacher asked what I could code and I said PHP ect, he said he knew what it was but wanted me to "recap" him on it :rolleyes:

I loled "irl" :P ye my ICT teacher says I shouldent know coding but is always helpfull for some of the things that we do

Mentor
24-03-2007, 04:07 PM
Whys everyone so suprised ICT teachers dont know how to code? there not supposed to ICT is the level of computing aimed to Secutarys and the like. it focus on idiot level how to use simple mainstream applications, word, excel, access etc?

You need to take somthing like computing / computer science if you actualy wanted to gain any real computer based knowlage... That or just learn yourself.

F32
24-03-2007, 04:09 PM
Whys everyone so suprised ICT teachers dont know how to code? there not supposed to ICT is the level of computing aimed to Secutarys and the like. it focus on idiot level how to use simple mainstream applications, word, excel, access etc?

You need to take somthing like computing / computer science if you actualy wanted to gain any real computer based knowlage... That or just learn yourself.
They should know the basis of some coding though.

Most ICT teachers teach into A-level and in A-level you have to learn some html and some js.

Mentor
24-03-2007, 04:14 PM
They should know the basis of some coding though.

Most ICT teachers teach into A-level and in A-level you have to learn some html and some js.

Not really, the closest it really gets is opening adobe dreamweaver drawing a square that makes dreamwaver generate a little html/js o.0
ICT - Information and Communication Technology
As the name suggests is a secutary type qualification, useless imo, because unless your stupid or have never owned a computer, you should be able to use word etc anyway.

F32
24-03-2007, 04:16 PM
I was "studying" the syllabus for AS2 ICT and it stated that they was to learn HTML & JS to create their own "effects" and implement them onto a web page.

This has to be thought by the teachers and therefore they should already know at least something about coding and what it is.

PHP is different as that's higher, specialised stuff.

Want to hide these adverts? Register an account for free!