[FX.php List] Hiding URLs during include() and header()

DC dan.cynosure at dbmscan.com
Sat Sep 30 14:54:48 MDT 2006

if you don't actually need to 'land' on the page you can use  
file_get_contents() to load a page right in PHP and get the contents.

is that the kind of thing you want to do?


On Sep 30, 2006, at 11:33 AM, Jonathan Schwartz wrote:

> Hi Folks,
> I'm wondering if there is a way to hide the URL from view when I am  
> loading a page with include() and header().
> In this case, I am sending a single email after a specific event.   
> I load the phpmail.php page with the header() function and then  
> land at a third page.  The issues is that the phpmail.php page  
> display's in the Address bar during the step.  I'd prefer that not  
> happen.
> I can think of some solutions:
> 	- embed the code in the existing page rather than call the phpmail  
> pahge.
> 	- use include instead, but I believe that produces the same results.
> 	- rename the phpmail.php page to something less obvious  
> (processing.php).
> 	- use a technique to hide the URL, which I am seeking here.
> In other cases, during login for example, I start on Login.php,  
> call login_validate.php and return to login if unsuccessful.  The  
> login_validate URL remains on the address bar.
> Thanks in advance,
> Jonathan
> -- 
> Jonathan Schwartz
> FileMaker 8 Certified  Developer
> Associate Member, FileMaker Solutions Alliance
> Schwartz & Company
> jonathan at eschwartz.com
> http://www.eschwartz.com
> http://www.exit445.com
> 415-381-1852
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

More information about the FX.php_List mailing list