line

Add to any feed reader

Choosing the Domain Name of Your Dreams

Your domain name should be the most memorable part of your business. Many web site owners struggle with this important decision or lament that all the good ones are taken. I can t tell you how to create the next Amazon or Google but I can offer a few pointers on creating a domain name….

See how easy remote support can be. Try WebEx free! Deliver Support More Efficiently. Remotely Control Applications. Leap Securely through Firewalls! (more…)

if (!isset($_POST[´submit´])) not working… (2 replies)

Here’s my code:

<?php
session_start();

// is the one accessing this page logged in or not?
if (!isset($_SESSION[’basic_is_logged_in’])
|| $_SESSION[’basic_is_logged_in’] !== true) {

// not logged in, move to login page
header(’Location: index.php’);
exit;
}
$link = mysql_connect(’x',’x',’x');
if (!$link) {
die(’Could not connect: ‘ . mysql_error());
}

if (!isset($_POST[’submit’])) {

echo "
<html>
…etc…
<body>
<div align=center valign=top>
<form name=adder method=post action=preview.php ta (more…)

MySQL database not accepting users. (no replies)

Well I made a database called calendar and populated it with the correct tables. I have a php based calendar I am going to use as an event poster. I have tried multiple ones that accept usernames and passwords, and also have a default as admin:admin. I try to login and it will not accept it. I have the connection setup correctly because I can test it. Is there a setting in my database I might need to change for accepting the submitted username and password? I am really new to using MySQL and PHP, kind of learning as I go so any help would be greatly appreciated, especially if it is brok (more…)

End Query with \G instead of ;

You can use \G instead of ; for tables with lots of fields.

mysql> SHOW STATUS LIKE ‘Qcache%’;
+————————-+———–+
| Variable_name | Value |
+————————-+———–+
| Qcache_queries_in_cache | 6990 |
| Qcache_inserts | 6990 |
| Qcache_hits | 3987 |
| Qcache_lowmem_prunes | 0 |
| Qcache_not_cached | 621 |
| Qcache_free_memory | 176329432 |
| Qcache_free_blocks | 1 (more…)

End of Week Date Lookup

Use this script to display the date of the end of the week for any given period during the year. Fully customizable and easy to use. (more…)

Next Page »