1
retaglietor
Automatic login via "get"?
  • 2005/2/14 12:20

  • retaglietor

  • Just popping in

  • Posts: 2

  • Since: 2005/2/14


Hi, i'm new to xoops.org (and, in advance, sorry for my horrible english )

I'm using on my website MyAlbum-P 2.84, i have to upload files using a windows client software using the upload form. The problem is that only registered users are allowed to send files.

How can i do to modify the upload page (submit.php) to process login variables??

Exemple:
submit.php?user=123456&pass=123456

Thank you very much

2
retaglietor
Re: Automatic login via "get"?
  • 2005/2/19 11:46

  • retaglietor

  • Just popping in

  • Posts: 2

  • Since: 2005/2/14


Quote:

retaglietor wrote:
Hi, i'm new to xoops.org (and, in advance, sorry for my horrible english )

I'm using on my website MyAlbum-P 2.84, i have to upload files using a windows client software using the upload form. The problem is that only registered users are allowed to send files.

How can i do to modify the upload page (submit.php) to process login variables??

Exemple:
submit.php?user=123456&pass=123456

Thank you very much


NO ONE??

I need to know how can i login via get... help me please

3
zoullou
Re: Automatic login via "get"?
  • 2005/2/19 12:52

  • zoullou

  • Quite a regular

  • Posts: 250

  • Since: 2004/3/2 0


This is very bad idea for security.
But if you want to do that see user.php code

4
hyperpod
Re: Automatic login via "get"?
  • 2005/2/19 13:08

  • hyperpod

  • Quite a regular

  • Posts: 359

  • Since: 2004/10/4


I have done this securely for a client that needed their site integrated with a Windows Desktop custom software.

I wouldnt suggest using the GET to pass user/pass to login.

You can still use a POST but you need to modify the form that the program will be uploading to. I have modified WF-Downloads Uplaod form for a past client.

It invloved modifiying the submit.php script for the upload form which allowed a windows program to send username and password. If the login was successfull it returned a list of upload categories the user could then choose to upload to.

This was a custom solution and will not work exactly for your application.

Basically, I used a modified checklogin.php within the one script the win program needed to submit to.


Hope this helps. Cheers,

Login

Username:
Password:

Lost Password? Register now!

Who's Online

60 user(s) are online (32 user(s) are browsing Support Forums)


Members: 0


Guests: 60


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits