Greenguy's Board


Go Back   Greenguy's Board > Newbie Questions
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2004-04-20, 05:39 PM   #1
yorgo
WHO IS FONZY!?! Don't they teach you anything at school?
 
Join Date: Nov 2003
Location: T dot
Posts: 44
Smile 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
yorgo is offline   Reply With Quote
Old 2004-04-20, 05:44 PM   #2
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
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.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2004-04-20, 05:46 PM   #3
yorgo
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
yorgo is offline   Reply With Quote
Old 2004-04-20, 05:54 PM   #4
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
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.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2004-04-20, 06:11 PM   #5
yorgo
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
yorgo is offline   Reply With Quote
Old 2004-04-20, 08:22 PM   #6
xfalmp
Heh Heh Heh! Lisa! Vampires are make believe, just like elves and gremlins and eskimos!
 
Join Date: Apr 2004
Location: Sao Paulo - Brazil
Posts: 78
Send a message via ICQ to xfalmp
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.
xfalmp is offline   Reply With Quote
Old 2004-04-20, 08:34 PM   #7
yorgo
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
yorgo is offline   Reply With Quote
Old 2004-04-21, 12:02 AM   #8
venturi
No offence Apu, but when they were handing out religions you must have been out taking a whizz
 
Join Date: Apr 2003
Location: An Oasis atop a High Desert Mesa
Posts: 282
Send a message via ICQ to venturi
#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.
venturi is offline   Reply With Quote
Old 2004-04-21, 02:37 AM   #9
xfalmp
Heh Heh Heh! Lisa! Vampires are make believe, just like elves and gremlins and eskimos!
 
Join Date: Apr 2004
Location: Sao Paulo - Brazil
Posts: 78
Send a message via ICQ to xfalmp
Quote:
Originally posted by yorgo
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

I know it's not easy but once you read a good tutorial and know the basics, you'll know what to do and the manual will show you how. You don't need to work with MySQL at first if you don't want, you can use text files (I doubt your first "project" will need a MySQL solution). Actually, you don't even need to install PHP and Apache if you don't want, but you'll have to use your remote server to test things. And that's why people usually install things at their machine, testing things locally is waaay faster.
xfalmp is offline   Reply With Quote
Old 2004-04-21, 05:04 AM   #10
urb
All the way from Room 101
 
urb's Avatar
 
Join Date: Aug 2003
Posts: 3,557
Send a message via ICQ to urb
Quote:
Originally posted by yorgo
You make it sound easy.....
Here's something easy you can do with php...

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:
<?php
require("banner.html");
?>
and when you view the new .php page on the server, you will see that the banner.html has been pulled in (included)within the php page. The php "engine" on your server has executed the command to include the banner info, before the page is served to the browser.

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.
__________________
urb is offline   Reply With Quote
Old 2004-04-21, 10:56 AM   #11
yorgo
WHO IS FONZY!?! Don't they teach you anything at school?
 
Join Date: Nov 2003
Location: T dot
Posts: 44
Smile

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
yorgo is offline   Reply With Quote
Old 2004-04-21, 11:10 AM   #12
urb
All the way from Room 101
 
urb's Avatar
 
Join Date: Aug 2003
Posts: 3,557
Send a message via ICQ to urb
Quote:
Originally posted by yorgo
Is that php script more complex?
Yes, but there's no need to write your own code when someone has already done it for you. This will do the trick http://phpadsnew.com/two/
__________________
urb is offline   Reply With Quote
Old 2004-04-21, 11:14 AM   #13
yorgo
WHO IS FONZY!?! Don't they teach you anything at school?
 
Join Date: Nov 2003
Location: T dot
Posts: 44
Thumbs up

Thanks for the hot tip, urb!

You have been most helpful!

__________________
"We are all just shadows & dust" - Proximo
yorgo is offline   Reply With Quote
Old 2004-04-21, 05:04 PM   #14
vangend
Heh Heh Heh! Lisa! Vampires are make believe, just like elves and gremlins and eskimos!
 
Join Date: Aug 2003
Location: South Africa
Posts: 70
Send a message via ICQ to vangend
I found a book at Amazon called php4 Developer's guide - used $2-97. And I found it good for beginning with php.
vangend is offline   Reply With Quote
Old 2004-04-21, 06:18 PM   #15
4Pics
Rock stars ... is there anything they don't know?
 
Join Date: Apr 2004
Posts: 19
Send a message via ICQ to 4Pics
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.
4Pics is offline   Reply With Quote
Old 2004-04-22, 03:18 AM   #16
venturi
No offence Apu, but when they were handing out religions you must have been out taking a whizz
 
Join Date: Apr 2003
Location: An Oasis atop a High Desert Mesa
Posts: 282
Send a message via ICQ to venturi
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) .
venturi is offline   Reply With Quote
Old 2004-04-22, 04:32 AM   #17
urb
All the way from Room 101
 
urb's Avatar
 
Join Date: Aug 2003
Posts: 3,557
Send a message via ICQ to urb
Quote:
Originally posted by venturi
Can you learn php basically overnight? yeah, if you're a quick reader. Can you become a competent programmer overnight? NO.
Agreed.

Anyone can cook, but it takes years to become a good chef.
__________________
urb is offline   Reply With Quote
Old 2004-04-22, 04:38 AM   #18
Mishi
I want to live. I want to experience the universe, and I want to eat pie.
 
Mishi's Avatar
 
Join Date: Aug 2003
Location: Where the wind comes sweeping down the plain
Posts: 661
Send a message via ICQ to Mishi
Quote:
Originally posted by urb
Agreed.

Anyone can cook, but it takes years to become a good chef.
So well said, I'm totally abandoning my post...and that's damned rare.
Mishi is offline   Reply With Quote
Old 2004-04-22, 04:41 AM   #19
Surfn
If you don’t take a chance the Angels won’t dance
 
Surfn's Avatar
 
Join Date: Aug 2003
Location: Earth on occasion
Posts: 8,812
Send a message via ICQ to Surfn
Quote:
Originally posted by urb
Agreed.

Anyone can cook, but it takes years to become a good chef.
What's for breakfast?
Surfn is offline   Reply With Quote
Old 2004-04-22, 05:00 AM   #20
urb
All the way from Room 101
 
urb's Avatar
 
Join Date: Aug 2003
Posts: 3,557
Send a message via ICQ to urb
Mishi

Quote:
Originally posted by Surfn
What's for breakfast?
You're late Surfn... your breakfast is in the cgi-bin!!
__________________
urb is offline   Reply With Quote
Old 2004-04-22, 11:51 AM   #21
yorgo
WHO IS FONZY!?! Don't they teach you anything at school?
 
Join Date: Nov 2003
Location: T dot
Posts: 44
Smile

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
yorgo is offline   Reply With Quote
Old 2004-04-25, 11:31 AM   #22
HarryM
No offence Apu, but when they were handing out religions you must have been out taking a whizz
 
HarryM's Avatar
 
Join Date: Jan 2004
Location: Australia
Posts: 285
Send a message via ICQ to HarryM
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 $$$
HarryM is offline   Reply With Quote
Old 2004-04-27, 01:54 PM   #23
yorgo
WHO IS FONZY!?! Don't they teach you anything at school?
 
Join Date: Nov 2003
Location: T dot
Posts: 44
Thumbs up

Thanks Harry.

Any info on improving the quality of sites is greatly appreciated.

__________________
"We are all just shadows & dust" - Proximo
yorgo is offline   Reply With Quote
Old 2004-05-03, 05:31 PM   #24
jazzcat
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.
jazzcat is offline   Reply With Quote
Old 2004-05-20, 03:50 AM   #25
Rorschach
Shut up brain, or I'll stab you with a Q-tip!
 
Rorschach's Avatar
 
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.
Rorschach is offline   Reply With Quote
Reply


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 -4. The time now is 05:51 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc