Announcement

GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? WE LIVE INSIDE A DREAM. GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? GOOGLE CHROME IS A BOTNET? NO MORE SPAM
FRIENDLY REMINDER THAT THE FORUMS ARE DEAD AND THAT THE LIFE OF THE PARTY CURRENTLY RESIDES IN #FAIL #EEFORUMSANARCHY #EEFORUMS #hi ON RIZON.

YO RIZON #HI
it's closing time you don't have to go home but you can't stay here

Advertisement

»  » 

#1 2012-03-14 18:25:39

scienceguyz
VIF
Registered: 2012-03-04
Posts: 1,791
Fails: 114

php

I'm starting to do stuff in PHP.

look at this, I made a php script to write it all out!

More to come!

Last edited by scienceguyz (2012-03-15 09:24:28)


No longer part of Fail. Sorry.

Offline

#2 2012-03-14 19:47:46

Ratburntro44
Member
Registered: 2011-10-28
Posts: 3,370
Fails: 100,959

Re: php

Not a super complex script, but... good job. You're learning.


31
SEfX29x.png

Offline

#3 2012-03-14 20:01:31

scienceguyz
VIF
Registered: 2012-03-04
Posts: 1,791
Fails: 114

Re: php

*works on simple shop script*

Last edited by scienceguyz (2012-03-14 20:01:54)


No longer part of Fail. Sorry.

Offline

#4 2012-03-14 21:52:07

Different55
The Beanmaker
Registered: 2011-05-18
Posts: 9,143
Fails: 0

Re: php

Holy crap why so many numbers. Why not 30? 30's a nice number.


Jet fuel can't make dank memes.

Offline

#5 2012-03-15 09:21:57

scienceguyz
VIF
Registered: 2012-03-04
Posts: 1,791
Fails: 114

Re: php

*WORKS FURIOUSLY ON SHOP SCRIPT*

There needs to be a close at the bottom of spoiler.

Last edited by scienceguyz (2012-03-15 09:23:24)


No longer part of Fail. Sorry.

Offline

#6 2012-03-27 20:09:24

scienceguyz
VIF
Registered: 2012-03-04
Posts: 1,791
Fails: 114

Re: php

Le bump

I need to know if you can use variables in php cookies. say that the variable foo=<b>Hello?</b> then the cookie would be <b>Hello?</b> and if the browser retrieved it it would look like Hello?


No longer part of Fail. Sorry.

Offline

#7 2012-03-27 22:12:29

Ratburntro44
Member
Registered: 2011-10-28
Posts: 3,370
Fails: 100,959

Re: php

...what are you trying to do?


31
SEfX29x.png

Offline

#8 2012-03-28 16:02:03

scienceguyz
VIF
Registered: 2012-03-04
Posts: 1,791
Fails: 114

Re: php

lolno. itasecret.


No longer part of Fail. Sorry.

Offline

#9 2012-03-28 17:22:11

Ratburntro44
Member
Registered: 2011-10-28
Posts: 3,370
Fails: 100,959

Re: php

How am I supposed to help you do something if I don't know what it is???


31
SEfX29x.png

Offline

#10 2012-03-29 11:59:11

scienceguyz
VIF
Registered: 2012-03-04
Posts: 1,791
Fails: 114

Re: php

Ive explained it enough! Never mind, I wanted to make a little notepad, but I could make that better with SQL. So never mind.

I also need a javascript that will set a cookie. and retrieve a cookie. if the cookie does not exist then it has to make a box with some html (thatasecret too). If it does exist it does nothing.


No longer part of Fail. Sorry.

Offline

#11 2012-03-29 22:51:37

Ratburntro44
Member
Registered: 2011-10-28
Posts: 3,370
Fails: 100,959

Re: php

No, you barely explained it at all.


31
SEfX29x.png

Offline

#12 2012-03-30 09:24:02

scienceguyz
VIF
Registered: 2012-03-04
Posts: 1,791
Fails: 114

Re: php

OK, so I'm improving the register/login system on my forum. If someone has not registered, they can see a box that takes them to my epik register/login system. but if they have registered, they can use a link in my register/login system that sets a cookie to never show the box again.


No longer part of Fail. Sorry.

Offline

#13 2012-03-30 15:09:06

Different55
The Beanmaker
Registered: 2011-05-18
Posts: 9,143
Fails: 0

Re: php

if ($_COOKIE['cookie']) {
   echo "Welcome back!";
}
else {
   echo "<div class="box">THIS IS A BOX</div>";
}


Jet fuel can't make dank memes.

Offline

#14 2012-04-04 10:32:26

scienceguyz
VIF
Registered: 2012-03-04
Posts: 1,791
Fails: 114

Re: php

^Great. but that is php? I need this for my forum.
*has idea*
IFRAMES! I can put that into totalr.tk and use iframes to put it onto my forum.


No longer part of Fail. Sorry.

Offline

#15 2012-04-04 14:08:38

Different55
The Beanmaker
Registered: 2011-05-18
Posts: 9,143
Fails: 0

Re: php

yes, it would work but first you would need to set a cookie on the register page.


Jet fuel can't make dank memes.

Offline

#16 2012-04-05 11:28:13

scienceguyz
VIF
Registered: 2012-03-04
Posts: 1,791
Fails: 114

Re: php

No. I put a cookie on the rulez that then take you to the register page.
OIC, they might go to the rules click out...Anyway, look at dis:
http://totalrandomness.co.cc/chat/source/index.php
it basically installed itself. Now for some features.

Last edited by scienceguyz (2012-04-05 12:09:34)


No longer part of Fail. Sorry.

Offline

#17 2012-04-05 15:51:39

Different55
The Beanmaker
Registered: 2011-05-18
Posts: 9,143
Fails: 0

Re: php

aaaww, dats smart.


Jet fuel can't make dank memes.

Offline

#18 2012-04-05 16:48:47

scienceguyz
VIF
Registered: 2012-03-04
Posts: 1,791
Fails: 114

Re: php

*makes topic*
I think that If I add stuff it will be worth a topic.


No longer part of Fail. Sorry.

Offline

Board footer

Jump to

We use Fail. Fail uses FluxBB

[ Generated in 0.016 seconds, 49 queries executed - Memory usage: 594.1 KiB (Peak: 617.77 KiB) ]