GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 09-Nov-2005, 12:18
Error's Avatar
Error Error is offline
Junior Member
 
Join Date: May 2005
Posts: 42
Error is on a distinguished road

Flash login form and PHP


I have designed a flash login form for my website. I am now trying to use the LoadVars() object and the sendAndLoad() method to send the user input to a PHP page, and recieve if the login was succesful or not. So far, it has not worked. I used the send() method, and it worked with both Post and Get. But when I use load(), flash recieves nothing form the PHP page. I created a simple PHP page that contains
PHP Code:

<?php echo "login=true" ?>

but nothing was recieved. I have checked the url to the PHP page in the load() method and have confirmed that it is right. Does anybody have ideas as of what is wrong?
  #2  
Old 14-Nov-2005, 11:07
djd@n djd@n is offline
Awaiting Email Confirmation
 
Join Date: Oct 2005
Posts: 21
djd@n is on a distinguished road

Re: Flash login form and PHP


it should be
PHP Code:

<?php echo "login="true" ?>

  #3  
Old 14-Nov-2005, 18:38
Error's Avatar
Error Error is offline
Junior Member
 
Join Date: May 2005
Posts: 42
Error is on a distinguished road

Re: Flash login form and PHP


Actually, I just discovered that it is
PHP Code:

<?php echo "&login=true"; ?>

I didn't think that I needed the & in front of the first variable to be sent, only any variables after the first.
 
 

Recent GIDBlogProblems with the Navy (Enlisted) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP - sizes and generation times cable_guy_67 MySQL / PHP Forum 3 29-Sep-2005 08:26
login php ycliuwz MySQL / PHP Forum 1 24-May-2005 13:51
1 line php cover function changes result of called programs schgid MySQL / PHP Forum 0 03-May-2005 10:15
PHP form needs validation jabesign MySQL / PHP Forum 16 05-Jan-2005 00:23
Automate a data change php form mjfmn MySQL / PHP Forum 4 20-Oct-2003 09:37

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 06:24.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.