Learning PHP

Posted by Kaz on Aug. 10, 2006, 6:45 p.m.

So Im learning PHP and eventually will be moving my site. FGFK is designing it and hes teaching me some PHP since he forgot most of it. So does anyone have any good PHP resources I could use? Ive been using php.net so far.

I got my school schedule today.

1, 1st sem-College(Intro to comp logic,lol)

1, 2nd sem-C++ programming

2-Intro to comp(C++)

3-PE

4-Lit+physche

5-Gov

6-Lunch

7,8,9-Forgot

But this is very, very bad.

1.I couldnt fit pre-calc since it was only 1st period.

2.I have 6 study halls. SIX! I hate study hall so Im gonna take more classes and not be bored. Hell I might actually make it to 40 credits once I graduate =P I have Like 30 something now, only needed 25 to graduate.

Im going ot take my driving test the 31st, if I fail Im screwed since school starts the next week.

Yes Im still going to Jersey, still planning it =P

Yea so uhhh give me PHP sites, tips, guides, whatever.

Comments

Firebird 19 years ago
melee-master 19 years ago

Pfft. RTFM!

PHP is pretty awesome. Very easy to learn too.

Kaz 19 years ago

WTF? What manual? *Remembers learning GML*

Thanks firebird.

Kaz 19 years ago

Oh yea why sint this working?

echo ['input type='hidden' name='ip' value="'.$REMOTE_HOST.'"]';

[]=<>

It removes my site =(

FredFredrickson 19 years ago

www.phpfreaks.com

PHP is an excellent thing to learn… but you'll probably want a pretty sound knowledge in HTML first, if you haven't got that already, iof you're planning on making websites with it.

Firebird 19 years ago

Quote:
echo ['input type='hidden' name='ip' value="'.$REMOTE_HOST.'"]';
You ended the echo function with the ''s.

Try (based on your code) -

echo("input type='hidden' name='ip' value=$REMOTE_HOST");

Kaz 19 years ago

Thanks firebird and FF.

melee-master 19 years ago

I'm pretty sure it's $REMOTE_ADDR for an IP, or is it on a per-server basis?

Kaz 19 years ago

Not sure, just going by what Chigger told me.

Firebird 19 years ago

$_SERVER['REMOTE_ADDR']