parsing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fire Juggler

    parsing

    Hi, in a php script i'm writing, i want to set
    $email=fire_jug gler_03@hotmail .com.nospam but it doesn't like it. How should
    i write the underscores? because i know you have to \' for apostrophes.
    Any help would be great.

    --
    Thanks
    Kathryn
    -----------------------------------




  • Fire Juggler

    #2
    Re: parsing

    sorry missed the "'s out
    $email="fire_ju ggler_03@hotmai l.com.nospam";

    --
    Thanks
    Kathryn
    -----------------------------------


    "Fire Juggler" <firejuggler@fi rejugglers.34sp .com.nospam> wrote in message
    news:d1npl7$t9c $1@newsg4.svr.p ol.co.uk...[color=blue]
    > Hi, in a php script i'm writing, i want to set
    > $email=fire_jug gler_03@hotmail .com.nospam but it doesn't like it. How
    > should i write the underscores? because i know you have to \' for
    > apostrophes.
    > Any help would be great.
    >
    > --
    > Thanks
    > Kathryn
    > -----------------------------------
    > http://www.firejugglers.34sp.com
    > http://www.cornwalljugglers.co.uk
    >[/color]


    Comment

    • Nik Coughin

      #3
      Re: parsing

      Fire Juggler wrote:[color=blue][color=green]
      >> Hi, in a php script i'm writing, i want to set
      >> $email=fire_jug gler_03@hotmail .com.nospam but it doesn't like it. How
      >> should i write the underscores? because i know you have to \' for
      >> apostrophes.[/color][/color]

      I don't know what you're doing, but this works fine:

      <?php
      $email = "fire_juggler_0 3@hotmail.com.n ospam";
      echo $email;
      ?>


      Comment

      • Fire Juggler

        #4
        Re: parsing

        thanks i will try that. wot does echo actually do then?

        --
        Kathryn (Fire Juggler)




        "Nik Coughin" <nrkn!no-spam!@woosh.co. nz> wrote in message
        news:k3O%d.1176 4$1S4.1219200@n ews.xtra.co.nz. ..[color=blue]
        > Fire Juggler wrote:[color=green][color=darkred]
        > >> Hi, in a php script i'm writing, i want to set
        > >> $email=fire_jug gler_03@hotmail .com.nospam but it doesn't like it. How
        > >> should i write the underscores? because i know you have to \' for
        > >> apostrophes.[/color][/color]
        >
        > I don't know what you're doing, but this works fine:
        >
        > <?php
        > $email = "fire_juggler_0 3@hotmail.com.n ospam";
        > echo $email;
        > ?>
        >
        >[/color]


        Comment

        • Fire Juggler

          #5
          Re: parsing

          i want to set $contact="fire_ juggler_03@hotm ail.com" then pass it through
          mail($contact, $subject, $messgae); but because the e-mail address has
          underscores in it, it won't send to that address.
          any help?

          Kathryn (Fire Juggler)



          "Fire Juggler" <firejuggler@fi rejugglers.34sp .com> wrote in message
          news:d1p5f5$juh $1@newsg1.svr.p ol.co.uk...[color=blue]
          > thanks i will try that. wot does echo actually do then?
          >
          > --
          > Kathryn (Fire Juggler)
          > http://www.firejugglers.34sp.com
          > http://www.cornwalljugglers.co.uk
          >
          >
          > "Nik Coughin" <nrkn!no-spam!@woosh.co. nz> wrote in message
          > news:k3O%d.1176 4$1S4.1219200@n ews.xtra.co.nz. ..[color=green]
          > > Fire Juggler wrote:[color=darkred]
          > > >> Hi, in a php script i'm writing, i want to set
          > > >> $email=fire_jug gler_03@hotmail .com.nospam but it doesn't like it. How
          > > >> should i write the underscores? because i know you have to \' for
          > > >> apostrophes.[/color]
          > >
          > > I don't know what you're doing, but this works fine:
          > >
          > > <?php
          > > $email = "fire_juggler_0 3@hotmail.com.n ospam";
          > > echo $email;
          > > ?>
          > >
          > >[/color]
          >
          >[/color]


          Comment

          • Peter Albertsson

            #6
            Re: parsing

            Does mail() work at all on your php installation? Sometimes the default
            configuration doesn't work. Does it work to send to other e-mail addresses?
            Do you get any errors?

            Best regards,

            Peter Albertsson

            "Fire Juggler" <firejuggler@fi rejugglers.34sp .com> wrote in message
            news:d1p5up$kc0 $1@newsg1.svr.p ol.co.uk...[color=blue]
            >i want to set $contact="fire_ juggler_03@hotm ail.com" then pass it through
            > mail($contact, $subject, $messgae); but because the e-mail address has
            > underscores in it, it won't send to that address.
            > any help?
            >
            > Kathryn (Fire Juggler)
            > http://www.firejugglers.34sp.com
            > http://www.cornwalljugglers.co.uk
            >
            > "Fire Juggler" <firejuggler@fi rejugglers.34sp .com> wrote in message
            > news:d1p5f5$juh $1@newsg1.svr.p ol.co.uk...[color=green]
            >> thanks i will try that. wot does echo actually do then?
            >>
            >> --
            >> Kathryn (Fire Juggler)
            >> http://www.firejugglers.34sp.com
            >> http://www.cornwalljugglers.co.uk
            >>
            >>
            >> "Nik Coughin" <nrkn!no-spam!@woosh.co. nz> wrote in message
            >> news:k3O%d.1176 4$1S4.1219200@n ews.xtra.co.nz. ..[color=darkred]
            >> > Fire Juggler wrote:
            >> > >> Hi, in a php script i'm writing, i want to set
            >> > >> $email=fire_jug gler_03@hotmail .com.nospam but it doesn't like it.
            >> > >> How
            >> > >> should i write the underscores? because i know you have to \' for
            >> > >> apostrophes.
            >> >
            >> > I don't know what you're doing, but this works fine:
            >> >
            >> > <?php
            >> > $email = "fire_juggler_0 3@hotmail.com.n ospam";
            >> > echo $email;
            >> > ?>
            >> >
            >> >[/color]
            >>
            >>[/color]
            >
            >[/color]

            Underscores


            Comment

            • Fire Juggler

              #7
              Re: parsing

              it doesn't work wen i send it to fire_juggler_03 @hotmail.com or
              kathryngill1@ho tmail.com but works for webmaster@cornw alljugglers.co. uk

              any ideas?

              Kathryn (Fire Juggler)



              "Peter Albertsson" <Peter.ANTISPAM .Albertsson@ant ispOm.comhem.se > wrote in
              message news:kpY%d.2022 3$d5.152272@new sb.telia.net...[color=blue]
              > Does mail() work at all on your php installation? Sometimes the default
              > configuration doesn't work. Does it work to send to other e-mail[/color]
              addresses?[color=blue]
              > Do you get any errors?
              >
              > Best regards,
              >
              > Peter Albertsson
              >
              > "Fire Juggler" <firejuggler@fi rejugglers.34sp .com> wrote in message
              > news:d1p5up$kc0 $1@newsg1.svr.p ol.co.uk...[color=green]
              > >i want to set $contact="fire_ juggler_03@hotm ail.com" then pass it through
              > > mail($contact, $subject, $messgae); but because the e-mail address has
              > > underscores in it, it won't send to that address.
              > > any help?
              > >
              > > Kathryn (Fire Juggler)
              > > http://www.firejugglers.34sp.com
              > > http://www.cornwalljugglers.co.uk
              > >
              > > "Fire Juggler" <firejuggler@fi rejugglers.34sp .com> wrote in message
              > > news:d1p5f5$juh $1@newsg1.svr.p ol.co.uk...[color=darkred]
              > >> thanks i will try that. wot does echo actually do then?
              > >>
              > >> --
              > >> Kathryn (Fire Juggler)
              > >> http://www.firejugglers.34sp.com
              > >> http://www.cornwalljugglers.co.uk
              > >>
              > >>
              > >> "Nik Coughin" <nrkn!no-spam!@woosh.co. nz> wrote in message
              > >> news:k3O%d.1176 4$1S4.1219200@n ews.xtra.co.nz. ..
              > >> > Fire Juggler wrote:
              > >> > >> Hi, in a php script i'm writing, i want to set
              > >> > >> $email=fire_jug gler_03@hotmail .com.nospam but it doesn't like it.
              > >> > >> How
              > >> > >> should i write the underscores? because i know you have to \' for
              > >> > >> apostrophes.
              > >> >
              > >> > I don't know what you're doing, but this works fine:
              > >> >
              > >> > <?php
              > >> > $email = "fire_juggler_0 3@hotmail.com.n ospam";
              > >> > echo $email;
              > >> > ?>
              > >> >
              > >> >
              > >>
              > >>[/color]
              > >
              > >[/color]
              >
              > Underscores
              >
              >[/color]


              Comment

              • DJ Craig

                #8
                Re: parsing

                I'm not sure why that doesn't work, but try using single quotes.
                $email = 'fire_juggler.. .@hotmaiĀ­l.com. nospam';

                What type of error is it giving you?

                Comment

                Working...