Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2007
    Posts
    753
    Tokens
    0

    Default How do i show the source code...

    How do i show the source code on my output page?
    Im adding tutorials to my website and i dont know how to show it
    Publishing free website designs, watch this space!
    Total number of designs published: 0
    Current work in progress: Landscape Design


  2. #2
    Join Date
    Jan 2007
    Posts
    651
    Tokens
    0

    Default

    If there PHP rename them to somthing like "file.phps" then do file_get_contents and echo it out.
    James


    Connected to reality through a proxy server.

  3. #3
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by Mr Macro View Post
    If there PHP rename them to somthing like "file.phps" then do file_get_contents and echo it out.
    Or you could just rename it to .phps, that will automatically show the code.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

  4. #4
    Join Date
    Dec 2006
    Location
    London
    Posts
    3,536
    Tokens
    170

    Latest Awards:

    Default

    Clicky Clicky
    ^^^^^^^^
    That what you looking for?
    2005: JOINED ; Radio DJ

    2006: Radio DJ ; Senior DJ

    2007: HxTV Flash Artist ; Productions Staff ; HxHD Staff ; Head DJ ; Events Organiser ; Productions Staff ; Competitions Staff ; Assistant Radio Manager

    2008: Senior Competitions Staff ; Forum Moderator ; HxHD Staff ; Competitions Manager ; Graphics Designer

    2009: LEFT ; Guest DJ

  5. #5
    Join Date
    Nov 2007
    Posts
    753
    Tokens
    0

    Default

    Thanks for the help but ive decided to use text area's
    Publishing free website designs, watch this space!
    Total number of designs published: 0
    Current work in progress: Landscape Design


  6. #6
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    <textarea>
    <?php include("URL HERE"); ?>
    </textarea>
    Lets set the stage on fire, and hollywood will be jealous.

  7. #7
    Join Date
    Nov 2007
    Posts
    753
    Tokens
    0

    Default

    Or to make it even simpler

    <textarea>
    CODE
    </textarea>
    Publishing free website designs, watch this space!
    Total number of designs published: 0
    Current work in progress: Landscape Design


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •