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 25 of 80
Search took 0.05 seconds.
Search: Posts Made By: russellharrower
Forum: Advanced PHP Programming 01-11-2010, 04:54 PM
Replies: 9
Views: 1,364
Posted By russellharrower
@Cypher I think you hit it on the head, Just...

@Cypher I think you hit it on the head, Just testing it and adding a few things...

However did not go to plan here is the code.

<?php

$config['url'] =...
Forum: Advanced PHP Programming 01-11-2010, 04:25 PM
Replies: 9
Views: 1,364
Posted By russellharrower
@Cypher I think you hit it on the head, Just...

@Cypher I think you hit it on the head, Just testing it and adding a few things...
Forum: Advanced PHP Programming 01-06-2010, 09:10 AM
Replies: 9
Views: 1,364
Posted By russellharrower
I think I know what you mean, however can I ask...

I think I know what you mean, however can I ask if you can give an example on how to do the first way you said?

thanks
Forum: Advanced PHP Programming 01-06-2010, 01:55 AM
Replies: 9
Views: 1,364
Posted By russellharrower
cURL, What I want is to get the information that...

cURL, What I want is to get the information that is after /graph-mod.swf? then take the data from day= onwards,
Then I want to take that data and spilt each one where the & sign is.
Forum: Advanced PHP Programming 01-05-2010, 03:03 PM
Replies: 9
Views: 1,364
Posted By russellharrower
get part of html file

Hi guys, I am trying to get a section of html from a website that has the following in it


<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
...
Forum: Advanced PHP Programming 12-30-2009, 10:47 AM
Replies: 20
Views: 2,122
Posted By russellharrower
I found a script that works the way I needed it...

I found a script that works the way I needed it to, I thought I would post it below for anyone else.
{code}
<?php
class pointLocation {
var $pointOnVertex = true; // Check if the point sits...
Forum: Advanced PHP Programming 12-30-2009, 05:08 AM
Replies: 20
Views: 2,122
Posted By russellharrower
If you could that would be great. thanks

If you could that would be great.
thanks
Forum: Advanced PHP Programming 12-27-2009, 06:02 AM
Replies: 20
Views: 2,122
Posted By russellharrower
First of all I want to thank you all, But need...

First of all I want to thank you all,

But need to ask, (cos my math teacher did not teach us algebra, Can you make a small PHP example please.

Cos I don't understand the xPoint>(left function...
Forum: Advanced PHP Programming 12-25-2009, 02:10 PM
Replies: 20
Views: 2,122
Posted By russellharrower
Also I noticed you said "You'd have to test the...

Also I noticed you said "You'd have to test the latitude and the longitude separately"
Can I ask what about the diagonal line at the bottom? is their away a PHP script would know what numbers go...
Forum: Advanced PHP Programming 12-25-2009, 02:07 PM
Replies: 20
Views: 2,122
Posted By russellharrower
Can I ask what the difference between > and...

Can I ask what the difference between > and >=
Forum: Advanced PHP Programming 12-25-2009, 11:38 AM
Replies: 20
Views: 2,122
Posted By russellharrower
What I was thinking would be an if statement...

What I was thinking would be an if statement something like

<?php
if($user >144.39.82/38.22.0 && $user < 144.12.99/38.16.20)
{
echo "your in the area."
}
Forum: Advanced PHP Programming 12-25-2009, 09:43 AM
Replies: 20
Views: 2,122
Posted By russellharrower
PHP GeoLocation

Hi guys,
trying to work out the following
I have created a list of GeoLocations and I would like to create a simple system that tells me if a person is inside the area of the GeoLocation I have set...
Forum: Javascript, AJAX, E4X 12-23-2009, 01:42 AM
Replies: 1
Views: 1,183
Posted By russellharrower
Javascript Radio tuner

Hi I am creating a radio turner using jQuery.

But i am having the following issue.
I would like users to click in a DIV and move left and right to change the channel. I want to create an effect that...
Forum: Advanced PHP Programming 12-15-2009, 09:22 AM
Replies: 3
Views: 1,319
Posted By russellharrower
re run PHP if ($row == NO)

Hi i am looking for away to re-run the PHP (without a page reload) if the if statement does not = what I want it to =.

I have googled, binged and yahooed but no answer that helped.
Forum: General 12-14-2009, 04:33 AM
Replies: 3
Views: 604
Posted By russellharrower
Yes each row has an id which is auto assigned.

Yes each row has an id which is auto assigned.
Forum: General 12-11-2009, 10:27 AM
Replies: 3
Views: 604
Posted By russellharrower
Show data from the last status = R

Hi I was wondering if anyone can help me, I need to be able to get information from my MYSQL database but only show the data that was added since the last status = R

for e.g.

Amount | Status
0.00...
Forum: General 12-08-2009, 01:16 AM
Replies: 3
Views: 587
Posted By russellharrower
I have the MYSQL set up. The goal is to make...

I have the MYSQL set up.

The goal is to make sure the issuer does not bombard the system and request MP3 files. over and over again.

they access the files via the same page...
Forum: General 12-07-2009, 02:41 PM
Replies: 3
Views: 587
Posted By russellharrower
Time different PHP/MYSQL

Hi guys,
I am trying to figure out how to do the following

I want to get the last 3 entries in the database
get the time, then i need to find out if all 3 of them have been added in the last...
Forum: Advanced PHP Programming 10-01-2009, 10:50 AM
Replies: 3
Views: 695
Posted By russellharrower
cURL - m4v

Hi i am using the following code to transfer files that start with m4v, however they are not copying over. i was wondering if cURL is able to copy these files?


<?php
/**
* Initialize the cURL...
Forum: Advanced PHP Programming 09-15-2009, 04:31 PM
Replies: 2
Views: 1,300
Posted By russellharrower
serialize XML Category

I have been working on this for around 2 days now, Having the same issue it seems that I can serialize the categories.

They return the following

Array ( [0] => SimpleXMLElement Object ( ) )...
Forum: Advanced PHP Programming 09-15-2009, 02:28 PM
Replies: 10
Views: 824
Posted By russellharrower
So if I add the following $username =...

So if I add the following

$username = mysql_escape_string($_POST['username']);
$password = mysql_escape_string(sha1($_POST['password']));


Is that correct?
Should I also do that for the First name,...
Forum: Advanced PHP Programming 09-15-2009, 04:33 AM
Replies: 10
Views: 824
Posted By russellharrower
Well the idea of the 15 min is to see if it has...

Well the idea of the 15 min is to see if it has been longer then 15min since the user has done something on the site.

If so they would have to login again.

Any thoughts.
Forum: Advanced PHP Programming 09-15-2009, 02:19 AM
Replies: 10
Views: 824
Posted By russellharrower
Ok I have had a goodnight sleep to think about...

Ok I have had a goodnight sleep to think about everything you said.
1. While I am not sure why I would need SQL cleaning? as I googled SQL cleaning, and got no where - so maybe you can explain.

2. I...
Forum: Advanced PHP Programming 09-14-2009, 04:47 PM
Replies: 10
Views: 824
Posted By russellharrower
Do you see anything wrong with the following...

Do you see anything wrong with the following code, it wont allow me to login


<?php
$login = "SELECT * FROM tbl_user_account WHERE user_account_username = '".$username."' AND user_account_password =...
Forum: Advanced PHP Programming 09-14-2009, 03:59 PM
Replies: 10
Views: 824
Posted By russellharrower
Check Username in DB

Hi i have been surfing the web, trying to find away to show the user if the username they want is taken or not.

Was hoping to do this via Javascript

Any pointers

the field is $username

Thanks
Showing results 1 to 25 of 80

 

All times are GMT. The time now is 08:50 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