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.





Gifs Via Email ?


I would like to set up a page whereby I can select 1 gif from a selection and then email it to a recipient. Is there a function whereby I can do that ?




View Complete Forum Thread with Replies
Sponsored Links:

Related Messages:
Resizing Gifs
Using this code to resize a .gif file and then place it in another dir. The file appears in the correct location and gets resized however it is black..... this code works fine for jpegs when imagegif is changed to imagejpeg etc.

Any ideas on a way round this or some code what resizes gifs that works would be great too..

<?php

$new_width = 300;
$new_height = 250;
$imgname = "test.gif";
$size = GetImageSize("$imgname");
$img_in = imagecreatefromgif("test.gif");
$img_out = imagecreate($new_width, $new_height);

ImageCopyResized($img_out, $img_in, 0, 0, 0, 0, $new_width, $new_height, $size[0], $size[1]);
imagegif($img_out, "tempimages/testsmall.gif");
ImageDestroy($img_in);
ImageDestroy($img_out);

?>

<img src=test.gif>
<img src=tempimages/testsmall.gif>

View Replies !   View Related
Animated GIFs In PHP
Can anyone tell me how to make animated gifs using php?

View Replies !   View Related
Reading Gifs
I know current versions of GD cant write gifs, however can they read them? Im wanting to convert some images to jpegs, is this possible?

View Replies !   View Related
Imagecreatefromgif() And Animated Gifs
I have a problem to get the GD function imagecreatefromgif() to work with animated gif images i only get a 'broken' image when using the two together.

View Replies !   View Related
Problems In IE With Created Gifs
Wondering if anyone else has had problems with gifs created by php or if
anyone sees a problem with this code.

Symptom: created jpegs work fine and created gifs work fine in Netscape and
Firefox and when directly viewed.

IE displays gif fine *via internet* BUT off of a CD or local HTML file it
won't display the file.

I have run a dozen gifs through the process and it has happened to every one
of them.

function thumbnail ($src_file, $path) {
$orig = $path . '/' . $src_file;
list($w,$h,$type) = getimagesize($orig);
if ($type == 2) { // jpeg
$src_img = imagecreatefromjpeg("$orig");
$name = "thmb_" . $src_file;
$thmb_and_path = $path . $name;
if(!file_exists($thmb_and_path)) {
$image_info = getimagesize($orig);
$src_width = $image_info[0];
$src_height = $image_info[1];
$dest_height= 80;
$dest_width = ($dest_height/$src_height) * $src_width;
$quality = 30;
$dst_img = imagecreatetruecolor($dest_width,$dest_height);
imagecopyresampled($dst_img, $src_img, 0, 0, 0, 0, $dest_width,
$dest_height, $src_width, $src_height);
imagejpeg($dst_img, $thmb_and_path, $quality);
chmod("$thmb_and_path", 0777);
imagedestroy($src_img);
imagedestroy($dst_img);
}
} else if ($type == 1) { // gif
$src_img = imagecreatefromgif("$orig");
$name = "thmb_" . $src_file;
$thmb_and_path = $path . $name;
if(!file_exists($thmb_and_path)) {
$image_info = getimagesize($orig);
$src_width = $image_info[0];
$src_height = $image_info[1];
$dest_height= 80;
$dest_width = ($dest_height/$src_height) * $src_width;
$quality = 30;
$dst_img = imagecreatetruecolor($dest_width,$dest_height);
imagecopyresampled($dst_img, $src_img, 0, 0, 0, 0, $dest_width,
$dest_height, $src_width, $src_height);
imagejpeg($dst_img, $thmb_and_path, $quality);
chmod("$thmb_and_path", 0777);
imagedestroy($src_img);
imagedestroy($dst_img);
}
}
return $thmb_and_path;
}

View Replies !   View Related
Resizing Animated Gifs
Does anybody know how to change the animated gif's size using PHP?

View Replies !   View Related
Generate Animated Gifs
I want to create a dynamic gif animation that uses select image files on my server. It is possible?

View Replies !   View Related
GIFs Preserving Transparency
I want to resize uploaded GIF images. Currently I do it like this:

<?php
// ...
$img = imagecreatefromgif($path);
$img_scaled = imagecreate($new_width, $new_height);
imagecopyresampled($img_scaled, $img, 0, 0, 0, 0, $new_width, $new_height,
$old_width, $old_height);
imagegif($img_scaled, $new_path);
// ...
?>

This works like expected except for transparency, which is gone after the resizing. Furthermore the resulting smaller image doesnt appear to be resampled nicely. For me its looking exactly like the result of imagecopyresized(). I think this has something to do with the paletted nature of GIFs but Im far from an expert in image manipulation. What I want is a nice looking (i.e. resampled) downsized GIF with transparency if the original image did have it.

View Replies !   View Related
Creating Images From Gifs, Jpegs. Pngs
I have created colourfull images of characters of letters. by using a form i want to create words. the words will be a image. For exemple "word" is 4 letter. &#304;nstead of 4 diffeen picture. Only one picture. i have tried with createimagefromgif function php but i couldnt.

View Replies !   View Related
Using The SYSTEM() Command W/ MySQL - Animated Radar .GIFs
I have a bunch of radar images (*.gif) stored on my server, it gets a new one every 6 min. A user goes onto my site and using a form selects a start time and an end time using drop down boxes. That info (YYYY, MM, DD, HH) gets passed into my PHP script for computing. Code:

View Replies !   View Related
Has Anyone Had Problems With IE Not Showing Thumbnailed Gifs When Firefox And NN Show Them Fine?
Wondering if anyone else has had problems with gifs created by php or if

anyone sees a problem with this code.

Symptom: created jpegs work fine and created gifs work fine in Netscape and

Firefox and when directly viewed.

IE displays gif fine *via internet* BUT off of a CD or local HTML file it

won't display the file.

function thumbnail ($src_file, $path) {
$orig = $path . '/' . $src_file;
list($w,$h,$type) = getimagesize($orig);
if ($type == 2) { // jpeg
$src_img = imagecreatefromjpeg("$orig");
$name = "thmb_" . $src_file;
$thmb_and_path = $path . $name;
if(!file_exists($thmb_and_path)) {
$image_info = getimagesize($orig);
$src_width = $image_info[0];
$src_height = $image_info[1];
$dest_height= 80;
$dest_width = ($dest_height/$src_height) * $src_width;
$quality = 30;
$dst_img = imagecreatetruecolor($dest_width,$dest_height);
imagecopyresampled($dst_img, $src_img, 0, 0, 0, 0, $dest_width,
$dest_height, $src_width, $src_height);
imagejpeg($dst_img, $thmb_and_path, $quality);
chmod("$thmb_and_path", 0777);
imagedestroy($src_img);
imagedestroy($dst_img);
}
} else if ($type == 1) { // gif
$src_img = imagecreatefromgif("$orig");
$name = "thmb_" . $src_file;
$thmb_and_path = $path . $name;
if(!file_exists($thmb_and_path)) {
$image_info = getimagesize($orig);
$src_width = $image_info[0];
$src_height = $image_info[1];
$dest_height= 80;
$dest_width = ($dest_height/$src_height) * $src_width;
$quality = 30;
$dst_img = imagecreatetruecolor($dest_width,$dest_height);
imagecopyresampled($dst_img, $src_img, 0, 0, 0, 0, $dest_width,
$dest_height, $src_width, $src_height);
imagejpeg($dst_img, $thmb_and_path, $quality);
chmod("$thmb_and_path", 0777);
imagedestroy($src_img);
imagedestroy($dst_img);
}
}
return $thmb_and_path;
}

View Replies !   View Related
Opens Email Attachments And Copies The Contents Into The Body Of The Email, In Pdf Format
I am working on a php script that opens email attachments and copies the contents into the body of the email, in html format. I am looking for a way to do this with pdf files - does anyone know of a way to convert pdf to html on the fly using php?

View Replies !   View Related
Send Over Thousand Email, How To Make Script As Not Email Spam?
I want to make a same script in PHP for send mail to my customer. Over
15.000 email in the list. How to pause 2 sec after sending 100
messages as this site? and continue sending email until send message in
all emails???

What's idea? do you have exist script? Please give me a solution?

View Replies !   View Related
Email Problem ( I Am Unable To Send Email In Diffarent Language )
I want to send the mail in Russian language. The mail content has two part, 1st part comes from database, and other part is entered by user in russian language. I am using UTF-8 in database.

I am also used Utf-8 (<meta http-equiv="Content-Type" content="text/html; charset=utf-8" in all web page. My site and  is working perfectly.

But I am unable to send mail in diffarent language. The mail is send well, but I am getting the mail with unicode chrecter of the language instade of original language. Code:

View Replies !   View Related
Need Email Address From Submitted Html Email Form
I have an html email that contains a form with questions for the user to fill out. Without asking the user to re-input there email address into the form, is there a way for me to grab the email address its coming from when the user submits the form to the php processing program. I need a way to match the questions to the user when they submit the form.

View Replies !   View Related
Email Array Checking Validity Of Email Address
I had the following working but since I changed the email variable to an array it doesn't work. email[] This is part of an edit form where emails in the mailing lists can get updated however, before they get updated i need to check that each of the email addresses are valid.But the code doesn't work for the array. Code:

View Replies !   View Related
Hiding The Receipeint Email Address While Sending Email
i am sending an email using php. i dont want the receipeints to see the to address. the problem is i am sending to a mailing list email address. so how can i hide the to address and the from address if possible?

View Replies !   View Related
Grab Email Addresses From MySQL And Send An Email....
I am making a simple mail form that will SELECT email address from a MySQL table based on the userid of the person sending the email.

if (isset($_POST['submit'])) {
require('../database.php');
$result = mysql_query("SELECT * FROM emailList WHERE merchantId = '".$_SESSION['id']."'") or die(mysql_error());

What would be the most efficient way of storing the email addresses from MySQL (may be 1 or may be 100) and then sending them in BCC to all the people gathered from the MySQL table?

View Replies !   View Related
Block Email Address / Domain From Using Email Form
I keep getting the same person spamming people on my website through my email form.

The email address is they keep using is sadlowski_lidia@o2.pl but this sometimes changes to a different name but still from the o2.pl domain

How can I block anyone using my email from the domain name o2.pl

View Replies !   View Related
Apache Sends Blank Email? - Php Email Form
I'm having some trouble with a php contact form on my site. It is based around a basic contact.php form which POSTS and redirects to a sendemail.php form with the variables. As a result, the webmaster receives 2 emails: 1 correct submission and 1 blank email from "Apache". Code:

View Replies !   View Related
Send A Mass Email From A Database Of Email Addresses
Im trying to send a mass email from a database of email addresses. basically, once a user signs up, their email is inserted into  table in the database. I would liek to make a link that i can click form the backend that says "send out newsletter" this would take all the emails in the database and put them in outlook ( mail app for me), seperate each with a comma and then i could compose a message. here's what i have come up with so far..
//Once connected to database

$mailto = mysql_query("SELECT * FROM newsletter");
while($row = mysql_fetch_array($mailto))
  {
echo "<a href=">. $row['email'] ."/">Send out Newsletter</a>";

}
Ive had it working but obviously it s making each email a seperate link that says "send out newsletter" i would like it to be one link that combines all the emails in a "mailto:" format.

View Replies !   View Related
Mass Email Group Question >> Email Addys From DB
I had a query that looped through and returned a $row from the database. what is the best way to include all the email addresses in a form or mail() function to be able to send them a weekly email reminder or create an email list.

View Replies !   View Related
Email Problem - Yahoo Set Them As Bulk/spam Email
i'm using htmlmimemail class to send emails from php and yahoo set them as bulk/spam email.

View Replies !   View Related
Email Headers - Reply To Email Address
I am creating a contact form that will send the user's comments to my email address. The form works (I receive the email), but it uses a reply to email address that appears to be from the server and not the respondent. I've set up the header in the mail() tag to reply-to the address entered, but it's not working. Here's the code:

View Replies !   View Related
Send A Email With Html As Well As Php.sending The Email
im trying to send a email with html as well as php.sending the email is the easy part.the problem is with the message part.if i put this code in the textarea it display the html tags in the email.yet the php is fine. Code:

View Replies !   View Related
Alter The Email Where A Email Sent From Using The Mail Function
is there any way to alter the email where a email sent from useing the mail function or any other. Lit me show a example: PHP Code:

<?php
$to = "me@yahoo.com";
$subject = "phpBuilder";
$message = "test";

mail($to,$subject,$message)

?>

When they get the email it say one email can you set it to say like Vbabiy@yahoo.com.

View Replies !   View Related
Email Form :: Multiple Email Addresses
Now I need to send it to multiple email addresses. I have this line of code. # Email to Form Owner:

$emailTo = '"Form Owner" <blahblah@example.com>'

How would I append a second email address to this.

View Replies !   View Related
Email An Email Address Will Update Database
It will be most usefull for news or blogs (for right now) but so you can email an email and have it update your database, exp:

Update@yourdomain.com

You email this with "news" in the subject and it will instert a new record into the database with the new news.

Grant you have to tell it what email address to accept this function from, for protectin against the database.

and also granted that why not use a CMS if your online but i just was wondering if i could do it and so i wrote this code, seeing if anyone was interested.

View Replies !   View Related
Google Groups Email Spider,Auction Software, Directory PPC Search Engine Software, Email Spiders - 1
Free download full version , all products

http://netauction8.url4life.com/

Groupawy
---------------
Google Groups Email spider. The first email spider for google groups.
Millions of valid and active emails in one easy location to collect.

Spiderawy
---------------
Email spider machine. Multithreads and Multiplexed connections per
thread with built in database system for the highest scalability and
performance. Email and URL spider and extractor.

Auction software for your site
----------------------------------------
Run your own auction site in minutes. Open source code in perl. Create
your own auction site in just a few minutes. NetAuction is the
complete auction package for every business from the personal to the
corporate business. SQL database backend for the highest scalability
and performance.

Directory, Pay per click search engine software
------------------------------------------------------------------
Open source code in perl. Build your own pay per click search engine
and build your entire sites in minutes with this software. NetEngine
is turn key Pay per click search engine and content management with
built in portal tools. SQL database backend for the highest
scalability and performance.

Site builder software
--------------------------------
Open source code in perl. Build and manage your sites with the fastest
browser based site builder and content management software ever.
NetBuilder is a complete package very easy to use for building your
sites online and offline with all the tools you ever need to manage
any site of any size.

Email list manager tools, free download full version
---------------------------------------------------------------------
Full Email lists tools suite. Email Extractor, Spider emails from
online web pages, Filter lists, Merge lists, Remove unsubscribe lists
from lists, Splitter to split larg email list file to smaller files,
Deduplicator to remove duplicated emails.

View Replies !   View Related
Email Authentication, How To Check If Just One Email
I've a few functions to check if an email is valid. What I'm wondering is how to make sure there are only one email for each field? What we are building is a contest in which a participant can send an invitation to up to 5 friends (5 email fields), sending an invitation would give one more chance of winning the prize.

The fields are 40 characters, but how do I prevent someone from entering 2 email in the same field provided that the 2 are less then 40 characters total? If the 2 email are complete it's not so much of a problem, the participant would only receive one extra chance not two the mail function would send to both email no problem (provided the user superated them by either a space of semi-colon). But if the second email is incomplete and the user doesn't notice it then the mail admin would receive an error stating that the second email is not good...

Anyway to prevent all that I really need to make sure of 2 things.
1) that there's only one email listed in the box and
2) that the email is valid.

View Replies !   View Related
How To Send Email In PHP If I Do Not Have Email Server?
I have a PHP/MYSQL system on IIS. I am trying to make my system send emails but I do not know how. I do have an email server but it is not on the same machine that my PHP system is at.

View Replies !   View Related
How To Send PHP Email To 100+ Email Addresses
I have a script that send out html email and I have over 100 email address from people who would like to join my newsletter. But I cannot get my script to email all 100+ of these people. Any one know how I can do this? Code:

View Replies !   View Related
Email All The Email Addresses I Have In My Database
I have written this code to email all the email addresses i have in my database. The content of the email also comes from a row called content Code:

View Replies !   View Related
Email To Email Information Form
im creating a php form so when a user come to my website and fills out questions like "how much would you like to spend", or "the product you would like to have is". so when all the questions are filled out and the put in their email address I can get back to them. I want the php to send me the form they just sent out to MY Email Address and i need the code to send them the same email that i got so they know what they filled out and they have it for their records also.

View Replies !   View Related
Email A File As The Body Of Email
i have a file....:

<html>
..........
........
.........
<?php echo $USer_Name; ?>
.........
.........
........
</html>

assuming its called email.php, how would i send that file as the body of an email using mail(), coudl i do it.  and if so, how..

View Replies !   View Related
Email Sender, Check The To And From Email Against A Txt
i have the following script. But for security i wanna have it check the to and from emails aginst a txt document ful of email adress. and if found in the txt then dont send it. PHP Code:

View Replies !   View Related
Email : Send To Email In Recordset
My script sends email fine when I have a hard-coded email address but when I try to dynamically change the email recipient based on the results of a recordset, the email script fails. Code:

View Replies !   View Related
Email Problem - Copy Email
When the user registers, he is told a confirmation email is on the way to him. I want a copy to come to me, too.

$body = "Thank you for registering for the email newsletters.

Your username is '{$_POST['username']}' and your password is '{$_POST['password1']}' As soon as our email service gets under way, you will be among the first to be contacted.

View Replies !   View Related
Recipient Email Address In Email
I am using php to sent out email using command mail() and i put all the recipeints in BCC. So when recipient receive the email, he/she can click on the link in the email content to link back to the system. So now any idea how to get the recipient email when the recipient click the link.

View Replies !   View Related
Email Form That Uses Array And A Switch Call To Send Values In A Form To My Email
I've got a email form that uses array and a switch call to send values in a form to my email. The problem I'm having is I have a checkbox where users should be able to select multiple values however if they do when I receive the email instead of having the values it prints "ARRAY"...I've included a sample below: PHP Code:

<?
// Key => (required, type, string)

// Types:
// 1 - Long text
// 2 - Short text
// 3 - Textarea
// 4 - Radio
// 5 - Checkbox
// 6 - Dropdown

// 4, 5, and 6 require a 4th value in the array
$mail_form_to = "me@email.com";
$mail_form_subject = "Real Estate Submission";

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
Check If Email Adress Is A Real Email Adress?
I tried to find this out but didnt really come up with everything that works, so here my question:

How do I check an email adress if it is a real email adress containing and @ and a . ? I guess there is a PHP function searching the Variable for these signs but not sure bout anything.

View Replies !   View Related
PHP Email Example
I'm new to PHP and I'm trying an example from a book. This example is a small application that takes the output from a form and generates an e-mail message containing the form's contents. This is called Ex5.html :

<html>
<head><title>Example #5</title></head>
<body>
<form method=POST action=example_5.php3>
EMail Address:<INPUT TYPE=TEXT NAME="email_address"><br>
Phone Number: <INPUT TYPE=TEXT NAME="phone_number<br>
<INPUT TYPE=SUBMIT NAME=SUBMIT>
</form>
</body>
</html>

-----------------------------------
and this is called example_5.php3 :
-----------------------------------

<?PHP

$message = sprintf("Form data -----------------n");

while(list($key, $val) = each($HTTP_POST_VARS)) {
$message .= sprintf(#34>[%s]: %sn", $key, $value);
}

$message .= "n";
$message .= "More Information ------------------n");
$message .= "The user's IP address is";
$message .= getenv("remote_addr").".n";
$message .= "The user is running the web browser ";
$message .= getenv("http_user_agent").".n";

mail("bijanbel@excite.com", "Feedback Form", $message, "
From: Feedback someone@hotmail.com" );

?>
to invoke this I go to the html file with
my browser I fill out the form and submit.
then I get the following error messages :

Warning: Variable passed to each() is not an array or object in
/home/httpd/html/tests/example_5.php3 on line 5
------------------------------------
Warning: Unexpected character in input: '' (ASCII=92) state=1 in
/home/httpd/html/tests/example_5.php3 on line 6
-------------------------------------
Parse error: parse error, expecting `')'' in /home/httpd/html/sheilabel/tests/example_5.php3 on line 7
------------

>>> Does anyone have any idea how to fix this ? Some how it is not recognizing $HTTP_POST_VARS as an array but why I don't know.

View Replies !   View Related
PHP To EMail BCC
First off let me say I know near nothing about PHP. What I do know is
I need what it does for me.

Some time ago I purchased a little program called PHP Form Wizard to
create scripts to handle my online forms of which it does fine for me
with one exception. One of the tasks it performs is that it emails the...

View Replies !   View Related
ISP Email
How do you validate that an email address is ISP provided and not a free mail service.

View Replies !   View Related
How To Add An Email To This.
Hi, I have a form that goes to mysql when a submit button is pushed. How to make some of the form fields go to an email at the same time. For example an easy summary of it:

<?php
If post then {
?>
form fields
<form action="<?php $_SERVER['PHP_SELF'] ;?>" method='post'>
<input fields here>
type='submit' name='Submit' value='Submit'>
</form>
<?php
}
else {
$con = mysql_connect("mysql","databasename","password");
$sql="INSERT INTO etc.
if (!mysql_query($sql,$con))
{die('Error: ' . mysql_error());}

This is where I get stuck. Where to add the email fields. So that some of the above form fields will send to the email as well. I tried......
else {
$mailto = etc. and so on here.
echo "form fields sent";}}
?>

But it says unexpected Telse on the last else.

View Replies !   View Related
Email A Log
I dont want to actually email a log as an html attachment but instead as to extract the data from the html file and send it as an html file. I know the coding for the email using the mail function but am not sure of how touse the fopen function to open the html file and extract the data to email.

View Replies !   View Related
Using Email With PHP
Our php was installed on our server by a consultant who is no longer
available. Now, we have just moved our servers to a new location, and
the autoresponders we have written in PHP no longer work. I'm assuming
there is somewhere in the setup that holds the ip for the email
server. Since we have a new mail server, we need to change that
setting.

View Replies !   View Related
Web Email
I would like to give users if my site free emails .. Is it better to make one or buy a ready solution ??? Does anyone know about a good email solution that i can buy ???

View Replies !   View Related
PHP + Email
Is it possible to have a PHP script receive an email (CSV text). The
problem is this, I want a server to send me an email, and then I want to
be able to have a PHP script 'listening' for email and then processing
the data in the email.

Is it possible to have a PHP script 'listening' or responding to an
'email received' event, so that it can process the data ?



View Replies !   View Related
PHP/Email
I'm working with a hosting company that blocks the user 'nobody' from sending
email.

How do I go about setting the user for sending email?

I have a "From: " header in the message.

View Replies !   View Related
Email?
How do you send a files through email with php?

View Replies !   View Related

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