Nasıl değişkenler kullanarak geçtikleri 'dosyası? X = 3' yerine 'file.php? X = 3' mi?

0 Cevap php

Possible Duplicate:
How come some site urls do not include a file extension?

, Selam

I was wondering how I can pass a variable to my PHP script using the following syntax: http://example.com/script?variable=value

It seems I have to include .php after the script name or it won't work, but YouTube for example doesn't have the extension: http://www.youtube.com/watch?v=ql7jGchLAWE

Bunu nasıl yaparsınız?

Şimdiden teşekkürler!

0 Cevap