hakmir Posted November 26, 2008 Share Posted November 26, 2008 I am using fireftp and doing the editing in notepad2. It's so cool that when I make any change in notepad it updates on your website too. But what I want is that I want ftp and code editor in same browser (splited). Is there such thing? I made an image about what I want. You'll understand better what I mean. I saw firebug. It is nice but it doesn't edit the file as it is . Like php file. [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/134380-yoursite-and-code-editor-in-the-same-browser/ Share on other sites More sharing options...
flyhoney Posted November 26, 2008 Share Posted November 26, 2008 Dreamweaver Or Zend Studio might work for you. Quote Link to comment https://forums.phpfreaks.com/topic/134380-yoursite-and-code-editor-in-the-same-browser/#findComment-699595 Share on other sites More sharing options...
hakmir Posted November 26, 2008 Author Share Posted November 26, 2008 Thanks for reply. I wish there were something light. Like an firefox addon. I don't know why they still didn't make an addon like this. Is it so complex? Just put a simple editor in it even if you don't make it colorful. Quote Link to comment https://forums.phpfreaks.com/topic/134380-yoursite-and-code-editor-in-the-same-browser/#findComment-699604 Share on other sites More sharing options...
revraz Posted November 26, 2008 Share Posted November 26, 2008 http://www.phpfreaks.com/forums/index.php/topic,119433.0.html Quote Link to comment https://forums.phpfreaks.com/topic/134380-yoursite-and-code-editor-in-the-same-browser/#findComment-699605 Share on other sites More sharing options...
flyhoney Posted November 26, 2008 Share Posted November 26, 2008 But you're asking for Editor + FTP + Browser, which is a big task. Quote Link to comment https://forums.phpfreaks.com/topic/134380-yoursite-and-code-editor-in-the-same-browser/#findComment-699606 Share on other sites More sharing options...
champoi Posted November 26, 2008 Share Posted November 26, 2008 maybe you can do this: create a form that has this kind of code, <textfield name="codes"></textfield> then save whatever he posts in a php file, $a = md5(uniqid(rand(), true)); $path = "userfiles/codes/".$a. "/"; $f1 = fopen($path . "codes.php","w"); file_put_contents($path . "codes.php",$_POST['code']); fclose($f1); just store the $a somewhere that will remember the user that posted the codes then just add an include to where you want to show it, include_once "userfiles/codes/".$a. "/codes.php"; i already tried saving a php file and including it in a page, and it works, i skipped some codes here, but these are the main codes, and i think you'll know what to do Quote Link to comment https://forums.phpfreaks.com/topic/134380-yoursite-and-code-editor-in-the-same-browser/#findComment-699614 Share on other sites More sharing options...
hakmir Posted November 26, 2008 Author Share Posted November 26, 2008 Thanks. I'll try. Quote Link to comment https://forums.phpfreaks.com/topic/134380-yoursite-and-code-editor-in-the-same-browser/#findComment-699622 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.