Reply to comment

smart Copy undefined variable

Hello,

I was trying to use your smartCopy function that I found on php.net
(http://ca.php.net/copy). I noticed that when trying to run the function
it fails because the variable $dirsource has not been defined ($dirsource
is used in the last while loop of your function). Would you be able to
help me out?

Thanks again for the great function :)

- Justin

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <a> <blockquote> <br> <cite> <code> <dd> <div> <dl> <dt> <em> <li> <ol> <p> <span> <strong> <ul>

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.