Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to program a DNS-leaktester in PHP. Is it possible? or do I have to use other languages like python etc. to get the information.
You can do it as well in PHP like in other languages. As for PHP try with:
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
$dnsRecords = checkdnsrr($hostname);
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
If give you a link like http://login.php?workerid=abc,
how can we get the information of workerid in php? Thanks.
Maybe $_GET function, but do not know exactly how to make that work.
you can get information from url like this
$data=$_GET['workerid'];
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Do you think it is impossible? I want go get pictures from mysql database and make a carousel looking like this. >> http://blog.tmimgcdn.com/wp-content/uploads/demos/coding-a-responsive-horizontal-posts-slider-using-css3-and-jquery/index.html
But I want to use only html, css, php and mysql.
Ofcourse possible...PHP codes will bear the load of javascript functionalities.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have this magento website, http://www.sample.com/udropship, want to change to http://udropship.sample.com
Please anybody who can help with this should please provide an answer.
This has nothing to do at all with php, mysql, css nor ajax. This a matter of DNS-setup. You should start at your DNS service, which is most probably also your webhost in your case.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm trying to use some basic code to include a file if the current domain is http://example.com
How do I do this?
if (...){
include("../clicky.php");
}
$_SERVER can help in many ways
if($_SERVER['HTTP_HOST']=="example.com")
{
include("whatever");
}
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Does anyone know where messages accesses without using database on php-ajax chat?
example can be found on
www.phpfreechat.net/
In files:
By default, you don't need a Mysql
database. The chat uses files to store
messages and nicknames.
Source: http://www.phpfreechat.net/required-config