Re: [PHP] Strange output using include()/require()

2007-07-13 Thread DJ Necrogami

That's UTF-8 Open it in a Unicode File Editor Change it from ANSI to UTF-8
and back to ANSI and then resave and it will go away

On 7/13/07, melz <[EMAIL PROTECTED]> wrote:


Hello,

I'm new to this newsgroup so I hope this is the right place to ask for
help.

I have a script that starts with the following lines:

Line1: require_once 'config.php';
Line2: require_once 'common.php';
Line3: require_once 'HTTP/Request.php';

However, when I run it on the browser, where line 1-2 is, I'll see the
following output



That's two times 

So it only affects both config.php and common.php. I can't seem to
figure out what's wrong with both files (they contain constants and a
couple functions) since it does not affect HTTP_Request (from PEAR) at
all.

I hope that makes sense. Any help is appreciated.
Thanks!

-m.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





--
Phoenix Edge Network L.L.C. - Owner
PHPLogic Development Services – Co-Owner
Anton C. Swartz IV
Based in Indianapolis, IN

"The Opposite of war is not Peace it is Creation."

Don't let sin rule your body. After all, your body is bound to die, so dont
obey its desires or let any part of it become slave to evil. Give yourselves
to God, as people who have been raised from death to life. Make every part
of your body a slavethat pleases God. Don't let sin keep ruling your
lives.You are ruled by God's Kindness and not by the law.
Romans 6:12-14


Re: Re[6]: [PHP] Newbie seeks urgent help

2007-07-13 Thread DJ Necrogami

On 7/14/07, Luc <[EMAIL PROTECTED]> wrote:


Hello Tijnema,

Friday, July 13, 2007, 10:45:48 PM, you wrote:

> You must have some unclosed single quote ( ' ) somewhere, on one of
> these lines probably:
> $youremail =
> $websitetitle =
> $thankyoupage =

Found the problem :-)
in the block:
$body =<

[PHP] NTLM Auth For grabbing data.

2008-10-06 Thread DJ Necrogami
Content-Length  1656
Content-Typetext/html
Server  Microsoft-IIS/6.0
WWW-AuthenticateNegotiate NTLM
X-Powered-ByASP.NET
MicrosoftSharePointTeamServices 12.0.0.6023

I'm needing to authenticate against that with php. Is this possible?
I can manually provide the details but the http auth script only
allows basic auth not NTLM.

I'm not trying to have the user authenticate against it. I'm trying to
get the server to authenticate against NTLM because i'm trying to grab
and parse html pages.

If anyone can help thank you.

If there is a method of doing this easily in php normally please let
me know. ZF or PHP either way.

-- 
Anton C. Swartz IV
PHPLogic Development Services http://www.phplogic.net - Co-Owner
Necrogami http://www.necrogami.com - Personal Blog
Based in Indianapolis, IN

"The Opposite of war is not Peace it is Creation."


"Yes," she murmured. "Wise enough to be afraid. To understand, at
least in part. How does it feel, to know what you know, child?" My
voice came out unsteady, and more quiet than I would have liked. "Sort
of like Tokyo when Godzilla comes up on the beach."

Don't let sin rule your body. After all, your body is bound to die, so
dont obey its desires or let any part of it become slave to evil. Give
yourselves to God, as people who have been raised from death to life.
Make every part of your body a slavethat pleases God. Don't let sin
keep ruling your lives.You are ruled by God's Kindness and not by the
law.
Romans 6:12-14

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php