classlar varken php ye nasıl dönüştürmeyi düşünüyorsun.en fazla php içinde html etiketlerin arasında java verilerini çekersin. C# benzer şekilde yapabilirsin
using System; using System.ComponentModel.DataAnnotations; using System.Collections.Generic;
namespace DemoApp { public class Person { public int Id {get;set;} public string Name {get;set;} }
public class PersonRepository { public IEnumerable<Person> CreateSampleData() { return new List<Person>() { new Person{Id=0,Name="Bob"}, new Person{Id=1, Name = "John"} }; } } } ------------------------------------------------ using System; using System.Web.Mvc; using System.Collections.Generic;
namespace DemoApp { public class HomeController : Controller { private PersonRepository _personRepository; public HomeController() { _personRepository = new PersonRepository(); }
[HttpGet] public ActionResult Index() { var data = _personRepository.CreateSampleData(); return View(data); }
web site yapımlarına çok yoğunlaştığım için c dillerine çok hakim değilim.çünkü c diliyle birlikte web site yapmak çok gereksiz.kendini geliştirmek için yaparsın o ayrı.php javascript msyql css felan projen varsa çok gereksiz olmadığı sürece yardımcı olmaya çalışırım
sonradan anladım durumu pardon <?php $str = "resim.jpg"; echo hash('sha256', $str); ?> sha 256 olan yere istedğin şifreleme türünü yaz encode olarak gelir.
< Bu mesaj bu kişi tarafından değiştirildi ibrahimyonetici -- 4 Nisan 2020; 10:21:54 >
< Bu mesaj bu kişi tarafından değiştirildi mhmtz -- 3 Nisan 2020; 13:17:47 >