# PHP simple question

**URL:** <https://forum.kirupa.com/t/php-simple-question/42571>\
**Category:** Uncategorized\
**Created:** [February 10, 2004, 2:56pm UTC](https://forum.kirupa.com/t/php-simple-question/42571 "2004-02-10T14:56:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ling](https://avatars.discourse-cdn.com/v4/letter/l/c2a13f/32.png) [@Ling](https://forum.kirupa.com/u/Ling)\
**Post date:** [February 10, 2004, 2:56pm UTC](https://forum.kirupa.com/t/php-simple-question/42571/1 "2004-02-10T14:56:48Z")

</div>

May I know what program is use to read or edit PHP files? I’d few PHP files that my friend forwarded to me but I failed to open it using Dreamweaver.

Thank you!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 10, 2004, 4:04pm UTC](https://forum.kirupa.com/t/php-simple-question/42571/2 "2004-02-10T16:04:49Z")

</div>

if you’re using a PC you can use something like notpad, or wordpad.

If you’re using a mac, probably simple text would work.

if you’re using Linux, you could use Emacs (i think thats what its called) or Pico (command based editor) or something like that =)

and if it doesnt open in either, its probably a corrupt file or its not php… etc. =)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 10, 2004, 4:15pm UTC](https://forum.kirupa.com/t/php-simple-question/42571/3 "2004-02-10T16:15:51Z")

</div>

> \*Originally posted by Raydred \*  
> **if you’re using Linux, you could use Emacs (i think thats what its called) or Pico (command based editor) or something like that =)**

Yes, it’s called Emacs 😉 I use vim under Linux.

You can open PHP files in any text editor. Under windows though, if it’s all cluttered up and on one line, it’s probably using Un\*x style line endings(  
instead of  
).

If this happens, you need to use an editor that can use Un\*x style line endings… Dreamweaver definitely can, but I don’t know about the rest…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 10, 2004, 5:49pm UTC](https://forum.kirupa.com/t/php-simple-question/42571/4 "2004-02-10T17:49:29Z")

</div>

> \*Originally posted by Raydred \*  
> **if you’re using Linux, you could use Emacs (i think thats what its called) or Pico (command based editor) or something like that**  
> pico is unix

you can probably even use M$ word. I think it’ll open a file in both formats.
