Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP






SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Send To Friend


I'm trying to implement a php "send to friend" form that I found online, but the emails are not getting sent...

There's one other post in this forum about the very same script, and that guy had the same problem, but it turned out that his problem was related to the eail address he had been using to test the form. (The code is by BigLickMedia.com, BTW - their 'recommend site' code)

I reckon the problem has nothing to do with the code, but some Host Provider setting I'm unaware of.

In the config part of the code, I set the variable $webmasterEmail to a new email address I just created for my domain especialy to handle the 'Send To Friend' stuff, which is diverted to a gmail account. Am I being naive in thinking that the new email address should work immediately, or does it take a few hours/days for it to be 'active'?

I haven't set any spam filter yet, so that's not the problem.

Not knowing much about php (or web hosting in general!), I was wondering if there's some obvious 'setting' (for want of a better word - forgive my ignorance) that the online code neglected to mention I should 'set' with my host provider (Infinology.com). Some cgi-bin thing, php.ini, or some 'permission'...? I'm floundering here! :-)

I ask this vaguely in the hope that there is something obvious. Well, anyway, despite being 99% sure that there's nothing wrong with the code, here is the critical part, just in case: ....




View Complete Forum Thread with Replies
Sponsored Links:

Related Messages:
Send To A Friend Help
Having trouble with the below code, Its ment to send the url of the page the html is on but its not, can anyone see why? html

<form action="somepage.php" method="post">
One Email per line<br>
<textarea name="emails"></textarea><br>
<input type="submit" name="submit" value="Send">
</form>


php

<?php
$email1 = explode("
",$_POST['emails']);
foreach($email1 as $emailaddr){
$email = $emailaddr;
$subject = "This Is Your Subject Line";
......................

View Replies !   View Related
Send This Article To A Friend!
"Send This Article to a Friend"

I've seen this type of functionality in some websites. I'll read an article and at the bottom is a way for me to enter an e-maill address and send this URL to a friend. My friend would then receive an e-mail from the website saying something like "Joe Schmoe recommends this page for you to read." I'd like to add this functionality to my site. Any recommendations how to do this?

View Replies !   View Related
Send A Friend This Page
You know click a link and the visitor enters their friend's email and it sends them your page. I think my host has php support.

View Replies !   View Related
Ecard - Send To A Friend
I am doing Ecards to some local bands, so, they have a music player and random info, I can do all that, but I wanted to put there a " Send a friend " section, so people could send the E-card to other friends so it would spread around faster Code:

View Replies !   View Related
Sending The HTML To A Friend - Ie Tell A Friend
I want to mail a dynamic page to a friend:

$fp = fopen ("need the full address", "r");
while (!feof ($fp)) {
$buffer=fgets($fp, 4096);
$message.=$buffer;
}
fclose ($fp);

this is where i have got so far - the problem is getting the full address including the parameters set.

is there a way of getting this and displaying it in the above code so the email can be sent and displayed as an html email etc.

View Replies !   View Related
Friend Classes
Now that PHP5 has proper scoping for class properties and methods, I've
been looking in vain for friend classes, or wondering if there's another
way to achieve this effect:

class A {

protected var $v1;

....

}

class AHelper {

....

function ....
{

....
$helper = new AHelper ( ... );

....
if ($helper->v1) ...

}

So A has a property which really is not supposed to be public, but
AHelper (which does not inherit from A) has a special relationship with
A and wants to be able to delve inside it.

Note that just providing a public accessor won't help: it's logically
the same as making the property public.

C++ manages this by having 'friend classes' - classes which are allowed
inside a class even though they are not derived from it.

I suppose I could write a public accessor method which takes its caller
as an argument and checks its type before it will go ahead and fetch the
value; but that's inelegant, heavy, and only takes effect at run time.

Has anybody got any better suggestions?

[I see somebody asked the same question two weeks ago on faqts, but did
not get an answer)

View Replies !   View Related
Friend System
I want to display the friends and their pictures as well as links to their page with their friends on that page. But the design of my page only allows 3 thumbnails to be displayed Code:

View Replies !   View Related
Friend Network
Does anyone have any idea on how to manage a network where people can search users in the database and add them as a friend.

I have an idea on how to search for other users but then to save them as friends in the db I have no clue how to even start. Can anyone give me a suggestion on how to start or show me anywhere that I might find some useful information at?

View Replies !   View Related
Tell A Friend Script.
I am using the "Tell A Friend" script below. It works well. My problem is that the script will send an email if the form is filled in or not (upon pressing the submit button.) How can I make sure the visitor fills in the form? Code:

View Replies !   View Related
Can Php Do This? Email A Friend An Article.
I've seen these scripts that allow you to email a friend an article, which is basically looks at the current url and emails it to the friend.

View Replies !   View Related
Email This Page To A Friend
On some site you get an option to email the page that they're on to a friend. How would I go about doing this?

Or if better can someone tell me where i can down load the script for this.

Or maybe this is more of a perl/cgi question

View Replies !   View Related
Email To Friend Link
How can I add one of those 'email to a friend' links one my pages? I am not sure how to go about it.

View Replies !   View Related
The Server - Enemy Or Friend
how to write my webpages as there is a lot of code reuse. In C++ I would include many files to a page, making many functions accessible to them, thus reusing code efficiently. This greatly speeds up development time and perhaps only slows compilation time by a bit. In Php, however, I am afraid this might slow down the server.

The ugly and maybe faster for the server way: Copy paste a lot of code and modify small parts. (Example: I have many pages dealing with text input forms - same structure, only different names to forms). The nice clean but maybe slower for the server way: Create functions that generate the desired html code.

As well as include some of my php function files I might not use in some pages. I would go with option 2 if I only knew how much extra work is there for the server. Is this a consideration? When a website has 10 users this would not matter. But what if there are a thousand users? How much of an issue is this on the long run?

View Replies !   View Related
Email-a-friend Feature
i am considering adding a feature to my project that will allow users to send an email to a friend which contains a link to the current page. i've seen this in many places on the internet such as msnbc.com, etc.

the user will be able to enter a friend's email address and write a short message. most of the email message (a greeting, a link, some text) will be beyond the user's control. but they will be able to type a short message. do spammers generally attack this kind of feature? in the event it does get attacked, is there any reliable way to detect spamming like screening by IP or something?

View Replies !   View Related
Forwarding Email To A Friend
I am making a html mailer for one of my clients for them to distribute to people in their database, the problem is that they would like a forward to a friend option at the bottom of the email where the person reading it can input another email address, click submit and it is forwarded on.

I am not too convinced that it can be done as when the email is viewed it is on the users machine and not the server, and i wouldnt have thought that you could submit a form to a remote server? Does anyone have any information on this?

View Replies !   View Related
Making A Friend System
I have already created a script that allows users to join the site, and they can update their profile information and edit a photo of them self. However, I am stumped as to what to do about a friend system. I am thinking that I need a whole new table called "friends", but then I am not sure what to do about the different columns and such.

View Replies !   View Related
Refer A Friend Code
I know this is a php forum, but I find this forum the most helpful and it seems to have very intelligent people who actually help. Simple HTML would be the best. I was wondering if anyone knew any simple code in order for me to have a "Refer to a Friend" link on my page. I can find ones on the net but they send you and your customers spam e-mail.

View Replies !   View Related
Create A Email A Friend Script
I am trying to create a email a friend script and I have encurtered a problem. The url link does not work in the <a href tag howver when i echo the variable it works the following is the code. PHP Code:

<h2>Email this page to a friend</h2>
<form id="form1" name="form1" method="post" action="">

Complete the details below to send a link to the page:<br>
<? $refurl = $_SERVER['HTTP_REFERER']; ?>
<? print $refurl;?>

<a href="$refurl"><? print $refurl;?></a>

the link comes up but when it is clicked on it doesn't know where to go.

View Replies !   View Related
Write A Tell A Friend Function From A Webform
I am trying to write a tell a friend function from a webform i am using the following code:

[php]
$to = 'testing@gmail.com'
$subject = 'A New Website For Irish Pharmacists'
$message = 'hello'
$sender = 'testing@yahoo.com'
mail($to, $subject, $message,"From:eddie $sender
", $headers);

[php]

when the email arrives, it does not appear to be from the testing@yahoo.com, but it address shown is fro the webserver.

View Replies !   View Related
Refer To A Friend Email Smtp Script
Please I am looking for (refer to a friend script or to buy the code) taking upto 5 email addresses on the website and sending the emails to all 5. i was looking on net but i could'nt able to find.

View Replies !   View Related
How To Send Email Automaticly To Admin When Users Send A Form?
how to send email automaticly to admin when users send a form....example...a booking form..therefore the admin will alert of the booking..

View Replies !   View Related
Send This Page Script Used To Send Spam.
I had installed a simple php script (obtained for free from the web) that allows a visitor to forward a page to a friend. It worked great but now a spammer is using it to send thousands of emails. I have deleted the feature and also the php file but no successs. What can I do? Please help. While I have some responsibilities of a webmaster, my technical abilities are very limited.

View Replies !   View Related
"e-mail This Article To A Friend" ?
I've searched some of the usual spots, but cant find a script or something that will send the current url (I dont have to pre-define) to the e-mail a user inputs?

View Replies !   View Related
How To Do "friend Class" In Php?
In c++ we could modify the private variable in a class use friend
keyword.
How could it be done in php?

class YourBag
{
int money;

friend class Thief; // friend?
};

View Replies !   View Related
"tip A Friend" Script
I have thought about putting a "Tip a friend" link on my side where a user can email the URL currently viewed with a small message to a friend. i think i could make a simple one using $_SERVER['HTTP_REFERER'] but maybe you guys know of a script already that i could use.

One other thing is the posibility for a spammer or some evil minded user to abuse this feature - which i would like to avoid ofcourse.

View Replies !   View Related
Send Header Info To A Page, Retrieve Response And Send That As Header
I am sending a header to page.html from sender.php using fgets(). I am then trying to retrieve that page's response, and set that as a header in sender.php in order to set any cookies etc.... that page.html might want to set. Right now I am using the following code:

View Replies !   View Related
Send Email - Page Where You Enter An Email Address And Click Send.
I am interested in creating an "email -this" type ability for a website. I am sure most people have seen an "email -this story" type link that is standard on most news web sites. You click such a link and then it takes you to a page where you enter an email address and click send. The link for the story and the title are not editable. Does anyone know where I can find example code of how to do this with php, and any explanation of how this works.

View Replies !   View Related
HTTP Error And Parse Error - I Get HTTP, Friend Gets Parse :S
I have just finished making a script, which basically updates a users account depending on what button they pressed on the previous page, everything looks fine to me, but when I click a button, I get a big HTTP error page, but the strange thing is, when my friend press's a button, he gets a parse error. Code:

View Replies !   View Related
Send Fax
Is it possible to send faxes using PHP scripts?

View Replies !   View Related
Send SMS With PHP
I'm trying to send HTTP GET (or POST) requests to a server.
This server accepts these requests only from the IP-address of my server,
not of my client pc.

So, some data generated on the server needs to be send to another server.
http://remoteserver.com/path/to/file?text=text +to+be+send+as+sms+message

View Replies !   View Related
Send Sms
how sent sms from web page

View Replies !   View Related
How Do I Send Fax By Php ?
I am currently developing a online shopping system with php and mysql. I need to send fax to the customer when their order is approved by admin. Is it possible to send fax by php.

View Replies !   View Related
How Can I Send Fax With PHP?
I need some information about Faxing via PHP is it possible to do ti.

View Replies !   View Related
How Can I Send Sms Through PHP
Can any one tell me the procedure how can we send worldwide sms through php.

Sms should be sent according to the time zone and in everycountry every subscribers got sms at 9 AM in morning.

My Queries are:

1) How to send sms(is it possible in php)?
2) On which event i have to send it(there is no admin click and any other event. admin just save the message body.)
3) How to send sms according to the time zone.

View Replies !   View Related
Send XML
is it possible to send an XML request from PHP to a C++ XML Server. The server is listening on a port and I can connect and send xml via a simple C++ client.

but I can't get it going with PHP. I connect to the port fine, but can't seam to send any information.

View Replies !   View Related
Send SMS?
I want to ask . "Can PHP send SMS (short message service)? " If PHP can do it . tell me how?

View Replies !   View Related
How We Can Send SMS
Can anyone tell me how we can send sms using PHP.


View Replies !   View Related
Send Fax Via PHP
I am working on an inventory script and wish sending fax orders from the script.

I would like figuring if sending a fax via a PHP script can be achieved

Doing some searches I found the following

There is a Co. that does it but charges $0.11 per pages (acceptable). They seems to be pretty much the most important one to supply services for that market if needed I can PM its URL

However it requires SOAP
<<<
* PEAR::SOAP class [http://pear.php.net/package/SOAP]
*/
require_once 'SOAP/Client.php'
>>>

Do you know of another mean to send fax via PHP?

If not I will need to consider hiring the services of that Co. Further, Is SOAP hard to install?

View Replies !   View Related
How Can I Send A Fax ?
Hi Guys, I want to know how can i send an email to fax message using PHP or how can I send a fax using PHP? I heard that you can do this using Perl and ASP. Thanks. Can you please help me what are the syntax to use and code?

View Replies !   View Related
Using Php To Send An Email
I would like to know if anyone has experience with using PHP to email a stored password out of a mySQL database. I have a mySQL database which I allow users to connect thourgh PHP web pages and I want to provide the option to email the users password which is stored in the database. Could anyone show me the code to do this or explain where I need to look up to find the information. Thanks in advance for the help!

View Replies !   View Related
How To Send A SMS Using PHP Application
I am quite new to php, how to send a message to Mobile using php
application, I have used curl to send a message, I want to know whether it
is a mantadory to have a gateways to send the same,

Can anybody help me out. What is the solution.

View Replies !   View Related
Why Can't I Send A Mail With PHP
I can't send a mail with the following mail header:
$headers = "MIME-Version: 1.0";
$headers .= "Content-type: text/html; charset=iso-8859-1";
$headers .= "From: "User" &lt;user@inter.net&gt;";

Therefore $headers is set to (echo $header;)
MIME-Version: 1.0 Content-type: text/html; charset=iso-8859-1 From: "User"
<user@inter.net>

The mail has not been delivered and my PHP server says:
[24-Nov-2005 00:37:19] PHP Warning: mail() [<a
href='function.mail'>function.mail</a>]: SMTP server response: 501 5.5.4
Invalid Address in C:PHPfile.php on line 132

If I use
$headers .= "From: user@inter.net";
instead of
$headers .= "From: "User" &lt;user@inter.net&gt;";

is works perfect.

View Replies !   View Related
Cant Send Mail
The problem is I am the mail server administrator also. This is a small
company of 4 ....

View Replies !   View Related
Send Message
I want to send a message to a user in his yahoo messenger id and MSN Id through my php script. Actually user will provide his MSN or Yahoo Id in my web form, and after
some server operation he will receive a message in MSN or Yahoo messenger.

View Replies !   View Related
Send And Redirect
Can anybody pls help me how to do a page after sending the info's entered then you will be redirected to some page like the index page like the one did in this forum after i have signed in, im redirected to a certain page?

View Replies !   View Related
Is There A Way To Grab A Value From Db And Send To Gif?
i'm looking to grab a value from mysql, using php, then generate a gif. say the value is "123", i would like that inserted into a gif. then each time it if called, its always the value from the db. are there some extensions or plugins that allow this?

View Replies !   View Related
Cannot Send Email To Myself
I run Apache 2.0.59 and php 5 on WindowsXP.
Server works OK. But I cannot receive the email with the results of the
form.
I made changes in php.ini file, changing [mail function]

SMTP = outgoing.verizon.net
sendmail_from= myE-mailAddress@verizonnet

where outgoing.verizon.net is the actual ISP server name (I found it in
outlook express accounts)

The form has been processed without errors, but I didn't receive any
email. Could you please help me with this problem?

View Replies !   View Related
Can't Send Email Through PHP
I am trying to send email through PHP, i used the following code and it seems working every lines...but i can't really get a email from this..

$from="Frankie";
$contents="hello ...how r u ar";
$subject="helo";
$to = "frankie@aristo.com.hk";
$from_header = "From: $from";

print("mailing");
mail($to, $subject, "", $from_header);
print("sent");

View Replies !   View Related
Send Mail In Jsp
how to send a mail using jsp on a linux platform (cobalt)...i have tried using the smtp part,but is gives the security access error.

View Replies !   View Related
How Do U Send Emails
i'm writing this new Job Card system... every time a new job is entered or an old one modified an email must be sent to the head of dept on form submission with all the details for that job.does anyone know how?

View Replies !   View Related
How To Send Attachements
how to attach files while using mail() function. heard that need to use mime.but not clear abt it.

View Replies !   View Related
PHP Doesn't Send Mail
I can't make my PHP send mail even if I set an SMTP for it? What could I have missed. Upon using mail(), it sends a true flag, but I never receive the mail. Why? What have I missed out.

View Replies !   View Related

Copyright © 2005-08 www.BigResource.com, All rights reserved