Announcement

Collapse
No announcement yet.

Coding??

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Coding??

    Is it possible to call up the code in a page to give the code of another page

    for example, you type, http://www.domain.com/filename.php and it is balnk because you are not allowed to view it, but you wont the coding, can you make it so it calls up the coding of filename.php in a webpage?

  • #2
    use the show_source() function

    Sure, you can use the show_source() function and pass to it the name of the file you want to view the source of.

    Also, some web servers may be configured to do this, but if you save your file as filename.phps, then the server will not route the code off to be parsed, but instead to be show with line numbers and colorcoding.

    Hope this helps.

    -Vic

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X