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 6170Echo the date in a browser:
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 –>
To use fmail.php, follow the steps below:
AIT’s Linux servers are all configured with this feature. Simply add the following 5 lines to your form to activate this feature.
| <form action=”fmail.php” method=”POST”> <input type=”hidden” name=”subject” value=”Name of Form – Order Form”> <input type=”hidden” name=”thank_url” value=”//www.your-domain.com/thankyou.htm”> <input type=”text” name=”sender” value=”E-Mail Address of User Submitting the Form”></form> |
| Note: The e-mail address of the “recipient” is specified within the fmail.php script. |
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 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 usethe 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.php” method=”POST”> <input type=”hidden” name=”subject” value=”Name of Form”> <input type=”hidden” name=”thank_url” 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=”sender” 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, 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 “recipient” variable within the editable portion of the fmail.php script.
]]>If you would like to view the sample code, click here
]]>AIT also provides Do-It-Yourself Script Library that you can use. These scripts are provided as-is and do not carry any warranty.
]]>memory_limit = 16M
This is change in megabytes, notice the M. Remember, that you ALWAYS have to specify M, and NOT MB, or you will cause the ini file not to be read properly, and have only 16 bytes if you have 16MB specified in that line.
Save the file and upload it back to the server. Ensure you make a backup copy before you upload it.
]]>The php support on our servers is compiled into the Apache (HTTP) daemon. Thus, the changes made to php.ini will be read in. This file is normally edited by customers who are looking to increase the amount of memory (RAM) that PHP is allocated for a given application, such as a file upload script or web based email for attachment size.
To edit the php.ini file, do the following: