Search Results

Showing results 1 to 20 of 20
Search took 0.01 seconds.
Search: Posts Made By: dragonflyuk
Forum: MySQL Dec 10th, 2008
Replies: 4
Views: 724
Posted By dragonflyuk
I have found it is considerably quicker to do the query without the rand, then get the record count in php and pick a random record. Don't know if that helps anybody infuture.
Forum: MySQL Dec 10th, 2008
Replies: 4
Views: 724
Posted By dragonflyuk
I actually only get 2 fields, but I'd paraphrased my query to shorten it.
Forum: MySQL Dec 9th, 2008
Replies: 4
Views: 724
Posted By dragonflyuk
I've got quite a slow query, that I need to get a random record from, however this is proving painfully slow, can anyobdy suggest ways to speed up the following query.

SELECT * FROM people WHERE...
Forum: RSS, Web Services and SOAP Dec 8th, 2008
Replies: 1
Views: 1,773
Posted By dragonflyuk
I have an rss feed on one of my servers, that changes constantly, however I think that it is been caches somewhere down stream, is their any way I can stop it from been cached?
Forum: MySQL Nov 26th, 2008
Replies: 0
Views: 540
Posted By dragonflyuk
I have 2 tables with the basic structure

town, latitude, longitude
postcode, latitude, longitude

where latitude and longitude are both floats, and the town and postcode are just descriptive...
Forum: JavaScript / DHTML / AJAX Sep 23rd, 2008
Replies: 2
Views: 2,743
Posted By dragonflyuk
I've got 3 date fields on a form, each is set using the standard datetimepicker.js, however I have set the resulting text field to readonly to prevent users entering silly date formats into the...
Forum: PHP Sep 20th, 2008
Replies: 1
Views: 1,049
Posted By dragonflyuk
I'm trying to access a USB serial port, using a CLI PHP script in an XP machine.

I thought I'd got it sussed using fopen, however I have since discovered that the script on works if I have...
Forum: Ruby Aug 30th, 2008
Replies: 1
Views: 3,224
Posted By dragonflyuk
I'm experimenting with ruby and watir for parsing data from the web.

I'm having no problem getting info from standard fields, however I've come across a listbox on one of the pages I'm looking at,...
Forum: PHP Aug 25th, 2008
Replies: 12
Views: 1,204
Posted By dragonflyuk
But you gave me a good idea, if when I've done the javascript lookup etc. rather than jump to the refering page using window.location, I can use history.go that way if the user clicks back on the...
Forum: PHP Aug 25th, 2008
Replies: 12
Views: 1,204
Posted By dragonflyuk
I already have a link back to the query form but people tend to use back on thoolbar, don't suppose you can blame them it's probably just habit.
Forum: PHP Aug 23rd, 2008
Replies: 12
Views: 1,204
Posted By dragonflyuk
Looking at our logs, I notice that quite a few users, look at the page then go back, probably to change some details or similar, however back doesn't work because of the intermediary page. Any ideas...
Forum: MySQL Aug 12th, 2008
Replies: 2
Views: 681
Posted By dragonflyuk
Anybody any ideas?
Forum: MySQL Aug 10th, 2008
Replies: 2
Views: 681
Posted By dragonflyuk
Is there any easy way of mirroring a mysql database, without having access to the config files??

Reason I ask is that I have 3 servers all running of the same mysql databases. 95% of the access to...
Forum: PHP Aug 2nd, 2008
Replies: 2
Views: 676
Posted By dragonflyuk
I knew that honest :$

I'd spent best part of day starring at that, and rejigging it, never spotted my mistake, even though once it's pointed out, I know it's wrong.

Once again thanks r0bb0b
Forum: PHP Jul 31st, 2008
Replies: 2
Views: 676
Posted By dragonflyuk
I'm trying to detect googlebot, or more to the point have some code not run when googlebot is viewing the page

This is what I am using

if (strpos(strtolower($_SERVER[‘HTTP_USER_AGENT’]),...
Forum: PHP Jul 27th, 2008
Replies: 12
Views: 1,204
Posted By dragonflyuk
Forum: PHP Jul 25th, 2008
Replies: 12
Views: 1,204
Posted By dragonflyuk
Think I've got that to work now. It's not pretty yet, but see what you think.

www.route-information.co.uk
Forum: PHP Jul 25th, 2008
Replies: 12
Views: 1,204
Posted By dragonflyuk
I suppose I could have a "Processing" page that does the javascript and bounces back, suppose that could work.
Forum: PHP Jul 24th, 2008
Replies: 12
Views: 1,204
Posted By dragonflyuk
The javascript gets details from googlemaps, then submits the to a php script whic formats them, and stores them in a mysql database as a cache.

The lookup needs to be triggered by data entered...
Forum: PHP Jul 24th, 2008
Replies: 12
Views: 1,204
Posted By dragonflyuk
I have a javascript that looks up some details on googlemaps for me, then returns them to a php script that does the web bit I actually need doing. I actually works by filling in a form and...
Showing results 1 to 20 of 20

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC