Forum Topic: Php: Main

(53,224 views • 614 replies)

This topic is 21 pages long. [ 1 | 24 | 5 | 6 | 7 | 8 | 9 | 101521 ]

<< < > >>
None

Zendra

Reply To Post Reply & Quote

Posted at: 2/14/06 02:52 PM

Zendra NEUTRAL LEVEL 41

Sign-Up: 09/07/03

Posts: 12,459

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?

NG BBS & Review moderator // PM abuse // Check my audio!


None

Afro-Ninja

Reply To Post Reply & Quote

Posted at: 2/14/06 02:54 PM

Afro-Ninja EVIL LEVEL 37

Sign-Up: 03/02/02

Posts: 13,466

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

None

fuzz

Reply To Post Reply & Quote

Posted at: 2/14/06 03:00 PM

fuzz NEUTRAL LEVEL 21

Sign-Up: 06/02/04

Posts: 5,647

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?


Happy

Zendra

Reply To Post Reply & Quote

Posted at: 2/14/06 03:02 PM

Zendra NEUTRAL LEVEL 41

Sign-Up: 09/07/03

Posts: 12,459

At 2/14/06 02:54 PM, Afro_Ninja wrote: 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.

Fair enough. I think it's a good thing you're keep on track with this, so the list can be made pretty much for sure perfect - or atleast changed/updated, so we don't have to wait a long time before it's happening. :)

NG BBS & Review moderator // PM abuse // Check my audio!


None

DFox

Reply To Post Reply & Quote

Posted at: 2/14/06 11:40 PM

DFox LIGHT LEVEL 30

Sign-Up: 08/09/03

Posts: 9,463

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.


None

Greeley

Reply To Post Reply & Quote

Posted at: 2/15/06 12:10 AM

Greeley NEUTRAL LEVEL 13

Sign-Up: 08/30/05

Posts: 1,207

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!


None

Greeley

Reply To Post Reply & Quote

Posted at: 2/15/06 01:00 AM

Greeley NEUTRAL LEVEL 13

Sign-Up: 08/30/05

Posts: 1,207


None

fuzz

Reply To Post Reply & Quote

Posted at: 2/15/06 03:53 PM

fuzz NEUTRAL LEVEL 21

Sign-Up: 06/02/04

Posts: 5,647

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

Thank you again!


None

Rammer

Reply To Post Reply & Quote

Posted at: 2/22/06 06:48 PM

Rammer DARK LEVEL 32

Sign-Up: 06/08/03

Posts: 4,332

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


None

Rammer

Reply To Post Reply & Quote

Posted at: 2/22/06 07:22 PM

Rammer DARK LEVEL 32

Sign-Up: 06/08/03

Posts: 4,332

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


None

Afro-Ninja

Reply To Post Reply & Quote

Posted at: 2/22/06 08:45 PM

Afro-Ninja EVIL LEVEL 37

Sign-Up: 03/02/02

Posts: 13,466

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

None

Pilot-Doofy

Reply To Post Reply & Quote

Posted at: 2/27/06 05:07 PM

Pilot-Doofy NEUTRAL LEVEL 37

Sign-Up: 09/13/03

Posts: 12,275


None

NinoGrounds

Reply To Post Reply & Quote

Posted at: 3/2/06 11:35 AM

NinoGrounds EVIL LEVEL 17

Sign-Up: 11/28/05

Posts: 3,756

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


None

WoogieNoogie

Reply To Post Reply & Quote

Posted at: 3/4/06 06:34 PM

WoogieNoogie LIGHT LEVEL 14

Sign-Up: 06/26/05

Posts: 3,284

A new thread has opened up to request tutorials here.


None

NinoGrounds

Reply To Post Reply & Quote

Posted at: 3/6/06 09:19 AM

NinoGrounds EVIL LEVEL 17

Sign-Up: 11/28/05

Posts: 3,756

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


None

NinoGrounds

Reply To Post Reply & Quote

Posted at: 3/6/06 10:06 AM

NinoGrounds EVIL LEVEL 17

Sign-Up: 11/28/05

Posts: 3,756

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}~


None

NinoGrounds

Reply To Post Reply & Quote

Posted at: 3/6/06 10:12 AM

NinoGrounds EVIL LEVEL 17

Sign-Up: 11/28/05

Posts: 3,756

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.


None

Afro-Ninja

Reply To Post Reply & Quote

Posted at: 3/7/06 01:33 PM

Afro-Ninja EVIL LEVEL 37

Sign-Up: 03/02/02

Posts: 13,466

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

None

Zendra

Reply To Post Reply & Quote

Posted at: 3/7/06 02:32 PM

Zendra NEUTRAL LEVEL 41

Sign-Up: 09/07/03

Posts: 12,459

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

Then why you don't delete the post, to prevent confussion?

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

And the idea behind it is good, because you have a topic who where it's central about the subject.

NG BBS & Review moderator // PM abuse // Check my audio!


None

NinoGrounds

Reply To Post Reply & Quote

Posted at: 3/10/06 09:20 AM

NinoGrounds EVIL LEVEL 17

Sign-Up: 11/28/05

Posts: 3,756

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 :)


None

juraj

Reply To Post Reply & Quote

Posted at: 3/13/06 11:17 AM

juraj LIGHT LEVEL 29

Sign-Up: 05/15/04

Posts: 1,190

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


None

Rustygames

Reply To Post Reply & Quote

Posted at: 3/13/06 03:02 PM

Rustygames LIGHT LEVEL 18

Sign-Up: 05/07/05

Posts: 6,644

I have a request:
PHP sockets

- Matt, Rustyarcade.com


None

DannyIsOnFire

Reply To Post Reply & Quote

Posted at: 3/13/06 03:16 PM

DannyIsOnFire DARK LEVEL 19

Sign-Up: 04/14/05

Posts: 7,191

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

Wrong Thread


None

Rustygames

Reply To Post Reply & Quote

Posted at: 3/13/06 04:03 PM

Rustygames LIGHT LEVEL 18

Sign-Up: 05/07/05

Posts: 6,644

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

no. The Main Topics have always been used to request tutorials and it's not stopping now. GamesCool made this thread and I notice that thread was made by some random guy so I think I'll stick with requesting here thanks :D

- Matt, Rustyarcade.com


None

Zendra

Reply To Post Reply & Quote

Posted at: 3/14/06 02:57 AM

Zendra NEUTRAL LEVEL 41

Sign-Up: 09/07/03

Posts: 12,459

At 3/13/06 04:03 PM, Ninja-chicken wrote: no. The Main Topics have always been used to request tutorials and it's not stopping now. GamesCool made this thread and I notice that thread was made by some random guy so I think I'll stick with requesting here thanks :D

It doesn't really matter. There's not 'official' request topic. Although Afro_Ninja thinks it should be posted in here, I haven't heard anyone else complain about it.

NG BBS & Review moderator // PM abuse // Check my audio!


None

WoogieNoogie

Reply To Post Reply & Quote

Posted at: 3/14/06 08:00 PM

WoogieNoogie LIGHT LEVEL 14

Sign-Up: 06/26/05

Posts: 3,284

The more I think about it...I think Afro is right. This is PHP: Main, not PHP: List links to tutorials...


None

Rustygames

Reply To Post Reply & Quote

Posted at: 3/15/06 12:13 PM

Rustygames LIGHT LEVEL 18

Sign-Up: 05/07/05

Posts: 6,644

Well in AS:Main we request from here. And it just takes common sense to see that would be a good function for this thread

- Matt, Rustyarcade.com


None

DFox

Reply To Post Reply & Quote

Posted at: 3/15/06 01:03 PM

DFox LIGHT LEVEL 30

Sign-Up: 08/09/03

Posts: 9,463

Well Afro-Ninja says we should post here, and he is authority, so I think we should post requests in this thread.


None

DFox

Reply To Post Reply & Quote

Posted at: 3/15/06 01:04 PM

DFox LIGHT LEVEL 30

Sign-Up: 08/09/03

Posts: 9,463

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
PHP: Website Progress/Percentages by Greeley

INTERMEDIATE (7)
PHP: Capitalize Every Word (arrays) by juraj * NEW *
PHP: File uploads by Pilot-Doofy
PHP: Good habits/Security concerns by Sir-Davey
PHP: Image Resizing by Pilot-Doofy
PHP: replace_tags() by Pilot-Doofy * NEW *
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 (8)
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
PHP: Voting System (From 1 to 5) by Greeley * NEW *

INTERMEDIATE (6)
PHP: PHP: Creating a Blog by WoogieNoogie
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: 27

As always, if I made any mistakes please let me know.


None

WoogieNoogie

Reply To Post Reply & Quote

Posted at: 3/15/06 09:09 PM

WoogieNoogie LIGHT LEVEL 14

Sign-Up: 06/26/05

Posts: 3,284

Best update ever :)

This is coming along really nice!


All times are Eastern Standard Time (GMT -5) | Current Time: 03:28 AM

<< Back

This topic is 21 pages long. [ 1 | 24 | 5 | 6 | 7 | 8 | 9 | 101521 ]

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!