Jump to content

Undestanding type of request


rushenas

Recommended Posts

Hi all

I want my home page (index.php), can determine which contents must be shown. But not with regular variables passed by GET or POST method.

When somebody enter the website address, he/she must see regular index (main) page.

But when a request from a SOAP server recieve, index page must provide a web service function. So my code must determine whether access to index page recieved from a regulat HTTP request, or from a SOAP server.

How can I implement this?

Link to comment
https://forums.phpfreaks.com/topic/63855-undestanding-type-of-request/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.