looking for study partner/s to learn PHP!

Yo Greyhat I am totally new to this but I would really like to be a part of this. What do I need to do?
Just join in. We will help you. You will have to do a bit of groundwork before the book though. I would start here: PHP Tutorial
I mean, really you should know a bit about javascript (JavaScript Tutorial) so you have an idea of how programming works. But its up to you. It may take a while to get your head round it. Dont worry about webspace/hosting for now just do a bit of reading and see if you understand it and we will sort that if you need it.
If you don't know HTML then you won't be able to do much, you will have to do that first. HTML Tutorial
Let me know what you think.
Good luck!!
 


*Boobs for getting to page 3!!!!!!!!
2450-10-01.jpg
 
Im working through the lynda tutorials still, getting ready to build a cms soon with the tutorials. Once Im done I plan to try and work thru the book by doing the tests. I have an idea for a site I want to build, well see if php can get me there :)
 
Im working through the lynda tutorials still, getting ready to build a cms soon with the tutorials. Once Im done I plan to try and work thru the book by doing the tests. I have an idea for a site I want to build, well see if php can get me there :)
OK good for u. It would be nice to see wome of ur work!
 
Just join in. We will help you. You will have to do a bit of groundwork before the book though. I would start here: PHP Tutorial
I mean, really you should know a bit about javascript (JavaScript Tutorial) so you have an idea of how programming works. But its up to you. It may take a while to get your head round it. Dont worry about webspace/hosting for now just do a bit of reading and see if you understand it and we will sort that if you need it.
If you don't know HTML then you won't be able to do much, you will have to do that first. HTML Tutorial
Let me know what you think.
Good luck!!

Hey I'm in the same boat, I bought the book and went through the HTML tutorial, working on the java one now.
 
Hi! How are people doing? Soory i've not been about i've just been really busy. I will be continuing when i get a bit of spare time.
:D
 
Any progress from anybody? Sorry for not updating.. i have been stacked out with work for weeks. I will be back on this soon. For now, are there any n00bs out there working on anything at all php/mysql that we can have a look at?
Thnx.
 
Hey guys,

So i finally got around to seriously doing this again and i ran into a little problem. I did a bit of messing around and didn't follow it perfectly. But when i get the email the FROM part is from my server(blabla@bluehost.com). And when i do it on my own lamp box at home it doesn't send a email at all.

Code:
$when_it_happened = $_POST['whenithappened'];
$how_long = $_POST['howlong'];
$alien_description = $_POST['description'];
$fang_spotted = $_POST['fangspotted'];
$email = $_POST['email'];
$name = $_POST['firstname'].''. $_POST['lastname'];
$how_many = $_POST['howmany'];
$what_they_did = $_POST['whattheydid'];
$other = $_POST['other'];

// mailing part
$to = 'myemailisnotreal@gmail.com';
$subject ='alientest';
$msg = "$name blabla  $when_it_happened  nanana $how_long " .
    ".\n . $how_many";

mail($to, $subject, $msg, 'from:' . $email);
any ideas why that is ?
 
*edit i guess it has to do with the servers php mail function config, ill have to do some digging.
 
Hey guys,

So i finally got around to seriously doing this again and i ran into a little problem. I did a bit of messing around and didn't follow it perfectly. But when i get the email the FROM part is from my server(blabla@bluehost.com). And when i do it on my own lamp box at home it doesn't send a email at all.

Code:
$when_it_happened = $_POST['whenithappened'];
$how_long = $_POST['howlong'];
$alien_description = $_POST['description'];
$fang_spotted = $_POST['fangspotted'];
$email = $_POST['email'];
$name = $_POST['firstname'].''. $_POST['lastname'];
$how_many = $_POST['howmany'];
$what_they_did = $_POST['whattheydid'];
$other = $_POST['other'];

// mailing part
$to = 'myemailisnotreal@gmail.com';
$subject ='alientest';
$msg = "$name blabla  $when_it_happened  nanana $how_long " .
    ".\n . $how_many";

mail($to, $subject, $msg, 'from:' . $email);
any ideas why that is ?

testing email from a home server is a bitch, run it off your testing server with a domain
 
Trust me people, if you want to learn PHP this is a MUST READ!!!

https://www.yousendit.com/download/T1VrT0NRaFJWRCt4dnc9PQ (Link expires August 12th)

I know I didn't read any of the previous posts so I don't know if you have any other study material, but you can learn PHP in hours using this little book. It's very easy to follow. Hell, I remember picking up this little gem and coding a file upload script (and a table based index to view all uploaded files in!) all within about three hours. Sure the script was simple, but it was hella exciting when I actually got something that was working.

I never really went very far with PHP. I just didn't have much of a use for it. I made a member login system that would allow only registered members to view certain pages and I also made a picture upload box and email form, but other than that I didn't really do much else. Most of my clients are the simple type, so I'm really rusty with PHP now. But I know if I pick this thing up again that I'll be coding like a pro in no time. :D
 
testing email from a home server is a bitch, run it off your testing server with a domain

Yes, if you are using a local host with windows you have to configure the sendmail function. Do you need some webspace?
 
When i send it from home nothing happens.

When i send it from my web server the "from" part is the servers email. (.....@bluehost.com) not the email i put in when i fill the form.

So i'm guessing even the web server isn't configured right to pass on the $email variable.

I could try one of my other web servers i guess.
 
When i send it from home nothing happens.

When i send it from my web server the "from" part is the servers email. (.....@bluehost.com) not the email i put in when i fill the form.

So i'm guessing even the web server isn't configured right to pass on the $email variable.

I could try one of my other web servers i guess.

so you want the email to come from an address you enter into the form? Generally, you'll set things up to send from the domain the script is hosted on, and it will fall back to the host domain if that isn't setup. Otherwise, if it were that easy to send messages from someone's email address, I'd be spoofing shit all day
 
so you want the email to come from an address you enter into the form? Generally, you'll set things up to send from the domain the script is hosted on, and it will fall back to the host domain if that isn't setup. Otherwise, if it were that easy to send messages from someone's email address, I'd be spoofing shit all day

Yeah, thanks for clearing it up. I think i will leave it alone. I just wanted to make sure i didn't get something wrong in the code. The book had it set up that way and even showed example emails that had the from input as the sender.
 
lol im still here. Last i was doing the elvis thing. But messing more with wordpress right now so i put it on temp hold.