News:

Go to HostNed.com Home
Welcome.  This is a place to get user-to-user support, learn more, and share ideas.  If you can't find your answers here, feel free to ask by creating a new topic or visit the support ticket system at https://my.hostned.com :)  Have fun here!

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Dynaweb

#271
Critique My Site / Re: Name-Stats.com
March 08, 2006, 08:25:27 PM
Yes, the simple and easy-nav designs are really "in" right now, so thats cool.  I noticed a could things additionally:

1) You do not have a standard navigation bar or anything.  Is there a reason for that?

2) You linked to hostned at the bottom using the text "web hosting".  That's really great!

3) Your header links to page "index.php" and not "/".  Is that intentional?
#272
Well, when you carry a positive balance in your PayPal account (have $$ in there) it is automatically put in to a Money Market Fund (a type of mutual fund *).  A mutual fund is very much like a savings account that you would open at a bank, but they are known to have slightly higher interest rates in exchange for minumum balances (i.e. $500 or however much).  In recent years, mutual funds have become so popular that ther sometimes is no minimum balance, as is the case with Pay Pal.  So every month you get paid $$ for having a balance in there.  It encourages you to keep a higher balance so you can accrue more money in interest.  The contraversial thing about it is that I have not met anybody who would advise to keep a lot of money in their PayPal account, mainly, I assume, for security reasons.  From what I understand, it is not FDIC insured  :o


* Money market funds have relatively low risks, compared to other mutual funds (and most other investments). By law, they can invest in only certain high-quality, short-term investments issued by the U.S. government, U.S. corporations, and state and local governments. Money market funds try to keep their net asset value (NAV) — which represents the value of one share in a fund — at a stable $1.00 per share. But the NAV may fall below $1.00 if the fund's investments perform poorly. Investor losses have been rare, but they are possible.
#273
Do you believe that many of the foods we eat are slowly poisoning us?  In this web site
MSG - Slowly Poisoning America
the author makes the following claims:

QuoteThe MSG triples the amount of insulin the pancreas creates...
QuoteNot only is MSG scientifically proven to cause obesity, it is an addictive substance: NICOTINE for FOOD!
QuoteThe big media doesn't want to tell the public either, fearing legal issues with their advertisers.

Are you a believer or it it just hype?
#274
Announcements / RSS Feeds for HostNed Forums
March 04, 2006, 10:35:55 AM
Get feeds from the forum in RSS format.  Here is the info to use:

Basic RSS
https://my.hostned.com/forum/index.php?action=.xml;type=rss2

Advanced RSS
Limit to certain board
Example: "Domain Names" = board #10 so use the following RSS URL
https://my.hostned.com/forum/index.php?action=.xml;type=rss2;board=14
Also limit number of items
Use the "limit" command so to limit to three items, use the following RSS URL
https://my.hostned.com/forum/index.php?action=.xml;type=rss2;board=14;limit=2
#275
Scripting / [How To] Making a form field required
March 04, 2006, 01:44:31 AM
Let's say you have a web form and you want to make a couple of the fields required.  To keep this as simple as possible we will involve only three fields, "Name", "Email", and "Message".  In this example, all three fields will be required.

Here is your initial form:
<form method="post" action="whatevermailscript.php">
<input maxlength="256" size="35" name="email">
<p>Comments:  <textarea cols="55" name="Comment">  </textarea></p>
<p><input type="submit" value="Send" name="submit">
</form>

You might have noticed I didn't put a Reset button in there.  I think they are stupid, so I dont use them.

Now we need to plug in the validation.  We do this with good old JavaScript!  We will use a function, define the variables (the fields) and call for it on submission (when you click send).  So here we go.

Step 1. Add this in your html form page between the <head></head> tags:
<script>
function ValidateContactForm()
{
    var name = document.ContactForm.Name;
    var email = document.ContactForm.Email;
    var comment = document.ContactForm.Comment;

    if (email.value == "")
    {
        window.alert("Please enter a valid e-mail address.");
        email.focus();
        return false;
    }
    if (email.value.indexOf("@", 0) < 0)
    {
        window.alert("Please enter a valid e-mail address.");
        email.focus();
        return false;
    }
    if (email.value.indexOf(".", 0) < 0)
    {
        window.alert("Please enter a valid e-mail address.");
        email.focus();
        return false;
    }
    if (comment.value == "")
    {
        window.alert("Please enter a description or comment.");
        comment.focus();
        return false;
    }
    return true;
}
</script>


Step 2. Add this as an attribute in the form tag:
onsubmit="return ValidateContactForm();"

Finished Product

<html>

<head>
<title>Form Validation Example</title>

<script>
function ValidateContactForm()
{
    var name = document.ContactForm.Name;
    var email = document.ContactForm.Email;
    var comment = document.ContactForm.Comment;

    if (name.value == "")
    {
        window.alert("Please enter your name.");
        name.focus();
        return false;
    }
   
    if (email.value == "")
    {
        window.alert("Please enter a valid e-mail address.");
        email.focus();
        return false;
    }
    if (email.value.indexOf("@", 0) < 0)
    {
        window.alert("Please enter a valid e-mail address.");
        email.focus();
        return false;
    }
    if (email.value.indexOf(".", 0) < 0)
    {
        window.alert("Please enter a valid e-mail address.");
        email.focus();
        return false;
    }
    if (comment.value == "")
    {
        window.alert("Please provide a detailed description or comment.");
        comment.focus();
        return false;
    }
    return true;
}
</script>
</head>

<body>
Use this form to leave a comment:
<form method="post" action="whatevermailscript.php"
name="ContactForm" onsubmit="return ValidateContactForm();">
    <p>Name: <input type="text" size="65" name="Name"></p>
    <p>E-mail Address:  <input type="text" size="65" name="Email"></p>
    <p>Comments:  <textarea cols="55" name="Comment">  </textarea></p>
    <p><input type="submit" value="Send" name="submit">
    <input type="reset" value="Reset" name="reset"></p>
</form>

</body>
</html>


I hope you will be able to take this example form validator and use it in your own scripts successfully.  Enjoy  ;)
#276
General Hosting / Re: What FTP Program Do You Use?
February 22, 2006, 08:21:39 PM
Welcome to the HostNed Forums Afterburn!

I think i tried smartftp last year or so.  It seemed impressive.  I actually recommend that one to our users.  Personally I like Filezilla since it is great for server admins due to the sftp (SSH2) mode.  Since I am used to using Filezilla for root level stuff, I use it for personal stuff as well.  I like both FZ and SmartFTP.
#277
Graphics and Images / Re: Graphics Programs
February 15, 2006, 09:03:57 AM
I use Ulead Photoimpact.  Mainly because it is easier to use, costs like 8x less than photoshop and has all the features needed for everyday image editing.
#278
General Hosting / What FTP Program Do You Use?
February 06, 2006, 04:23:57 PM
What FTP program are you using to transfer your files?  Why do you choose that one?  Why do you think it is better?
#279
Design Other / Re: How much to charge for web design?
February 04, 2006, 02:20:09 PM
I agree with just about everything you claim here Zelo, and thanks for sharing your perspactives; but what do you tell somebody when they ask you, "Hey, what do you charge to make me a web site?".  Surely you cannot go over all that stuff with them there on the spot.
#280
Scripting / Re: ASP vs. PHP
January 30, 2006, 12:32:09 AM
I find PHP to be the best.  You can use it on Linux or Windows and it integrates very well with SQL, Perl, html, and others.  PHP rocks!  8)
#281
Design Other / How much to charge for web design?
January 30, 2006, 12:23:18 AM
I am hoping to have a detailed, fun, and informative discussion about charging for web design work.  How much do you charge a client?  Do you charge some clients more than others?  If so, why?  Do you charge by the job or by time (by the hour, etc...)?  How important is a contract?

I do not mean to overwhelm with questions, just want to consider many different factors.
#282
Scripting / Re: sendmail usage on HostNed
January 23, 2006, 07:04:02 PM
PHP version of sendmail should work for sure, on all HostNed servers Linux or Windows or whatever.  If you cannot get it to work, contact support via the ticket system with all the relavent details (URLs, etc) and since this above script is officially supported by HostNed they will assist you in troubleshooting.  Then once you get it sorted out, post here what was the matter so as to share knowledge with others.

If you insist on using CGI version of sendmail for some reason, contact support and ask them the location of sendmail for your server (different servers have different locations for sendmail).
#283
Announcements / Welcome to the forums
January 22, 2006, 08:40:55 AM
Feel free to ask or answer any questions here in these forums.  Share ideas with others.  Get help with anything from scripting to preventing SPAM.

If posting, just choose the category you feel is most appropriate.  If looking for answers, use the search function or browse by category.
#284
Just Chat / Using Syndicated Content From These Forums
January 21, 2006, 06:52:44 PM
The default feed is the 5 most recent posts:
http://my.hostned.com/forum/index.php?action=.xml
To get RSS or RSS2 out of that [not viewable in most browsers alone], add ';type=rss' or ';type=rss2' to that URL.
There are several 'sub-actions' available to this action, specifying exactly what to display:

#285
Just Chat / How do you like the forums?
January 21, 2006, 01:48:59 PM
We just got the user forums up and going.  How do you like it? 
Thumbs up or thumbs down?