Page 1 of 1
Plzz help me with PHP
Posted: Fri Dec 12, 2008 3:07 pm
by bo_kali
Hello,
Please help me I am graphics and website designer. I am bulding up a website but I need your help.
I have not good on programming like PHP. I have done the template that means the design for the form.
I have 4 application forms that the customers fill out and the information need to be sent to by email.
If could any one please help me that only gives me the code source. I have made the design for the page and its attached.
Please help as soon as possible.
Thank you
Re: Plzz help me with PHP
Posted: Fri Dec 12, 2008 3:43 pm
by requinix
If you're making a site then you best start learning PHP.
How to handle form input
The mail function
Re: Plzz help me with PHP
Posted: Sat Dec 13, 2008 3:37 am
by deemjay
You can use the mail() function to send posted email forms so long as you're on server that can use PHP (Linux). You haven't said what your hosting package is so I assume it is on LINUX in which case you can use PHP. Go to php.net web site and search mail function. You can read about it there and there are sample code snippets to. The best way to learn is to play with the code samples until your understand what it does. At that point try build your own and eventually you'll have an understanding of the code. My advise though - DO NOT attempt database work for clients until you thoroughly understand what you are doing because of the security issue. Sadly the world is full of idiots who like nothing more than making you look bad by defacing your site or busting your database (hackers). Serious hackers go for banks while lo-life individuals hit sites like yours.
To recap -
http://www.php.net, functions, mail().
If you get really stuck email me your code and I will help you out.
Happy days...
Re: Plzz help me with PHP
Posted: Sat Dec 13, 2008 1:17 pm
by bo_kali
Thank you everybody for your feedback.
I will start making php samples and again Thanks alot.
Re: Plzz help me with PHP
Posted: Sat Dec 13, 2008 6:36 pm
by califdon
deemjay wrote:You can use the mail() function to send posted email forms so long as you're on server that can use PHP (Linux). You haven't said what your hosting package is so I assume it is on LINUX in which case you can use PHP. Go to php.net web site and search mail function. You can read about it there and there are sample code snippets to. The best way to learn is to play with the code samples until your understand what it does. At that point try build your own and eventually you'll have an understanding of the code.
I strongly disagree with that. Having taught database and internet classes to college students for more than ten years, I can tell you with certainty that it will take you
much longer to learn anything useful by "playing" with other people's code, much of which is poorly written, than if you study from a book or a tutorial. Programming is a very structured skill; you absolutely
must learn pieces of it
in the proper sequence, which you won't do by trying to paste code snippets together.
My advise though - DO NOT attempt database work for clients until you thoroughly understand what you are doing because of the security issue.
I agree with that. Would you go to a doctor who is just learning as he goes? Even if he was cheap, I doubt that you would.
Sadly the world is full of idiots who like nothing more than making you look bad by defacing your site or busting your database (hackers). Serious hackers go for banks while lo-life individuals hit sites like yours.
That's true, too.
That's a good resource, also
http://w3schools.com or use Google and search for
php tutorial. Don't waste your time playing with other peoples' scripts.
If you get really stuck email me your code and I will help you out.
Happy days...