Bir form olmadan post yöntemi kullanmak nasıl

0 Cevap php

Ben web projeleri hataların arıyor ve bunları düzeltmek daha fazla zaman harcıyor tür duyuyorum, ama ben yine GET ve POST yöntemi kullanımı hakkında bir sorum var

Özetlemek gerekirse, sık sık bağlantılar veya basit düğmeler örnek geliyor olabilir sorguları için GET yöntemini kullanın:

<a href="example.php?n=2030004">Click me</a>

ve formlar (kayıt, giriş veya açıklama) için ben sonrası yöntemini kullanın. ama soru şu:

sometimes (Multi-steps signup for e.g), I may need to pass the info collected from the form in page 1 to a page 2 (where the user can find a captcha for e.g). in order to send them to the database if the captcha test is Okey. But the question is , how to pass those info to a next page via a POST method without using a hidden form? Do I need to recreate a POST method from scratch with a socket?

teşekkür ederim

0 Cevap