answersLogoWhite

0

To create a PHP script all you have to do is create a new file, then save the file as "filename.php". It must have a .php file extension.

After that open the file and put in the PHP tags like shown.

?>

Then you write your PHP script within those tags and upload to your web space and check it out.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How do you create a web mail script using PHP?

You can use phpMailer() Or, you can use mail() PHP function to send emails via PHP script.


Where can one find a guide on how to make a login php script?

The best place to find a guide on how to make a login script in php is the PHP Easy Step website. They offer a step by step tutorial on how to create login scripts.


What is harder to create from scratch a php amazon clone script or a php youtube script?

In Core-PHP I would assume both are difficult. But between the two Amazon clone would be a bit harder. Ideal thing would be to use Magento to create an Amazon type site.


How can you run a PHP script?

A php script can only be executed within a Web server that runs php.


How do I get rid of PHP in Charter's home page?

Open the PHP script and delete the PHP from it.


What is the main use of php than other programming languages?

PHP is used mainly to help create dynamically generated website pages. It is a script language running on a server. PHP programs are not compiled as executable files.


How can you execute a PHP script using command line?

2 Methods: 1. You execute your php binary (in linux, make sure you have php-cli installed) and pass the script as an argument. EG ($: /usr/bin/php /home/user/script.php) 2. A sh'bang in the first line of your script, with the full path of your php executable: #!/usr/bin/php -q <?php ScriptStuff(); ?>


Can you provide free web hosting on a site from a PHP script?

If you created a PHP script that could provide that for people then yes you could.


How do you use PHP in HTML?

You can't use PHP in an HTML document, but you can use HTML in PHP script.


How do you write a php script to save an HTML document's changes?

To write a PHP script that saves changes made to an HTML document, you can use the following steps: First, create a form in your HTML document to capture user inputs. In the form's action attribute, specify the PHP script that will process the data. In the PHP script, use the file_put_contents() function to write the changes to the HTML file, and ensure proper file permissions are set for write access. Finally, redirect or display a confirmation message after saving the changes.


What are semantics in PHP?

PHP is related with HTML. HTML can be included into PHP script as well as PHP script can be included into HTML code. PHP begins and ends with <?php ?>. PHP is mix of few languages so semantics is mixed too.


Is there a php script that can allow members to create a sub domain with limited space Like free web hosting?

try clonestop.com