Search:
Type: Posts; User: chris22
Search :
Search took 0.01 seconds.
Could you please provide links to some of the many PHP threading classes?
I would like to have a look...
Thanks
Hi, if there are no links from other pages, there is no way for google bots to find them. It is only you who knows the URL to open them.
Hi, you may want to have a look here: http://uk3.php.net/manual/en/function.symlink.php
Hi, you can create files with whatever content you like (HTML code for example) like this:
$content=<<<EOD
<html>
<body>
<div><h1>Some great title</h1></div>
<p>First paragraph</p>
Hi, there is an excellent GeoIP module from MaxMind (with a free database updated monthly). More details at http://www.maxmind.com/app/php
I think the only reason is original company behind MySQL was MySQL AB based in Uppsala, Sweden. There is nothing wrong with utf8_general_ci.
Hi,
Rule number one: never relay on JavaScript validation. Treat it only as user interface enhancement. Always do server side validation too.
Rule number two: always sanitise data before...
Hi, probably the best approach is to use your record ID (Primary Key) as the parameter in your links. For example:
<a href="person.php?id=434">Anna Jones</a>
and in person.php file
$id =...
Hi, change your code to:
if (isset($_GET['link']))
{
switch($_GET['link'])
{
case 'home':
echo 'You clicked on you the home link';
Hi, I would check if "Zip" column is correctly indexed.
Hi, maybe your thread id columns is not set to AUTO INCREMENT on your production server? And it is AUTO INCREMENT on your local testing computer?
More on AUTO INCREMENT can be found at:...
In my experience indeed VPS server will perform much better (and consistent) than shared hosting. However you need to be carefully to chose the right virtualisation technology, the one which will...
At the moment you have two A records like:
gem-tech.com A 64.29.151.221
www.gem-tech.com A 64.29.151.221
64.29.151.221 is the IP address of your old web server.
You will...
Hi, please post your domain name (or send me a PM), so I can have a look how it is currently configured and what to change. (note: I don't need/want any login details to register.com, just the domain...
There is couple of variables defining size of various caches in MySQL server, for example: key_buffer, query_cache_limit, query_cache_size etc.
Detailed description of each of them can be found...
Hi, unfortunately I don't know how to achieve 7 days availability, but I can offer one suggestion:
Try to rewrite your function to avoid "global" keyword. Using "global" is considered a bad...
Hi, mail exchange (MX) records which points to email server(s) are completely independent from A (or CNAME) records which points to the web server. So yes, you can move your client's website to a...
Hi, you can try this:
$date = '2010-06-09';
$epoch = strtotime($date);
$day_of_week = date("N",$epoch);
In IIS console open website properties window, click Directory Security tab and click Edit button in Authentication and access control section. In Authentication Methods window make sure Enable...
Hi, you can escape strings before passing them to MySQL server this way:
$value = "dangerous stuff - asfd`%&£$1d%%%£$``";
$query = sprintf("INSERT INTO table1 (col1) VALUES ('%s')",...
Nice site, like the clean design and layout. Perhaps you could enable URL rewriting to change from:
http://www.kleibakkers.fiberhosted.nl/?p=prinsen
to
...
Another approach to "hide" PHP code is to compile it into a binary program:
http://www.roadsend.com/home/index.php
Perhaps I am missing something, but what is the address of your website?
Hi, a popular way of providing one webiste in many languages is with a "url prefix", for example:
www.yoursite.com/en/page1, www.yoursite.com/en/page2
www.yoursite.com/tr/page1,...
Hi, I would recommend Nagios or Nagios based GroundWork