No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
10 Posted Topics
Okay I don't really know where to ask this, but I'm working in PHP at the moment, because its quick and easy so I'll start here. I've been given the task of converting some old files. I know the files are all images, and we believe most if not all …
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 previously run Hyperteminal to connect to the com port. I've even tried …
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, and I want to find an easy way of getting the number if items returned …
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?
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 names like "%bert%" or names like "%john smith%".......... or names like "%eric%" ORDER BY …
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 text. I want a query that will display the closest postcode to each town, is it possible?
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 field. However the 3 fields must be in the correct order i.e. datetime1 must be before …
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 submitting it, so that php can handle the data. However I now …
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 the DB is read data. So what I'm thinking is for both …
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’]), "google") === FALSE) However google bot appears to be still running the code, anybody any ideas?
The End.
dragonflyuk