php14 Jul 2008 04:50 pm

Nice way to dump out the names and values of the variables coming from a posted form:

foreach ( $_POST as $key => $value ) {
 echo $key . ” ” . “=” . ” ” . $value;
 echo  ”<BR>”;
}

php08 Jul 2008 02:26 pm

Get the parts of the current date into workable variables….

 

        $cday = date(’d',time());
        $cmonth = date(’m',time());
        $cyear = date(’Y',time());

Website Design and Development08 Jul 2008 12:43 pm

A small way to at least keep your pages looking current…and keep your copyright protection going…

<SCRIPT LANGUAGE=”JavaScript”>
<!–  today=new Date();
    y0=today.getFullYear();
    document.write(y0);
  // end hiding —>
</SCRIPT>   

Just stick this after a start year, and you are off to the races!

mysql05 Jul 2008 08:40 pm

One way of detecting of a select statement returned any results.  Using this currently…

  $result = mysql_query(”SELECT * FROM some_table where some_field = ’some_value’ “, $connection);

  if (!$result) 
    $count=0;
  else
    $count =mysql_num_rows($result);

  if ($count == 0) {
   die(”Database query failed: ” . mysql_error());

Webhosting03 Jul 2008 11:12 am

For those that have visited my site and wondered why there are not any prices listed….here is the explanation.   There is a base cost per month, and if you are looking for something that will compete against the ‘commodity website hosting’ companies that you can find by a simple search, Evidia will not be able to come close.

The monthly Evidia Ltd fee is a ‘managed hosting’ fee.  That means that your website gets 100% attention and makes sure that your website stays healthy.  You don’t need to worry about it.  Just pop a message to us on any changes you need, and we can take care of it.  This includes your email server as well.

This type of service is perfect for those that need to keep their attention on their own business.  Staying focused on what you are good at and let us take care of your website and email services.

Please contact us if you would like further information on website services…from domain to hosting, we can help you thru the entire process.

Spam28 Jun 2008 12:23 pm

I remember back in the mid 90’s when the first person dared to advertise services on newsgroups.  You would have thought the world was coming to an end from the posts that followed.  As all of know, that person probably just opened up pandora’s box that was going to happen anyways.  This first coming of spam was not as persistent, or done with evil means as we see today.

Until some additional control is placed on internet access, this medium will continue to be the unlawful wild west.  It’s not easy to see past the services and convenience that internet provides all of us…behind all this goodness there also lurks a real organized crime…almost mafia like in a very techy way.

For example, there was a small Israeli company called Blue Security that had a very well thought out program for helping poor smucks such as ourselves from being blasted by spam that we did not want, or benefit.  You would sign up to be on the ‘do not intrude’ database, which spammers were requested to use to cleanse their spam databases before sending out their crap.  If they did not, then Blue Security would send messages to the benefiting websites that they need to start filtering their spam.  It was starting become very effective and was working.

Until one of the more notorious spammers decided to wage war on Blue Security.  Not only did he shut their website off from the rest of the world, but rumor had it that blue security employees were threatened with their lives.  As a result, Blue Security gave up on a very promising business to explore ways to make use of their technology….because of 1 spammer.

One way to battle this seamy business is to place controls on internet use/access so that if someone is not playing by the rules, at least they can be found and made to pay the price.  Given the unlikelihood that we could get the world to agree to new rules, our only choice is to NOT PATRONIZE SPAM.  I made these big letters so that readers would get the point…the only reason the spammers keep spamming is greed….as long as they make money, they will continue. 

So, this is my first intro post to the category, and will probably post others along the way….they will probably be more like ‘rants’ than anything else, but what a great way to vent!