Results 1 to 9 of 9

Thread: Copy & Paste

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    259

    Copy & Paste

    Is there PHP code to copy text inside textarea until I can paste it in any place

  2. #2
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    do you write any of your own code??????????

    and the answer is NO

    use javascript

  3. #3
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    Re: Copy & Paste

    Originally posted by prokhaled
    Is there PHP code to copy text inside textarea until I can paste it in any place
    Is your notion of "copying" perhaps what we programmers would call a variable? Are you submitting a form and wanting to save that information for later use?

    If so, then you are not copy and pasting it, but you are passing the variable. Most form elements, including the textarea, are transferred to a variable in PHP when they are submitted if they have a name property.

    This variable will be something like $_REQUEST['name_you_gave_the_textarea']

    Otherwise what are you talking about with "copy and paste?"
    My evil laugh has a squeak in it.

    kristopherwilson.com

  4. #4
    Lively Member DJ P@CkMaN's Avatar
    Join Date
    Jan 2002
    Location
    Burpengary, Queensland, Australia
    Posts
    95
    i think he means so that it is added to the windows clipboard
    There's something I've noticed in the last year or so...
    Australian's are good at EVERYTHING !!!

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    259

    Yes right

    yes DJ P@CkMaN , That is waht I mean.

  6. #6
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Then no, you can't do that through PHP.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  7. #7
    Member
    Join Date
    Apr 2002
    Posts
    52

    Re: Re: Copy & Paste

    Originally posted by The Hobo


    Is your notion of "copying" perhaps what we programmers would call a variable? Are you submitting a form and wanting to save that information for later use?

    If so, then you are not copy and pasting it, but you are passing the variable. Most form elements, including the textarea, are transferred to a variable in PHP when they are submitted if they have a name property.

    This variable will be something like $_REQUEST['name_you_gave_the_textarea']

    Otherwise what are you talking about with "copy and paste?"

    wow. you think long distance!
    Would this do
    to make it allright?
    Once he has taken you
    from out of sight...

    I'll make my getaway...

    search for a better way
    to find my way home to your...
    Smile.

  8. #8
    Addicted Member
    Join Date
    Dec 2000
    Posts
    135
    does "server side" mean anything to you??

  9. #9
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    Re: Re: Re: Copy & Paste

    Originally posted by thexchord

    wow. you think long distance!
    You never know with this guy.
    My evil laugh has a squeak in it.

    kristopherwilson.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width