Home
Forums
Articles
Glossary
Awards
Register
Rules
Members
Search
Today's Posts
Mark Forums Read
Account Login
User Name
Password
Remember Me?
Latest Articles
The basic usage of PHPTAL, a XML/XHTML template library for PHP
by
awuehr
on
11-10-2008
in
Tips & Tricks
Vulnerable methods and the areas they are commonly trusted in.
by
Village Idiot
on
11-04-2008
in
Classes & Objects
Simple way to protect a form from bot
by
codefreek
on
10-23-2008
in
Basic
The Basics On: How Session Stealing Works
by
wiifanatic
on
09-12-2008
in
Security & Permissions
How to keep your forms from double posting data
by
drewbee
on
07-03-2008
in
Tips & Tricks
IRC Channel
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
Wired Flame
ClientExec
Handy PHP
PHP Kitchen
PHP Tutorials
Insane Visions
Associates
TalkPHP
>
Search Forums
»
Search Results
Showing results 1 to 11 of 11
Search took
0.03
seconds.
Search:
Posts Made By:
jasonberresford
Forum:
Absolute Beginners
08-24-2009, 12:32 PM
Replies:
5
Need help getting info into database
Views:
858
Posted By
jasonberresford
I use something like this .. also note I create a...
I use something like this .. also note I create a thumbnail, and give a random start to the filename.
Nothing fancy but it works .. then you just echo out the image in the database, and store what...
Forum:
Advanced PHP Programming
08-20-2009, 02:59 PM
Replies:
10
Comments on each page??
Views:
756
Posted By
jasonberresford
Well yes ... id needs to be passed in the url for...
Well yes ... id needs to be passed in the url for it to work, and needs to be stored in the database when you create the comment.
Basically you need to tie everything together,
When the comment...
Forum:
Advanced PHP Programming
08-20-2009, 02:21 PM
Replies:
10
Comments on each page??
Views:
756
Posted By
jasonberresford
Yeah looks like your missing a few other things...
Yeah looks like your missing a few other things as well.
When you insert the comment you need to insert it with an ID of the page .. So that you can call them all later on.
Using Int is normally...
Forum:
Advanced PHP Programming
08-20-2009, 02:13 PM
Replies:
10
Comments on each page??
Views:
756
Posted By
jasonberresford
Yep your missing one thing: $id =...
Yep your missing one thing:
$id = $_GET['id'];
$queryget = mysql_query("SELECT * FROM comments");
CHANGE TO:
$id = $_GET['id'];
$queryget = mysql_query("SELECT * FROM comments WHERE id =...
Forum:
Advanced PHP Programming
08-19-2009, 07:14 PM
Replies:
13
ImageGD
Views:
732
Posted By
jasonberresford
Yes it's just fine, because any changes to that...
Yes it's just fine, because any changes to that image would result in a different MD5
Forum:
General
08-19-2009, 02:16 PM
Replies:
2
Making an edit script...
Views:
681
Posted By
jasonberresford
Umm shouldn't it be:...
Umm shouldn't it be:
/editEvent.php?bookingID=6
not
/editEvent.php&bookingID=6
?
Forum:
Advanced PHP Programming
08-19-2009, 12:13 PM
Replies:
13
ImageGD
Views:
732
Posted By
jasonberresford
<?php $file = 'image.jpg'; $filemd5 =...
<?php
$file = 'image.jpg';
$filemd5 = md5_file($file);
When inserting the image, insert with the md5 .. when a new image is inserted check the database for the existing md5.. if it's not there .....
Forum:
Advanced PHP Programming
08-19-2009, 12:08 PM
Replies:
10
Comments on each page??
Views:
756
Posted By
jasonberresford
Here's my quick edit: <?php //Connect to...
Here's my quick edit:
<?php
//Connect to database
include ('connect1.php');
$pageid = $_GET['id'];
$queryget = mysql_query("SELECT* FROM comments WHERE pageid = '$pageid'");
while ($row =...
Forum:
Absolute Beginners
08-18-2009, 12:06 PM
Replies:
5
Need help getting info into database
Views:
858
Posted By
jasonberresford
I'm not sure if there is another file calling...
I'm not sure if there is another file calling this file ... But if there isn't ...
Your Foreach closes before you start the rest of your code(No loop). At least that's what I see first off.
Forum:
MySQL & Databases
08-17-2009, 08:03 PM
Replies:
4
Four identical databases
Views:
926
Posted By
jasonberresford
Unless you’re concerned about your servers...
Unless you’re concerned about your servers ability keep up with four separate games, I would personally just designed to allow for a game identifier.
That way you don't need to duplicate data...
Forum:
General
08-17-2009, 07:50 PM
Replies:
1
Nested while loop needed for this?
Views:
704
Posted By
jasonberresford
Yep ......
Yep ...
ob_flush();
flush();
clearstatcache();
Ran into the same problem for a daemon running a php loop.. Time wouldn't change any time during the loop.. Clear the stat cache .. and you should...
Showing results 1 to 11 of 11
All times are GMT. The time now is
08:20 PM
.
Contact Us
-
TalkPHP - PHP Community
-
Archive
-
Top
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