Go Back   Yellowworld Forums > Interests > Technology

Technology Love your technology, just don't *love* your technology.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-04-2004, 05:51 AM
daehee's Avatar
daehee daehee is offline
Yellowworld Minor
 
Joined: May 2003
Location: Northeastern PA
Age: 24
Posts: 43
Rep Power: 0
daehee is on a distinguished road.
Question Igniting the PHP

Where is the best place to begin learning PHP?

I began looking at the manual at PHP.net, but they start to abruptly... I think that it wasn't meant for total beginners. So are there any tutorial sites or good books you recommend?

I am using pmachine as my blogging engine on my site right now... and I feel too restricted because I don't know how to modify any of the php code.
__________________
COREA2K
Gallery
Reply With Quote
  #2  
Old 01-04-2004, 08:40 AM
achtungbaby's Avatar
achtungbaby achtungbaby is offline
Jesus of Suburbia
 
Joined: Aug 2002
Location: Torrance CA
Age: 38
Posts: 8,097
Blog Entries: 1
Rep Power: 1000
achtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond repute
Re: Igniting the PHP

QUOTE:
Originally Posted by daehee
I am using pmachine as my blogging engine on my site right now... and I feel too restricted because I don't know how to modify any of the php code.
It'd probably help to narrow down your focus: what are you trying to modify?
__________________
achtungbaby.net
Reply With Quote
  #3  
Old 01-04-2004, 09:00 AM
daehee's Avatar
daehee daehee is offline
Yellowworld Minor
 
Joined: May 2003
Location: Northeastern PA
Age: 24
Posts: 43
Rep Power: 0
daehee is on a distinguished road.
Re: Igniting the PHP

I'd like to know what all the variables and code language actually means, so I can actually read the code that's going on my site. For example:

if (isset($HTTP_COOKIE_VARS['id']))
{
setcookie("id","",time()-60,"/","","0");
$HTTP_COOKIE_VARS['id'] = 0;
}

if (isset($HTTP_GET_VARS)) {
while(list($var,$val)=each($HTTP_GET_VARS)) {
$$var=$val;
}
}
if (isset($HTTP_POST_VARS)) {
while(list($var,$val)=each($HTTP_POST_VARS)) {
$$var=$val;
}
}
if (isset($HTTP_SERVER_VARS)) {
while(list($var,$val)=each($HTTP_SERVER_VARS)) {
$$var=$val;
}
}

Right now I have to download other people's scripts and use it. The first project I'd like to attempt is to make my own guestbook (or maybe even start with a simple shoutbox).

Obviously you've had a lot of experience with PHP, I'm guessing? Where'd you first start?
__________________
COREA2K
Gallery
Reply With Quote
  #4  
Old 01-04-2004, 09:16 AM
achtungbaby's Avatar
achtungbaby achtungbaby is offline
Jesus of Suburbia
 
Joined: Aug 2002
Location: Torrance CA
Age: 38
Posts: 8,097
Blog Entries: 1
Rep Power: 1000
achtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond repute
Re: Igniting the PHP

QUOTE:
Originally Posted by daehee
I'd like to know what all the variables and code language actually means, so I can actually read the code that's going on my site. For example:

if (isset($HTTP_COOKIE_VARS['id']))
{
setcookie("id","",time()-60,"/","","0");
$HTTP_COOKIE_VARS['id'] = 0;
}

if (isset($HTTP_GET_VARS)) {
while(list($var,$val)=each($HTTP_GET_VARS)) {
$$var=$val;
}
}
if (isset($HTTP_POST_VARS)) {
while(list($var,$val)=each($HTTP_POST_VARS)) {
$$var=$val;
}
}
if (isset($HTTP_SERVER_VARS)) {
while(list($var,$val)=each($HTTP_SERVER_VARS)) {
$$var=$val;
}
}

Right now I have to download other people's scripts and use it. The first project I'd like to attempt is to make my own guestbook.

Obviously you've had a lot of experience with PHP, I'm guessing? Where'd you first start?
I have had a lot of experience fiddling with PHP, unfortunately, I forget most of it, like with practically everything else. However! I can tell you that making a guestbook from scratch would be a complete pain, considering there are plenty of good, open-source (free) PHP scripts available for that. I'd suggest picking up a book on PHP/MySQL, specifically on building content management tools. A good, simple one is Kevin Yank's "Build Your Own Database Driven Website"...you can purchase a copy at sitepoint.com

Oh yeah, re: above...the setcookie function is for creating and setting cookie variables, etc...
__________________
achtungbaby.net
Reply With Quote
  #5  
Old 01-04-2004, 12:30 PM
teaz0r's Avatar
teaz0r teaz0r is offline
Genghis Khunt
 
Joined: Nov 2002
Location: in your pants
Age: 78
Posts: 4,035
Rep Power: 38
teaz0r has a reputation beyond reputeteaz0r has a reputation beyond reputeteaz0r has a reputation beyond reputeteaz0r has a reputation beyond reputeteaz0r has a reputation beyond reputeteaz0r has a reputation beyond reputeteaz0r has a reputation beyond reputeteaz0r has a reputation beyond reputeteaz0r has a reputation beyond reputeteaz0r has a reputation beyond reputeteaz0r has a reputation beyond repute
Re: Igniting the PHP

i read kevin yank's book. from sitepoint.
Build Your Own Database Driven Website Using PHP & MySQL
By Kevin Yank
http://www.sitepoint.com/books/phpmysql1/
__________________
i am the fun.
Reply With Quote
  #6  
Old 01-04-2004, 12:32 PM
achtungbaby's Avatar
achtungbaby achtungbaby is offline
Jesus of Suburbia
 
Joined: Aug 2002
Location: Torrance CA
Age: 38
Posts: 8,097
Blog Entries: 1
Rep Power: 1000
achtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond reputeachtungbaby has a reputation beyond repute
Re: Igniting the PHP

QUOTE:
Originally Posted by teaz0r
i read kevin yank's book. from sitepoint.
Build Your Own Database Driven Website Using PHP & MySQL
By Kevin Yank
http://www.sitepoint.com/books/phpmysql1/
For the amount of hype it seems to get, I was frankly expecting a little more. But it's not bad.
__________________
achtungbaby.net
Reply With Quote
Reply

Thread Tools
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 -7. The time now is 06:02 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © 2006 Yellowworld.org