#1  
11-13-2012, 10:24 AM
Mr. Rey Mr. Rey is offline
Free Member
 
Join Date: Oct 2012
Posts: 78
Thanked 0 Times in 0 Posts
Any recommendations for a form to mail script that's compatible with StableHost's PHP?

Is there such thing of a universal form to mail script?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
11-14-2012, 02:12 AM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,311
Thanked 374 Times in 341 Posts
It depends on what you want to do with the form.

I use this form for a lot of projects: http://www.appnitro.com. It's not free -- but at $49 it's also not an unfair price! The $99 10-site license is a better deal. Or the $199 unlimited license, which is what I have. It's a drag-and-drop interface, and it works well on several types of PHP environments (php-fpm, DSO, FastCGI, CGI, ISAPI, SuPHP), including the setup Stablehost uses.

This is about as universal as it gets.

There are a number of plugins for CMS, like WordPress or Joomla, but I still prefer to use the MachForm form. It's not too hard to simply embed the PHP form inside a CMS page template. You won't find a free form that is this easy, or works as well as MachForm.

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
  #3  
11-14-2012, 11:19 AM
Mr. Rey Mr. Rey is offline
Free Member
 
Join Date: Oct 2012
Posts: 78
Thanked 0 Times in 0 Posts
Hey KP,

I work with Dreamweaver, and I coded (css) my form - it's a simple contact us (name, email, message) form. Got any other suggestions for this kind of basic set up?

I forgot to ask. Doesn't Stablehost have their own I can use or is that just the PHP connection that I put in my html (head)?
Reply With Quote
  #4  
11-15-2012, 12:22 AM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,311
Thanked 374 Times in 341 Posts
As a host, Stablehost doesn't provide website content, which is what a script like this would be.
Yes, the server runs PHP -- likely suPHP, but don't quote me.

Though some things are available in the Softaculous installer, I tend to suggest people shy away from those "automagically" installed applications and instead learn to install it on their own -- especially because you can generally better secure it with a manual install.

The biggest issue with Dreamweaver "forms" is that you're only creating the look of the form, and none of the functionality. For this reason, DW has always been useless for interactive content. (I used it from 1999 to 2009, and have since abandoned it completely.)

Be sure to read the official Adobe.com docs, too: http://helpx.adobe.com/dreamweaver/k...eamweaver.html

The biggest weakness with such basic forms is that it relies on using a no-authorization sendmail method. Quality forms allow for SMTP connection, which must be authorized with a user/password login from the form script to an email account (sendmail@mydomain.com), to further ensure the form actually arrives at your inbox, as well as to prevent spam/abuse. As of the most recent version, cPanel now has a built-in mechanism to completely block poorly sent email methods, and a lot of hosts are surely going to adopt it, if they didn't already have custom settings in place. I enabled it just yesterday on my primary cPanel VPS, because the update was finally pushed to the main release channel. So more and more, you'll find older willynilly sendmail methods to not be allowed -- including the method used by a basic Dreamweaver form. Therefore I'd suggest using a more mature mail form now, instead of having to redo one later.

I'd still suggest MachForm, even if you embed it inside a Dreamweaver page.

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
  #5  
11-15-2012, 08:24 AM
Mr. Rey Mr. Rey is offline
Free Member
 
Join Date: Oct 2012
Posts: 78
Thanked 0 Times in 0 Posts
I thought that I could just create the form in Dreamweaver and then attach a PHP script to it for functionality.

How do you enable the cPanel update?
Reply With Quote
  #6  
11-15-2012, 08:36 AM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,311
Thanked 374 Times in 341 Posts
Quote:
Originally Posted by Mr. Rey View Post
I thought that I could just create the form in Dreamweaver and then attach a PHP script to it for functionality.
It can work with way ... in theory. Which version of Dreamweaver are you using?
In fact, if you want to RAR or ZIP a copy of that page for me, I could test it from my own Stablehost account.

Quote:
Originally Posted by Mr. Rey View Post
How do you enable the cPanel update?
This is something the server admins do for their own needs. It's not something a user (hosting customer) can access, or even request be implemented or not implemented. I enabled it on my VPS because I'm the server admin, and what it's setup for my needs (which includes a few users). The only way to fully control something like this is to run your own server.

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
  #7  
11-15-2012, 01:13 PM
Mr. Rey Mr. Rey is offline
Free Member
 
Join Date: Oct 2012
Posts: 78
Thanked 0 Times in 0 Posts
CS 5.5

This would be the first time I've RAR or ZIP a webpage. Can you send me instructions?
Reply With Quote
  #8  
11-15-2012, 04:26 PM
lordsmurf's Avatar
lordsmurf lordsmurf is offline
Site Staff | Video
 
Join Date: Dec 2002
Posts: 13,631
Thanked 2,458 Times in 2,090 Posts
What OS platform are you on? Mac, Windows?

And then what archive software do you have installed, if any? WinRAR, WinZip, UnRarX (Mac), 7-zip, something else?
Remember that Mac and Windows have built in zip/unzip, and have for about a decade now.

Instructions vary widely, depending on what you have.

- Did my advice help you? Then become a Premium Member and support this site.
- For sale in the marketplace: TBCs, workflows, capture cards, VCRs
Reply With Quote
  #9  
11-15-2012, 06:59 PM
Mr. Rey Mr. Rey is offline
Free Member
 
Join Date: Oct 2012
Posts: 78
Thanked 0 Times in 0 Posts
Hey Lord Smurf,

Windows.

I think I have the built in zip/unzip.
Reply With Quote
  #10  
11-18-2012, 06:37 PM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,311
Thanked 374 Times in 341 Posts
In Windows, just right-click on the file or folder, go to Send To, and then select Compressed (zipped) Folder
Pay attention to where the file is. (I won't know.)

Note: I'm looking at my Windows 7 system right now, so it may vary a bit on XP, Vista, or whatever other version you may have.

Then attach it. Follow the instructions, if needed: http://www.digitalfaq.com/forum/news...ly-upload.html

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
  #11  
11-20-2012, 08:46 AM
Mr. Rey Mr. Rey is offline
Free Member
 
Join Date: Oct 2012
Posts: 78
Thanked 0 Times in 0 Posts
Hey KP,

Am I supposed to attach the whole website's file from Dreamweaver? Or just the contact page and script?
Reply With Quote
  #12  
07-24-2013, 09:51 AM
admin's Avatar
admin admin is offline
Site Staff | Web Development
 
Join Date: Jul 2003
Posts: 4,310
Thanked 654 Times in 457 Posts
If you still need help with creating your forms, just let us know. Thanks.

I'm skimming here, but you'd want to zip/rar up the entire site folder for analysis. Why? Well, in most case, a script refers to other files, which themselves refer to other files. Hence the easy thing to do is send the whole site, rather than hunt down the script files one by one (called dependencies).

You likely got the site all up and running by now, but thought I'd offer my help just in case.


This was an unanswered question or unresolved issue found during a site audit. It's hard to have an FAQ when the answers are missing, or final outcomes are unknown. At The Digital FAQ support forum, questions are never intentionally ignored, and may have been missed due to a forum glitch or human error. More details on the audit. (In some cases, threads have been edited/updated with newer information.)


- Did this site help you? Then upgrade to Premium Member and show your support!
- Also: Like Us on Facebook for special DVD/Blu-ray news and deals!
Reply With Quote
Reply




Tags
form to mail script, php, web hosting services

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the difference between creating a mail form with jquery or php? Mr. Rey Web Development, Design 1 07-24-2013 09:40 AM
PHP Mail Form Scripting - validating and sanitizing? Mr. Rey Web Development, Design 1 03-14-2013 04:35 AM
Various AVISynth scripts to clean noise and convert PAL to NTSC metaleonid Restore, Filter, Improve Quality 12 01-09-2012 07:49 PM
Recently Uploaded CGI scripts that send email on server (newmailcgi) kpmedia Website and Server Troubleshooting 0 07-30-2011 05:36 PM
AVISynthesizer: Build complete Avisynth scripts using pre-made templates [DOWNLOAD] lordsmurf Encode, Convert for discs 0 11-09-2010 01:13 AM

Thread Tools



 
All times are GMT -5. The time now is 09:49 AM