Flash, PHP, MySQL Integration Login/Register Tutorial
Uploader Comments (BokoNOM)
All Comments (29)
-
Could you add a link to the source codes?
-
how did you make a web, i using 1 month still cant make it
-
can u provide the souce file....
-
Works perfectly, thanks for the help :D
-
@BokoNOM. Tell me why it doesn't work then? I did everything exactly the same way you did it in the video. Everything. But it just returns Login Failed every time.
-
@denzel99live Something is either wrong with your db connection, or the send/load for registering code or your PHP code for querying the db. You may also require a cross-domain policy.
-
it gets stuck at registering details...
-
@DCjackass PHP is a server side language, requiring a server. If you're using a local server then use localhost as the url.
-
@BokoNOM. But i'm confused as to why it needs to be a url to my site, and can't be just the files on my desktop.
-
@DCjackass Requires the full domain most likely.
-
Error opening URL 'data/register.php?pass=testpa
ss&user=testuser' It's giving me that error when i go to register. Only when i register though. I can't seem to find the issue.
-
@MrsFrozenCake It should be define("PASS", "");
You missed a bracket, it's not hard just to go back to 1:45 and make sure you follow it correctly.
No, I can't write the script in the description because #1: It would take me as much effort as it would for you to just copy it from the video. #2: I purposely make it difficult to copy the code (by you actually having to type it) so you learn, not copy entirely. I'd only spoon feed the code if I were being paid for it.
-
@ehermite0913 It's all in the video.
-
can you show me the script?
-
@blables1 Eg: If you have a statement like this:
if(blah == blahblah){
//do something
} // <- this is the closing brace of the if statement
just wanted to ask in the sendAndLoad, what if you're calling it from your desktop? or if you don't have a website? can i call it from my localhost or something? sorry for being such a noob at this :)
nayt013 3 months ago
@nayt013 Considering PHP is a server-side language, it requires a webserver of some sort. You could use something like wamp which is what I personally use for local testing (Windows, Apache, MySQL, PHP), you can get it here completely free: wampserver[.]com/en
If you're not sure how to set it up, you can find plenty of guides with a google search.
BokoNOM 3 months ago
@nayt013 Considering PHP is a server-side language, it requires a webserver of some sort. You could use something like wamp which is what I personally use for local testing (Windows, Apache, MySQL, PHP), you can get it here completely free: wampserver[.]com/en
If you're not sure how to set it up, you can find plenty of guides with a google search.
BokoNOM 3 months ago
i've been trying to get this to work for days. IT DOESN'T WORK!
DCjackass 7 months ago
@DCjackass -Everything- you need is displayed in this video, it's as easy as it gets.
BokoNOM 7 months ago
the thing is, when i preview register.php it says: &err=Registration failed.
and login says: &user=&pass=&err=Login Successful.
what does that mean?
denzel99live 8 months ago
@denzel99live How exactly are you trying to preview registerphp? Through a url? If you don't include a user/pass to register with of course it's going to throw an error by default. I can't give an example, youtube is fucking picky about urls in comments.
BokoNOM 8 months ago