![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Professional Programmer
|
you better beeotch..
you don't have to...this is a free country after all...![]() |
|
|
|
|
|
#12 |
|
Programming Guru
![]() ![]() ![]() |
yesa masta... as yu wish masta.
lol.. i thought it was a clever idea... i will implement it when I take a stab at v5
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#13 |
|
Professional Programmer
|
http://www.php.net/manual/en/languag...comparison.php
bwah, it exists in php4 as well.. screw this, i'm done.. ![]() |
|
|
|
|
|
#14 |
|
Hobbyist Programmer
Join Date: Jan 2005
Posts: 110
Rep Power: 4
![]() |
awesome thanks people ^^
wasnt expecting that many replies lol |
|
|
|
|
|
#15 |
|
Hobbyist Programmer
Join Date: Jan 2005
Posts: 110
Rep Power: 4
![]() |
got the listing to work
but how will i set links to open them up in big edit box on the screen @_@;; thanks ^_^ |
|
|
|
|
|
#16 |
|
Professional Programmer
|
using php? look into fopen() and <textarea> in HTML
|
|
|
|
|
|
#17 |
|
Hobbyist Programmer
Join Date: Jan 2005
Posts: 110
Rep Power: 4
![]() |
well i want my link to open the file..
so.. how do i do that thing when the page is run like bla.php?bla=raww because if i knew how to do that i could use the filename i think /me is new @_@;; tx for the help any ideas on that? thanks |
|
|
|
|
|
#18 |
|
Professional Programmer
|
you just send the filepath in the GET, and then do fopen($_GET['file'], 'rw');
|
|
|
|
|
|
#19 |
|
Hobbyist Programmer
Join Date: Jan 2005
Posts: 110
Rep Power: 4
![]() |
![]() i don't know how to do that. sorry >_< could you explain tx for the hep agn ^^ |
|
|
|
|
|
#20 |
|
Professional Programmer
|
so you got a list of files?
now you can make that into links that link to, say, edit_file.php?filename=[insert file name here] then in edit_file.php you can access $_GET['filename'] and get the value that's set for filename=[file name here] in the URL. so then stick that value into fopen() and read the context of the file and stick that into a <textarea> which will allow the user to edit it. Then when he presses save, you go to a new page called save_file.php where you write the contents of the textarea into the file again. good luck Dizz |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|