Welcome, Guest. Please login or register.
Did you miss your activation email?
05/23/12, 00:33
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  General
| |-+  General Conversation (Moderators: Flash-db, vesa kortelainen, Ronald Wernecke, Mohsin Sumar, Jorge Solis, Mattias Robo)
| | |-+  How do I block the parameters from showing up in the URL?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: How do I block the parameters from showing up in the URL?  (Read 1522 times)
Raymond Sassine
Server what's that
*
Posts: 14



View Profile Email
« on: 03/28/02, 08:46 »

I am calling a ".php" program from Flash using:
loadVariablesNum ( "http://my.domain.com/example1.php?username="+username + "&password="+password, "GET");

When my page is displayed I get the 'username' and the 'password' parameters and their corresponding values pasted on the URL, like this:
http://my.domain.com/example1.php?username=php&password=php

My question is this: How do I NOT show them from being display in the URL?

Thanks,
Raymond

Logged
Musicman
Administrator
Systems Administrator
*****
Posts: 2685



View Profile WWW Email
« Reply #1 on: 03/28/02, 16:11 »

Hi,

just use POST instead of GET

Musicman
Logged
Flash-db
Administrator
Systems Administrator
*****
Posts: 1867



View Profile WWW
« Reply #2 on: 03/28/02, 18:43 »

Yeah here's an example,

You do not have to declare the variables right before the loadVariables function - I'm only doing so here for example purposes.  For a real situation though all of the variables in the Movie clip that the LoadVariables function is run from will be Posted to the script with the "POST" method.


on (release) {
username = "Jeff";
password = "myPass";

loadVariablesNum ( "http://my.domain.com/example1.php", 0, "POST");

}
Logged

-Jeff.
Raymond Sassine
Server what's that
*
Posts: 14



View Profile Email
« Reply #3 on: 03/29/02, 00:13 »

Thanks.  It worked.
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!