SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Zealot MarshallX's Avatar
    Join Date
    Jun 2002
    Location
    Essex, Ontario
    Posts
    101
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Viewing PHP code from website

    I am trying to view the php code for this site.

    www.spymedia.net/eyc/forms/form.php

    I have seen someone add an extension before so that the website did not run the code, but made it available in the source. Anyone know how to do this?

    I was something like www.spymedia.net/eyc/forms/form.phpd
    Team Sportscast Network
    2D / Graphics Designer
    MSN / Email : joshvermast@hotmail.com

  2. #2
    SitePoint Guru okrogius's Avatar
    Join Date
    Mar 2002
    Location
    US
    Posts
    622
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP source code is not availible, unless the author of it decides ot make it availible. That's one of the great benefits of it.

  3. #3
    SitePoint Zealot MarshallX's Avatar
    Join Date
    Jun 2002
    Location
    Essex, Ontario
    Posts
    101
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am the author of it, and want to access it from another place, how do i configure it?
    Team Sportscast Network
    2D / Graphics Designer
    MSN / Email : joshvermast@hotmail.com

  4. #4
    SitePoint Wizard samsm's Avatar
    Join Date
    Nov 2001
    Location
    Atlanta, GA, USA
    Posts
    5,011
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The most popular method would probably be to ftp to your host and download the php files.
    Using your unpaid time to add free content to SitePoint Pty Ltd's portfolio?

  5. #5
    SitePoint Enthusiast
    Join Date
    Mar 2002
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What your probably thinking of is the .phps extension. So, just make another copy of form.php (one functional, and one for viewing). And name it form.phps When you visit it in your browser, it will show you the php file with nice syntax highlihting.

  6. #6
    SitePoint Zealot MarshallX's Avatar
    Join Date
    Jun 2002
    Location
    Essex, Ontario
    Posts
    101
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks cypher, thats what I was looking for.
    Team Sportscast Network
    2D / Graphics Designer
    MSN / Email : joshvermast@hotmail.com

  7. #7
    SitePoint Member
    Join Date
    Jan 2003
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I completely forgot about that ext ... thanks, this helps alot.
    Joe - CTO
    Know It All Hosting (a Know It All Solutions Incorporated Company)
    http://www.kiahost.com/
    "We Know It All, So You Don't Have To."


Bookmarks

Posting Permissions

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