Can a spider start a php process?
Moderator: General Moderators
- SmokyBarnable
- Forum Contributor
- Posts: 105
- Joined: Wed Nov 01, 2006 5:44 pm
Can a spider start a php process?
I have a php page the does an api call when the page is loaded. I am wondering if a search engine spider could also trigger the api call?
Thanks.
Thanks.
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
- SmokyBarnable
- Forum Contributor
- Posts: 105
- Joined: Wed Nov 01, 2006 5:44 pm
- SmokyBarnable
- Forum Contributor
- Posts: 105
- Joined: Wed Nov 01, 2006 5:44 pm
I'm confused so to clarify my question:
So my question is does the spider see and execute the dosomething() function?
Thanks.
Code: Select all
<?php
require('includes/application_top.php');
require_once 'admin/functions/helpers.php';
dosomething();
?>
<head>
<title>Title</title>
<meta name="robots" content="noindex,nofollow" />
</head>Thanks.
No , Spider(If it is a browser) doesn't do it. It is to be done at your server which you are calling in the address bar.
i.e.
I would like to know did you save the file as .php extension. or .html extension. Does your server has php installed??
i.e.
Code: Select all
http://yourserver.com/pageyouraccessing.php- SmokyBarnable
- Forum Contributor
- Posts: 105
- Joined: Wed Nov 01, 2006 5:44 pm