00:00
00:00
Newgrounds Background Image Theme

Our goal is for Newgrounds to be ad free for everyone! Become a Supporter today and help make this dream a reality!

Php: Main

112,827 Views | 562 Replies
New Topic Respond to this Topic

Response to Php: Main 2006-02-11 00:15:30


Hey guys, I wanted your oppinions on something.

On the next update, I'm thinking of adding a "new" marker next to each tutorial that was added since the last page.

So a new tutorial line would look like this:

* NEW * PHP: Storing Cookie Info by Jams44

What do you guys think of that?

Response to Php: Main 2006-02-11 00:23:56


I think it's a good idea man. I'd do it!

Response to Php: Main 2006-02-11 15:27:26


At 2/11/06 12:15 AM, GamesCool wrote: So a new tutorial line would look like this:
* NEW * PHP: Storing Cookie Info by Jams44
What do you guys think of that?

great idea, and hey u used my tutorial...(golfers clap)

Response to Php: Main 2006-02-12 15:45:36


At 2/11/06 03:27 PM, Jams44 wrote: great idea, and hey u used my tutorial...(golfers clap)

lol.

OK, so thanks for the feedback guys. I'll definitley be including it in the next update.

And Zendra, it will take a little bit longer to update, but if it makes PHP: Main better then it's no problem.

Response to Php: Main 2006-02-12 18:09:11


and i suggest doing it like this

PHP: Storing Cookies by Jams44 *NEW*

that way ypu dont screw up the alignment, i like things to be neat!

Response to Php: Main 2006-02-12 18:12:14


At 2/12/06 06:09 PM, Jams44 wrote: and i suggest doing it like this

PHP: Storing Cookies by Jams44 *NEW*

that way ypu dont screw up the alignment, i like things to be neat!

You're right. I'll do it that way. Thanks!

Response to Php: Main 2006-02-13 14:12:42


At 2/13/06 10:50 AM, JesusCyborg wrote: GamesCool, nice job nailing FP each page!

Thanks.

Just out of curiosity, have any of you guys ever heard of PEAR and PECL?

http://pear.php.net/
http://pecl.php.net/

If i was hiring a /professional/ PHP programmer and s?he didn't know what PEAR was, s?he's get laughed the fuck out of the room.

Sure. The PDF generator is awesome. But there are a lot of great extensions.

This is just another reason why PHP is such a great language.

During the summer, I was working with ASP. We wanted to generate an Excel spreadsheet. It was dificult, and I had to use a partialy complete library.

Then with PHP, you can just download the PEAR excel spreadsheet writer library, and it's awesome.

PHP just kills ASP for this reason alone. All the great things you can do with pure PHP.

BTW all, please try not to post in this thread for sometime because I'm not going to be home for a few hours, and I wont be able to make the update right away.

Thanks.

Response to Php: Main 2006-02-13 19:59:06


OK I'm back.

Response to Php: Main 2006-02-13 20:00:41


PHP: Main
--------------
Your resource for great PHP tutorials!!!

PHP: GENERAL CODE:

BEGINNER (4)
PHP: Beginners tutorial by GamesCool
PHP: Setting and Returning Cookies by Jams44
PHP: Storing Cookie Info by Jams44 * NEW *
PHP: Website Progress/Percentages by Greeley

INTERMEDIATE (5)
PHP: File uploads by Pilot-Doofy
PHP: Good habits/Security concerns by Sir-Davey
PHP: Image Resizing by Pilot-Doofy
PHP: securing file uploads by Pilot-Doofy
PHP: Using explode and implode functions by GamesCool

ADVANCED (1)
PHP: CLI (Command Line Interface) Basics by Dezmerkt

PHP: SPECIFIC PROJECTS:

BEGINNER (7)
PHP: Count Line Breaks by Zendra
PHP: Creating A Random Ad Script by Jams44
PHP: Create a random quotes script by GamesCool
PHP: Date Displayer by Jams44
PHP: Link Checking by Jams44
PHP: Shoutbox (MySQL) by WoogieNoogie
PHP: Simple Hit Counter by SpamBurger

INTERMEDIATE (6)
PHP: PHP: Creating a Blog by WoogieNoogie * NEW *
PHP: Flat-files (Create a shoutbox) by IWantSomeCookies
PHP: Random quote image by GamesCool
PHP: RSS tutorial by elbekko
PHP: Search Engine by Zendra
PHP: User Authentication (Part 1) by Greeley

PHP: USEFUL RESOURCES:

BEGINNER (1)
PHP: Rapid Website Development by Sir-Davey

Total number of tutorials: 24

Please let me know if there are any mistakes.

Response to Php: Main 2006-02-13 20:01:17


At 2/13/06 02:12 PM, GamesCool wrote:
BTW all, please try not to post in this thread for sometime because I'm not going to be home for a few hours, and I wont be able to make the update right away.

Thanks.

It's cool, as long as I catch it within seven days it wont be a problem : )


BBS Signature

Response to Php: Main 2006-02-14 14:54:13


At 2/14/06 02:52 PM, Zendra wrote:
At 2/13/06 08:01 PM, Afro_Ninja wrote: It's cool, as long as I catch it within seven days it wont be a problem : )
Hmm, I guess I missed something here. Since when BBS moderators can edit user posts? Or you just delete it so GamesCool post an updated version of the list?

right, I just meant deleting. If someone else had posted before he did it would be no problem as long as I got to it within seven days to delete it.


BBS Signature

Response to Php: Main 2006-02-14 15:00:42


could some one please do a tutorial on making a voting system, similar to the page hit thing but it works out what number has been clicked and then works out an average.

is this possable please?

Response to Php: Main 2006-02-14 23:40:47


Although it's not only used for PHP, I'd love to see a tutorial on regular expressions used with a replace function.

I can get around with regular expressions, but I'm not as good as I'd like to be with them.

Response to Php: Main 2006-02-15 00:10:44


At 2/14/06 03:00 PM, -fuzz- wrote: could some one please do a tutorial on making a voting system, similar to the page hit thing but it works out what number has been clicked and then works out an average.

is this possable please?

This is very easily possible. In fact I'm going to write it up right now. It's pretty simple for the most part really easy!

Response to Php: Main 2006-02-15 01:00:25


Response to Php: Main 2006-02-15 15:53:53


At 2/15/06 12:10 AM, Greeley wrote:

Thank you again!

Response to Php: Main 2006-02-22 18:48:36


im new to coding PHP...and im having a bit of trouble with this piece of code.

$_POST["user"] = fopen("usernames.txt", "a")

im sure im doing this wrong. its not for any crazy username database, just a small test to see what PHP can do. its just not "appending" the posted variable to this text file.

the usernames.txt file is on the same level as the php file on a sub-domain of my site. im not sure if i need to give any more information.


snyggys

Response to Php: Main 2006-02-22 19:22:59


oops, i made a mistake. my code still doesnt work, though.

<?php
$stringtowrite = $_POST["user"];
$fp = fopen("usernames.txt", "a");
fwrite($fp, $stringtowrite . "\n");
fclose($fp);
?>

it isnt appending $stringtowrite to my text file, "usernames.txt".


snyggys

Response to Php: Main 2006-02-22 20:45:04


At 2/22/06 07:22 PM, 2k_rammerizkool wrote: oops, i made a mistake. my code still doesnt work, though.

<?php
$stringtowrite = $_POST["user"];
$fp = fopen("usernames.txt", "a");
fwrite($fp, $stringtowrite . "\n");
fclose($fp);
?>

it isnt appending $stringtowrite to my text file, "usernames.txt".

could you post this in a new thread? we try not to clutter this one with specific problems


BBS Signature

Response to Php: Main 2006-02-27 17:07:14



Merkd.com - It Pays to Play

Earn real money by betting and investing; or, sponsor, challenge, compete,

recruit, communicate, network, earn money playing games, and much more.

Response to Php: Main 2006-03-02 11:35:41


At 2/27/06 05:07 PM, Pilot-Doofy wrote: I got a new tutorial up: http://www.newground../topic.php?id=441194

quite advanced

Response to Php: Main 2006-03-04 18:34:48


A new thread has opened up to request tutorials here.

Response to Php: Main 2006-03-06 09:19:33


Due to PHP's Requesting Topic we can expect alot more Tutorials now when we know what we need to write about.

Response to Php: Main 2006-03-06 10:06:28


PHP: Main
As a starter of PHP Requesting topic, I'll update the list this time:
-------
Your resource for great PHP tutorials!!!
PHP: GENERAL CODE:

BEGINNER (4)
Begginer Tutorial by GamesCool
PHP: Setting And Returning Cookies by Jams44
Storing Cookies Info by Jams44
Website Progress/Percentage by Greeley

INTERMEDIATE (5)
File Uploads by Pilot the mighty Doofy
Good Habits And Security Concerns by
Sir-Davey
Image Resizing by Pilot - Doofy
Securing File Uploads by Pilot Doofy
Using Implode And Explode Functions by GamesCool
replace_tags by Pilot Doofy it has some wicked values, otherwise quite easy

PHP: SPECIFIC PROJECTS:
Count Line Breaks by Zendra, the Teacher
Creating A Random Ad Script by Jams44
Creating A Random Quotes Script by GamesCool
Date Displayer by Jams44

Link Checking (checking for broken links) by Jams44
Shoutbox (MySQL) by WoogieNoogie
Simple Hit Counter by SpamBurger

INTERMEDIATE (6)
Creating A Blog by WoogieNoogie
Flat Files (Create a Shoutbox) by IWantSomefreekingCookies
Random Quote Image by GamesCool
RSS Tutorial by elbekko
Search Engine by Zendra
User Authentication (First Part) by Greeley [In fact just checking if submited data correct. No mysql and sessions yet]
Voting System [From 1 To 5] by Greeley

PHP: USEFUL RESOURCES:

BEGINNER (1)

Rapid Website Development

^^^^^^Total number of tutorials: 26^^^^^^

THAT'S IT!

I've checken it with Dreamweaver and it displayed nice. However, if you find ANY errors, post 'em here!

-----See The Other Version Of This Here
http://www.clan-csc.com/PHP_Tutorials.php
ENJOY! ------

>>>Request PHP Tutorials Here<<<

~{N}~

Response to Php: Main 2006-03-06 10:12:48


IP Ban Tutorial

The user who created it haven't written that here so I haven't seen it.
It is gonna be in the second updating.

Response to Php: Main 2006-03-07 13:33:48


Sorry nino but GamesCool is the one who started this list and he's the one who updates it at the top of every page. If we updated the list after every tutorial half the topic would just be filled with updates

And actually, this topic should be the one used to request the php tutorials : /


BBS Signature

Response to Php: Main 2006-03-10 09:20:33


At 3/7/06 01:33 PM, Afro_Ninja wrote: Sorry nino but GamesCool is the one who started this list and he's the one who updates it at the top of every page. If we updated the list after every tutorial half the topic would just be filled with updates

And actually, this topic should be the one used to request the php tutorials : /

I'm sorry then, I just wanted to contribute because I currently don't have a time to write any good Tutorial..

For the second thing, I must not agreed, it is nice to have two spilt topics about that, then we do some kind of connection which is cool :)

Response to Php: Main 2006-03-13 11:17:05


Beginner <> intermediate
Capitalize Every Word's First Letter
http://www.newground../topic.php?id=449156

Response to Php: Main 2006-03-13 15:02:50


I have a request:
PHP sockets


- Matt, Rustyarcade.com

Response to Php: Main 2006-03-13 15:16:54


At 3/13/06 03:02 PM, Ninja-chicken wrote: I have a request:
PHP sockets

Wrong Thread


|| Portfolio || Facebook || Twitter ||

BBS Signature