Results 1 to 5 of 5

Thread: Saving a file as phps

  1. #1
    sly gypsy Recognized Member Levian's Avatar
    Join Date
    May 2002
    Location
    Donut Plains
    Posts
    14,210
    Articles
    1
    Blog Entries
    4
    Contributions
    • Former Cid's Knight
    • Hosted the Ciddies

    Default Saving a file as phps

    I have a php file, and my teacher wants me to make a phps version in addition to the php file, so he will be able to read it.

    How do I do that? ;o

    Have to deliver a project in 8 or so hours

    edit: There's no way for Notepad++ to save it as phps, just php.

    I opened it in Notepad though, will it work if I select all files and just add the extension .phps?

    edit2: well it SEEMS to be working for me at least. Hmm, just want to make sure though.


  2. #2
    Draw the Drapes Recognized Member rubah's Avatar
    Join Date
    Dec 2004
    Location
    Now Destiny is done.
    Posts
    30,655
    Blog Entries
    21
    Contributions
    • Former Administrator
    • Former Cid's Knight

    Default

    wtf is phps?

    Just save it with that extension. it works for like 95% of [plaintext] files.

  3. #3
    Hypnotising you crono_logical's Avatar
    Join Date
    May 2001
    Location
    Back in Time
    Posts
    9,313
    Contributions
    • Former Administrator
    • Former Cid's Knight

    Default

    Is he reading the .phps file from the same website you have the .php stored, maybe for comparison of source and result? If so, he's probably just saying save a copy with a different file extension, so when you browse to it, you see the source code instead of the server actually running the script Seems a bit of a silly way to do things though
    Problems playing downloaded videos? Try CCCP


  4. #4
    diafnaoplzkthnxbai NeoTifa's Avatar
    Join Date
    Jun 2005
    Location
    in psy's panties <3
    Posts
    3,411

    Default

    Is there actually a difference? Or is it a html vs. htm thing?
    Oh gods, why? ಥ_ಥ


  5. #5
    sly gypsy Recognized Member Levian's Avatar
    Join Date
    May 2002
    Location
    Donut Plains
    Posts
    14,210
    Articles
    1
    Blog Entries
    4
    Contributions
    • Former Cid's Knight
    • Hosted the Ciddies

    Default

    Quote Originally Posted by crono_logical View Post
    Is he reading the .phps file from the same website you have the .php stored, maybe for comparison of source and result? If so, he's probably just saying save a copy with a different file extension, so when you browse to it, you see the source code instead of the server actually running the script Seems a bit of a silly way to do things though
    Yeah, that's exactly what he wanted. I just didn't know how to save the file as a phps. Turns out I couldn't do it with Notepad++, but it worked for regular Notepad.


Posting Permissions

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