Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 04-30-2007, 04:35 PM   #1 (permalink)
Inactive
 
Join Date: 03-21-05
Posts: 6
iTrader: 0 / 0%
Latest Blog:
None

chidi is liked by many
Code to upload a cv/resume

Hi there, i'm trying to do a simple recruitment website for someone and one of the requirements is that I allow a potential client to upload their cv online and then the cv would be sent to an email address. Can someone help me? how do i go about this?

Thanks
Chidi
chidi is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-30-2007, 04:40 PM   #2 (permalink)
Inactive
 
StupidScript's Avatar
 
Join Date: 09-22-06
Location: Los Angeles
Posts: 678
iTrader: 0 / 0%
Latest Blog:
None

StupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really nice
What programming/scripting languages are you able to use? PHP? ASP? PERL?
StupidScript is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-30-2007, 05:06 PM   #3 (permalink)
Inactive
 
Join Date: 03-21-05
Posts: 6
iTrader: 0 / 0%
Latest Blog:
None

chidi is liked by many
A bit of PHP, I suppose now's a good time to start learning lots more!
chidi is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-30-2007, 05:24 PM   #4 (permalink)
Inactive
 
StupidScript's Avatar
 
Join Date: 09-22-06
Location: Los Angeles
Posts: 678
iTrader: 0 / 0%
Latest Blog:
None

StupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really niceStupidScript is just really nice
I like PHP.

You'll want to check the PHP manual in the file_upload section. There are a couple of simple examples you can use straight away.

Things to keep in mind: Your form MUST use the "multipart/form-data" encoding, you MUST have a directory in which to store the uploads that is writeable by your web server user identity (apache, nobody, etc.), and you simply MUST take whatever security steps are suggested to protect your server ... unless you WANT to become the unwitting host of pirated copies of Windows Vista and any type of porn you can imagine ...

<edit>
Oop! You'll also want to check out the PHP maual section on the mail function. A note regarding attaching the file: You can grab the MIME-type of the uploaded document during the upload procedure ($_FILES['userfile']['type']) to use during mailing.
</edit>

Last edited by StupidScript : 04-30-2007 at 05:37 PM.
StupidScript is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-30-2007, 05:55 PM   #5 (permalink)
Inactive
 
Join Date: 03-21-05
Posts: 6
iTrader: 0 / 0%
Latest Blog:
None

chidi is liked by many
Hey thanks James you've been a great help. Am off for now - my friend is getting married this week and we've got a whole lot of wedding preperations to get through!!
chidi is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Let's See Your Resume Rwh909r SEO Forum 0 08-14-2007 09:02 AM
How hard is it to code an upload script? Nick Coding Forum 12 02-06-2006 12:47 AM
Upload PHP Code Sketch Coding Forum 2 04-29-2005 06:21 PM


Sponsor Links
Webmaster Forum Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 03:12 AM.
© Copyright 2008 V7 Inc