# 1.1 Dosya Oluşturma

**Metin Editörü Kullanarak PHP Dosyası Oluşturma**

Metin Editörü:

* Windows Notepad, Notepad++, Sublime Text, Visual Studio Code veya başka bir metin editörünü kullanabilirsiniz.

**Dosyayı Kaydedin**:

* PHP dosyaları için varsayılan dosya uzantısı "`.php`" dir.
* Dosyayı `.php` uzantısı ile kaydedin. Örneğin: `index.php`.

PHP Kodu:

* Yeni bir dosya oluşturalım ve PHP kodumuzu yazalım.
* Örneğin:

```php
<!DOCTYPE html>
<html>
<body>
 
<?php
echo "HEllO BOOTCAMP2024";
?>

</body>
</html>
```

> \[!Neden `htdocs` Klasörü Kullanılır?]
>
> * XAMPP'de dosyaları `htdocs` klasörüne koymamızın nedeni, Apache web sunucusunun varsayılan olarak bu dizini web kök dizini (web root directory) olarak kullanmasıdır.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.yavuzlar.org/egitim/00x0-php-nedir/00x1-dosya-olusturma.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
