Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2000
Posts: 6
Member
Member
Offline
Joined: Sep 2000
Posts: 6
I am currently studying Perl so this is not that easy for me.. I did a couple of things but all didn't work..

but i think this isn't that hard problem... so can anyone do this for me???

here is what i want:
I made a upload script that will upload a file via www.
but i want to permit only the person who is registerd ubb user.. and already logged in user.
so I was plugging-in the "get cookie" and "log in " stuff using ubb's as same as privateview.cgi in PM does...
(PM does like, if user does not login, it will transfer to login page, after log in, transfer to privateview page, or if the user is already logged in, transfer to private page..)

mine also should do as same as PM does
if the user logged in already,
then the page will transfer to upload page,
otherwise, transfer to log in page,
after log in, transfer to upload page.

can anyone does this for me???

if you need to modify, you can do whatever you want as long as you keep the format of the output that is data file and destination of the upload file)..

pleas help... thank you.

here is my code


upup.cgi
Code
code:


commonsub.cgi
Code
code:


variables
Code
code:

This message has been edited by kingman on October 24, 2000 at 10:17 PM


Thank you
Sponsored Links
Joined: Sep 2000
Posts: 138
Em8 Offline
Member
Member
Offline
Joined: Sep 2000
Posts: 138
variables
Code
code:
Correct meif I'm wrong but you don't need the #!/usr/bin/per in a varibles file and also I think it should end in a '1;'



This message has been edited by Em8 on October 27, 2000 at 04:45 PM


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)