require('./lib/properties.php'); $sql = " INSERT INTO iCopy_hits VALUES( '$_SERVER[HTTP_REFERER]' ,'$_SERVER[REMOTE_ADDR]' ,'index' ,'" . date('Y-m-d') . "' ) "; $foo = mysql_query($sql); ?>
![]() Home | Installation | Contact | Don't Donate |
What is iCopy? iCopy is the first (that I know of) application for the iPhone and iPod Touch that allows you to copy and paste text and URL's between web pages. You also have the option of emailing copied text or URL's. How does it work? Install iCopy as a bookmark. (See directions below) Browse the web as you normally would. When you are on a page that has something you want to copy click your bookmarks icon and choose Copy/Paste. From the list choose "Copy Text" or "Copy URL". If copying text, select the text you want to copy. If emailing text or a URL an email will open with the text or URL in the body. If you copied text, when you come
$email = $_POST['email'];
if($email){
$sql = "
INSERT INTO iCopy_email
(email
,ip
,date)
VALUES(
'$email'
,'$_SERVER[REMOTE_ADDR]'
,'" . date('Y-m-d') . "'
)
";
$foo = mysql_query($sql) or print mysql_error();
if($email){
print "Thanks, we'll be in touch.";
}
} else {
?>
}
?>
to the page you want to paste to you once again click the bookmarks icon and click Copy/Paste. This time choose Paste. You'll be redirected to our site for a second then returned to where you came from. Once again, click bookmarks and click Copy/Paste. This time an alert will tell you that you're ready to paste. Click any text box on the page and your text is placed there.
Since you have to click the bookmark twice to paste it's really more of a copy/paste/paste application. Copy and Paste Text Demo Copy Text to Email Demo Pros/Cons Cons Pros OK, as you can see, the cons outweigh the pros but this may come in handy in some situation and I'll be working on it to try and get it to do more. Planned Enhancements Have emailed text retain all links and images Installation Installation involves adding a bookmark Safari on you iPhone/iPod Touch and slightly editing the URL. Click here to view the full installation instructions. |