Solved

php question

Posted on 2006-06-09
3
227 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
  • 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

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

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.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …

809 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