TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Showing results 1 to 17 of 17
Search took 0.03 seconds.
Search: Posts Made By: Gareth
Forum: Absolute Beginners 07-26-2008, 11:38 PM
Replies: 2
Views: 884
Posted By Gareth
<?php # Function: Add User function...

<?php

# Function: Add User
function add_user($user, $pass, $url){
$fopen = fopen('info.txt', 'a');
fwrite($fopen, "\n".$user."' => '".$url."' => '".$pass."',");
fclose($fopen);
}

#...
Forum: XHTML, HTML, CSS 04-10-2008, 08:47 PM
Replies: 10
Views: 974
Posted By Gareth
Tanax, as marxx said, you should clear:both. For...

Tanax, as marxx said, you should clear:both.

For example;

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html...
Forum: XHTML, HTML, CSS 03-25-2008, 05:05 PM
Replies: 7
Views: 1,268
Posted By Gareth
Do you still need help on this, mate? It looks...

Do you still need help on this, mate? It looks like its working now! :)
Forum: General 03-25-2008, 05:00 PM
Replies: 8
Views: 669
Posted By Gareth
We should make a "cheat sheet"!

We should make a "cheat sheet"!
Forum: General 03-25-2008, 04:38 PM
Replies: 8
Views: 669
Posted By Gareth
I would have a look at Rendair's absolutely...

I would have a look at Rendair's absolutely amazing GD articles!

TalkPHP - The Big GD Guide - Part 1...
Forum: The Lounge 03-12-2008, 07:21 PM
Replies: 17
Views: 866
Posted By Gareth
I don't know if this helps, but I have exactly...

I don't know if this helps, but I have exactly the same configuration / programs / set up as SOCK does on his laptop

XP Pro
Firefox 2.0.0.12 (default browser)
C++/# 2008

It works fine for me.
Forum: Javascript, AJAX, E4X 03-11-2008, 10:15 PM
Replies: 4
Views: 904
Posted By Gareth
Amazing Rendair! The only thing I have to say at...

Amazing Rendair! The only thing I have to say at the moment is that it is quite tedious and looks a bit silly to write Framework.Ajax. all the time. Maybe you could change it to $() or...
Forum: Tips & Tricks 03-09-2008, 08:33 PM
Replies: 45
Views: 5,777
Posted By Gareth
I have recently got into the habit of using...

I have recently got into the habit of using prefixes to my variables. Such as:

a mysql query = $qQueryName
a result = $rQueryName
a message = $mMessageName
a variable = $vVariableName

They really...
Forum: XHTML, HTML, CSS 03-08-2008, 11:17 PM
Replies: 5
Views: 8,750
Posted By Gareth
You can target the textareas directly by adding a...

You can target the textareas directly by adding a class, or indirectly by referring to all text areas in the content div or by all textareas and reset their padding.


#content textarea {
padding:...
Forum: Feedback 03-07-2008, 11:36 PM
Replies: 9
Views: 1,112
Posted By Gareth
Well, I've just posted my first Article!...

Well, I've just posted my first Article! Hopefully it will be accepted and you can all read it :)

EDIT: Just updated the layout a bit so it has to be accepted again!
Forum: Absolute Beginners 03-04-2008, 02:26 PM
Replies: 11
Views: 9,377
Posted By Gareth
You should try putting session_regenerate_id().

You should try putting session_regenerate_id().
Forum: The Lounge 03-04-2008, 02:16 PM
Replies: 3
Views: 725
Posted By Gareth
CamStudioPortable is a good, free, portable...

CamStudioPortable is a good, free, portable alternative:

CamStudio Portable 2.0 | PortableApps.com - Portable software for USB drives (http://portableapps.com/node/3572)
Forum: Absolute Beginners 02-28-2008, 08:49 AM
Replies: 13
Views: 821
Posted By Gareth
You could also do: $qQuery = mysql_query("...

You could also do:


$qQuery = mysql_query(" QUERY ") or die();

if ( $qQuery ){
echo 'inserted';
}{
echo 'not inserted';
}
Forum: General 02-25-2008, 10:39 PM
Replies: 6
Views: 1,712
Posted By Gareth
I am currently making one myself. It may take a...

I am currently making one myself. It may take a little while but I'll keep you updated on it :)
Forum: General 02-01-2008, 01:07 PM
Replies: 21
Views: 1,501
Posted By Gareth
EarnersHost.com is recommended by me!

EarnersHost.com is recommended by me!
Forum: Absolute Beginners 01-29-2008, 03:56 PM
Replies: 8
Views: 896
Posted By Gareth
If, for some reason, you wanted the form within...

If, for some reason, you wanted the form within the php tags (<?php ?>), you will need to "escape" the double quotes (") with a backslash (\).

For example

Username: <input name=\"usernamn\"...
Forum: General 01-23-2008, 02:01 PM
Replies: 16
Views: 1,068
Posted By Gareth
You could change the extension to .phps ??

You could change the extension to .phps ??
Showing results 1 to 17 of 17

 

All times are GMT. The time now is 01:01 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design