تسجيل الدخول | التسجيل | الأسئلة المتكررة
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 » الثلاثاء أكتوبر 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
  • اشترك في: الثلاثاء أكتوبر 11, 2016 8:07 pm

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

بواسطة nanoverso » الاثنين أكتوبر 17, 2016 11:33 pm

Make sure your index.php file is on a PHP enabled web server.
صورة العضو الشخصية

nanoverso

  • مشاركات: 253
  • اشترك في: السبت مايو 10, 2014 12:08 am
  • مكان: Brazil
--
Free VST Plugins Download.

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

بواسطة Kavithaa » الأحد نوفمبر 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
  • اشترك في: الأربعاء نوفمبر 16, 2016 9:18 pm
  • مكان: India


+ إضافة رد

صفحة 1 من 1