1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

php include = asp?

Discussion in 'C#' started by Adulu, Apr 6, 2011.

  1. #1
    php
    include("my.php");
    PHP:
    how to include file in asp?
    SEMrush
    thank you
     
    Adulu, Apr 6, 2011 IP
    SEMrush
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,681
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    In classic ASP (obviously defunct for the last 9 years)
    <!--#include file="my.inc"-->
    Code (markup):
    In ASP.Net you can use the same syntax but generally it is an outdated way of doing things in an OOP framework
     
    AstarothSolutions, Apr 6, 2011 IP
  3. miguelf

    miguelf Member

    Messages:
    98
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    48
    #3
    In ASP.NET use a custom web control.
     
    miguelf, Apr 6, 2011 IP
  4. unknownpray

    unknownpray Active Member

    Messages:
    3,832
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    70
    #4
    you should follow simple code:
    <!--#include file="my.inc"-->
     
    unknownpray, Jun 25, 2011 IP