Forum Thread
  Posts  
Another advanced web question... (Forums : General Banter : Another advanced web question...) Locked
Thread Options 1 2
Feb 28 2005 Anchor

Here's what I want to do:

Make a section of my website where people can create a user name and upload only .doc files. What skill do I need to learn to do this? This would be a homework/school report service where you register a name and can only upload .doc files...

Is there a special tutorial or program I could make the user registry with? or any of this? I know it might be way too advanced for a decent begginer like me but I really want to know.....

Thanks, and please only post if you have an answer. I don't want the real answers getting lost in spam. If you think you know the answer, please post. If you aren't right, don't worry, no one is going to flame you or anything. Just don't post something like "why do you want to do that?"

update: NO SCHOOL TOMORROW MWAHAHAHAHHA

Edited by (in order): Chunky, Chunky

Feb 28 2005 Anchor

I'd do this in php if your 1 and 1 account supports it.

Basicly you make a html form with a "file" element and have it redirect to a php script. From there it gets uploaded to a temporary file on the server where the script takes over.

The script will basicly check the files mime type and then if its mine type is doc, it moves it from the temporary folder to one of your choice.

You'll also need to learn about php sessions and or cookies for the user thing, not the hardest thing, but took a while to get working right origanally.

I'd say do a basic php tutorial first, and see if its your cup of tea. Theres a lot of us php geeks here to help you if you need any though, so you won't have much of a problem getting answers if you go with php unless they are rude (I don't plan to be.)

edit:

Phpfreaks.com Theres an upload tut, you'd just change image/gif to whatever .doc's mime type is. Alternately you could eplode the filename, but thats to much info and probably isn't needed right here.

I'll poke around for a sessions tut, but their really pretty easy.

Edited by: duckedtapedemon

Feb 28 2005 Anchor

thanks alot :D

and guess what? the school called back to say that it was a mistake and that school is still on for tomorrow unless otherwise. boy am i happy :D

Mar 1 2005 Anchor

sorry to double post, but i need to bump this back up for duckedtapedemon to see.

i do have php supported. this tutorial is too advanced for me. i can hardly understand it. i dont know how to put it together or change the file format or store the .doc file on my server or anything.

is there any program or tool that can do this? like a Bravenet tool or something? iv looked on Bravenet but i cant find one...

update: im looking and i found this for now Website-scripts.net ill try it but i doubt it will be easier

update 2: that new link i posted above is very good, but i dont know how to use to well. can anyone here with good web skills edit it for me please? or tell me how?

update 3: i know what to change now nevermind. the only thing i need to figure out is how to make a submit button or whatever

Edited by (in order): Chunky, Chunky, Chunky

Mar 1 2005 Anchor

nevermind that code i posted. its wrong. i kinda got the new one down but i still need to fix some of it up first. ill post updates later...

update: lol this is just too advanced for me. oh well. someday ill learn....

i gotta get back to designing version 2 of IKG!!!

Edited by (in order): Chunky, Chunky, Chunky, Chunky

chis
chis Old man.
Mar 1 2005 Anchor

PHP is a nice scripting language to learn, the reason you're finding it to advance is because your starting ahead of yourself

--

Nothing.

Mar 1 2005 Anchor

yeah. im taking some courses this summer which will help me. i did start ahead of myself...

embers.
embers. I'm a lumberjack....
Mar 1 2005 Anchor

no offense but try learning some html first, your websites are just text with img and url tags

Mar 1 2005 Anchor

dude, i know. i already said that. im working on version 2 of IKG and that will be a little bit more advanced. this summer im going to learn more advanced html and so on.

Mca.davidsmods.com was my first step towards making better websites, but i made it in the wrong format so it takes really long to load for 56k users.

frosty-theaussie
frosty-theaussie Sonny Jim
Mar 1 2005 Anchor

The~David~Cult wrote: Mca.davidsmods.com was my first step towards making better websites, but i made it in the wrong format so it takes really long to load for 56k users.


That page literally destroyed my eyesite for a minute.

Never use colours like pink for a background, ever

--

User Posted Image

Mar 1 2005 Anchor

but then it wouldnt be as magical

Mar 1 2005 Anchor

Don't write body text in an image either.

Mar 1 2005 Anchor

what do you mean? and why?

quellmyapathy
quellmyapathy Game Overdrive / Overdrive Games
Mar 1 2005 Anchor

Don't type the text on the image itself.

Instead, make a content box area in your image-editing program. Then click File, Save As HTML or Save for Web, then save the .html file.

Open the file in your favorite editor and scroll to the content box area. Add in an Iframe and type the text in the Iframe page and voila, text.

I know there's another way besides Iframes, but that's all I know at this moment.

Add some CSS, as well, to spice it up and make it sexeh. CSS rawks.

ImTheDarkcyde
ImTheDarkcyde ¯\(º_o)/¯
Mar 1 2005 Anchor
embers.
embers. I'm a lumberjack....
Mar 2 2005 Anchor

The~David~Cult wrote: dude, i know. i already said that. im working on version 2 of IKG and that will be a little bit more advanced. this summer im going to learn more advanced html and so on.

Mca.davidsmods.com was my first step towards making better websites, but i made it in the wrong format so it takes really long to load for 56k users.


thats even worse, learn some design too

Mar 2 2005 Anchor

i think im starting to really understand now.

css is what makes the same layout on every page. like the same menus and logos on every page. you make a css and then load it onto a new page you create. i'll learn to do that later.

i still dont really understand why i shouldnt write body text in an image. i guess i'll learn how to do that right once i learn css. i found an excellent tutorial on css today, but just ignored it because i didnt care about it at that time. i hope i can find a really good one again....

aea
aea modDB Hacker
Mar 2 2005 Anchor

Not necessarily, it's just a system for quickly pulling properties from a central location, or just more control depending on the way you use it. HTML text is better then writing on an image, less use of space for one thing...

Mar 2 2005 Anchor

well was i right about how css is what makes the constant layout that is the same on each page?

quellmyapathy
quellmyapathy Game Overdrive / Overdrive Games
Mar 2 2005 Anchor

No, what you're talking about is a template or design that you make in Photoshop or some other program and then save as .html.

Then you apply the CSS to make all the formatting the same.

Content text shouldn't be in an image because it's hard to update and inefficient.

Mar 2 2005 Anchor

Thats what I mean Dan. I make the small template parts in an image program, then export them to gif and make a css format so that i can just load up the css with the template for any new page.

Now all I need to do is find an excellent css tutorial. I'll do that tomorrow.

Thanks for the help everyone...

quellmyapathy
quellmyapathy Game Overdrive / Overdrive Games
Mar 2 2005 Anchor

No, the CSS is not the text. You add the text in an Iframe.

I recommend Pixel2Life or GameRenders to learn.

Good luck.

Mar 2 2005 Anchor

lol i know!! i dont know how to explain this anymore. dont worry about anything i got it down...

moderators/admins, please dont lock this thread. i need it to ask any questions about something i might learn tomorrow. thanks.

Mar 3 2005 Anchor

i have a new question:

instead of using css right now, can't i just make a template file with my basic layout in DW, then just load it up for every webpage i want it on? for example: i'll start a new template page and put the nav bar and logos on it. any page that i want to have the same layout and design on, i'll load up the template file. will this work out fine?

quellmyapathy
quellmyapathy Game Overdrive / Overdrive Games
Mar 3 2005 Anchor

What I do is have everything on a template. When a user clicks a link, the Iframe in the content box loads the new content.

Examples on Sitedesign.danmattia.net and Dme.danmattia.net.

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.