new server interaction


Hi,
I want to add a new server.When I add new servers what needs to be installed on them to interact with the management server?

This depends on the server. Normally, it will be apache or bind, or qmail, ssh server, plus a small set of our scripts that control all of it.

Reading data from XL


Hi,

I am reading data from XL and displaying on a web page and as the data is more i have to scroll the data upwards.
But how do I see column names always?
As the datascrolls up, by column names are also gone up but I need to keep them and scroll only other rows.

Please help me.

have an absolutely positioned (css) div with the column names always placed at a TOP and LEFT position.

have something like frames, or JavaScript working there

H-Sphere jointly with another control panel


I m using a Different control panel.Can I run H-Sphere jointly with another control panel ?

No. In order to install and use H-Sphere, you need to uninstall or stop all other control panels.

Can H-Sphere be installed on a Cobalt RAQ4i Server?

This depends on the version of Linux. If it is RedHat 7.2 or 7.3, H-Sphere can be installed, but the services that come with the server are not compatible with H-Sphere and need to be disabled.

.asp code for links


I am looking for some .asp code to use where other webmasters can submit links for approval (moderated), and perhaps some code that checks reciprocal links, and if legit, then will allow thier link on your page?

You earn to use XMLHTTP and of regexp to check link in other page

Access Web site right after registering a account


I have just register a web hosting account. can i access my Web site right after registering a account.
U can make a Temporary Index Page for that
To do this, you will have to use an instant domain alias . Instant Domain Alias is an additional web address which lets you access your site during the first several hours after the domain name registration, the time when the site is yet unavailable at the newly registered domain. Over the next few days DNS servers all across the Internet will update themselves with your new site name. Once that happens, you will be able to access your site at the domain you have registered.

How to reach a specific folder


How to reach a specific folder in my webuser’s computer.I want when a user click a link, my asp page have to go a spesific folder

is there any ocx or dll to reach webuser’s computer?

ocx came from Microsoft on MSN Space. when user accept activex, it reads our harddisk to add pitcures. There must have been an ocx. I have to find or I will die

no, u can not do it

You can make an ocx yourself, but it works on IE only.

with the using of FSO (File System Object), u can read a file

Code:

<%
Set fs=Server.CreateObject("Scripting.FileSystemObject")
Set f=fs.OpenTextFile("C:/Documents and Settings/username/blabla.txt", 1)
Response.Write(f.ReadAll)
f.Close
Set f=Nothing
Set fs=Nothing
%>
Browsers don't allow this due to user's security settings. Firefox and opera strictly forbid this, while IE uses security zone to enforce the permissions given to web page.

Code:
<%
Set fs=Server.CreateObject("Scripting.FileSystemObject")
Set f=fs.OpenTextFile("C:/Documents and Settings/username/blabla.txt", 1)
Response.Write(f.ReadAll)
f.Close
Set f=Nothing
Set fs=Nothing
%>

thats for the server that hosts your site or for client side

that's for server side.

convert ASP page to PDF


Hi,

Is there a way to convert ASP page to PDF. I want to convert my ASP page to PDF when I give print this page option.

thanks

pdf995 is a free prog that works as a virtual pdf printer

There is one way to convert any file (text or doc or htm or anyother) is to install a virtual printer and select it as a printer while printing, u will be able to save it as PDF file..

Try Persits Software Inc., which has a component related about online converting to PDF

Yes, u r right tertius. I have used a few of the Persits Software Inc components.

send the data from forms to emails


hello,
just a newbie in web development, also in ASP and PHP.
i just wanna ask how to send the data gathered from forms to emails?

Plz. help

Here is a php script that will send any form information to an e-mail address

Code:

if ($_SERVER['REQUEST_METHOD'] != "POST"){exit;}
$message = "";
while(list($key,$value) = each($_POST)){if(!(empty($value))){$set=1;}$message = $message . "$key: $valuenn";} if($set!==1){header("location: $_SERVER[HTTP_REFERER]");exit;}
$message = stripslashes($message);
$to = "yourmail@yourdomain.com";
$subject = "Your Subject";
if (mail($to, $subject, $message))

{
   echo("<h1>Thank You</h1>");

}
web host support different types of DLLs that are used for send email.

Yes steve
 
 Windows NT - 2000 support CDONTS by default, Windows 2000 and 2003 support CDOSYS by default. Many providers support CDONTS on 2003 as well as other objects such as ASPEmail, Jmail and others.Code:
Code:
if ($_SERVER['REQUEST_METHOD'] != "POST"){exit;}
$message = "";
while(list($key,$value) = each($_POST)){if(!(empty($value))){$set=1;}$message = $message . "$key: $valuenn";} if($set!==1){header("location: $_SERVER[HTTP_REFERER]");exit;}
$message = stripslashes($message);
$to = "yourmail@yourdomain.com";
$subject = "Your Subject";
if (mail($to, $subject, $message))

{
   echo("<h1>Thank You</h1>");

Thanks stevon but have another question...
 
 How do we email multiple fields using PHP?
 For example, in here mail($to, $subject, $message), you are only allowed one variable: $message. What if your form contains, say, 4 variables that need to be emailed.

Try this code, I Hope it will help You.
Code:
$message = "The following data subimitted: n
variable1: ".$var1."n
"variable2: ".$var2."n
"variable3: ".$var3."n
"variable4: ".$var4."nn Thank You";

$to = "yourmail@yourdomain.com";
$subject = "Your Subject";
if (mail($to, $subject, $message))

{
echo("<h1>Thank You</h1>");

}

Uploading Site using H-Sphere


How can i Upload my Site using H-Sphere control panel.

Whenever possible, upload your site using the utilities that come with your web-site development software. For instance, if you made your site with SiteStudio, FrontPage or Dreamweaver, use their integrated web publishing tools. If you made your site with simple text editors, or if your site-building software does not have a publishing utility, use freestanding FTP clients, such as CuteFTP, SmartFTP, or the built-in web-based FTP agent.

Please note that site publishing tools don’t remove your old web content from the server. For instance, if you used SiteStudio to upload a site with 15 pages and later you published an updated 7 page version of this site, your directory on the server will have all the new pages and the old pages that haven’t been overwritten. If you publish many versions of the website, the site may become cluttered with old files. Warning: If you have a complete website, be careful not to overwrite it with a publish command.

Contents of Your Home Directory


I have register a web hosting account from cpwebhosting.net. What will be the Contents of my Home Directory.
Your home directory contains several default subdirectories.
There are a lot of subdirectories.Their number and names will differ depending on your plan, yet some of them are common for all plans.

Here are some of the directories that are automatically created and may not be deleted:

Directories that contain your sites. Each of your sites is put in a separate directory. The name of the directory is the same as your site’s domain name. If you have more than one site, you will have several such directories. These are the directories where you will upload your .html files or any other files that you want to make accessible from the Internet. Each of these directories may contain their own /webalizer or /modlogan directories. Do not delete either of these directories! Your site is too valuable to lose at a touch of a button.

The Logs directory. It contains directories for every site with transfer log enabled. Each such directory contains its own set of log files that are required to write and read the data about all visits to your sites. Deleting the Logs directory will cause the loss of the web statistics accumulated in the course of your site operation.

The Virtual FTP directory. Its name is the dedicated IP address. This directory is created when you enable Virtual FTP Server and can be accessed by virtual FTP users to list and download its content. There are as many such directories as dedicated IP addresses. Deleting Virtual FTP directories will cause incorrect operation of Virtual FTP. However, you may harmlessly delete individual files in these directories.


The subdomain directories
. When you make a subdomain, a new directory is created with the subdomain name as the directory name. If you delete a subdomain directory, internet visitors will get the 404 “File not found” error when attempting to access the subdomain.

The ssl.conf directory. This directory stores SSL pairs for all encrypted sites. Deleting the ssl.conf directory will result in incorrect SSL operation.

Can i delete these default directories?
Don’t delete ANY default directories in your root directory, as this will cause malfunctions of your acount. As a rule of thumb, you may delete only directories and files you have uploaded yourselves or that have been uploaded by any of your Virtual FTP and Anonymous FTP users.