Thread Tools

Alex.Prisoner
Dead Account Holder
0.00
Send a message via MSN to Alex.Prisoner
Alex.Prisoner is offline
 
#1
Old 01-06-2008, 06:59 PM

Okay this is a topic for all the programmers to share there great codes/scripts.

I happen to be a programmer.


Here is a random text script!

Code:
<?PHP
$random = rand(0,5);
$ra[0] = "Hello";
$ra[1] = "Whats up?";
$ra[2] = "How are you?";
$ra[3] = "Whats your name?";
$ra[4] = "How old are you?";
$ra[5] = "What are you up to?";
echo $ra[$random];
?>
For an example of this go Here

iClimax
*^_^*
5571.22
iClimax is offline
 
#2
Old 01-06-2008, 07:01 PM

Aww I wish I knew programming! I've been trying to learn it but there's no sites that are helping very much, I learn a bit of html, but I Don't think that's doing anything. o.o I'd love to stay and chat! But I am not a programmer. T.T

Alex.Prisoner
Dead Account Holder
0.00
Send a message via MSN to Alex.Prisoner
Alex.Prisoner is offline
 
#3
Old 01-06-2008, 07:02 PM

Quote:
Originally Posted by iClimax
Aww I wish I knew programming! I've been trying to learn it but there's no sites that are helping very much, I learn a bit of html, but I Don't think that's doing anything. o.o I'd love to stay and chat! But I am not a programmer. T.T
I learned from
http://www.w3schools.com/php/
And
http://www.php.net/

iClimax
*^_^*
5571.22
iClimax is offline
 
#4
Old 01-06-2008, 07:04 PM

Okay I added those 2 links to my favorites. ^.^ I'll check them out sometimes soon ( I hope) My New Years Resolution was to learn more programming and become a better digital artist. And stop procrastinating so much! So far so good. (Still play a lot of games however T.T)

Alex.Prisoner
Dead Account Holder
0.00
Send a message via MSN to Alex.Prisoner
Alex.Prisoner is offline
 
#5
Old 01-06-2008, 07:08 PM

Quote:
Originally Posted by iClimax
Okay I added those 2 links to my favorites. ^.^ I'll check them out sometimes soon ( I hope) My New Years Resolution was to learn more programming and become a better digital artist. And stop procrastinating so much! So far so good. (Still play a lot of games however T.T)
Have fun :D

iClimax
*^_^*
5571.22
iClimax is offline
 
#6
Old 01-06-2008, 07:09 PM

I will! ^.^ But can you tell me what PHP is for? Like could I open up notepad and type it in and it'd happen? Or what? Like html is for backgrounds and forums mainly. What's PHP's purpose? ^.^

Alex.Prisoner
Dead Account Holder
0.00
Send a message via MSN to Alex.Prisoner
Alex.Prisoner is offline
 
#7
Old 01-06-2008, 07:15 PM

PHP is used for everything!
Without it Menewsha wouldn't run
Its how stuff is loaded from a Database and how text is displayed You have to have a site to put you PHP on I recommend http://byethost.com if your looking into free hosting PHP is a powerful tool I hope you learn how it works.

-Alex.Prisoner

Alex.Prisoner
Dead Account Holder
0.00
Send a message via MSN to Alex.Prisoner
Alex.Prisoner is offline
 
#8
Old 01-06-2008, 07:15 PM

I got this from W3Schools.

Quote:

PHP is a powerful server-side scripting language for creating dynamic and interactive websites.

PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP. PHP is perfectly suited for Web development and can be embedded directly into the HTML code.

The PHP syntax is very similar to Perl and C. PHP is often used together with Apache (web server) on various operating systems. It also supports ISAPI and can be used with Microsoft's IIS on Windows.

iClimax
*^_^*
5571.22
iClimax is offline
 
#9
Old 01-06-2008, 07:23 PM

Alright I see, thanks a ton (sorry so long on replies I was buying something. ^.^) And I'm looking around for someone to help me with this new art program I got, so far I think she logged off o.o

Alex.Prisoner
Dead Account Holder
0.00
Send a message via MSN to Alex.Prisoner
Alex.Prisoner is offline
 
#10
Old 01-08-2008, 03:34 AM

Anyone else want to talk about PHP?

Alice Elliot
*^_^*
174.26
Alice Elliot is offline
 
#11
Old 01-13-2008, 04:53 PM

I have the vaguest idea about PHP, so I'd like to thank you for sharing those links. :)

Degnne
Child of Atom
1405.28
Degnne is offline
 
#12
Old 01-13-2008, 07:38 PM

PHP is great. I hate it when I have to code a site without it.

 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

 
Forum Jump

no new posts