SEO | Link Popularity | Search Engine Consulting | SEO Tutorial | SEO Tools | SEO Forum
Reply
 
Thread Tools Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
  #11  
Old 02-20-2006, 07:25 AM
Paz's Avatar
Paz Paz is offline
SEO GUY Moderator
 
Join Date: Sep 2004
Location: Antalya, Turkey
Posts: 4,111 Paz has a spectacular aura aboutPaz has a spectacular aura about
Quote:
Originally Posted by vivek_master1469
Wll my asp code work after downloading windows nt servet option pack 1


Well that depends on the code!

But you can test to see if the pws/IIS is working by writing a simple default.asp file with something like in the <body> tags:

<% Response.Write("Hello World!") %>

Put the default.asp file in the c:\inetpub\wwwroot directory and launch the file with http://localhost/default.asp

If you're having specific problems with asp code, why don't you post the code here and we can have a look.

Cheers,
Paz.
__________________
10.3 million entries for Hotels in Turkey but I'm still chipping away.
Reply With Quote
  #12  
Old 02-20-2006, 11:05 PM
vivek_master1469's Avatar
vivek_master1469 vivek_master1469 is offline
SEO Junior and a half
 
Join Date: Feb 2006
Posts: 37 vivek_master1469 is on a distinguished road
There is not inetpub folder. Pws is not istalled in my pc. I have lost my win98 cd and i am downloading the nt server 4.0 from the link given by you.
I have heard that it is necessary to install pws to run asp codes which connects database and i should have iis to enable to send e-mail through asp.
Chech this link the code is not working http://www.avi-bags.com/mail.html. I cannot attach the zip file due to problem when i open popup window it the window hangs. this problem happens only with microsoft internet explorer 6.0 not with 5.0.
Reply With Quote
  #13  
Old 02-20-2006, 11:14 PM
vivek_master1469's Avatar
vivek_master1469 vivek_master1469 is offline
SEO Junior and a half
 
Join Date: Feb 2006
Posts: 37 vivek_master1469 is on a distinguished road
Question

i code will not work locally if i have not installed pws but what if i will publish that asp file on my website and then run it.
Reply With Quote
  #14  
Old 02-21-2006, 03:21 AM
Paz's Avatar
Paz Paz is offline
SEO GUY Moderator
 
Join Date: Sep 2004
Location: Antalya, Turkey
Posts: 4,111 Paz has a spectacular aura aboutPaz has a spectacular aura about
That's a php script..... with a php extension....

asp is a completely different language... with an asp extension.

Why don't you cut and paste the entire script into a new thread in the php forum and let the php gurus look at it.

Cheers,
Paz.
__________________
10.3 million entries for Hotels in Turkey but I'm still chipping away.
Reply With Quote
  #15  
Old 02-21-2006, 09:26 PM
vivek_master1469's Avatar
vivek_master1469 vivek_master1469 is offline
SEO Junior and a half
 
Join Date: Feb 2006
Posts: 37 vivek_master1469 is on a distinguished road
Question

Here is the php code :-
<?PHP
// +----------------------------------------------------------------------+
// | PHP version 4.0 |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997, 1998, 1999, 2000, 2001 The PHP Group |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the PHP license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available at through the world-wide-web at |
// | http://www.php.net/license/2_02.txt. |
// | If you did not receive a copy of the PHP license and are unable to |
// | obtain it through the world-wide-web, please send a note to |
// | license@php.net so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// | Authors: Original Author <contact_bogomil@dir.bg> |
// | GPL:Eurosoft Ltd <eurosoft@xi-tec.com> |
// +----------------------------------------------------------------------+
//
// $ID EUBGRSMAL180601$
$today=date("M-d-Y");



if ($pic !="Pictures"){
// Path to your picture dir.

$base="http://example.com/design/mail";


$message_n="<html><head>
</head><table align=center border=1 bordercolor=$color><tr>
<td><center><img src=$base/$pic.jpg></center><p></td></tr>
<td><center>Message from:$sender &nbsp; &nbsp; &nbsp; &nbsp;Send date:$today</center></td></tr>
<td><font color=$color size=$size>$message</p>
</font></td>
</tr></table>


</body><html>";

}

else {


$message_n="<html><head>
</head>
<body bgcolor=$bgcolor>
<font size=+1 color=yellow>Message from:$sender <hr>$today<br></font>
<center>
<u><font size=+2 color=$color>Subject:</u>$subject
<center>
</font>
</u><font size=+2 color=$color>Message:</font><font color=$color size=$size></u>$message
</font>
</body><html>";





}




$headers .= "MIME-Version: 1.0 \n" ;
$headers .= "From:$sender \n";
$headers .= "X-Sender:Admin<Who@me.network> \n";
$headers .= "X-Mailer:webFormMailer v1.0001 \n";
$headers .= "X-Priority:$Priority \n";
$headers .= "Return-Path: <@softf.eurosoft.bg> \n";
$headers .= "Content-Type:text/html;charset=iso-8859-1 \n";

$mail_fn=mail($recipient,$subject,$message_n,$head ers);




if($mail_fn==0)
{
echo"Oops....";
}

else
echo"Done";
echo"<br><a href=javascript:history.go(-1)>Back to M.center</a>";


?>
Reply With Quote
  #16  
Old 02-21-2006, 09:42 PM
vivek_master1469's Avatar
vivek_master1469 vivek_master1469 is offline
SEO Junior and a half
 
Join Date: Feb 2006
Posts: 37 vivek_master1469 is on a distinguished road
Question

I wan to connect a text to a database(www.avi-bags.com/vivek.mdb).
I have tried w3schools.com code but it did not worked. i oublishe dit and when i opened it the page was not displayed. I cannot test my code like http://localhost/myfile.asp. i have to publish it on the web and then see it.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Login/Register
User Name
Password
Remember Me?

Forum Links
Forum Home
SEO Forum
Internet Marketing Forum
Web Design Forum
Web Hosting Forum
Programming Forum
SEO Chat

Quick Links
Forum Home
New Posts
Mark Forums Read
Open Buddy List
User Control Panel
Edit Avatar
Edit Profile
Edit Options
Miscellaneous
Subscribed Threads
My Profile

Search Forums

Advanced Search
All times are GMT -8. The time now is 11:32 AM.


Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.