farkewie Posted November 27, 2007 Share Posted November 27, 2007 i am using fckeditor to create content on my website, but i need soething to create and edit php scripts. i want to be able to edit any pages code in any directory on my server and also create new pages and save them anywhere does anyone know where i could get this started? i am happy to try to code it myself if sme one could point me in the right direction for a good tutoirial or i amhappy to edit an existing script.. i just can find anything to get started. thanks in advance. Quote Link to comment Share on other sites More sharing options...
HaLo2FrEeEk Posted November 27, 2007 Share Posted November 27, 2007 That's a VERY bad idea, horrible, like, terrible. It's a good concept, though, just, if anyone got ahold of that power on your server there's no telling what havok they could wreak. Quote Link to comment Share on other sites More sharing options...
farkewie Posted November 27, 2007 Author Share Posted November 27, 2007 Yes i aggree it normally would be a bad idea. but. this is on a corperate network with limited access. i will only have the access to the pages which can have this sort of access along with 2 other people. the network has no internet access and the people accessing it would not even know what php is.. it is mainly for my own benifit and the couple of other people using it. Quote Link to comment Share on other sites More sharing options...
PHP_PhREEEk Posted November 27, 2007 Share Posted November 27, 2007 umm.. may seem like too obvious of an answer, but... what's wrong with whatever text editor you're currently using? If you can't write PHP in plain text, then let us know what you need this editor to do for you. You say you can 'write it yourself' if you have to, so I would naturally assume you are an intermediate to professional PHP programmer, which would mean you can easily program from Notepad if necessary. I'm lost on the concept here... PhREEEk Quote Link to comment Share on other sites More sharing options...
farkewie Posted November 27, 2007 Author Share Posted November 27, 2007 Oh sorry, i am ok with writing it its just quit a hassle to get stuff on to the machine, its a windows network with all windows mashines and most machines cant justbrowse to the shared folders and ftp seems to be blocked. so i figure a web bases systm will make things eisier. what code do i need to write a textarea contents to a plain text file? if i can get that working i should beable to try get the rest going slowly Quote Link to comment Share on other sites More sharing options...
PHP_PhREEEk Posted November 27, 2007 Share Posted November 27, 2007 Ok, forgive me for being obvious... If you can't just browse to the folders you need, and FTP isn't an option, how do you get anything uploaded so it can be run? PhREEEk Quote Link to comment Share on other sites More sharing options...
farkewie Posted November 27, 2007 Author Share Posted November 27, 2007 i take my usb stick to the computer and copy the files to it but its not practical because i have to get the keys to the room the pc is in and go to the floor it is on etc.. i work in a call centre its just a support site ive made so i do most the work while im on the phone. would just be nice to beable to easly do it from any pc i am on or the other couple of guys do it from thiers.. (we change desks every day).. if you know of a better option that doesnt invole changing the network im on i would love sugestions.. Quote Link to comment Share on other sites More sharing options...
PHP_PhREEEk Posted November 27, 2007 Share Posted November 27, 2007 Ok, why not use a webform that allows for a file upload? Or do they have PHP file uploading and permissions locked down? PhREEEk Quote Link to comment Share on other sites More sharing options...
farkewie Posted November 27, 2007 Author Share Posted November 27, 2007 AAHH.. i havent tested that one.. pretty smart idea. i cant believe i didnt think of that.. lol a few questions though.. can i select the directory i upload it to? easly as it will be a few people doing it who do allknow the full directory structre can i also browse to and edit the files already on there? last but not lease if i cando those things can you point me in the direction of a good tutorial to get started? Quote Link to comment Share on other sites More sharing options...
PHP_PhREEEk Posted November 27, 2007 Share Posted November 27, 2007 The answers are 'yes' to all those questions... Easy task to create the upload template. There's tons of free classes written in OOP to handle everything you would need (Google php upload class). As far as browse and edit, well... browse would be pretty intense. Kind of depends on whether or not the server will allow exec calls. If you can remember paths and filenames yourself, then just simply entering the info blindly into a webform would get you the file, without the browsing overhead. Can't offer much more now, I'm rather busy with a project, so I can only answer quick questions. Hope your server will allow this solution, and if so, everyone here is capable of helping you get it up and working. PhREEEk Quote Link to comment Share on other sites More sharing options...
farkewie Posted November 27, 2007 Author Share Posted November 27, 2007 Tanks for your help. i will be able to get that going once again thanks. Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted November 27, 2007 Share Posted November 27, 2007 When a programer finds a locked door, they make a digital key. When a boss sees a programer trying to open a locked door they give them a key Quote Link to comment Share on other sites More sharing options...
farkewie Posted November 28, 2007 Author Share Posted November 28, 2007 Yeah.. not when it the county's biggest Telco. we are just a number. we may get a pat on the back for extra work but thats about it.. 2 people have the key.. and i have a lot of ladders to climb before i see one..lol Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.