登录 | 注册 | FAQ
Anonymous

How do I incorporate a php script login into my index.html?

+ 发表回复

3 篇帖子 分页: 1 / 1


How do I incorporate a php script login into my index.html?

MattAufiero » 周二 10月 11, 2016 8:14 pm

Hello all, I am currently trying to develop my first site from scratch and am teaching myself html css and php to do it. I have made some good progress with html and css, but now when I try to incorporate my php in the the index.html (I did change the file to index.php before testing) nothing shows up in the browser. I am wondering what is going on before I had a beautiful front end and then when I tried to add in a login system with php scripts and changed the file to index.php nothing shows up in the browser the page is just blank.
头像

MattAufiero

  • 帖子: 1
  • 注册: 周二 10月 11, 2016 8:07 pm

Re: How do I incorporate a php script login into my index.ht

nanoverso » 周一 10月 17, 2016 11:33 pm

Make sure your index.php file is on a PHP enabled web server.
头像

nanoverso

  • 帖子: 253
  • 注册: 周六 5月 10, 2014 12:08 am
  • 地址: Brazil
--
Free VST Plugins Download.

Re: How do I incorporate a php script login into my index.ht

Kavithaa » 周日 11月 20, 2016 9:51 pm

If you have error in your php code then you may see a blank page. Make sure you have properly closed all your php tags.

And try logging error in the console to track the issue. Alternatively you can echo the o/p in the browser and trace the line having errors.

You can refer this tutorial php mysql login & registration system.

http://www.kodingmadesimple.com/2016/01/php-login-and-registration-script-with-mysql-example.html

I hope that helps.
头像

Kavithaa

  • 帖子: 4
  • 注册: 周三 11月 16, 2016 9:18 pm
  • 地址: India


+ 发表回复

分页: 1 / 1