Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 06:38

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



javascript or php

Discussion on javascript or php within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2011
Posts: 147
Received Thanks: 5
javascript or php

if i wanna fetch data from api (json) should i use javascript or php? i know how to do it in both but i dont know what is the difference is php more secure?
how to protect my codes?

im so confused i wanna kill myself
ahmed1234550 is offline  
Old 03/01/2018, 14:24   #2



 
xShizoidx's Avatar
 
elite*gold: 0
The Black Market: 283/0/0
Join Date: Feb 2011
Posts: 1,351
Received Thanks: 410
You can just use PHP for it. If you want to update the data without having to reload the page, you can use AJAX.
xShizoidx is offline  
Thanks
1 User
Old 03/01/2018, 14:34   #3
 
elite*gold: 0
Join Date: Apr 2011
Posts: 147
Received Thanks: 5
Quote:
Originally Posted by xShizoidx View Post
You can just use PHP for it. If you want to update the data without having to reload the page, you can use AJAX.
alright thank you, and what about protecting my codes so no one can use my api key
ahmed1234550 is offline  
Old 03/01/2018, 15:09   #4
 
type.'s Avatar
 
elite*gold: 74
Join Date: Aug 2017
Posts: 284
Received Thanks: 151
If you need to protect your api-key just do it serverside with PHP. That's fine. (:
If you still want to update the DOM without reloading the page you can just send an AJAX request to your own backend.
type. is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[S] PHP/Javascript/HTML [B] verschiedenes
03/25/2012 - Trading - 2 Replies
Hallo liebe Community, Wir haben momentan ein kleines Webprojekt laufen. Dafür haben wir nun ein fast fertiges Script mit einer bereits funktionierenden Website. Wir bräuchten allerindgs noch ein wenig Unterstzützung um einige kleiner Feinheiten im PHP/Javascript/HTML anzupasssen. Dafür müssten einige Forumlare um ein paar Textfelder erweitert werden und ein Turniermodul erweitert werden. (ist einsatzfähig soll aber erweitert werden im Anmeldeformular) Greets
[S]einen der PHP oder HTML&CSS oder Javascript beherscht, für Ikariam Privat Server!
12/29/2011 - Web Development - 0 Replies
Hallo Leute, wie gesagt ich suche wieder mal bzw. immer noch einen Programmierer/ Scripter, der wirklich was richtiges drauf hat. Wir sind zwar insgesamt 3 im Team, aber wir haben nicht die ganze Erfahrung & brauchen einen der wirklich viel Erfahrung hat. Es geht um den Ikariam Privat Server. Der, der uns Beitritt muss; PHP oder CSS & HTML oder JAVASCRIPT (Webseite usw.) beherrschen. Der, der uns Beitritt wird zum Admin eingestuft, hat aber keine Haftungen auf irgendwas. Und in dem Projekt...
[S] PHP/Javascript Pro [B] Egold
12/23/2011 - elite*gold Trading - 0 Replies
Hey. Ich suche einen PHP/Javascript Pro. Es geht um ein Facebook App. Details über PN Kann 271 EG zahlen.
[PHP/Mysql/Javascript] Buch?
02/06/2011 - Web Development - 3 Replies
huhu da ich meine kenntnisse mit php / msyql und javascript etwas erweitern möchte habe ich beschlossen mir ein oder 2 bücher zu kaufen. Und wollte euch mal Fragen mit welchen büchern ihr gute erfahrungen hattet bzw habt. Am liebsten ein buch das etwas auf Homepagen oder registry für games / hps usw. eingeht hoffe ihr versteht die richtung die ich suche.^^ wen nicht fragt mich nochmal.^^ hoffe auf viele Antworten. Mfg Gamer
Für html, javascript, php nen compiler?!
03/15/2010 - Web Development - 2 Replies
Jetzt kommt mal ne richtig dumme frage: Brauch man für html, javascript, php nen compiler. Und was ist css und mysql? Und bitte kein Spam^^



All times are GMT +2. The time now is 06:39.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.