|
2004-04-20, 05:39 PM | #1 |
WHO IS FONZY!?! Don't they teach you anything at school?
Join Date: Nov 2003
Location: T dot
Posts: 44
|
I want to learn php...any tips, advice?
Hey everyone,
Just like the title to this thread suggests...how can I learn php and mysql so that I can 'jazz' up my sites, especially for refershing the page and making new banners and text links show up where the old ones were?
__________________
"We are all just shadows & dust" - Proximo |
2004-04-20, 05:44 PM | #2 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
I would fist learn the basics of site building before trying to learn how to script sites.
|
2004-04-20, 05:46 PM | #3 |
WHO IS FONZY!?! Don't they teach you anything at school?
Join Date: Nov 2003
Location: T dot
Posts: 44
|
So what your saying then is that I still have a ways to go?
__________________
"We are all just shadows & dust" - Proximo |
2004-04-20, 05:54 PM | #4 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
Most of the stuff that I build, like free sites, are just straight very simple html.
Unless you are planing on becoming a programmer or something like that you need to learn… How to sell. How to get traffic Where is get traffic How to build sites that get accepted What niches you are good at selling What sponsors convert well for your traffic Etc. For what php, mysql, cgi, etc. that I do use I use pre-made scripts that I then have to learn how to use, but I don't need to know how to write them. |
2004-04-20, 06:11 PM | #5 |
WHO IS FONZY!?! Don't they teach you anything at school?
Join Date: Nov 2003
Location: T dot
Posts: 44
|
I feel I am at the point where I am VERY close to creating pretty good sites. I am still trying to find my specific niches.
Lately, I have been getting traffic like crazy, but not so many sales.
__________________
"We are all just shadows & dust" - Proximo |
2004-04-20, 08:22 PM | #6 |
Heh Heh Heh! Lisa! Vampires are make believe, just like elves and gremlins and eskimos!
|
If you want to learn PHP, read a small tutorial and start programming something you want. The manual is your friend.
And I really meant it, if you want to learn you need to try programming something. At least that's what works for me. |
2004-04-20, 08:34 PM | #7 |
WHO IS FONZY!?! Don't they teach you anything at school?
Join Date: Nov 2003
Location: T dot
Posts: 44
|
You make it sound easy. I have been at php.net. There are a number of actions you must take before you can actually begin programming in php.
You have to download a php program. Then you have to fiddle around with mySQL, etc. I don't think its that difficult but there are a number of 'things' you have to do first. I still have to figure out what those things are first. And I have to practice as well
__________________
"We are all just shadows & dust" - Proximo |
2004-04-21, 12:02 AM | #8 |
No offence Apu, but when they were handing out religions you must have been out taking a whizz
|
#1) Go to Amazon.com and buy books - not tutorials as they all suck. Buy reference manuals.
#2) Bookmark php.net #3) Go to http://www.scriptschool.com/php/ and take this free course. If all else fails, just hire me.
__________________
Please Re-Read The Rules For Sig Files |
2004-04-21, 02:37 AM | #9 | |
Heh Heh Heh! Lisa! Vampires are make believe, just like elves and gremlins and eskimos!
|
Quote:
|
|
2004-04-21, 05:04 AM | #10 | |
All the way from Room 101
|
Quote:
It's simple, but useful... Create an html file called "banner.html" with your banner code in it like this <center> <a href="http://sponsor.com/"> <img src="images/banner.jpg" width="468" height="80" border="0"><br> <b><font face="verdana">Insert sales text here</font></b></a> </center> Upload it to your server and check that it's there. Copy an existing html page and change the extension to ".php" instead of ".html" (NB: You can set up your server to read php from html pages) Amongst the html of this page add these three lines of php code... PHP Code:
This is useful because you can link up all your sites to that single banner.html, and then if you wanna change sponsor for any reason, you only need to change the banner.html and ALL your sites will change sponsor because they are being served from one central point, in the same way you can do this with SSI.
__________________
|
|
2004-04-21, 10:56 AM | #11 |
WHO IS FONZY!?! Don't they teach you anything at school?
Join Date: Nov 2003
Location: T dot
Posts: 44
|
Thanks urb...but what if you want to have the banner "rotate" from a series of say 10 banners?
I've noticed when I press "refresh" on some of the bigger or more sophisticated sites, diffrent banners and link codes show up. Is that php script more complex?
__________________
"We are all just shadows & dust" - Proximo |
2004-04-21, 11:10 AM | #12 | |
All the way from Room 101
|
Quote:
__________________
|
|
2004-04-21, 11:14 AM | #13 |
WHO IS FONZY!?! Don't they teach you anything at school?
Join Date: Nov 2003
Location: T dot
Posts: 44
|
Thanks for the hot tip, urb!
You have been most helpful!
__________________
"We are all just shadows & dust" - Proximo |
2004-04-21, 05:04 PM | #14 |
Heh Heh Heh! Lisa! Vampires are make believe, just like elves and gremlins and eskimos!
|
I found a book at Amazon called php4 Developer's guide - used $2-97. And I found it good for beginning with php.
|
2004-04-21, 06:18 PM | #15 |
Rock stars ... is there anything they don't know?
|
The best tip, hotscripts.com ... find a script that is something simple that you want to do, d/l a few of them like it and get them working. Then try to make changes to it.
__________________
Please Re-Read The Rules For Sig Files |
2004-04-22, 03:18 AM | #16 |
No offence Apu, but when they were handing out religions you must have been out taking a whizz
|
Okay, here's the deal...
Learning PHP is pretty easy. Learning to be a PROGRAMMER is not. Sure, you can learn PHP in a matter of a couple weeks if you are reasonably intelligent. But you will spend YEARS learning how to be a true PROGRAMMER unless you have a competent mentor (like myself). I have been programming for well over 20 years. I've forgotten more languages than most people will ever learn. What this gave me is an innate knowledge of programming and analysis so that I can provide an efficient solution for my clients as quickly as possible. All the code hacks out there that have a few years of college and some programming classes don't know shit. They've only lived in the puristic world of "everything works the first time" and have no experience getting their asses handed to them because one line of code caused them late night pager and/or phone calls to fix something that "should have worked". Can you learn php basically overnight? yeah, if you're a quick reader. Can you become a competent programmer overnight? NO. ok, stepping off the soap box (I'm blaming Cleo) .
__________________
Please Re-Read The Rules For Sig Files |
2004-04-22, 04:32 AM | #17 | |
All the way from Room 101
|
Quote:
Anyone can cook, but it takes years to become a good chef.
__________________
|
|
2004-04-22, 04:38 AM | #18 | |
I want to live. I want to experience the universe, and I want to eat pie.
|
Quote:
|
|
2004-04-22, 04:41 AM | #19 | |
If you don’t take a chance the Angels won’t dance
|
Quote:
|
|
2004-04-22, 05:00 AM | #20 | |
All the way from Room 101
|
Mishi
Quote:
__________________
|
|
2004-04-22, 11:51 AM | #21 |
WHO IS FONZY!?! Don't they teach you anything at school?
Join Date: Nov 2003
Location: T dot
Posts: 44
|
Thanks a lot guys!
I will definitely take into consideration EVERYTHING that has been posted. Being a determined individual by nature, will help me get to where I want to be. As far as being a 'bonafide' programmer, that won't happen overnight, this I knew and realized before all the posts that were posted by all of you. A webmaster friend of mine has lent me a book entitled 'begining PHP4,' a wrox programmer to programmer publication. I've begun reading it. There are mantopics that are covered in this publication, and book is almost 800 pages!! Thanks for all the kind gestures, bits of information, and advice/wisdom. I am going to continue building and submitting free sites, as usual and as time permits. Being only a part-time webmaster for now who has tasted modest success in my first 4 months, I feel any/all information I acquire will only be for MY benefit. Regards, Pornrex
__________________
"We are all just shadows & dust" - Proximo |
2004-04-25, 11:31 AM | #22 |
No offence Apu, but when they were handing out religions you must have been out taking a whizz
|
Its not php but this is a very easy to use banner rotator, it displays a html snippet randomly http://www.focalmedia.net/htmlrotate.html and its for free
__________________
Click here to make huge $$$ |
2004-04-27, 01:54 PM | #23 |
WHO IS FONZY!?! Don't they teach you anything at school?
Join Date: Nov 2003
Location: T dot
Posts: 44
|
Thanks Harry.
Any info on improving the quality of sites is greatly appreciated.
__________________
"We are all just shadows & dust" - Proximo |
2004-05-03, 05:31 PM | #24 |
Rock stars ... is there anything they don't know?
Join Date: Sep 2003
Location: UK
Posts: 16
|
Not ideal for everyone but i run apache, mysql and php locally with my machine set up as a server. That way i can muck about with php and mysql dbases to my hearts content before i put stuff up live. There are plenty of places where you can get hold of php scripts or snippets of code for free that can often help you out.
|
2004-05-20, 03:50 AM | #25 |
Shut up brain, or I'll stab you with a Q-tip!
Join Date: Nov 2003
Posts: 115
|
By far the best tutorial I have found for PHP is the 16 part course at http://www.scriptschool.com/ - it is an excellent and very concise foundation course in php and web scripting in general.
|
|
|