| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Oct 2006 Location: Inside your firmware.......
Posts: 217
![]() ![]() | write to .php pages with php? Is it possible to write a small script that allows me to write a php page? I am not looking for a existing script, but for help on how to make one. What I would like to do is make a small textbox, write in it what i want, and press submit. It will then write the body of the textbox to that php file. Again, i am looking for help on how to make one. Please do NOT give me other ways, like mysql or anything, just answer to my question, thanks. |
| |
| | #2 (permalink) |
| Tech Support Join Date: Mar 2005
Posts: 4,944
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Something like.. PHP Code: ????: NamePros.com http://www.namepros.com/showthread.php?t=334586 If you need any of it explained, let me know which parts, etc. |
| |
| | #6 (permalink) |
| Professional Monkey Join Date: Jul 2005 Location: Escaped from the zoo
Posts: 907
![]() ![]() | So you taking text from a textbox and writing it in a php file. Expect your website to be hacked fairly quickly.
__________________ Webmaster Words |
| |
| | #7 (permalink) | ||||
| If only you knew... Join Date: Oct 2005 Location: Inside your head...
Posts: 990
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| ||||
| |
| | #10 (permalink) |
| First Time Poster! Join Date: Jun 2007
Posts: 1
![]() | But shouldn't it be PHP Code: |
| |
| | #11 (permalink) |
| NamePros Regular Join Date: May 2005 Location: England
Posts: 390
![]() ![]() ![]() | Usually 755 or 766 should suffice (depends what is executing it, if its apache it depends what its running under, nobody etc), you only want to give enough permissions as necessary to do the job.
__________________ -Beaver6813.com - Web Developer Extraordinaire! |
| |
| | #12 (permalink) | ||||
| NamePros Regular Join Date: Jul 2005 Location: Tucson, AZ
Posts: 689
![]() |
????: NamePros.com http://www.namepros.com/showthread.php?t=334586 I'd say play with this on your own server behind a firewall or something...I can't really think of a practical use for this sort of feature in a production environment... | ||||
| |
| | #13 (permalink) | ||||
| NamePros Expert Join Date: Nov 2003 Location: Scotland
Posts: 5,074
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| ||||
| |