Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 12th, 2003, 03:06 PM
Registered User
Join Date: Dec 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default help convert this code from asp to php

can somebody please help convert this asp code to php?

<%@ Language=VBScript %>
<META NAME="GENERATOR" Content="Microsoft FrontPage 5.0">


<form id=form1 name=form1>
dim comDate
dim comName
comDate = Request.Form("hdndate")
comName = Request.Form("hdnComName")
'Response.Write (comName)
Set MyMail = Server.CreateObject("CDONTS.NewMail")
MyMail.From = "reach_rehana@hotmail.com"
MyMail.To = "rehana_here@yahoo.com"
MyMail.Subject = "hi Admin"
MyMail.Body = comName & " is registered by xyz on " & comDate
Set MyMail = Nothing
Response.Write "You have registered succesfully. Please contact Admin"


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to run php code in asp kyleshome Classic ASP Basics 8 February 11th, 2010 05:27 PM
Convert English Char To Hindi Language in PHP Plz maheshoo7 PHP How-To 1 June 26th, 2007 10:21 AM
convert PHP to VB.NET or C# eugz VB.NET 4 April 24th, 2007 01:12 PM
Convert dynamic PHP report to PDF and then email phishee Pro PHP 0 November 4th, 2004 03:05 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.