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 21 of 21
Search took
0.02
seconds.
Search:
Posts Made By:
Jako
Forum:
Show Off
04-08-2011, 02:23 AM
Replies:
0
Soccer Surfer | Top 10 Players, Pictures, Videos, and more!
Views:
608
Posted By
Jako
Soccer Surfer | Top 10 Players, Pictures, Videos, and more!
Soccer Surfer (http://soccersurfer.com) organizes your favorite soccer (football) player's biographies, pictures, and videos all into one. Be sure to check out the players page...
Forum:
General
08-22-2008, 06:14 PM
Replies:
3
preg_replace
Views:
554
Posted By
Jako
Sweet, it worked. Thanks a lot for your...
Sweet, it worked. Thanks a lot for your help.
What does the $1 change to fix this?
Forum:
General
08-22-2008, 04:22 AM
Replies:
3
preg_replace
Views:
554
Posted By
Jako
preg_replace
Quick question...
I got preg_replace working how I wanted when used in a search query.
So the variable is bolded in the returned results.
$name = preg_replace ( "'($query)'is" , "<b>$query</b>" ,...
Forum:
General
08-20-2008, 05:32 PM
Replies:
1
Keyword Search Form
Views:
1,104
Posted By
Jako
Keyword Search Form
What's the easiest way to have a keyword search form?
Right now I have a successful search form, but the user must select a drop-down menu for the specific type of search they are making.
I'm using...
Forum:
General
08-18-2008, 03:26 AM
Replies:
5
Datbase accepting foreign letters?
Views:
562
Posted By
Jako
Now only question is...is there a way to search...
Now only question is...is there a way to search using normal letters for a word that maybe contains a accent?
For example, Confederación and Confederation return the same results.
Forum:
General
08-16-2008, 10:08 PM
Replies:
5
Datbase accepting foreign letters?
Views:
562
Posted By
Jako
Tossing, <META HTTP-EQUIV="Content-Type"...
Tossing, <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8" > into the header seems to have fixed it.
Forum:
General
08-16-2008, 09:38 PM
Replies:
5
Datbase accepting foreign letters?
Views:
562
Posted By
Jako
Datbase accepting foreign letters?
How do I input words into a database while keeping the formatting of the text that I copied with accents,...
Forum:
General
08-12-2008, 07:44 PM
Replies:
3
Age Calculation Script
Views:
703
Posted By
Jako
Age Calculation Script
I have a script I use to calculate the age of users in my database
<?
function calculate_age ($month, $day, $year) {
$ageTime = mktime(0, 0, 0, $month, $day, $year); // Get the person's birthday...
Forum:
General
08-11-2008, 05:38 PM
Replies:
2
User 99
Views:
714
Posted By
Jako
Yes, apache is user 99. I wasn't sure if this...
Yes, apache is user 99. I wasn't sure if this would ever be a problem though.
Forum:
General
08-11-2008, 02:02 AM
Replies:
2
User 99
Views:
714
Posted By
Jako
User 99
I have an image upload script I was working on and after the image is uploaded it is under user 99 rather than my normal username.
Should I be worried or at a concern? I can still delete the files...
Forum:
General
08-06-2008, 05:51 AM
Replies:
3
Nested While Loop Issue
Views:
2,287
Posted By
Jako
Thanks m, I'm getting this error now. Warning:...
Thanks m,
I'm getting this error now.
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource on line 31
Which is this line,
while($row =...
Forum:
General
08-06-2008, 05:06 AM
Replies:
3
Nested While Loop Issue
Views:
2,287
Posted By
Jako
Nested While Loop Issue
I'm having trouble with nested while loops.
Here's what I am currently doing.
// sql query
$sql = 'SELECT * FROM rank LEFT JOIN national on national.n_id = rank.rank_nation ORDER BY rank...
Forum:
General
08-04-2008, 06:35 PM
Replies:
4
Looking for transparency help
Views:
578
Posted By
Jako
I ended up getting it to work using.. /*...
I ended up getting it to work using..
/* making the new image transparent */
$background = imagecolorallocate($thumb, 0, 0, 0);
ImageColorTransparent($thumb, $background); // make the new temp...
Forum:
General
08-04-2008, 06:03 PM
Replies:
4
Looking for transparency help
Views:
578
Posted By
Jako
Bill, I've added the new lines that you had and I...
Bill, I've added the new lines that you had and I still have a black background around my resized thumbnail.
Forum:
General
08-03-2008, 12:56 AM
Replies:
4
Looking for transparency help
Views:
578
Posted By
Jako
Looking for transparency help
I have a script I kind of tweaked which would resize my images, jpg, gif, or pngs. The script uploads a copy of the source and then a resized thumbnail.
Only issue is that the thumbnail of a png has...
Forum:
General
08-02-2008, 05:47 AM
Replies:
7
Sorting by age issue.
Views:
587
Posted By
Jako
This is what I ended up going with which worked...
This is what I ended up going with which worked perfectly
<?php
while($row = mysql_fetch_assoc($result)) {
$ages = array();
$ages[] = calculate_age($row['month'], $row['day'], $row['year']);
if...
Forum:
General
07-31-2008, 08:00 PM
Replies:
7
Sorting by age issue.
Views:
587
Posted By
Jako
I ended up getting it, finally figured it out...
I ended up getting it, finally figured it out haha but thanks to all for your help.
After I built the array, I used the in_array() function to find the $id which is the age I was looking for to...
Forum:
General
07-31-2008, 07:42 PM
Replies:
7
Sorting by age issue.
Views:
587
Posted By
Jako
$ages = array(); while($row =...
$ages = array();
while($row = mysql_fetch_assoc($result))
{
// Add a new element to the array with the age
$ages[] = calculate_age($month, $day, $year);
}
Ok so I condensed it down to...
Forum:
General
07-31-2008, 07:20 PM
Replies:
7
Sorting by age issue.
Views:
587
Posted By
Jako
Thanks for the reply, I'm just learning PHP along...
Thanks for the reply, I'm just learning PHP along the way and I'm not the best at while loops.
How would I go about setting it up?
The number I am going to pass through will be the age then,...
Forum:
General
07-31-2008, 05:08 PM
Replies:
7
Sorting by age issue.
Views:
587
Posted By
Jako
Sorting by age issue.
I have a table that stores users birthdays, date, month year, etc.
I then have a function which turns these into an age, I.E. 24.
Problem is when I want to show all users who are a specific age I...
Forum:
General
07-28-2008, 02:28 AM
Replies:
0
mkdir permission issues
Views:
660
Posted By
Jako
mkdir permission issues
I'm running a php script that is making a directory using the mkdir() function. Everything works fine, but when the directory is made and I look in FTP the user and group is set to 99 which is...
Showing results 1 to 21 of 21
All times are GMT. The time now is
04:46 AM
.
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