Gosh I hope this isn't a dumb question....

Discussion in 'PHP' started by WorldwideInfoSource.com, Jan 22, 2007.

  1. #1
    Can a PHP script run in a DotNetNuke site? I am trying to decide if I should use DNN or PHP with a CMS. Thanks!
     
    WorldwideInfoSource.com, Jan 22, 2007 IP
  2. BluCava

    BluCava Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    To my knowledge, no; unless you use an <IFRAME> within the .net nuke site.
     
    BluCava, Jan 22, 2007 IP
  3. WorldwideInfoSource.com

    WorldwideInfoSource.com Member

    Messages:
    77
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    Can anyone elaborate?
     
    WorldwideInfoSource.com, Jan 22, 2007 IP
  4. BluCava

    BluCava Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    well what you'd do is open the .aspx page and use the following code.

    <IFRAME src="/file.php">

    Just make sure that the server is able to handle php files.

    Hope this helps..

    Blu
     
    BluCava, Jan 22, 2007 IP
  5. jgarrison

    jgarrison Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I'm unsure why you'd want to do that. DNN is written in asp.net - a server script language that runs on a Windows server. PHP is a server script language that is typically run on Linux servers. Why would you want to mix the 2 languages? Usually you would code the entire site in one language or the other.

    If you have an existing PHP script you want to use within a CMS then you should probably look for a PHP based CMS.
     
    jgarrison, Jan 22, 2007 IP
  6. WorldwideInfoSource.com

    WorldwideInfoSource.com Member

    Messages:
    77
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #6
    There is a PHP script that I want to use, on a DNN site.
     
    WorldwideInfoSource.com, Jan 22, 2007 IP