All that is necessary for evil to succeed is that good people do nothing! Support Act for America

php - Anarchist Cookbook
Anarchist Cookbook  

Go Back   Anarchist Cookbook > Anarchist Cookbook > Hacking > Programming
Connect with Facebook

Programming Got code?

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old May 6th, 2009   #1
Palmer
Senior Member
Points: 4,554, Level: 28
Points: 4,554, Level: 28 Points: 4,554, Level: 28 Points: 4,554, Level: 28
Activity: 30%
Activity: 30% Activity: 30% Activity: 30%
 
Palmer's Avatar
 

Last Online: 11 Hours Ago 10:38 AM
Join Date: Feb 2009
Location: Florida
Posts: 1,366
Cash Credits: 17,170
Palmer RSS Feed
Send a message via AIM to Palmer Send a message via MSN to Palmer Send a message via Yahoo to Palmer Send a message via Skype™ to Palmer
php

So many batch threads... It's getting really old.
There isn't really any PHP threads so here is what I came up with in hope that it will spark up something kind of new.

Post any PHP based programs, web-pages, or whatever else in PHP.


I start with this terribly basic page just for the sake of starting.
I was pretty much just being dumb when I did this.
This was my very first PHP based code and was also created in less than 10 minutes out of boredom so it's expected to be lame and basic.

It used to be uploaded and saved to a remote host so you could view it as a regular webpage link, but I deleted it from there so you will have to view attachments and download it to use it.

pg. 1
http://pastie.org/470668

pg. 2
http://pastie.org/470673

EDIT*
Uploaded it in tarball instead.
http://www.mediafire.com/download.php?1y0dmmk1tgz

Anyways- hope to see more code here.
__________________
"Mein Ehre heißt Treue."
www.aftershockforums.com

Last edited by Palmer; June 5th, 2009 at 06:13 PM.. Reason: Tarball
Palmer is offline  
Old June 5th, 2009   #2
Palmer
Senior Member
Points: 4,554, Level: 28
Points: 4,554, Level: 28 Points: 4,554, Level: 28 Points: 4,554, Level: 28
Activity: 30%
Activity: 30% Activity: 30% Activity: 30%
 
Palmer's Avatar
 

Last Online: 11 Hours Ago 10:38 AM
Join Date: Feb 2009
Location: Florida
Posts: 1,366
Cash Credits: 17,170
Palmer RSS Feed
Send a message via AIM to Palmer Send a message via MSN to Palmer Send a message via Yahoo to Palmer Send a message via Skype™ to Palmer
BUMP
Nobody has ANYTHING other than faggot ass batch files?
Someone has to have something PHP based.
__________________
"Mein Ehre heißt Treue."
www.aftershockforums.com

Last edited by Palmer; June 5th, 2009 at 06:17 PM..
Palmer is offline  
Old June 6th, 2009   #3
Lanimal
Junior Member
Points: 4, Level: 1
Points: 4, Level: 1 Points: 4, Level: 1 Points: 4, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 

Last Online: June 11th, 2009 11:41 AM
Join Date: Jun 2009
Posts: 2
Cash Credits: 240
Lanimal RSS Feed
Can't really understand what you want to get done by php. What these scripts you posted may be used for? Defaced page?
__________________
Get ready for payday.
Lanimal is offline  
Old June 6th, 2009   #4
Palmer
Senior Member
Points: 4,554, Level: 28
Points: 4,554, Level: 28 Points: 4,554, Level: 28 Points: 4,554, Level: 28
Activity: 30%
Activity: 30% Activity: 30% Activity: 30%
 
Palmer's Avatar
 

Last Online: 11 Hours Ago 10:38 AM
Join Date: Feb 2009
Location: Florida
Posts: 1,366
Cash Credits: 17,170
Palmer RSS Feed
Send a message via AIM to Palmer Send a message via MSN to Palmer Send a message via Yahoo to Palmer Send a message via Skype™ to Palmer
Quote:
Originally Posted by Lanimal View Post
Can't really understand what you want to get done by php. What these scripts you posted may be used for? Defaced page?
What do you mean? I'm just looking for anyone to post anything from their PHP collection, just to get away from all of the batch files and finally have something in this section... and just for shits-and-giggles, of course.
Mine was just an initial post, a very basic webpage to get it started, hoping that people would post other things they made (anything, not just webpage) in PHP.
__________________
"Mein Ehre heißt Treue."
www.aftershockforums.com

Last edited by Palmer; June 6th, 2009 at 10:39 PM..
Palmer is offline  
Old June 11th, 2009   #5
krestean
Junior Member
Points: 2, Level: 1
Points: 2, Level: 1 Points: 2, Level: 1 Points: 2, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 

Last Online: July 10th, 2009 06:30 PM
Join Date: Jun 2009
Posts: 1
Cash Credits: 231
krestean RSS Feed
really easy dynamic scripting in php:
__________________________________________________ _________________

<?php

// check if the page ?page variabel is set, and set the $page variable to be the one from the url
if ( isset($_GET["page"]) && $_GET["page"] != "") $page = $_GET["page"];

// if its not, the page is home
else $page = "home";

if ($page == "home") {

echo "text to display on the 'home' page";

}
elseif ($page == "about") {

echo "text to display on the 'about' page";
}
else {
echo "text to display if invalid page, if the page variable don't match any of the above 'pages' ";
}

?>

__________________________________________________ __________

if you want to navigate trough these different "pages" if this file is called index.php,
create links like this:

<a href="index.php?page=home">home</a>
<a href="index.php?page=about">about</a>

Last edited by krestean; June 11th, 2009 at 06:38 PM..
krestean is offline  
Old June 16th, 2009   #6
DoG MikkyW
Senior Member
Points: 4,347, Level: 27
Points: 4,347, Level: 27 Points: 4,347, Level: 27 Points: 4,347, Level: 27
Activity: 3%
Activity: 3% Activity: 3% Activity: 3%
 
DoG MikkyW's Avatar
 

Last Online: 2 Days Ago 02:53 PM
Join Date: Mar 2008
Location: Florida
Age: 21
Posts: 1,228
Cash Credits: 18,022
DoG MikkyW RSS Feed
Send a message via ICQ to DoG MikkyW Send a message via AIM to DoG MikkyW Send a message via MSN to DoG MikkyW Send a message via Yahoo to DoG MikkyW
Well, I've always wanted to learn PHP, I learn quickly, I'd just like to have someone to teach me.
DoG MikkyW is offline  
Old June 16th, 2009   #7
Palmer
Senior Member
Points: 4,554, Level: 28
Points: 4,554, Level: 28 Points: 4,554, Level: 28 Points: 4,554, Level: 28
Activity: 30%
Activity: 30% Activity: 30% Activity: 30%
 
Palmer's Avatar
 

Last Online: 11 Hours Ago 10:38 AM
Join Date: Feb 2009
Location: Florida
Posts: 1,366
Cash Credits: 17,170
Palmer RSS Feed
Send a message via AIM to Palmer Send a message via MSN to Palmer Send a message via Yahoo to Palmer Send a message via Skype™ to Palmer
How old are you? just take classes for it. lol =p
I am learning it too, but I am teaching myself (which is a slower way to learn when it comes to languages)
__________________
"Mein Ehre heißt Treue."
www.aftershockforums.com
Palmer is offline  
Old June 18th, 2009   #8
DoG MikkyW
Senior Member
Points: 4,347, Level: 27
Points: 4,347, Level: 27 Points: 4,347, Level: 27 Points: 4,347, Level: 27
Activity: 3%
Activity: 3% Activity: 3% Activity: 3%
 
DoG MikkyW's Avatar
 

Last Online: 2 Days Ago 02:53 PM
Join Date: Mar 2008
Location: Florida
Age: 21
Posts: 1,228
Cash Credits: 18,022
DoG MikkyW RSS Feed
Send a message via ICQ to DoG MikkyW Send a message via AIM to DoG MikkyW Send a message via MSN to DoG MikkyW Send a message via Yahoo to DoG MikkyW
I'm 16...
asdf
DoG MikkyW is offline  
Old June 18th, 2009   #9
Xon
Senior Member
Points: 15,961, Level: 54
Points: 15,961, Level: 54 Points: 15,961, Level: 54 Points: 15,961, Level: 54
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Xon's Avatar
 

Last Online: 6 Hours Ago 04:17 PM
Join Date: Nov 2008
Location: In the blackness of my mind
Posts: 5,865
Cash Credits: 53,590
Xon RSS Feed
Send a message via ICQ to Xon Send a message via AIM to Xon Send a message via MSN to Xon Send a message via Yahoo to Xon
classes are to damn slow... get a book and start coding. It isn't that hard especially if you have ever done java or c++
__________________
Another Fucking Fail Thread and thanks for playing
HackServer.org
Xon is offline  
Old June 20th, 2009   #10
Palmer
Senior Member
Points: 4,554, Level: 28
Points: 4,554, Level: 28 Points: 4,554, Level: 28 Points: 4,554, Level: 28
Activity: 30%
Activity: 30% Activity: 30% Activity: 30%
 
Palmer's Avatar
 

Last Online: 11 Hours Ago 10:38 AM
Join Date: Feb 2009
Location: Florida
Posts: 1,366
Cash Credits: 17,170
Palmer RSS Feed
Send a message via AIM to Palmer Send a message via MSN to Palmer Send a message via Yahoo to Palmer Send a message via Skype™ to Palmer
Quote:
Originally Posted by DoG MikkyW View Post
I'm 16...
asdf
Yeah? and? You can take highschool classes as a freshmen and/or sophomore (like I did). I'm only 17.
buuut..............


Quote:
Originally Posted by Xon View Post
classes are to damn slow... get a book and start coding. It isn't that hard especially if you have ever done java or c++
What Xon said is probably a better idea.
__________________
"Mein Ehre heißt Treue."
www.aftershockforums.com

Last edited by Palmer; June 20th, 2009 at 09:01 AM..
Palmer is offline  
Closed Thread

Tags
php


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

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:24 PM.


Powered by Anarchy and vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios