Top Experts [
learn more
]
Top 4-10
webko
9743 K
bandmandq
2458 K
Genx
1525 K
4.
tcmeyers
5.
kbata
6.
Martie
7.
Hammerton
8.
rrenfrow
9.
bneeman
10.
plegler
Welcome,
Guest
. Please
login
or
register
.
May 19, 2013, 08:36:17 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
FMWebschool releases more educational FMStudio webinars - check them out here:
http://www.fmwebschool.com/webinars.php
27455
Posts in
6062
Topics by
1523
Members
Latest Member:
donok
fmwebschool.com
PHP Web Publishing Technologies
FileMaker's New PHP API
Find with GET instead of POST
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: Find with GET instead of POST (Read 879 times)
AlanBrooks
Newbie
Offline
Posts: 1
Find with GET instead of POST
[Worth 25 Kudos points!]
«
on:
April 07, 2010, 10:04:51 AM »
Noob here. Sorry if these are stupid questions. I have built a few sites, none of which had to be secure, with XSLT but this is my first foray into php and the Filemaker PHP API. I am doing so mainly because I see php as the future for the Filemaker custom web interface and I believe that the php login might be more secure (if I employ SSL on the server.)
With Filemaker 10, using the Filemaker PHP Site assistant, I can use and modify examples of performing a query which uses POST but am have trouble doing exactly the same query with GET.
1.) How is a query performed (using the supplied support files like Filemaker.php and fmview.php) using GET instead of POST? I've dumped the _POST array and constructed an URL that mimics the query using GET but it's not working. Does the API allow for this type of search or will I have to add functions to allow for this? (FYI: For the part I am dealing with where I wish to use GET instead of POST, I am not concerned that the user can see the query in the URL.)
2.) If I use SSL on either server, am I correct that the php login is inherently more secure than the one the XSLT Site Assistant produces?
Logged
Paolo M.
Jr. Member
Offline
Posts: 50
Kudos: 100
Re: Find with GET instead of POST
«
Reply #1 on:
May 27, 2010, 04:08:18 AM »
Try changing all occurences of POSTwith REQUEST!
Ciao
Paolo
Logged
webko
Global Moderator
Hero Member
Offline
Posts: 2050
Kudos: 9743
Applications:
FX.php
(Guru)
BlackBelt
(Expert)
PHP API
(Advanced)
Re: Find with GET instead of POST
«
Reply #2 on:
May 27, 2010, 03:35:35 PM »
More fully, in the handler file (the one you are posting or getting to), there will be a number of times that you see blah = $_POST['field']
You can either replace them with $_GET['field'] which will obtain GET objects, or $_REQUEST['field'], which handles both GET and POST
As for logins... If you secure the connection between the end user and the web server with SSL, either method is pretty secure, as the transmitted data in the wild is encrypted.
Cheers
Webko
Logged
tim.webko_at_gmail.com
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Discussion and Announcements
-----------------------------
=> FMWebschools updates and announcements
===> FMWebschool Training Schedule
=> Newsletter and Community Discussion
=> Webinar and FMWebschool Events
=> General Discussion
===> CDML Old School FileMaker Web Publishing
===> FileMaker Mobile 7/8
=> Holiday Special Product Support
-----------------------------
FMTouch
-----------------------------
=> FMTouch - FileMaker Databases on the iPhone and iPod iTouch
===> FMTouch - Multi Language Discussion
=> FMTouch BlackBerry and FileMaker
-----------------------------
FMStudio
-----------------------------
=> FMStudio
===> FMStudio Connection and Installation Problems
=> FMStudio Pro
-----------------------------
FMWebschool Products and Solutions
-----------------------------
=> Dolphin Shopping Cart System
=> BlackBelt CDML Software
-----------------------------
FileMaker Books
-----------------------------
=> FileMaker Book Questions and Suggestions
-----------------------------
PHP Web Publishing Technologies
-----------------------------
=> FileMaker's New PHP API
=> FileMaker PHP, FX.php custom web publishing
===> Ajax Code and Examples
-----------------------------
FileMaker Inc Products and Technologies
-----------------------------
=> FileMaker Server 9
===> FileMaker Server 7 / 8 Advanced
=> Web Viewer
=> Instant Web Publishing
=> FileMaker XML, XSLT
-----------------------------
Other Resources
-----------------------------
=> Search Engine Optimization and Consulting
===> Marketing Book Reviews
=> FileMaker Web Resources
=> Free JavaScript Code Snips
=> Free PHP Code Snips
=> Web Jobs, Web Consulting
Loading...