[PHP-WIN] Re: Wrong date stamp with mail()

2001-11-02 Thread anch.org

How about trying GMT +1600?  Ugly solution but hey...

Now for my mail() question.  How to send AUTH info?


"Ralph Nicovich" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> I have a recent instalation on Win2k using an Apache server.
> I am able to use the mail() function but it puts the wrong time on the
> mail...
>
> I send mail to the same smtp server as I use for Netscape messenger ...
> and netscape properly sets the time sent.
>
> I am at GMT -0800 but the mail gets stamped with GMT +0800 so all the
> mail is stamped with a time that is 16 hours earlisr than it was sent
> 
>
> Any Ideas ?
>
> --
>_  _  _
>   / )|Ralph Nicovich   |( \
>  / / |   Cal Poly  | \ \
>_( (_ |  San Luis Obispo, CA 93407  | _) )_
>   (((\ \>|_/ )_( \_|   ( \_/ /   \ \_/ )
>\   / \   /
> \_/   \_/
> /   /   \   \



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-WIN] Re: Wrong date stamp with mail()

2001-11-02 Thread anch.org

Woops I had my email address as admin@ and this newsgroup automatically
appended pb1.pair.com to the end of it.  Sorry but I'm NOT
[EMAIL PROTECTED] just so you know.

"Anch.Org" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How about trying GMT +1600?  Ugly solution but hey...
>
> Now for my mail() question.  How to send AUTH info?
>
>
> "Ralph Nicovich" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hello,
> >
> > I have a recent instalation on Win2k using an Apache server.
> > I am able to use the mail() function but it puts the wrong time on the
> > mail...
> >
> > I send mail to the same smtp server as I use for Netscape messenger ...
> > and netscape properly sets the time sent.
> >
> > I am at GMT -0800 but the mail gets stamped with GMT +0800 so all the
> > mail is stamped with a time that is 16 hours earlisr than it was sent
> > 
> >
> > Any Ideas ?
> >
> > --
> >_  _  _
> >   / )|Ralph Nicovich   |( \
> >  / / |   Cal Poly  | \ \
> >_( (_ |  San Luis Obispo, CA 93407  | _) )_
> >   (((\ \>|_/ )_( \_| >   ( \_/ /   \ \_/ )
> >\   / \   /
> > \_/   \_/
> > /   /   \   \
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-WIN] Re: Creating dns via code...

2001-11-02 Thread anch.org

Have you tried a hosts file?



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-WIN] Connecting to a database

2001-11-02 Thread anch.org

I'm your "Tech Psychic".  You're obviously running one of those M$ productz
and trying to install your own phpBB forum, aren't you?  What you want to do
is enter localhost as the host name (since you're a newbie you wouldn't be
doing distributed access) and you'll have to use WinMySQLadmin to create a
database and give it arbitrary user name and password.  Then use those that
user name and password in your forum install form.

http://anch.org
Anchorage Non-Commercial Host
Your Tech Psychic Headquarters



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-WIN] Re: Login-System

2001-11-02 Thread anch.org

Have you considered .httaccess?



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-WIN] Re: PHP.ini problems

2001-11-02 Thread anch.org

I'm having the same problem.  It's due to the mail server set to AUTH
permissions for mail relay via SMTP.  The only way I know of to make it work
is to open up your mail server to act as a full mail relay, letting spammers
do what they want...  Not a happy solution.

Now I ask this question again.  How do I send a valid AUTH header in a PHP
mail() request?



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-WIN] Re: log-in system

2001-11-02 Thread anch.org

use .httaccess



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-WIN] Re: Looking for a script

2001-11-02 Thread anch.org

I thought push technology went out with commuting to work.



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-WIN] Re: PHP.ini problems

2001-11-04 Thread anch.org

I answered my own question.  base64 encoded mime auth headers can be sent
with PHP for authenticated mail relay servers such as Sambar 5.0
(increasingly popular).  The trick is to use the more versatile smtp
function.  Example scripts can be found at ftp://ftp.anch.org/pub/www/php/
in a file called smtp_auth_php.zip

Why use a mail server that requires authentication?  To prevent spam, of
course!

http://anch.org
Free websites with SSL, PHP, ASP, SQL & more!
No ugly popups / banners.
Tech support forums

Fozner

>
> Now I ask this question again.  How do I send a valid AUTH header in a PHP
> mail() request?
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-WIN] Re: Seeing in input box

2001-11-13 Thread anch.org

Looks like something in your script is converting to HTML.  Line breaks are
converted to  for display as HTML.  To re-enter into a text box you'll
have to convert the  back into crLF.

"Jack" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Dear all
> I had made a page for edit which contains Input box, but the Input box is
> not blank, i had used the php script to make the input box use the last
> input text as the default value.
> The problem comes out like this, when i input the text into the input box
on
> the first time, it just works fine (it copy my heading to a file called
> "Heading.txt" and the content to a file called "Content.txt", then when i
> click a link , the heading and the context from these file will be display
> nicely.), but  when i go back to the page for edit on sec time, i can see
> there is a lot of  in the input box, as much time i submit to the
input
> box, the more  will come out and display in the box.
> So is there anyway that i can skip the  appear in my input box???
> The input box is actually read the content from the heading and
content.txt
> file.
>
> Thx
> Jack
> [EMAIL PROTECTED]
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-WIN] Re: MING

2001-11-13 Thread anch.org

I think you need to enter a mapping in php.ini to use extensions like ming
or whatever.

"Josh Seward" <[EMAIL PROTECTED]> wrote in message
000f01c16b4f$9c8a6af0$9300a8c0@wisestructures">news:000f01c16b4f$9c8a6af0$9300a8c0@wisestructures...
I am getting the following error:

Warning: Unable to load dynamic library 'C:\extentions\php_ming.dll' - The
specified module could not be found. in
c:\inetpub\wwwroot\dawndusk\swf_test\swf_shape.php on line 2


If I have the php_ming.dll in the extensions folder. Why do I still get this
error? Any info. helps.

I am also looking for docs on ming windows 2000 install!

Thanks,
Josh Seward
[EMAIL PROTECTED]






-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-WIN] Re: Read Session in ASP in PHP

2001-11-19 Thread anch.org

Sorry, I'm a PHP newbie.  The only way I know you can pass values to a php
script is the normal way, through the URL, as in:  a
href=yourscript.php?var1=value&var2=value... etc.



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]