|
Posted by Kevin Raleigh on 07/08/07 04:38
I posted earlier on the results of my header issues.
I redesigned my page so that all my php resided in the top of the page.
Natural this resolved the problem.
I just had to think about what everyone was telling me to do.
It didn't make sense earlier, now it does.
Could really use some help with the phpMailer script that I am working with.
Currently I can't connect as I have this error:
Warning: fsockopen() expects parameter 2 to be long, string given in
/home/content/r/a/l/raleigh123/html/php/class.smtp.php on line 105
Message could not be sent.
Mailer Error: Language string failed to load: connect_host
I read up on this error and it has something to with proxy settings that
affect this function:
Reason is, that script does not check validity of the portNum, which must be
integer in range of 1..65535.
I tried using (int) and ended up with the error that
Message could not be sent.
Mailer Error: Language string failed to load: connect_host
Can you advise on how I might move forward, where I might search for
information.
any insight appreciated
thank you
Kevin
"Virginner" <theDOTbin@virginLOSEIT.net> wrote in message
news:dQLji.6781$fi4.4233@newsfe7-win.ntli.net...
> "Kevin Raleigh" <kraleigh@sbcglobal.net> wrote in message
> news:dsOdnXF__tWwZhPbnZ2dnUVZ_qSrnZ2d@giganews.com...
> > the first email was confusing so I reposted....
> >
> >
> > I would like to send my user an email after they register so that I can
> > verify their
> > email address.
> > .
> > Can anyone advise
>
> use the mail() function to:
>
> a. Send a random password to their email address, rather than getting them
> to enter one themselves. Once they received the password and logged into
> you can provide a "change password" option.
>
> or
>
> b. Put in a "verified" field in the db. Send a unique URL to the user, a
> copy of which is in the db. User clicks on URL in email, which fires a
> script to make the verified field "true". They can then login using the
> password they had originally provided.
>
> Have you now sorted your form and header() issues? You have not commented
on
> that thread ;-)
>
> D.
>
>
[Back to original message]
|