.htaccess 要修剪url并将其用作参数吗

.htaccess 要修剪url并将其用作参数吗,.htaccess,.htaccess,我将此用作url: http://localhost/easyappointments/info/vikram/45346346 我的原始路径是http://localhost/easyappointments/index.php和rest/info/vikram/45346346要用作参数。我将使用php中的explode() 当我使用这个url时,它说找不到对象。如果您想将它们用作参数,那么可以将它们作为url中的参数传递 http://localhost/easyappointments

我将此用作url:

http://localhost/easyappointments/info/vikram/45346346
我的原始路径是
http://localhost/easyappointments/index.php
和rest
/info/vikram/45346346
要用作参数。我将使用php中的
explode()


当我使用这个url时,它说找不到对象。

如果您想将它们用作参数,那么可以将它们作为url中的参数传递

http://localhost/easyappointments/index.php?word_param=vikram&num_param=45346346
或者这个答案会告诉你如何用你尝试的方式去做


我真的认为这个问题没有那么糟糕。他的目标是什么,这是完全清楚的。我想看看这篇文章:我认为它会帮助你前进。上面的文章很难看。我将实施并检查它。