Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 09-16-2007, 10:25 AM   #1 (permalink)
Mentor, Articles Team
 
TheAtheist's Avatar
 
Join Date: May 2006
Location: Portishead, Bristol
Posts: 1,317
OS: xp sp3

My System

Just two questions

I'm in the process of building a website, for my hobby, aviation photography. I've hit some snags though. I want to be able to have a comments and critisms page, where people can contact me via a form and click a button and their comment be emailed to me. I cant for the life of me remember how to code for this. I thought of using the mailto tag, but i want it to work, without using a mail client, almost so users dont see this bit, it looks like it just submits!

Secondly, as its a website for photography, i want users to be able to make it possible for users to upload photos. To save on space on my freewebs account, i want it setup like above, i capture the file location, and attach it to an email, and then email those photos to me. Anyone know how to do this. I can do the users only bit, i've got a login section.

Cheers
__________________


"Freedom of thought is best promoted by the gradual illumination of men's minds, which follows from the advance of science" - Darwin

Join the TSF folding team - Team 85015

Last edited by TheAtheist; 09-16-2007 at 10:26 AM. Reason: clarification
TheAtheist is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 09-16-2007, 10:52 AM   #2 (permalink)
Moderator, TSF Articles
 
carsey's Avatar
 
Join Date: Aug 2006
Location: Hunwick, Co. Durham England
Posts: 10,678
OS: XP Pro SP3

My System

Send a message via MSN to carsey
Re: Just two questions

I think a PHP script will work fine for the mail comments and criticism page. How about a page such as a guestbook where others can see who wrote what etc??

I have a uploader script that you can use, I just need to write instructions for it then its getting posted in this programming section for all to use.
__________________

carsey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-16-2007, 11:02 AM   #3 (permalink)
Mentor, Articles Team
 
TheAtheist's Avatar
 
Join Date: May 2006
Location: Portishead, Bristol
Posts: 1,317
OS: xp sp3

My System

Re: Just two questions

Thanks carsey, but i dont want the comments posted, its a system whereby people can email me, but it looks easier to use than just simply going to hotmail for example and sending an email. I have a comments script already in use for people to write comments about the photos.

On that uploader script, is that the PHP one?, as i dont want it uploading directly, i want it emailed to me so i can crop it, etc to add it to the photo album on my site.

Cheers
__________________


"Freedom of thought is best promoted by the gradual illumination of men's minds, which follows from the advance of science" - Darwin

Join the TSF folding team - Team 85015
TheAtheist is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-16-2007, 11:06 AM   #4 (permalink)
Moderator, TSF Articles
 
carsey's Avatar
 
Join Date: Aug 2006
Location: Hunwick, Co. Durham England
Posts: 10,678
OS: XP Pro SP3

My System

Send a message via MSN to carsey
Re: Just two questions

Yes, its a PHP script, but I dont know whether there is anything Ive heard of that it will email it directly to you. I think you would be relying on people to do it through a email based program.

You could modify the script so that it uploads to a folder only viewable via password or have no 'public' permissions. This wont allow people to see the pictures inside, but you will be able to access it through FTP or your file manager.
__________________

carsey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-16-2007, 11:12 AM   #5 (permalink)
Mentor, Articles Team
 
TheAtheist's Avatar
 
Join Date: May 2006
Location: Portishead, Bristol
Posts: 1,317
OS: xp sp3

My System

Re: Just two questions

K, thanks carsey, i'll try that. Just hope it works. I'll get back to you on that. any further ideas on the email thingy for the comments? Cheers
__________________


"Freedom of thought is best promoted by the gradual illumination of men's minds, which follows from the advance of science" - Darwin

Join the TSF folding team - Team 85015
TheAtheist is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-16-2007, 11:22 AM   #6 (permalink)
Moderator, TSF Articles
 
carsey's Avatar
 
Join Date: Aug 2006
Location: Hunwick, Co. Durham England
Posts: 10,678
OS: XP Pro SP3

My System

Send a message via MSN to carsey
Re: Just two questions

Have a look at this site:

http://www.hotscripts.com/Detailed/20650.html
__________________

carsey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-16-2007, 12:32 PM   #7 (permalink)
Registered User
 
Join Date: Aug 2005
Location: Ohio
Posts: 207
OS: VISTA


Re: Just two questions

I would not sugest using some one elses script you never know what they have there code doing they may be having the emails sent to them to sell for spam, fortunitly email scripts are easy. Also The Mailto method will send the email adress and the subject but not the information, and it is verry unsecure so heres how to make a php script for it.

Step 1: Make sure your host supports SMTP Wich is the protocal to send mail. Also make sure it supports PHP.

Step 2 write the PHP driver:

Name the file: sendmail.PHP <-- Make sure to spell that name exacly how it is here and use .PHP not .php because thats how it is named in the HTML)
Note: change the recipiand address (yourmail@yourdomain.com) to your email adress
change the header (Your URL) to the url of the page you want it to send them to when they send it.
Code:
<?
  $email = $_REQUEST['email'];
  $message = $_REQUEST['message'];

   mail( "yourmail@yourdomain.com", "Feedback Form Results",
      $message, "From: $email");
     header( "Location: Your URL ");
?>
Step 3: Write the HTML code

Save this as whatever you like but make sure to make it .HTML (coments.HTML)
Code:
<Form method="post" action="sendmail.PHP">
Email: <input name="email" type="text" /> <br />
Message:<br />
<textarea name="message" rows="15" cols="40">
</textarea> <br />
<input type="submit" value="submit"><br />
</form>

Last edited by Damion; 09-16-2007 at 12:33 PM.
Damion is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-16-2007, 01:01 PM   #8 (permalink)
Mentor, Articles Team
 
TheAtheist's Avatar
 
Join Date: May 2006
Location: Portishead, Bristol
Posts: 1,317
OS: xp sp3

My System

Re: Just two questions

Thanks Damion, but carseys code looks like what i need and is all sorted for me. cheers Carsey
__________________


"Freedom of thought is best promoted by the gradual illumination of men's minds, which follows from the advance of science" - Darwin

Join the TSF folding team - Team 85015
TheAtheist is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-16-2007, 01:29 PM   #9 (permalink)
Mentor, Articles Team
 
TheAtheist's Avatar
 
Join Date: May 2006
Location: Portishead, Bristol
Posts: 1,317
OS: xp sp3

My System

Re: Just two questions

Carsey, really appreciate your time on this one as i know i'm being a bit demanding, but i uploaded the upload(!) script to my website and when i click on it all i see is the code within it, not the page. Am i doing anything wrong, or will my freewebs not cope with it? My only idea on how to fix it, is to take the code from the .php file and put it into a .html file on my site, will this work?

BTW, the comment think implemented correctly, dunno if it works yet, need to have my account 7 days to find out. But nothing looks out of place with it
__________________


"Freedom of thought is best promoted by the gradual illumination of men's minds, which follows from the advance of science" - Darwin

Join the TSF folding team - Team 85015
TheAtheist is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-16-2007, 01:36 PM   #10 (permalink)
Moderator, TSF Articles
 
carsey's Avatar
 
Join Date: Aug 2006
Location: Hunwick, Co. Durham England
Posts: 10,678
OS: XP Pro SP3

My System

Send a message via MSN to carsey
Re: Just two questions

I dont know. Does freewebs allow PHP scripting, or any scripting??

It may pay, for future expansion, to get a free webhost and upload your site from there. It would probably mean starting again, unless you could copy the HTML source code from freewebs to the webhost.
__________________

carsey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-16-2007, 02:25 PM   #11 (permalink)
Mentor, Articles Team
 
TheAtheist's Avatar
 
Join Date: May 2006
Location: Portishead, Bristol
Posts: 1,317
OS: xp sp3

My System

Re: Just two questions

Accept my deepest apologies, freewebs doesnt accept php, and as this is a hobby TBH i am not prepared to pay or move my site. So i'll just have to ask people to email me!
__________________


"Freedom of thought is best promoted by the gradual illumination of men's minds, which follows from the advance of science" - Darwin

Join the TSF folding team - Team 85015
TheAtheist is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-16-2007, 02:40 PM   #12 (permalink)
Moderator, TSF Articles
 
carsey's Avatar
 
Join Date: Aug 2006
Location: Hunwick, Co. Durham England
Posts: 10,678
OS: XP Pro SP3

My System

Send a message via MSN to carsey
Re: Just two questions

You can get hosting for free all over the net, but if you aint prepared to move, theres not much I can do.
__________________

carsey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-17-2007, 09:53 AM   #13 (permalink)
Folding Along
 
gistek's Avatar
 
Join Date: May 2007
Location: PA, USA
Posts: 1,904
OS: Bobbi=xp, sp3 Muse=Vista Home Premium


Send a message via AIM to gistek Send a message via Skype™ to gistek
Re: Just two questions

You could check out Bravenet.com

They have a lot of free web support services and very strict guidelines about what can and can't be done via their service.

You don't have to host with them to use the web support services. They do ask you to add a discrete link to your website, but don't require it.
__________________
I am not a computer professional, My advice comes from personal experience and/or friends who are computer professionals. Learn By Doing Un-versity
Interested in Search and Rescue? Check out the Civil Air Patrol.
Come Fold with us. TSF Folding@Home Team
gistek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 09-18-2007, 02:32 AM   #14 (permalink)
Design Team Member
 
Redcore's Avatar
 
Join Date: Aug 2007
Location: Jamestown, CA
Posts: 715
OS: Linux Mint 7

My System

Re: Just two questions

Bravenet is pretty cheesy though, I think. I guess it's fine if you're starting off - but most of their stuff screams amateur. They do have good basic articles on their site though.
Redcore is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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

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




All times are GMT -7. The time now is 03:27 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85