Tag Info

Hot answers tagged

15

There is no way to extract source PHP files from a properly configured server. You can only get whatever these files produce server-side, be it HTML documents, CSS stylesheets, JS scripts or Word files to be downloaded. Same with Googlebot, it only sees what your browser sees and nothing more.


6

Google bot does not parse PHP file as it has no access to its content. The only thing it can analyze is the output that is generated when PHP script is executed. How exactly the page rank is calculated is something only Google knows.


4

The tutorial has you download PHP from a third party repository named webtatic. The operator of this repro has compiled the source tarballs of various versions of PHP that are not in the official CentOS repository. Presumably the 'w' stands for 'webtatic', to differentiate these packages from the official CentOS ones.


4

As others have mentioned, the Googlebot only sees the HTML code produced by your PHP scripts; it doesn't see the PHP code in the scripts themselves. But, in regards to PageRank, you should know that even Google recommends that you not give much, if any, weight to that value for pages (and PageRank applies to a particular page). E.g., from the Wikipedia ...


1

Does it download the raw php code? (like with curl) Or does it download the output html, parsed by the server? (like with http) This is a misunderstanding of what curl is and what it does. curl is a HTTP client (among other protocols) so as far as the server is concerned it treats it just like any other browser. So even when one is using curl, only the ...


1

Your request uses the GET method, which means the query is encoded into the URI. See here for more info http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9 So you need to generate and append the query string to the url e.g. findome.php?npa=562&nxx=866 ... <?php $url = "http://www.fonefinder.net/findome.php"; $query = ...


1

I think you can do this: location /classes { return 301 http://www.example.com/this_file_is_limited.html; } The file this_file_is_limited.html contains your message. But if you want deny without any (user-specified) message you can use deny: location /classes { deny 192.168.1.5; # if you want deny an IP deny all; # if you want deny all }


1

Well any decent captive portal should not have to care how CNA works. Create a good captive portal and stop caring about if iOS pop-up shows or not and yes there is enough documentation about howto create captive portal on a linux box. You might want to start here, http://www.andybev.com/index.php/Using_iptables_and_PHP_to_create_a_captive_portal If you ...



Only top voted, non community-wiki answers of a minimum length are eligible