From cana at ece.stevens-tech.edu Fri Dec 4 18:22:28 1998 From: cana at ece.stevens-tech.edu (Mentor Cana) Date: Fri, 4 Dec 1998 18:22:28 -0500 (EST) Subject: [web-design] test Message-ID: ----------------------------------- **** Web Design Discussion List **** ----------------------------------- test ---------------------------------------- Mentor Cana From epa at mathlab.sunysb.edu Tue Dec 8 17:05:23 1998 From: epa at mathlab.sunysb.edu (Etrit Bardhi) Date: Tue, 8 Dec 1998 17:05:23 -0500 (EST) Subject: [web-design] test Message-ID: ----------------------------------- **** Web Design Discussion List **** ----------------------------------- just testing ---------------------------------------- Etrit Bardhi From mentor at alb-net.com Tue Dec 8 17:05:15 1998 From: mentor at alb-net.com (Mentor Cana) Date: Tue, 8 Dec 1998 17:05:15 -0500 (EST) Subject: [web-design] test In-Reply-To: Message-ID: ----------------------------------- **** Web Design Discussion List **** ----------------------------------- On Tue, 8 Dec 1998, Etrit Bardhi wrote: > just testing Test received..... I think you should advertise on ALBANIAN, ALBA-NET, aaso-l.... tung, Mentori ---------------------------------------- Mentor Cana From etrit at alb-net.com Wed Dec 9 11:17:32 1998 From: etrit at alb-net.com (Etrit Bardhi) Date: Wed, 9 Dec 1998 11:17:32 -0500 (EST) Subject: [web-design] Mire se erdhet Message-ID: ------------------------------------ **** Web Design Discussion List **** ------------------------------------ Tungjatjeta te gjitheve, mire se erdhet ne kete liste te re. shpresoj se kjo liste do te na mundesoje qe te mesojme gjera te reja ne menyre informale. se pari desha te ju pyes se cfare programi perdorni per krijimin e faqeve ne internet? une deri me tani kam perdore vetem editore te thjeshte (dmth kam shkruar ne HTML direkt), po kjo lype shume kohe dhe kam vendosur te perdore ndonje program komercial. me ra ne dore para ca kohe NetObjects, po nuk me pelqeu aq shume (te kufizon shume). a ka pase rast dikush te punoje me Dreamweaver, dhe nese po, si ju duket? poashtu a perdore dikush skripta te shkruara ne Perl, do te ishte ide e mire qe t'i shkembejme skriptat, apo adresat ku mund te gjinden skriptat per perdorim (si p.sh. http://reference.perl.com). me shprese se do te vazhdojme ne menyre konstruktive, Etriti. ---------------------------------------- Etrit Bardhi From aqeli1 at uic.edu Wed Dec 9 11:45:18 1998 From: aqeli1 at uic.edu (Albi Qeli) Date: Wed, 9 Dec 1998 10:45:18 -0600 (CST) Subject: [web-design] Mire se erdhet In-Reply-To: Message-ID: ------------------------------------ **** Web Design Discussion List **** ------------------------------------ I have used Microsoft Frontpage. It works well for me. It writes automatically the bulk of HTML, and you can edit the files on a simple editor to fine tune, or other. I think that Frontpage is a good program. I do not have much experience with scripts, my ISP did not allow me to run them; My startup page: http://icarus.cc.uic.edu/~aqeli1/ ---------------------------------------- Albi Qeli From etrit at alb-net.com Thu Dec 10 16:59:30 1998 From: etrit at alb-net.com (Etrit Bardhi) Date: Thu, 10 Dec 1998 16:59:30 -0500 (EST) Subject: [web-design] Mire se erdhet In-Reply-To: Message-ID: ------------------------------------ **** Web Design Discussion List **** ------------------------------------ On Wed, 9 Dec 1998, Albi Qeli wrote: > I have used Microsoft Frontpage. It works well for me. It writes > automatically the bulk of HTML, and you can edit the files on a simple > editor to fine tune, or other. I think that Frontpage is a good program. > > I do not have much experience with scripts, my ISP did not allow me to run > them; You should try and get an ISP that let's you use CGI-BIN scripts. Or, if you have a unix shell account, you can compile Perl to run on your own account. You can also compile Perl to run under Win95, but I haven't tried that, maybe some other member of the list has done that and could give us some more info. I will send some sample Perl scripts soon. > > My startup page: http://icarus.cc.uic.edu/~aqeli1/ > The page looks very nice. Take care, Etrit. ---------------------------------------- Etrit Bardhi From mentor at alb-net.com Thu Dec 10 17:06:08 1998 From: mentor at alb-net.com (Mentor Cana) Date: Thu, 10 Dec 1998 17:06:08 -0500 (EST) Subject: [web-design] Mire se erdhet In-Reply-To: Message-ID: ------------------------------------ **** Web Design Discussion List **** ------------------------------------ On Thu, 10 Dec 1998, Etrit Bardhi wrote: > You should try and get an ISP that let's you use CGI-BIN scripts. Or, if > you have a unix shell account, you can compile Perl to run on your own > account. You don't have to compile perl in your account to run perl scripts if the server where your account is already has perl. The ISP MUST explicitly enable you to run cgi-scripts though. You can create your perl scrips independently of the possibility run them in conjunction with cgi or not. tung, Mentori ---------------------------------------- Mentor Cana From etrit at alb-net.com Thu Dec 10 17:48:46 1998 From: etrit at alb-net.com (Etrit Bardhi) Date: Thu, 10 Dec 1998 17:48:46 -0500 (EST) Subject: [web-design] Mire se erdhet In-Reply-To: Message-ID: ------------------------------------ **** Web Design Discussion List **** ------------------------------------ On Thu, 10 Dec 1998, Mentor Cana wrote: > You don't have to compile perl in your account to run perl scripts if the > server where your account is already has perl. But if the server doesn't have perl installed, you would install it on your own account, for example create a bin directory and install it there, and then put the first line of the perl script to be something like #!/export/home/username/bin/perl or wherever your home directory is located (use the pwd command). you can get perl from http://www.perl.com/pace/pub/perldocs/latest.html Etrit. > The ISP MUST explicitly enable you to run cgi-scripts though. You can > create your perl scrips independently of the possibility run them > in conjunction with cgi or not. > > tung, > Mentori > > ---------------------------------------- > Mentor Cana > ---------------------------------------- Etrit Bardhi From aqeli1 at tigger.cc.uic.edu Thu Dec 10 18:47:40 1998 From: aqeli1 at tigger.cc.uic.edu (Albi Qeli) Date: Thu, 10 Dec 1998 17:47:40 -0600 (CST) Subject: [web-design] Mire se erdhet In-Reply-To: Message-ID: ------------------------------------ **** Web Design Discussion List **** ------------------------------------ If I get another ISP, I will have to pay fees, etc. Currently I use my school server, it is free, but for security reasons, noone outside school network can run the scripts. So I have to live with it for now. ---------------------------------------- Albi Qeli From etrit at alb-net.com Tue Dec 29 12:19:35 1998 From: etrit at alb-net.com (Etrit Bardhi) Date: Tue, 29 Dec 1998 12:19:35 -0500 Subject: [web-design] Nje program i vogel ne Perl Message-ID: <001e01be334f$6a1beac0$43e7080a@etropc.awl.com> Mirdita, siq u kam premtuar me heret, po e dergoj nje program te vogel ne Perl qe e mundeson lidhjen ne nje nyje te caktuar permes ndonje shifre. p.sh. nese deshironi qe te keni ndonje faqe te mshefte, dhe vetem persona qe e dine shifren te kene mundesine te lidhen aty, kjo mund te behet fare lehte nepermjet ketij programi. Nevojiten tre fajlla (apo skeda sipas info-tech ;) - login.html, login.cgi dhe login.db login.html eshte nje skede e shkruar ne HTML te cilen njerezit do t'a shohin ne faqen tuaj, e kjo do t'i thirre skedat tjera, login.cgi dhe login.db. dmth kjo skede i pason vlerat e dy atributeve 'name' dhe 'password' te cilat login.cgi do t'i perdore per te shikuar se a gjinden keto vlera ne skeden tjeter login.db (dmth a do t'ju le te kaloni ne faqen tjeter). login.cgi eshte nje program i shkruar ne Perl. Institucioni i juaj i internetit (ISP komerciale apo shkolla ku e keni lidhjen ne internet) duhet ta kete kompajllerin (si i thuhet kesaj ne shqip?) te instaluar qe te mund ta perdorni. Nese nuk jeni te sigurte, pyetni administratorin tuaj (zakonisht duke derguar e-mail ne root at domain-i i juaj) nese ekziston kompajlleri Perl dhe ku gjindet, pasi qe duhet t'a dini t'a vendosni ne rreshtin e pare te programit. ne rastin tim, shkolla ime e ka kompjallerin ne direktorijumin /usr/local/bin/perl keshtu qe rreshti i pare i programit login.cgi ia fillon me: #!/usr/local/bin/perl ky program i merr dy atributet 'name' dhe 'password' nga login.html dhe e hap nje skede tjeter login.db per te shikuar se a gjinden keto atrubyte ne at skede. skeda login.db i ka nga tre rreshta per cdo person. Rreshti i pare eshte atributi 'name', rreshti i dyte 'password' ndersa i treti 'nickname.' si ne shembullin qe vijon: Etrit Mypassword Mr. Etrit Nese personi e shkruan Etrit si vlere per atributin login ne login.html dhe Mypassword si vlere per password, atehere programi do t'u lejoje te vazhdoni te kaloni ne faqen e re (ne kete rast Manager.html - shiko login.cgi) pasi qe keto vlera gjinden ne login.db duke u pershendetur me rreshtin e trete qe gjindet ne skeden login.db (ne kete rast Mr. Etrit). Nese ato vlera nuk gjinden ne login.db, atehere programi do te kercen ne faqen mainlog.html (shiko login.cgi, rreshti i parafundit). Shpresoj se ky program i thjeshte do t'ju hyje ne perdorim, ndersa nese shihni ndonje gabim apo keni ndonje sugjerim, eshte mire te diskutohet me tutje ne kete liste. Te fala, Etriti. programet: --------------- login.html: ---------------

Prova per web-design at alb-net.com


        
Login Name:
Password:



------------ login.cgi: ------------ #!/usr/local/bin/perl $mailprog = '/usr/sbin/sendmail'; $recipient = 'ebardhi at ic.sunysb.edu'; # Print out a content-type for HTTP/1.0 compatibility print "Content-type: text/html\n\n"; # Keep the curious out. if ($ENV{'REQUEST_METHOD'} ne "POST") { print "Invalid Script Access"; print "

Invalid script access.

\n"; exit; } # Get the input read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); # Split the name-value pairs @pairs = split(/&/, $buffer); foreach $pair (@pairs) { ($name, $value) = split(/=/, $pair); $value =~ tr/+/ /; $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; $FORM{$name} = $value; } &blank_response unless ($FORM{'name'} && $FORM{'password'}); $ok = 0; open (PW, "login.db"); while ($name = ) { $password = ; $nickname = ; chop($name); chop($password); if (($name eq $FORM{'name'}) and ($password eq $FORM{'password'})) { $ok = 1; last; } } close PW; if ($ok == 1) { print "



Greetings $nickname!

Welcome to\n"; print ' getCustomizedMenu Cafe.' } else { print "



I am sorry $FORM{'name'},
but you do not have proper \n"; print "access to
getCustomizedMenu Cafe!\n"; print '

Back to Main Login Screen.' } ------------ login.db: ------------ Etrit Mypassword Mr. Etrit Arta Shifra Ms. Arta -------------- next part -------------- A non-text attachment was scrubbed... Name: login.cgi Type: application/octet-stream Size: 1462 bytes Desc: not available Url : http://www.alb-net.com/pipermail/web-design/attachments/19981229/7a6cfebb/attachment.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: login.db Type: application/octet-stream Size: 48 bytes Desc: not available Url : http://www.alb-net.com/pipermail/web-design/attachments/19981229/7a6cfebb/attachment-0001.obj -------------- next part -------------- HTML attachment scrubbed and removed From e106708 at ceng.metu.edu.tr Wed Dec 30 05:52:18 1998 From: e106708 at ceng.metu.edu.tr (Dashamir Hoxha) Date: Wed, 30 Dec 1998 12:52:18 +0200 (EET) Subject: [web-design] Fjalori i ri Message-ID: <199812301052.MAA19976@davul.ceng.metu.edu.tr> ------------------------------------ **** Web Design Discussion List **** ------------------------------------ Tung, Pashe fjalorin e vjeter te Eshrefit dhe mendoj qe me te vertete ka nevoje per permiresime. Me kryesorja nga te tera eshte qe nuk punon otomatikisht, ka nevoje per nderhyrjen e njeriut (u perpoqa te shtoja disa te dhena dhe nuk u shtuan menjehere sic i prisja; kjo do te thote qe aty duhet dikush qe ti shtoje). Pastaj, permiresime duhen edhe nga ana e jashtme (nderfaqja). Dikush propozoi ne info-tech qe duhet te duket si http://... ; le te na e tregoje edhe nje here kete adrese se une nuk pata mundesi qe ta shoh. Pastaj le te diskutojme dhe te vendosim se cfare eshte me e pershtatshme. Ndoshta me e mira eshte qe te dhenat te ruhen ne DB dhe jo ne skeda, sic ruhen tani, por ne kete pike nuk mund te them dot gje. Ata qe kane njohuri per bazat e te dhenave le te diskutojne mbi kete ceshtje. Ne pergjithesi, mendoj se nje projekt i tille del jashte mundesive te nje njeriu te vetem. Keshtu qe nje ndarje e puneve dhe nje bashkeveprim do te ishte gje e mire. A ka ne liste ndonje qe ka drejtuar ndonje projekt me perpara (project manager)? Besoj se do ishte shume i dobishem per ndarjen dhe bashkerendimin e puneve. Une per vete jam gati te jap pervojen dhe njohjen time per CGI-ne dhe Perl-in (si pjesetar i projektit ose si keshilltar i jashtem). Vetem se per njefare kohe do jem i zene (sic e kam thene edhe me perpara). Kur fjalori te kete mbaruar, besoj se eshte me e pershtatshme qe ta vendosim ne ndonje nga sherbyesit (server-at) shqiptare, psh albanian ose alb-net . Tani fjalen e keni ju, qe te thoni mendimet tuaja, dhe i pari Eshrefi, qe eshte kryesori i kesaj pune. Dashamir Hoxha ---------------------------------------- e106708 at ceng.metu.edu.tr (Dashamir Hoxha)