Search found 143 matches
- 09 Aug 2008, 06:23
- Forum: phpBB Development discussion
- Topic: Help with Friend/Foe page
- Replies: 27
- Views: 15644
Re: Template code
That should be correct, yes.
- 08 Aug 2008, 01:22
- Forum: phpBB Development discussion
- Topic: DB Diff Renderer
- Replies: 16
- Views: 7808
Re: DB Diff Renderer
In a bout of boredom I've started to put something together. I currently creates a .sql file that adds new tables and drops old ones. I'm going to work on adding/removing columns later.
- 08 Aug 2008, 01:20
- Forum: Introductions
- Topic: its just me 2bit
- Replies: 4
- Views: 1888
Re: its just me 2bit
Welcome! I hope you have fun and learn lots.
- 06 Aug 2008, 16:48
- Forum: phpBB Development discussion
- Topic: Help with Friend/Foe page
- Replies: 27
- Views: 15644
Re: [blazes816] please look at last post/need advice
Sorry about neglecting this thread. Must have missed reading it before marking forums read. <!-- s:D --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Don't worry, I won't again. What are you currently having trouble with? Also, I'm going to change the topic ...
- 06 Aug 2008, 07:36
- Forum: phpBB Development discussion
- Topic: Function testing
- Replies: 5
- Views: 2539
Re: Function testing
<?php functionName(/*parameters*/); ?> Example: <?php function sayIt($string, $echo = 1){ if($echo){ echo $string; } else{ return $string; } } sayIt('Hello, World!'); //echo's 'Hello, World!' $contents = sayIt('Hello, World!', 0); /* doesn't echo anything, but makes $contents = to 'Hello, World!'*/
- 06 Aug 2008, 04:45
- Forum: phpBB Development discussion
- Topic: Function testing
- Replies: 5
- Views: 2539
- 06 Aug 2008, 04:39
- Forum: phpBB Development discussion
- Topic: $userdata variables
- Replies: 6
- Views: 3376
- 05 Aug 2008, 17:32
- Forum: phpBB Development discussion
- Topic: echo/displaying
- Replies: 2
- Views: 2140
Re: echo/displaying
You gonna add that sweet tutorial to the knowledge base Igor?
- 05 Aug 2008, 16:43
- Forum: phpBB Development discussion
- Topic: Looping data from DB and displaying
- Replies: 4
- Views: 2462
Re: Looping data from DB and displaying
Don't worry about it. We all have our n00b flashbacks.
- 05 Aug 2008, 04:53
- Forum: Introductions
- Topic: Hello World
- Replies: 3
- Views: 1599
Re: Hello World
Welcome!
- 04 Aug 2008, 05:13
- Forum: phpBB Development discussion
- Topic: Get info from a form
- Replies: 20
- Views: 7793
- 04 Aug 2008, 04:42
- Forum: phpBB Development discussion
- Topic: Get info from a form
- Replies: 20
- Views: 7793
Re: Get info from a form
If in phpBB, yes, he's right you should use request_var().
(Keep forgetting this isn't a general programming forum )
(Keep forgetting this isn't a general programming forum )
- 04 Aug 2008, 04:26
- Forum: phpBB Development discussion
- Topic: Get info from a form
- Replies: 20
- Views: 7793
Re: Get info from a form
$_POST is fine. But ALWAYS sanitize your data anyways.
- 04 Aug 2008, 04:07
- Forum: phpBB Development discussion
- Topic: Help with Friend/Foe page
- Replies: 27
- Views: 15644
Re: friends and foes table?! toatly lost
Here's code form includes/ucp/ucp_zebra.php: $sql = 'SELECT z.*, u.username, u.username_clean FROM ' . ZEBRA_TABLE . ' z, ' . USERS_TABLE . ' u WHERE z.user_id = ' . $user->data['user_id'] . ' AND u.user_id = z.zebra_id'; Let's make it just a SQL query, and replace constants with tablenames, and var...
- 01 Aug 2008, 19:31
- Forum: phpBB Development discussion
- Topic: change require to include
- Replies: 7
- Views: 2877
Re: change require to include
It's not insecure, but it's best to leave it require so that if they can't be loaded it produces a fatal error. Why are you wanting to change it?