Answers for "how do i call a website from php file in html"

PHP
0

include a website in php file

Extremely insecure:
<?php include("http://www.othersite.com/filename.html"); ?>

What you probably want is:
<?php print file_get_contents("http://www.othersite.com/filename.html"); ?>
Posted by: Guest on February-11-2021
1

call php from html

<form action="myphpfile.php">
  <input type="submit" value="click on me!">
</form>
Posted by: Guest on April-30-2021

Code answers related to "how do i call a website from php file in html"

Browse Popular Code Answers by Language