![]() |
Fucking around with PHP
Looking for a site that has some good resources on learning to program with php. Like socket programming etc.
Thinking about making a custom search engine submission program to run off my server. But first i gotta learn how to use php :1orglaugh |
Look no further. Go to www.php.net They have tutorials and everything.
|
|
|
Quote:
|
|
you might not need to use socket programming. php has nice built in support for simple http requests.
you can also look at cURL (php.net/curl) - very very good stuff there. don't have to program your own socket connection stuff either (which isn't hard itself in PHP also.. heh) |
Online resources are fun, but in the end just get a good php book, Its a lot easier to learn the language that way.
|
Quote:
it just depends how you learn. if you learn by sitting in a corner and reading about it, then maybe books do help you. however, if you learn by doing it (like me), online resources are faster and more accessable, not to mention free. |
Quote:
|
Quote:
i've looked at books before which even show code samples, when i try them, they fail miserably. especially in regards to some of the recent PHP function additions which are changing names often.. |
Quote:
|
PHP Builder (http://www.phpbuilder.com)
WebMonkey (http://hotwired.lycos.com/webmonkey/programming/php/) and of course PHP.net I am always up for helping people out so if you have some questions feel free to contact me on ICQ: 70930467 I would say the most important things in PHP are classes, db abstraction and regular expressions. With these 3 things you can accomplish pretty much anything. Almost forgot check out (http://www.e-gineer.com/) thats a pretty good site too. -AJ |
wow, abunch of really great information, thanks guys!
you can always count on the programmers for resourcefullness :thumbsup |
pr0 hit me up on ICQ.
-AJ |
yeah.. you need books.
|
I've been working on a server side "promotion assistant," but I decided that I would stop short of auto submitting for a variety of reasons.
One being that I've been hired to write scripts that block auto submissions, and I think I would feel a bit hypocritical writing an auto submitter. (Is that the ethical equivalent to selling arms to both sides in a war?) Anyway, i think you will find something like this useful... Http Navigator Good luck. |
that's why people shouldn't use auto submitters, they should use my site. everyone benefits. no one gets annoyed by automatic submission shit :)
|
But what about reciprocle linking
|
In my opinion, anyone wanting to learn PHP needs only the following 4 things...
1. The book PHP fast & easy web development. By Julie C. Meloni out of Prima Publishing. This book will start you from the beginning, and they make it VERY easy to understand. 2. After you know all the basics from the above book then dig into the book Professional PHP Programming from Wronx Press. Lot's of stuff here, so you may want to teach yourself only what you need to know for whatever it is you are doing. Go with the smaller book I mentioned above first though. That is for extreme PHP newbies, and this one I don't think is. 3. Visit PHPBuilder.com's boards with any questions you have. 4. The program PHP Triad (it's free). It'll do a full install of Apache and MySQL in Windows. Support for PHP of course, and CGI. |
Quote:
|
Ok if you want to learn it really fast...read the functions chapter 3 times.....and read chapter 7 of Mysql 3 times...that's basically all
you need to get started...then just start experimenting... get some simple scripts and start modifying...trust me it ain't rocket science......before you know you get the hang of it.. offcourse it will take some time getting good at it.....the hardest part is to make a good plan....a design for the stuff you build. one can build 1 script in 100 different ways....in order to keep it simple, efficient and fast...it needs a good blueprint...that's what seperates the boys from the man.... DynaMite :2 cents: |
Well i made my first script.
www.candidlinks.com/pro.php it just gives you your ip & browser type And its just based on simple shit i found at the php homepage...but oh well its a start :) |
I bet you guys don't get laid much.. Facking geeks :1orglaugh
|
Quote:
i fucked every girl in canada already, & i've got the std's to prove it |
pro be sure to use the $_POST $_GET $_COOKIE $_SERVER $_FILES $GLOBALS (yes, no _) global arrays. it's a good coding syntax to get in the habit of using, + it's more secure to use. also, newer distros of PHP have register_globals off by default, so this will effectively work on all 4.1.x+ systems without any issues (did i mention it was the better way to code and more secure? yeah...)
|
Quote:
|
Quote:
|
Quote:
|
btw pro message me if you need help. I have taught several friends php and still give advice to many :)
|
Quote:
Awsome :thumbsup |
Quote:
|
Quote:
|
Quote:
that should be basically it. PHP Code:
|
Quote:
people could easily override a POST var with GET, or could override a session variable with a GET request. depending on your variables_order they could mess with your shit :) if you have any other q's, hit me up on icq. just another resource for you chat with. |
| All times are GMT -7. The time now is 08:42 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123