Hi guys, I am posting on here in desperate need for some help with an ongoing search I have been doing for the last few weeks.
Basically I have searched the web, high and low for a "mail to a friend" php (or even javascript) code that will:
1) Send a friend the URL of the page they clicked the "mail a friend" link from.
and
2) The submit form HAS to have some form of captcha code to stop spamming. And if possible shows the URL that is going to be sent as a preview to the sender.
I have honestly searched everywhere, seen some good scripts but they either dont work or are missing one of the above that I need. I dont even mind paying a small fee it if does what I want it to do.
I have a 600 page website so I need more than a refer my website script, it has to be a refer this webpage script.
Also, one other thing, is there a way of adding a "tweet this webpage" so that visitors can click on it and it then takes them to the mail twitter log in page, they log in and their tweet defaults to "Wow check out this great webpage (puts the url in from the page they clicked "tweet this page").
Hope that makes sense and any help would be SO appreciated as I have given up the search, lol.
Thanks
Error In Syntax
I got this error:Code: Parse error: syntax error, unexpected '>' in /home/bucket/public_html/inc/func.ban.php on line 56<?phperror_reporting(E_ALL);ini_set('display_errors', '1');//
is this the proper use of mysql_real_escape_string() to prevent sql injections?
i was wondering is this the proper use of mysql_real_escape_string() to prevent sql injections? any help greatly appreciated. thanks. derekCode:
big pagination problem in php
<?php$connect = mysql_connect("localhost", "root", "") or die(mysql_error());mysql_select_db("guest") or die(mysql_error());function bbcode($string){
Why doesn't this work? (SSH2)
This is my script:Code: <?php$connection = ssh2_connect('213.251.167.109', 22);ssh2_auth_password($connection, 'root', 'MGdgfskc');$stream = ssh2_exec($connection, 'useradd -d /home/users/test
Gerenate tabel in Php
I whant to generate a tabel takeing data from database like this one so the results to be display on 2 columns<table width="50%" border="0" cellspacing="0"
Concatenate two strings ???
I have string one $string1 and another $string2.How to concatenate (add) both of them $string1+" "+$string2 also check condition for the total string length not more than 100 characters
reading partial code from external site
Hi,I am trying to write a script for my website to get an article from an external website. The external website has the article in a set of tags <roottag> &
cPanel API
Hi Guys,Need a little guidance. I'm trying to get my script to communicate with cPanel (or WHM) to show certain statistics, for example, how much space/bandwidth has been used.I have been reading
retrieving more than one max key from an array?
so i have an array of 20 numerical values (0-100) that i need to order from highest to lowest and then i need to retrieve the keys of the top ten values. $array1 =
Cache PHP Objects/Classes?
Does anyone have ideas about caching PHP objects using something like: http://memcached.org/I have Windows so I cannot use memcached.Is there a PHP extension that caches PHP objects (classes)?