Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » PHP to ASP (easy for you guys) <?php include to the correct ASP code?
Closed Thread
Old 08-08-2005, 05:32 AM   #1 (permalink)
Jso
 
Newb Techie

Join Date: Mar 2004

Posts: 23

Jso

Default PHP to ASP (easy for you guys) <?php include to the correct ASP code?

I guess this is an easy conversion, nothing fancy.

My current PHP code is:

<td>
<?php include ("header.html");
?>
</td>

THEN I found out that the server Im trying to host it on doesn't support PHP but it DOES support ASP.

What should the ASP code look like? Or am I completly mistaken? Thanks you guys!
Jso is offline  
Old 08-08-2005, 10:15 AM   #2 (permalink)
 
Super Techie

Join Date: Feb 2005

Posts: 262

jinexile

Default

I'd say ditch your server first if it only supports ASP... PHP can work on any server ASP can (unfortunatlly that doesn't go the other way around.)

ASP code lookes like visual basic.

<% 'ASP code goes here %>
__________________
AMD Athlon 64 3000+ (Overclocked to 3300+)
ASUS K8V-Deluxe
1GB PC3200 DDR
2x200GB Seagate SATA RAID 0
BFG 6800GT OC w\\128MB Ram
2x 19\" Samsung 930B LCDs
jinexile is offline  
Old 08-08-2005, 01:15 PM   #3 (permalink)
 
Ultra Techie

Join Date: Sep 2003

Location: Bamberg, Germany

Posts: 549

Iron_Cross

Send a message via ICQ to Iron_Cross Send a message via MSN to Iron_Cross Send a message via Yahoo to Iron_Cross
Default

Make sure it's ASP and not ASP.NET, the two are VERY different.
__________________

See today\'s Penny-Arcade!(May contain foul lanuage)
Pain is weakness leaving the body.

PM Me for my MSN
Iron_Cross is offline  
 
Closed Thread

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On