wp-expand-tabs-free domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/websitedevait/public_html/wp-includes/functions.php on line 6131Echo the date in a browser:
| <!–#echo var=”DATE_LOCAL” –> |
You can modify the date time by doing a timefmt before the the line calling the date.
| <!–#config timefmt=” %I %p %Z” –> |
%I Hour as decimal number, using a 12-hour clock
%p puts either a.m. or p.m according to the give time value.
%Z Puts time tone, name or abbreviation ie EST
%b Abbreviated month name %B full month name
Include a file:
| <!–#include virtual=”/directory/navbar.txt –> |
This will include the text of the file in the web page. (Good for things you want on every page.)
Executing CGI or Linux command with SSI:
| <!–#exec cmd=”pwd” –> |
Puts the present working directory location into the web page.
| <!–#exec cgi=”programname.cgi” –> |
| Runs the program named “programname.cgi”. <!–#printenv –> |
This prints out the environmental variables with their responses.
]]>To use fmail.asp, follow the steps below:
AIT’s Windows servers are all configured with this feature. Simply add the following 7 lines to your form to activate this feature.
| <form action=”fmail.asp” method=”POST”> <input type=”hidden” name=”_recipients” value=”E-Mail Address(es) of Recipient(s)”> <input type=”hidden” name=”_email” value=”E-Mail Address on Your Windows Server (email@your-domain.com)”> <input type=”hidden” name=”_subject” value=”Name of Form – Order Form”> <input type=”hidden” name=”_redirect” value=”//www.your-domain.com/thankyou.htm”> <input type=”text” name=”reply_email” value=”E-Mail Address of User Submitting the Form”> </form> |
A web site wouldn’t be complete without some simple method of sending comments or requesting information. A small form and simple CGI can be designed to facilitate such a task. The comments form and CGI / ASP source are presented in two sections below.
HTML Source for the Comments Form
The HTML source below represents a simple comments form. This form can be customized for your Virtual Server by simply changing the occurrences of the email address (shown in bold) to the address that you would like to use in the form. It may be necessary to add an e-mail alias or e-mail mailbox if you use an e-mail address that does not currently exist on your Virtual Server.
| <html> <head> <title>Send Comments / Request Information</title> </head> <body> <h3>Send Comments / Request Information</h3> <hr> <p> Feel free to send us your comments, suggestions, and/or questions. We value your input and desire to make these pages as useful as possible. Please leave an E-mail address so we can reply to you. </p> <p> If your web client supports the “mailto” URL, you can use your <A HREF=”mailto:email-address@your-domain.com.”>local mail app</a> to compose and send a mail message. Otherwise, you can use the form below. </p> <p> For those using browsers that do not support forms such as this, send mail to: <i>email-address@your-domain.com</i> </p> <hr> <form action=”fmail.asp” method=”POST”> <input type=”hidden” name=”_recipients” value=”E-Mail Address(es) of Recipient(s)”> <input type=”hidden” name=”_email” value=”E-Mail Address on Your Windows Server (email@your-domain.com)”> <input type=”hidden” name=”_subject” value=”Name of Form”> <input type=”hidden” name=”_redirect” value=”//www.your-domain.com/thankyou.htm”> <p> <font size=”+1″>Your Full Name:<</font><br> <input name=”name” type=”text” size=50> </p> <p> <font size=”+1″>Your E-mail address:</font><br> <input name=”reply_email” type=”text” size=50> </p> <p> <font size=”+1″>Your comments, suggestions, and/or questions:</font><br> <textarea wrap=physical name=”comments” rows=8 cols=50></textarea> </p> <p> <input type=”submit” value=”Send comments”> <input type=”reset” value=”Clear”> </p> </form> <hr> </body> </html> |
The form shown above represents the minimum amount of information that a comments form should contain – namely “name, recipient, reply to email, subject, and comments”. Other information can be added to the form above. This information will be sent to the e-mail address specified by the “_recipients” field. The fmail.asp script will require that you edit a portion of it. Instructions are provided within the script.
]]>Adding data to a Windows-based database using ASP is rather simple with the following code. Why would you even want to sue a database Well, here’s why.
Here’s how it works:
Need a way to display data from a database by paging through the database a certain number of records at a time? Look no further. This script will allow you to page through your database without displaying the entire contents of the database, which may be huge. You can also restrict who can view what data by using this script.
Here’s how it works:
To modify data inside a MS Access, or MS SQL database, you must use the update SQL statement. We have found that it is much easier to use a 3 form method to update data. First, you would select the data to modify based upon a unique identifier. In this example, we have use the ‘name’ field. We’re assuming that this field would be unique for all records inside our database. You may want to use something like SKU, or PartID for your use. The second page will pull the data for the record that was selected from the first page. The final page will update the database based upon what changes you made on the second page.
Here’s how it works:
If you would like to view the sample code, click here
]]>A DLL can be used by several applications at the same time. Some DLLs are provided with the Windows operating system and available for any Windows application. Other DLLs are written for a particular application and are loaded with the application. With respect to AIT’s Shared Windows hosting solution, AIT will not register (add to the registry) any DLLs. If customers wish to have DLLs registered, AIT recommends one of our Dedicated Hosting platforms that will suit your needs.
]]>Once this option is unchecked, and the changes are applied, ASP errors will show in Internet Explorer, allowing easier debugging of your scripting.
]]>Here are a few steps that you can go through to debug this error: