Solved

php question

Posted on 2006-06-09
3
229 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 500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Apps blocked by Java 9 103
Infrastructure development vs software development 3 103
How to call a web service and get the results posted in a form in PHP 9 95
IDE for Python 5 101
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

738 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