Save content task

Discussion in 'PHP' started by <|>, Mar 15, 2010.

  1. #1
    Hello everyoane

    I try to learn php watching video tutorials and i see that this guy http://www.youtube.com/user/phpacademy# ... wqWJ0REZpE is saving the content when close the editor pushing a task.

    What task it is ?

    Thanks
     
    <|>, Mar 15, 2010 IP
  2. YoGem

    YoGem Active Member

    Messages:
    676
    Likes Received:
    8
    Best Answers:
    2
    Trophy Points:
    90
    #2
    It's not so hard, I don't have to watch the video but I suppose he (or she) is using some on_close script (easy to create) that will save the content somewhere in the database and marked as draft... am I wrong? ;-)
     
    YoGem, Mar 15, 2010 IP
  3. <|>

    <|> Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hy and thanks for the rapid response. I d'ont now what task is, but for example in this video http://www.youtube.com/user/phpacademy# ... wqWJ0REZpE will see that he put the code echo in editor and close him (0:58 second) and when go to refresh the webpage in localhost appears Hello World.

    But when close the editor he d'ont use the mouse, he save the text and close the editor with a key.

    Thanks again

    P.S - Sorry with my bad english, is a keyboard key not a task.
     
    <|>, Mar 15, 2010 IP
  4. YoGem

    YoGem Active Member

    Messages:
    676
    Likes Received:
    8
    Best Answers:
    2
    Trophy Points:
    90
    #4
    If I got what you ask... you are asking which key he's using to close the editor! Well, first of all he's using Google Chrome as Browser, second as editor he's using the cPanel Editor that allow keyboard shortcut and as far as I know (because I use cPanel for my job) these are the shortcut of cPanel Code Editor:

    Tab: add tabulation to text
    Shift+Tab: remove tabulation to text
    Ctrl+f: search next / open search area
    Ctrl+r: replace / open search area
    Ctrl+h: toggle syntax highlight on/off
    Ctrl+g: go to line
    Ctrl+z: undo
    Ctrl+y: redo
    Ctrl+e: about
    Ctrl+q, Esc: close popup
    Accesskey E: Toggle editor

    And don't worry for the bad english :) I have the same problem!! Eheheh... I am Italian :D
     
    YoGem, Mar 15, 2010 IP