Author Topic: DreamSketcher project  (Read 7674 times)

Offline Raklet

  • Technical Guild
  • Evaluator
  • *****
  • Posts: 1129
Re: DreamSketcher project
« Reply #165 on: May 20, 2009, 07:16:14 PM »

What do you think? : )


I like it!  Its  a great idea to only use it when all else fails.  Why tinker with something that is already working well?

Use this routine in your applet to hash the password

Code: [Select]
sha1(username.toLowerCase() + password);

and I will take care of the rest

Offline dodobird

  • Ambassador Guild
  • Evaluator
  • *****
  • Posts: 544
    • Free music and software by Dodo Bird
Re: DreamSketcher project
« Reply #166 on: May 21, 2009, 04:26:23 AM »
OK great, I will soon implement this, along with the Alt tag addition we talked about. : )

Offline dodobird

  • Ambassador Guild
  • Evaluator
  • *****
  • Posts: 544
    • Free music and software by Dodo Bird
Re: DreamSketcher project
« Reply #167 on: May 24, 2009, 02:39:58 PM »

How do you I create in [img] tag with an alt value?

Offline Raklet

  • Technical Guild
  • Evaluator
  • *****
  • Posts: 1129
Re: DreamSketcher project
« Reply #168 on: May 24, 2009, 03:12:38 PM »
Here is an example of what you would type in your post

My Pic

Offline dodobird

  • Ambassador Guild
  • Evaluator
  • *****
  • Posts: 544
    • Free music and software by Dodo Bird
Re: DreamSketcher project
« Reply #169 on: May 24, 2009, 03:50:00 PM »
I just see My Pic....

Offline Raklet

  • Technical Guild
  • Evaluator
  • *****
  • Posts: 1129
Re: DreamSketcher project
« Reply #170 on: May 24, 2009, 05:55:08 PM »
Oops, forgot to add spaces so that the BB code is not recognized

[ img alt=My Pic ]http://link goes here.com[ /img ]

Offline pj

  • Learning.
  • Technical Guild
  • Evaluator
  • *****
  • Posts: 14179
  • We are made of such stuff as dreams are made of.
Re: DreamSketcher project
« Reply #171 on: May 24, 2009, 06:24:36 PM »
Or you could use the code /code tags:

Code: [Select]
[b][i]Yippee!  Code!!![/i][b]
What truly matters is not built of right and wrong; but of grace, and of love.

--pj

Offline dodobird

  • Ambassador Guild
  • Evaluator
  • *****
  • Posts: 544
    • Free music and software by Dodo Bird
Re: DreamSketcher project
« Reply #172 on: May 25, 2009, 03:59:23 AM »
OK thanks : )

Offline dodobird

  • Ambassador Guild
  • Evaluator
  • *****
  • Posts: 544
    • Free music and software by Dodo Bird
Re: DreamSketcher project
« Reply #173 on: May 29, 2009, 07:02:12 AM »
Hey Raklet,

I need a little PHP script, that just checks if the user is logged in. It will not need to recieve any parameters, and can just echo 1 for logged in, and 0 for not ( or true and false, or any way you prefer ). What I will do is check this right at the start of the applet, and if the user is not logged, I will ask for username and password at export.




Offline Raklet

  • Technical Guild
  • Evaluator
  • *****
  • Posts: 1129
Re: DreamSketcher project
« Reply #174 on: May 29, 2009, 09:15:47 AM »
That is already what is happening behind the scenes when the press export and upload.php is being called.  It checks to see if they are logged in.  Only difference is it has been echoing OK or Not Logged or whatever.  Is that what you are looking for, or does it need to be changed up?

Offline dodobird

  • Ambassador Guild
  • Evaluator
  • *****
  • Posts: 544
    • Free music and software by Dodo Bird
Re: DreamSketcher project
« Reply #175 on: May 29, 2009, 02:59:52 PM »
OK, what happens if I call upload.php with no file upload?
What I want is just to call it, and get an OK if the user is logged in. Then later when the user exports, I will transfer to upload.php the file, and username and password parameters.

Offline Raklet

  • Technical Guild
  • Evaluator
  • *****
  • Posts: 1129
Re: DreamSketcher project
« Reply #176 on: May 29, 2009, 09:15:49 PM »
I can add some code to check and see if a file upload is offered or if it is just checking user login.

Offline pj

  • Learning.
  • Technical Guild
  • Evaluator
  • *****
  • Posts: 14179
  • We are made of such stuff as dreams are made of.
Re: DreamSketcher project
« Reply #177 on: September 01, 2009, 10:07:44 AM »
The Error:
What truly matters is not built of right and wrong; but of grace, and of love.

--pj