July 12th, 2010
Actually m using iframe, but the work i wanna do is to send text to a website in such manner that the page where the data is sent shoud’nt be shown in the browser when sent through a php page from a site.
code example wud be appreciatable.
Tags: From, Other, Page, Send, Text, Website
Posted in Questions | 3 Comments »
June 7th, 2010
<?php
$headers = "From:sender@yourmail.com\r\n";
$recipients = "recipient1@email.com,recipient2@email.com";
mail($recipients, "This is the subject line","This is the mail body part", $headers);
?>
Posted in PHP | No Comments »
June 4th, 2010
Create a short url using is.gd, not the best example below but you get the idea
<?php
/*
Get a is.gd short url using PHP
*/
function isgd($url)
{
$ch = curl_init();
$timeout = 5;
curl_setopt($ch,CURLOPT_URL,’http://is.gd/api.php?longurl=’.$url);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout);
$content = curl_exec($ch);
curl_close($ch);
//return the data
return $content;
}
//how to use
$shorty = isgd(’http://acode.net’);
echo $shorty;
?>
Posted in PHP | No Comments »
February 28th, 2010
We’re writing a PHP script that reads an encrypted file. But the problem is I can’t just store the key used to decrypt the file inside of the PHP code. It’s been suggested to me to use a keystore but I don’t really understand how that works. Can somebody help point me in the right direction?
Tags: Best, Encryption, Store, Using, What's
Posted in Questions | 1 Comment »
February 27th, 2010
We’re writing a PHP script that reads an encrypted file. But the problem is I can’t just store the key used to decrypt the file inside of the PHP code. It’s been suggested to me to use a keystore but I don’t really understand how that works. Can somebody help point me in the right direction?
Tags: Best, Encryption, Store, Using, What's
Posted in Questions | 1 Comment »