menuWerx is a PHP class to generate a menu for your site. Options include: debug mode, horizontal or vertical orientation & hooks, optional inline styles, and strict or transitional modes. See an example at: [url][/url]

LastMitch commented: Nice Work! +12

I will need to buy an SSL certificate soon and I have a few questions.

When I create the signing request and purchase the certificate, am I tied to the server that generated the request? Once I buy the certificate will I be able to easily transfer it to a new host?

I'm thinking of getting the godaddy Deluxe SSL certificate or the Essential SSL certificate from I would like it very much if people post about their experiences and opinions with these and other SSL providers.

I don't see where you are grabbing the submitted data. Normally this would be something like:
$wavName = $_POST['wavName'];

The submitted data may be in $_POST or in $_REQUEST. Try print_r($_POST); or print_r($_REQUEST); and you should see what you need to do.

I've used cURL to log into a clients secure site and generate downloads for the clients' customers. Does that answer your question or did I not understand?

I'm looking for a way to collect hardware/software information from users that visit a site I'm working on (The user will request this action with full knowledge of what is happening of course). You can see an example of what I'm looking for at Crucial where they have a button to click that checks if your pc is ready to upgrade to Vista or not.

I've looked around but can't seem to find any pre-packaged solutions. Does anyone know of anything like this that can be licensed or bought?


I think its great. It's to the point and succinct. It makes it look easy (which it is for the most part). If somebody has a problem, then its a good reason for them to post and everyone can benefit from that discussion (and possibly use that info to improve/udate the tutorial).

Although in my opinion this is a "server administratration" tutorial and doesn't really apply to scripters/programmers.

For some reason the forum module is redeclaring the <html> and <head> sections of the document. The forum is there, but the browser won't display it because of the html errors. You should probably reinstall the forum module without touching the database.

In general if you wanna update the forum you should get that update from the PHPNuke people, otherwise it will probably break.

I'm writing some copy and the premise is a story about a small business owner. "small business owner" is NOT the keyword phrase I want to optimize the page for, but I find myself using "small business owner" overa and over again.

The product is for small business owners, but I don't expect to rank for "small business owner" or for people to search for "small business owner" in an effort to find my product.

My question is: Should I try to change the wording to avoid repeated use of small business owner (I've thought about using SBO)?

I'm afraid that if I use a different term/phrase each time that I may confuse potiential customers reading the copy. What do you people think?

rariti do as smalldogn says ;)

For more info on the problem check out the following link:

That should work without modification to your .htaccess file.

The only thing that might be an issue would be indexing. So if you see a list of files in the directory instead of the page you expect then try adding the following lines to your .htaccess file:

this will turn off indexing (the list of files

Options -Indexes

this will make a /directory/ link point to index.html

DirectoryIndex index.html

Give the table cell you want to scroll an id, then give it a fixed height, and set overlfow to scroll. Should look something like this:

td#id {
height: 400px;
overflow: scroll;

I would also like to coment, that when using div's for layout I rarely use more than 5 or 6. I'm not sure why you think you have to have as many as you believe you do.

Dani are you talking about checking the referer or something else?

The best way is to use layers. So you would import the image or photo into a photoshop file on a layer. Then make a new layer "above" the image and draw or import the graphics that will create the curved or shaped part.

At a quick glance this looks like a good layers tutorial:

You can find a lot of tutorials here:

<input type="submit" value="att1">

and in your php do:

if($_POST['submit'] == "att1") {
do stuff...

That really depends on how your host has setup the server. Chances are you will need to create an ftp account and install the frontpage extensions for the site you want to work with.

You don't want to do that. That would be very annoying and people would not stay on your site.

Make sure you read the whole thread:

Are you sure the query is returning results? Are the results an array?

print_r($sqlProject); so you know the query looks lik you think it should. Try running that query in phpMyAdmin and see what the results are, that may help you figure out what's going on.

You may need to add the resource link to the query: mysql_query($sqlProject, $link); This link is made using mysql_connect() so look for :

$somename = mysql_connect(login stuff...);

and then you wound want to have it:

$queryProject = mysql_query($sqlProject, $somename)...

mikesowerbutts commented: good helpful asvice +1

Yep, Firefox will show it, IE will not. Try removing the doctype declaration and see if IE will show it. Your doctype declaration is invalid. The doctype you probably wanted to use is:

[HTML]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "[/HTML">">[/HTML]

I think it's because the server accepts asp style code tags as php tags, in other words the server is try ing to parse <?xml... ?> as php.

So try this:
[PHP]<?php echo '<?xml version="1.0" encoding="iso-8859-1"?>'; ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[/PHP">">[/PHP]

MySQL is the most widely used and supported database. PostgreSQL is popular as well.

Server-side languages to look into for interfacing your site with your database: PHP, Ruby on Rails, Python.

So it will be diffucult for anyone to tell you the "how" until you have decided on the "what I will use".

Good Luck.

It looks like the value of the 'stat_pts' field in the database is zero, or possibly you have the field name wrong. Change it to this and you will be able to figure it out i think:
[PHP] function addOneAtt($uname, $attname)
//Get current number of attribute point and stat points
$dbarray = $this->getUserInfo($session->username);
$attpts = $dbarray['$attname'];
$statpts = $dbarray['stat_pts'];
echo '<br /><pre>';
echo '</pre><br />';

    //Add one to the current number of attribute points
    $attpts = $attpts + 1;

    //Subtract one from the current number of stat points
    $statpts = $statpts - 1;

    //Update attribute and stat points in database
    //function updateUserField($username, $field, $value)
    $this->updateUserField($uname, $attname, $attpts);
    $this->updateUserField($uname, stat_pts, $statpts);


You should post several lines of code before the line mentioned in the error + the line mentioned in the error. If possible post a "complete statement", ie a section of code that is more or less complete unto itself.

But I have to say, the code in your error statements looks very screwed up...

Make a page for viewing profiles, that won't show anything that is private or allow any edits. This page you can pull the username from the page link.

Then make a seperate page only for editing. This page would pull the username from your session variable after they have logged in.

Man I can't believe i missed that echo in the first post. I thought you were in html mode...

You don't want to call your include that way. This is kind of backwards but try it:

[PHP]$_GET['username'] = $session->username;

I ran out of time on the other post ;_;


This doesn't use ASP, but it should give you the client-side info you need.


I highly recommend the JQuery library: