Pretty much exactly what I wrote.. It does work, it works as it should and
it nothing wrong with it really..

-- 
// DvDmanDT
MSN: dvdmandt€hotmail.com
Mail: dvdmandt€telia.com
"B.A.T. Svensson" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> What is the point you want to make with this reference?
>
> -----Original Message-----
> From: DvDmanDT
> To: [EMAIL PROTECTED]
> Sent: 2004-04-10 18:05
> Subject: Re: [PHP-WIN] Including remote PHP script, Return DO NOT works.
>
> Quote from the manual:
>
> "Handling Returns: It is possible to execute a return() statement inside
> an included file in order to terminate processing in that file and return
> to the script which called it. Also, it's possible to return values from
> included files. You can take the value of the include call as you would
> a normal function. This is not, however, possible when including remote
> files unless the output of the remote file has valid PHP start and end
tags
> (as with any local file). You can declare the needed variables within
those
> tags and they will be introduced at whichever point the file was included.
"
>
> Therefore, it works as intended, and is not a fault of any kind.. The
> reason it doesn't work for the OP is that the script tries to include the
> generated output from the script on http://localhost/, which doesn't have
> any return keywords, and thats why.. If he rename the file he tries to
> include to .txt, it will work as he want it to..
>
> http://php.net/manual/en/function.include.php - Example 11-7, and the
> text right above it..
> -- 
> // DvDmanDT
> MSN: dvdmandt$hotmail.com
> Mail: dvdmandt$telia.com

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

Reply via email to