Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-30-2010, 02:50 PM   #1
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
PHP syntax help , who can take a peek?

$sms_email = "[email protected]"; // NOTE - replace with your cellphone's SMS email address

now i want to add another email addy what is the appropriate syntax?

Below good?


$sms_email = "[email protected]" "[email protected]"; // NOTE - replace with your cellphone's SMS email address
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2010, 02:53 PM   #2
camgirlshide
Confirmed User
 
Join Date: Jan 2005
Posts: 1,558
$sms_email = "[email protected];[email protected] et";
__________________
Useful adult webmaster links -
Alphabetical list of solo models with webcam
Stats on my best converting affiliate programs - camgirlshide webmaster blog
complete list of affiliate programs I use.
camgirlshide is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2010, 02:55 PM   #3
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Quote:
Originally Posted by camgirlshide View Post
thx man


-JDL
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2010, 03:38 PM   #4
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
Quote:
Originally Posted by camgirlshide View Post
probably wont work like this.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2010, 03:41 PM   #5
mikke
Confirmed User
 
mikke's Avatar
 
Industry Role:
Join Date: Jan 2010
Location: Europe
Posts: 1,327
Quote:
Originally Posted by camgirlshide View Post
i think ; wont work, try , ...
__________________
icq: 395 294 346
http://www.adultsubmitter.eu - submit any adult site to 20 directories from 1 form!
now 20 domains!
http://www.porndeals.eu http://www.ebonybangbros.com
mikke is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2010, 03:42 PM   #6
FlexxAeon
Confirmed User
 
FlexxAeon's Avatar
 
Industry Role:
Join Date: May 2003
Posts: 3,765
trying to send "TO:" to both at the same time?

edit: if yeah, what they said above is proper email syntax use a comma
__________________
flexx [dot] aeon [at] gmail
FlexxAeon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2010, 04:12 PM   #7
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Quote:
Originally Posted by mikke View Post
i think ; wont work, try , ...
"; " wasnt working gonna try ","
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2010, 05:46 PM   #8
Why
MFBA
 
Industry Role:
Join Date: Mar 2003
Location: PNW
Posts: 7,230
it really depends on what is sending the mail. but the comma should work.
Why is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2010, 06:02 PM   #9
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
If this is that hokey X-Cart addon, you should either run a loop yourself for the addresses, or call the function dependent for each.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2010, 06:17 PM   #10
Wifey's World A.M.
Registered User
 
Wifey's World A.M.'s Avatar
 
Join Date: Apr 2010
Posts: 20
I don't know what you are trying to do, but you might want to put each sms email address as a value in an array and then loop through that array.

$smsArray = array("[email protected]", "[email protected]", "[email protected]");

foreach ($smsArray AS $value) {
*do something with $value;*
}
__________________
Wifey's World A.M. is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2010, 06:20 PM   #11
Wifey's World A.M.
Registered User
 
Wifey's World A.M.'s Avatar
 
Join Date: Apr 2010
Posts: 20
...or

$sms_email = "[email protected]";
$sms_email .= "[email protected]";

return $sms_email;

Again, I don't know what you're trying to do.
__________________
Wifey's World A.M. is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2010, 12:55 AM   #12
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
mikke got it. proper syntax is to use a comma, so
$sms_email = "[email protected], [email protected]";
or you can add another header to CC instead.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2010, 01:09 AM   #13
papill0n
Unregistered Abuser
 
Industry Role:
Join Date: Oct 2007
Posts: 15,547
Quote:
Originally Posted by Wifey's World A.M. View Post
I don't know what you are trying to do, but you might want to put each sms email address as a value in an array and then loop through that array.

$smsArray = array("[email protected]", "[email protected]", "[email protected]");

foreach ($smsArray AS $value) {
*do something with $value;*
}

been a fan for years, your wife is the hotness man
papill0n is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2010, 02:46 AM   #14
Wifey's World A.M.
Registered User
 
Wifey's World A.M.'s Avatar
 
Join Date: Apr 2010
Posts: 20
Quote:
Originally Posted by papill0n View Post
been a fan for years, your wife is the hotness man
I'm their web developer and affiliate manager
__________________
Wifey's World A.M. is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2010, 03:19 AM   #15
LoveSandra
So Fucking Banned
 
Join Date: Aug 2008
Location: Just Blow Me
Posts: 10,551
bump bump
LoveSandra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2010, 04:27 AM   #16
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
Quote:
Originally Posted by GrouchyAdmin View Post
If this is that hokey X-Cart addon, you should either run a loop yourself for the addresses, or call the function dependent for each.
i initially made a new function "$sms_email2" and tested it and it worked then tried the ",
" and that worked also so all is good heheh

thx all for the help
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.