Solved

php question

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C# DataGridView_RowsAdded event not firing 1 82
Rubik's Cube Code for Effective Presentation 3 63
Definitions and default visual studio colors 5 70
Apps blocked by Java 9 88
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 …

830 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