PLEASE HELP ME WITH THE CODE....!

  • 1
  • Question
  • Updated 9 years ago
  • Answered
Guys , can you help me with a script for the requirement below?

I need an email sending script with 2 fields and a button.
The first one is number , and second is msg.

Number field should only have 10 numbers only, and should verify whether it begin with zero.

The msg field should have only 135 charactors.

When people type a number and a msg , the email should be sent with details below...!

To : 9471xxxxxxx@sms.Mobitel.lk

(xxxxxx means the last 7 digits of what people entered in number field.

Subject : -no subject-

msg :

sms.eSecrets.tk
xxxxxxxx......

X letters are to the msg field...

After people press the button , SEND , it should send msg immeadiately and should return to the url below : m.eSecrets.tk/confiremed

please email the script to AyeshLakmal @ gmail . com.

Thank you very much.
Photo of SilverX

SilverX

  • 492 Posts
  • 40 Reply Likes

Posted 9 years ago

  • 1
Photo of lambofgod

lambofgod

  • 875 Posts
  • 35 Reply Likes
Hey Ayesh,

Are you trying to use this with Yola? If so, Yola does not allow use of php scripts. Without php or other SSI this isn't possible.
Photo of SilverX

SilverX

  • 492 Posts
  • 40 Reply Likes
Oh , no.
I am currently working on my new site and I need to send emails as sms messages to others , using my mobile site.

My server (where I host ) supports php scripting.
In my plan, my site is a mobile php site and it should be accessible through any mobile browser (i mean any default.)

if you can code for this I am very very very greatful to you.
Photo of lambofgod

lambofgod

  • 875 Posts
  • 35 Reply Likes
About to send the email to you.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Ayesh

I would suggest trying to Google this code. I am not aware of any such codes at this moment. I would also advise that you do not leave your personal information on the forum such as your email address.
Photo of SilverX

SilverX

  • 492 Posts
  • 40 Reply Likes
Thanks Sanja.
Photo of SilverX

SilverX

  • 492 Posts
  • 40 Reply Likes
Thanks Sanja..

DAN,
i got your mail with much thanks.
Photo of Keara

Keara

  • 325 Posts
  • 14 Reply Likes
Ayesh, if you feel like it, you might want to delete your email address from your original post. Just a thought.