?
Solved

php question

Posted on 2006-06-09
3
Medium Priority
?
231 Views
Last Modified: 2010-04-17
I do a lot of email advertising. I am looking for a php code that I can put into an email so that when it is opened by the user it will be a web page with the advertising. I have been sending html emails with the advertising but they do not open the way I would like. I came across a code a while back, but forgeot where. So to sum thing up, all I want to put in an html email is this php code that will open my web page.
0
Comment
Question by:lavak
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 16874591
lavak,

Won't work.  The contents of the email would run on the client's computer and PHP is server side code.  Even if their computer was set up to run PHP the email program's security settings would most likely, at least hopefully, prevent this.

You can try to use JavaScript, which is client-side code and supported by a number of email programs.  However it is common for users to disable it for them to have a program that will.  If the message does not look like you want then I recommend trying to fix the HTML, if possible, or provide a link to the HTML contents.  This link would be to your website and the page could use PHP, etc.

Sorry!  Let me know if you have any questions or need more information.

b0lsc0tt
0
 

Author Comment

by:lavak
ID: 16874737
when I get html mail from people...that is the actual advertising...how are these people doing this?
0
 
LVL 54

Accepted Solution

by:
b0lsc0tt earned 2000 total points
ID: 16874937
What exactly are they doing?  Does the actual email contain ad images?  Is it the fact that the message is personalized but still in general advertising?

Viewing the source of the email message can give you an idea of the HTML code they are using.  Emails promoting a product can be personalized using a database and server side language to send the message.  The message itself still is just HTML or basic text but it was created with a script.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Starting up a Project

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question