Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 218

PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language. Joomla is based on PHP.

4 votes
Accepted

Implement CSRF anti-spoofing using the Joomla Framework

I finally worked it out. I needed to create a session and assign it to the app before getFormToken would work. So first I use the Joomla session: use Joomla\Session\Session; Then create the session …
Joe P's user avatar
  • 541
11 votes
4 answers
16k views

How to build a RESTful API with Joomla

I have been building Joomla extensions since v1 but I soon need to take an API live that I have built and have been using for a while. Currently I am using Joomla 2.5 and have written plugins for this …
Joe P's user avatar
  • 541
6 votes
1 answer
610 views

Implement CSRF anti-spoofing using the Joomla Framework

I have used the methods described on this page in Joomla many times before: http://docs.joomla.org/How_to_add_CSRF_anti-spoofing_to_forms Now I want to implement the same mechanism using the Joomla …
Joe P's user avatar
  • 541
6 votes
1 answer
1k views

Using checkToken() to secure form posts

I am building a web app using the Jooma Framework and the Framework App as a template. I have getFormToken() working as described in this post and am now submitting the token with my form but I cannot …
Joe P's user avatar
  • 541