Re: project ideas
| From: | jeremy brand | Date: | Tue, 31 Oct 2000 23:00:19 +0000 |
| Subject: | Re: project ideas | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-23028@lists.php.net to get a copy of this message | ||
Well, before you even start programming. READ the HTTP 1.1 RFC. Understand it.
<http://www.faqs.org/rfcs/rfc2616.html>
Then you could do a simple link redirector or something:
Store real URLs in a database table, or a PHP array. Then have your link director create a url like
this:
http://somewhere.com/redirect.php?item=1.
Have $array[1] = 'http://slashdot.org/';
$array[2] = 'http://freshmeat.net/';
$array[3] = 'http://smackdown.com/';
etc...
Then have redirect.php handle the variable "$item", look up it's value, then send php
header()'s to re-direct to the correct URL. You will learn how to re-direct in the HTTP rfc,
they are the 300 level errors with "Location: " headers attached.
This might be a good project.
Anyway, hope you have some good ideas?
take care,
-jeremy brand
--- "Jerry Lake" <jerryl@europa.com>
> wrote:
>Does anyone have any good project ideas for a beginning programmer. I've
>gone through many of the PHP tutorials and found them useful, but I think
>that if I start tying more things from scratch I'll reinforce things that
>I'm beginning to learn. and if anyone has any decent ideas that will help me
>master web development oriented programming, I'd appreciate the input.
>
>Regards,
>J.
>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
==
_______________________________________________________________________
GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9
_ http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more __
_____________________________________________________________
Get Your Own Private, Free E-mail Now!
your_name@smackdown.com http://www.smackdown.com
<spacer>