Go Back   HostGator Peer Support Forums > General Discussion > Webhosting

Notices

Reply
 
Thread Tools
  #1  
Old 10-02-2009, 02:04 PM
Jenius Team Jenius Team is offline
Hatchling Croc
 
Join Date: Sep 2009
Posts: 5
Default Simple PHP question

Hello everybody, I am a newbie to both the forums and hostgator.

First of all, please excuse the lame username choice, but we all have our unimaginative moments. To cut a long story short, I'm the web developer of the team.

Having almost completed my (x)HTML/CSS studybook, I fell upon the chapter regarding forms, inside which I read what I expected as much as loathed: The need to process any information sent from an XHTML form to the server with the POST method through a PHP script (or just any scripting language sript).

Unfortunately, my deadlines are rather pressing. I have to have a site ready by the end of the month and I still haven't coded scratch, and, being a university student, I'm also pretty certain that I won't have attained PHP proficiency by November 2nd. What I'd like to ask, after looking around my site's control panel for a while (I have a shared "business" account) is if any of the available PHP conveniences relate to my problem directly. I am certain that my PHP requirements are of the most basic nature.

Thank you for your time.
Reply With Quote
  #2  
Old 10-02-2009, 03:36 PM
Hullabaloo's Avatar
Hullabaloo Hullabaloo is offline
Junior Croc
 
Join Date: Mar 2008
Posts: 115
Default Re: Simple PHP question

PHP can be pretty simple.

Try the w3schools tutorial.

http://www.w3schools.com/php/default.asp

If you know any programming language (even BASIC) you should pick it up pretty fast.

There are also lots of code and code fragments out there that will do most anything you can imagine. Just google...
Reply With Quote
  #3  
Old 10-02-2009, 03:47 PM
gwyneth's Avatar
gwyneth gwyneth is offline
Supreme Croc
 
Join Date: Sep 2006
Location: up north
Posts: 6,843
Default Re: Simple PHP question

These threads may help:

Form resources

Learning PHP: beginners' resources has several specifically about forms.
Reply With Quote
  #4  
Old 10-02-2009, 04:02 PM
Pazeh Pazeh is offline
King Croc
 
Join Date: Jan 2005
Posts: 1,327
Default Re: Simple PHP question

if you don't have the time to learn the tips & tricks, "Form to Go" php version might be your best choice.

also check for some sites that do offer (free or paid) form submission scripts.
Reply With Quote
  #5  
Old 10-03-2009, 12:42 AM
Awes's Avatar
Awes Awes is offline
Hatchling Croc
 
Join Date: May 2007
Location: Work in Texas
Posts: 6
Default Re: Simple PHP question

Yup, the thought of it is worse than the actual use. It comes very easy after you download some well written scrips and read through them. Most well written ones will tell you exactly what each section does. After you do a few, and read some of the posts above you'll be using php more and more.

I just downloaded one to update my CAPTCHA to an x+y format posted from xhtml to a php script and validated by another. I knew a little basic when I started and learned asp. PHP is very easy to adapt to.

Tons of free scripts. A good indication of how well it is written is how they remark each section. If it's poorly remarked, chances are it is poorly written.
__________________
Awes
Reply With Quote
  #6  
Old 10-03-2009, 03:08 AM
Jenius Team Jenius Team is offline
Hatchling Croc
 
Join Date: Sep 2009
Posts: 5
Default Re: Simple PHP question

Thanks everyone. I have a strong programming background so I guess PHP will be relatively easy for me to catch up to. I shall look into each and every recommendation later today.
Reply With Quote
  #7  
Old 10-03-2009, 09:39 AM
kompreszor's Avatar
kompreszor kompreszor is offline
Swamp Croc
 
Join Date: Jun 2007
Location: Pennsylvania, USA
Posts: 330
Default Re: Simple PHP question

Here is a basic email script at the w3cSchools that will give you a feel for how things should be coded. The next page on the tutorial will show you some ways to prevent injection. Plus here is the link to the chapter on php filters so you can learn more ways to filter user input and this is the complete list of php filter functions
__________________
“There is a principle which is a bar against all information, which is proof against all arguments and which cannot fail to keep a man in everlasting ignorance—that principle is contempt prior to investigation.”
—Herbert Spencer
Reply With Quote
Reply

Bookmarks

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
simple domain question 2cents Shared Hosting Support 3 04-01-2008 03:37 PM
1 simple cron job question journeyoftheanimals Off-Topic 4 01-09-2008 10:12 PM
simple question serial groover Shared Hosting Support 6 09-22-2007 12:53 PM
Simple WHM question monyamic Webhosting 2 03-31-2006 05:31 PM
Simple SendMail question... Weizguy Webhosting 11 03-31-2006 04:24 PM

All times are GMT -5. The time now is 05:20 AM.