tundern wrote:tundern wrote:colak wrote:php is a plain text file. so textEdit in plan text mode can save php.
If you use transmit, it can also create blank documents which can also be saved with any web document extension you like.
Alternatively, try BBEdit, textmate, dreamweaver, golive or any web authoring application.
Colak, you would think that TextEdit could save text as a PHP file, but the current version refuses to do this. The error messages says that it can be saved only as a .php.rtf file.
I had downloaded TextWrangler, the "lite" version of BBEdit this afternoon but thought that it could not do what was wanted. So I was reluctant to download BBEdit as well, but have just done so. I found that the "Save to FTP/SFTP Server..." command was just what was required!
Thank you! And thanks to KeyDog too. Now to see how this script works...
No it won't! Uploaded as pun_name_of_my_choice.rtf. #%&&$*()!!+## So PLEASE! How to save an RTF file as PHP on a Mac???? I've tried 6 different things and they either lead to Web pages which no longer exist or do not work!!!!!
Update: I used the control panel for my Web site to change the name of pun_name_of_my_choice.rtf to pun_name_of_my_choice.php. The change was accepted happily because now there is a PHP icon besides the name. I conclude from this that is is not possible to save a file with a .php extension using any of my Mac apps or any that I can find on the Net, but a simple name change to a text file does work.
The file is now in the directory called Forum on my Website. It's there with a heap of other PHP files and the Extensions folder. It is not inside the Extensions folder. However, even though I have logged out of my forum then in again, a refreshed a couple of times, I cannot see where to go to use pun_remove_users_with_no_posts.php. There's nothing new in my forum, not even when I refresh the User List.
What next, Colak, KeyDog and other gurus?