Page 1 of 1

Php Tips

Posted: Sat Jan 03, 2004 12:05 pm
by devork
Hi guys!
last night I was browsing a linux mailing list and they had thread in which all the users post the tips of linux,
-me also tired of searching php tips on net with so so luck to read nice ones, so let's ppl coming on this forum while searching the net, geeks I need your support guys.
-so why not start such thing on PDN
-you guys post the php tips that may be useful for some one!

-try not to use short tags in your application!
-register_globals should be set to off in php.ini conf file

Posted: Sat Jan 03, 2004 1:44 pm
by Gen-ik
Code Snippets
Small, short code snippets that other people may find useful. Do you have a good regex that you would like to share? Share it! Even better, the code can be commented on, and improved.

viewforum.php?f=29

Posted: Sat Jan 03, 2004 5:51 pm
by JAM
http://php.net/tips.php

Make your browser the easiest manual lookup (or Quick Reference) tool. Said it before, can't say it enough.

Posted: Sun Jan 04, 2004 12:51 am
by devork
^^ thanx :)

Posted: Sun Jan 04, 2004 1:40 am
by Nay
Due to the complete uselessnes of my little USB DSL Modem, It's quite handy having the PHP Manual as a help file on Windows.

http://www.php.net/download-docs.php

@Gen-ik,

Code snippets would be more for 'complete' codes. If we had a nice handy tip to share (Use heredoc!! :D), it might not be very suitable for the code snippets forum.

But I'm sure Jason is working on the site. I think I saw the template a while ago. Or there's always http://phpcomplete.com

-Nay

<span style='color:red;text-decoration:blink' title='Alert a moderator!'>grilled spam</span>?