GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   PHP Help needed [$] (https://gfy.com/showthread.php?t=1141129)

MichaelP 05-20-2014 12:44 PM

PHP Help needed [$]
 
I made my newsletter PHP script based on my SQL database and it works just fine... Now I try to add an image into it (inline) but it's a tad beyond my programming capacity.

Found a couple of lines online but can't figure out how to make it work.

This is about an hour of work for any 'real' programmer starting from what I have and put the pieces together :)

sarettah 05-20-2014 12:48 PM

Quote:

Originally Posted by MichaelP (Post 20093506)
I made my newsletter PHP script based on my SQL database and it works just fine... Now I try to add an image into it (inline) but it's a tad beyond my programming capacity.

Found a couple of lines online but can't figure out how to make it work.

This is about an hour of work for any 'real' programmer starting from what I have and put the pieces together :)

Tried to hit you on icq but you are not online.

Hit me back or email me at sarettah at hatterasdesigns.com I can probably help you out.

.

MediaGuy 05-20-2014 01:05 PM

Bump for you Michael...

I don't get it though - did you write a CMS or some kind of dynamic newsletter template? How can adding an inline image be a programming chore?

:D

michael.kickass 05-20-2014 01:26 PM

Can't help you much without seeing some code. The DB structure is also good to know.

MichaelP 05-20-2014 01:27 PM

Quote:

Originally Posted by MediaGuy (Post 20093534)
Bump for you Michael...

I don't get it though - did you write a CMS or some kind of dynamic newsletter template? How can adding an inline image be a programming chore?

:D

No its a simple phpmail() that i modified to make it work with my system. Now I want to add the (inline) image into the function.sendmail

sarettah 05-20-2014 02:29 PM

Quote:

Originally Posted by MichaelP (Post 20093568)
No its a simple phpmail() that i modified to make it work with my system. Now I want to add the (inline) image into the function.sendmail

Hmmm, don't see an email or an icq message so I guess you aren't interested?

.

VladS 05-20-2014 03:58 PM

Sure, drop a line if still not solved - vlad /at/ faxite /dot/ com

FINESEC 05-21-2014 04:07 AM

http://stackoverflow.com/questions/2...-html-php-file

Here you go!

MichaelP 05-21-2014 08:17 AM

Quote:

Originally Posted by FINESEC (Post 20094251)

Thank you I think that will help. :thumbsup

Question, how do I set my image I want in the email ? FYI, this image is already on the server, and I have an IMG field in my Newsletter SQL table ..

http://blah.com/images/image.jpg
OR
home/path/to/blah.com/images/image.jpg

Tables :

// tb_Newsletter : newsletter_id / Date / Title / Body / Imgurl / etc...

// tb_Registrations : id / Name / Company / Email / etc...

MrGusMuller 05-21-2014 08:35 AM

Hit me.

I will help you!

MichaelP 05-21-2014 09:04 AM

Quote:

Originally Posted by MrGusMuller (Post 20094544)
Hit me.

I will help you!

Thank you man for the great help! :thumbsup


All times are GMT -7. The time now is 02:32 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123