Get the ASP FAQ's you need for mailing, uploading, resizing and more.
Get PHP Faq's you need for your PHP applications.
ColdFusion MX 7 is a Web server add-on for Windows, Linux, and Solaris that makes integrating real-time database information with your Web site as easy as adding a few new tags to your pages. This ...

Explore the FAQs

PHP

Create PDF with PHP

Question:

How to generate PDF file from MySQL table with PHP?

Read More
PHP

PHP - Getting notice Undefined index

Question:
I am getting the following message: Notice: Undefined index: action in /home/fhlinux170/c/cybernet-designs.co.uk/user/htdocs/formtest.php on line 17.

Line 17 contains this line of code if($_POST['action'] == "send"){

Read More
PHP

SESSION variables cheat-sheet (PHP)

Need to know, or get a handle on SESSION variables in your dynamic sites for your PHP?

This is a refrence "cheat sheet," not a tutorial , so I provide tutorial links at the end.

Read More
ColdFusion

Can you use Coldfusion for free?

Is it true that coldfusion is free to use?

Read More
PHP

Record count with PHP Phakt

How to add a record count beside data rows using PHP or phAKT. Read More
Send Mail

Send Mail with Dreamweaver MX

Question:


How can I send mail with Dreamweaver MX. I want to send out a simple subscription confirmation. Read More
Databases

Allow Zero Length and SQL create / alter table

Question:

With a 'create table' or an 'alter table' SQL statement I can add tables or columns to my online live Access database.
I can set new columns to non-required using 'null' in the SQL statement, but is there a way to set the 'Allow Zero Length' property to 'yes' as well?

Read More
Databases

database adding #.......# to your files?

Question:


When i linked my images to my Access database, i keet getting a #.............# aroung it?
example: database has ""/myimages/picture.jpg""
I was getting this on the picture  "http://www.mysite.com/myimages/picture.jpg#http://picture.jpg#"

How can i fix it?

Read More
Databases

Controlling your dates

Question:

How do I make my date in a hidden form element so that it inserts properly in a UK timezone date field ? Read More
ASP

Display Record Count

How do I display the record count on my search results pages, e.g. Records 1-25 of 56? Read More
Databases

Windows XP Home Edition and PHP?

Question:



I have Windows XP Home Edition installed on my computer and I cannot use PWS or IIS to test my PHP/MySQL websites locally. What can I do? Read More
ASP

Delete Dynamically Named Folder

Question:


How can I delete a dynamically named folder with the record it belongs to? 
I created a member site that uses Pure ASP Upload to create a dynamically named folder for each member's images when they first upload. Sometimes we need to delete a member and want to delete the folder as well. Not all members upload images so not all members have folders. How can I delete the folders with the deleted record and insure the page doesn't crash when there is no folder? Read More
ASP

How do I reset the Autonumber to Zero in MSSQL

Question:


You have designed your database and populated it with test data and it is all working fine. It is time to go live and you delete the test data and are ready to go live.

You go live and when you see the live data going into your database the live auto number (@@IDENTITY) starts at the end of the last test number.

No Panic... just use the following in Query Analyzer

Read More
ASP

How do I handle BLOB fields in the Recordset

Question:


When dealing with BLOB fields from Microsoft SQL Server, you must put them to the right of non-BLOB columns in the resultset. To be safe, you should also read the columns in left-to-right order, so if you have two BLOB columns as the last two columns in your resultset, read the first one and then the second. Do not read them in the reverse order. Read More
Error Handling

Using the File System Object on IIS with Norton Antivirus Running

When using the FSO, my ASP page tends to "hang", but doesn't report any errors.

For instance if you use the Pure ASP upload Pack by George Petrov

Read More
Databases

Is there an easy way to create a DSN-less connection to a database?

Steps to Create a DSN-Less Connection String for your Access and SQL Server database(s) using some nice windows features.

Read More
PHP

Username Session variable KT_Username(MM_Username)

Using the stock phakt code I couldn't request the session variable KT_Username on subsequent pages, this shows you the easy fix. Read More
ASP

How many results at one page?

This FAQ explains how you can have your visitors decide how many records they want to be displayed in a repeat region (for example after a search performed on your site).

Read More
Error Handling

Retrieve form fields for debugging

Q

How can i view the contents of a submitted form?

A

Create an ASP page with the following code, and set your form's ACTION
attribute to point to this page.


<% Option Explicit %>
<html>
<!-- head tag -->
<body>

<%
dim fld

response.write "Result from: " & request.serverVariables("HTTP_REFERER")
response.write "<table>"
response.write "<tr><td>Field</td><td>Value</td></tr>"
for each fld in request.form
response.write "<tr><td>" & fld & "</td><td>" & request.form(fld) & "</td></tr>"
next 'fld
response.write "</table>"

%>

</body>
</html>

 

source: ASPToday

Read More
ASP

Formating Date/Time values for different National Preferences

Q

Where can i find a Reference for Formatting Date/Time values for different National Preferences ?

A

http://www.tdsf.co.uk/tdsfdemo/LocaleIDs.asp

Read More
ASP

Write the EURO character

Q:

How can i write the EURO character to the browser ?

A:

Use the code below:

<%
Response.Write "&#8364;"
%>

 

source: ASPToday

Read More
Databases

Connecting OSX Classic to OSX with MySQL and PHAkT

This FAQ will attempt to explain how to make a connection from Ultradev running on a Mac's Classic environment back to a MySQL database hosted locally from Mac OSX. Read More
ASP

Number Count Beside Each Record

This FAQ will demonstrate how to display the number count beside each record when listing your records while using the Repeat Region behavior. Read More
PHP

Session under Win32

Question :

How can I get rid of the errors generated by PHP when creating a session :

Warning: open(/tmp\sess_1243d01f1b06d133deb6b9894ed040ed, O_RDWR) failed: m (2) in C:\apache\htdocs\path\to_document\login.php on line 12

 

Read More
Error Handling

IE ASP Error Handling

I am getting those nasty error500 pages when my ASP code isn't correct and can't see any information on the error that it produces ?

Read More
Databases

Retrieve Form Values from UD4 Insert Record behavior

If you are using the ASP server model and asked yourself once, how do I retrieve the form values from the form that is associated with the UD4 Insert Record Behavior? Read this FAQ. Read More
Databases

Filtering a Recordset with another on same page

How to filter one recordset with another on the same page? Here is a quick tutorial.

Read More
Extensions

PD Editor font size 1 doesn't work

When using the PD editor it appears that font size 1 doesn't work and neither does the add hyperlink button Read More
ASP

Invalid Class String

Are you getting the error below?

Server objecterror 'ASP 0177 : 800401f3'

Server.CreateObject Failed

Invalid class string

Read More
Databases

Keeping User paragraphs (VBS)

Are you making a Content Management System?
Are you making a Forum?

Then I'm sure that you are about to ask:

How do I display the Text as the user entered it? because it shows on the browser as one big block of text...

Read More
Older articles