kevtom
07-01-2011, 10:32 AM
ok,
I am really confusd here and a bit of a beginner so sorry if I am missing something.
I have a block of code that connects with php to check if a user is logged in. (I adapted it from a tutorial site so you might recognise it).
What I dont understand is I have 2 files on the server called
checkuserlog.php
and
checkuserlog2.php
They are both in the same location on the server as the swf file.
and are reached with the line
var varSend1:URLRequest = new URLRequest ("checkuserlog.php");
The two checkuserlog files were different and one wasnt working - but now i have made them IDENTICAL but when i change;
var varSend1:URLRequest = new URLRequest ("checkuserlog.php");
to
var varSend1:URLRequest = new URLRequest ("checkuserlog2.php");
one works fine as intended (checkuser2.php)
the other doesnt return a variable to me - i get nothing back.
I tried it on a wamp server too and still got the same problems.
I thought I was pretty good at coding but this is seriously driving me crazy and I am now considering gardening instead :(
I am really confusd here and a bit of a beginner so sorry if I am missing something.
I have a block of code that connects with php to check if a user is logged in. (I adapted it from a tutorial site so you might recognise it).
What I dont understand is I have 2 files on the server called
checkuserlog.php
and
checkuserlog2.php
They are both in the same location on the server as the swf file.
and are reached with the line
var varSend1:URLRequest = new URLRequest ("checkuserlog.php");
The two checkuserlog files were different and one wasnt working - but now i have made them IDENTICAL but when i change;
var varSend1:URLRequest = new URLRequest ("checkuserlog.php");
to
var varSend1:URLRequest = new URLRequest ("checkuserlog2.php");
one works fine as intended (checkuser2.php)
the other doesnt return a variable to me - i get nothing back.
I tried it on a wamp server too and still got the same problems.
I thought I was pretty good at coding but this is seriously driving me crazy and I am now considering gardening instead :(