- Impact
- 328
PHP:
<?php
echo 'I am a PHP n00b';
echo '<br />';
echo 'This is all in fun';
echo '<br />';
echo 'Dont get your panties in a bunch';
?>
:lol: w00t
My second ever script :p


<?php
echo 'I am a PHP n00b';
echo '<br />';
echo 'This is all in fun';
echo '<br />';
echo 'Dont get your panties in a bunch';
?>
print("Hello, World!");
Well, I got started in PHP, as most of the scripts I found...had errors. And I ended up having to fix the original coder's code. :tri:PoorDoggie said:what was your first one?
my first one was:
PHP:print("Hello, World!");
<?php
echo "Browser: " . $_SERVER["HTTP_USER_AGENT"] . "<br />";
echo "Your IP is: " . $_SERVER["REMOTE_ADDR"];
?>
<br />
<script type='text/javascript'>
w = screen.width;
h = screen.height;
document.write('The resolution is: ', w, '×', h + "<br>");
document.write("Color Depth: ")
document.write(window.screen.colorDepth + "<br>")
</script>
same as me!Designporte said:My first one was the usual 'Hello World!' program.![]()
PoorDoggie said:same as me!
i used "print" for my first program, and then someone told me that print was really bad (?) and told me to use "echo". And thats what I have used from now on!
I hate those hello world programs cause the bore me to death. I know they show thefilth said:what is wrong with it?
it shows people the language in it's most basic form. I take it your first script was some massive project that you instantly knew how to do?




