I'm rephrasing a question written 3 days ago:
I am a new user of < a href="http://baseportal.com">http://baseportal.com
It's a free database portal, and it has no support.
I want to have password protection to my database: for users to be able to modify and/or delete only their own entries, and only to read, search, and sort the other entries.
My problem is that I have no Perl knowledge, and I can not implement the solution given there (in the "Library" section at "baseportal.com") for the "Password protection".
The problem is when I want to adapt it... because for that I assume you must know Perl...
Here is the address of my trial database:
http://baseportal.com/cgi-bin/baseportal.pl?htx=/wnct/main
(Search can be done after 6 variables, and sorting can be done after 6 variables too)
Here is the script I used for my trial database (I constructed it upon a template given in baseportal.com):
------------------------------------------------
--------------------------------------------------
And here is the script given for it:
--------------------------------------
-------------------------------------put if %_put; if($Id ne "") { get "Id==$Id"; if($xName) { if($Password eq $xPassword) { mod "Id==$Id", ["Name",$xName,"Phone number",$xPhone]; out "Entry modified..."; } else { out "Wrong password!"; } } else { out < Modify Entry EOF } out "
New entry"; } else { out "
New entry
"; out "You can modify your entry with the chosen password later on."; init; get; list "add"; } get; out "List of all entries
"; out "";
"; while(get_next) { out " Name Phone number "; } out " $Name $_loop{'Phone number'}
Thanks for any possible help monks :)!!!
Alex,
Email: altordai@yahoo.com
It's a free database portal, and it has no support.Well, the Monastery is for Perl Programmers to help other Perl Programmers, not a replacement or supplement for the lack of help-desk end-user support. If you want to hire one of us, post a contract at jobs.perl.org. Or, learn some Perl, and come back when you have a Perl question other than "do this for me"....
My problem is that I have no Perl knowledge,
...
The problem is when I want to adapt it... because for that I assume you must know Perl...
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
Anyway, I got another reply here, who says that the example password script is a "crapware" (best described), because anybody can insert for ex. porn pictures too
He's done it, to show me (check out his reply, you'll se the link).
But I still think baseportal can be great, because in FAQ-s they say you can implement any kind of perl code in your database script.
And, the limit for a database is...4 GB!!!
(even if it's free)
Can you give me a suggestion about a nother password protection script I could use there?
Thanks...
Alex
perlmonks.org content © perlmonks.org and Anonymous Monk, merlyn, tinita
prlmnks.org © 2006 edmund von der burg (eccles & toad)
v 0.03