Reply to Re: Newbie - Is there a PHP equivalent of Server.Transfer (in ASP.NET)

Your name:

Reply:


Posted by Alan Silver on 08/22/07 12:38

In article <W8WdnSD-aoCOvlHbnZ2dnUVZ_g-dnZ2d@comcast.com>, Jerry Stuckle
<jstucklex@attglobal.net> writes
>Alan Silver wrote:
>> Hello,
>> Sorry for the newbie question, but I've only been at PHP for a
>>couple of days, and I'm trying to get some stuff done as fast as
>>possible. I'm an experienced ASP.NET programmer, and am trying to
>>find some equivalent stuff in PHP.
>> In ASP.NET there is a method called Server.Transfer which transfers
>>the request to a different page from the one that the user requested,
>>but without doing a redirect. The user gets sent headers as though
>>they were seeing the page they requested.
>> Does PHP have such a function? I have seen the function...
>> header('Location: page.php');
>> ...but these seems to be a redirect, which is not the same thing. I
>>don't want the headers altered as I want the search engines to see the
>>page with the original URL.
>> TIA for any help.
>
>No, it doesn't. But I wish it did.

Shame.

>You could emulate it with CURL, but that's about all.

Thanks, but it looks OTT for the simple use I have in mind.

Thanks for the reply

--
Alan Silver
(anything added below this line is nothing to do with me)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация