Go Back   Free website templates > Community Service > Website Review


Join now to share free website templates or post on the forum. If you have never been on a forum before read the FAQ. It's quick, easy and free to join!
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-10-2009, 05:32 AM
bmcoll3278's Avatar
Senior Member
 
Join Date: Jun 2009
Posts: 303
bmcoll3278 is on a distinguished road
Default php tutorials are almost ready

hey every body.
I almost have the free tutorials section ready to go on line.

I am not asking anyone to go to the site yet but please can you post here any php tutorials you would like to see. I will work on them and let you know when they are ready.
Thanks
Brian
__________________
I hope to build a site with something for every body
www.bmcoll.com
Reply With Quote
  #2 (permalink)  
Old 10-10-2009, 11:36 PM
bmcoll3278's Avatar
Senior Member
 
Join Date: Jun 2009
Posts: 303
bmcoll3278 is on a distinguished road
Default

Ok I have a few on line now.
http://www.bmcoll.com/pagetest/tutorials
Reply With Quote
  #3 (permalink)  
Old 10-10-2009, 11:53 PM
Senior Member
 
Join Date: May 2006
Location: Australia
Posts: 590
Scoooooty is on a distinguished road
Default

Simple php contact forms always come in handy
Reply With Quote
  #4 (permalink)  
Old 10-11-2009, 03:29 AM
bmcoll3278's Avatar
Senior Member
 
Join Date: Jun 2009
Posts: 303
bmcoll3278 is on a distinguished road
Default

Quote:
Originally Posted by Scoooooty View Post
Simple php contact forms always come in handy
Great idea thanks That will be next.
Reply With Quote
  #5 (permalink)  
Old 10-12-2009, 09:08 AM
Junior Member
 
Join Date: Oct 2009
Posts: 1
stadulgra is on a distinguished road
Default

Cheers!
Valikie
Out of the many posts, this one attract my attention. I believe it is possible for anyone to participate.
Excellent ! I like it very much.

Last edited by CovertPea; 10-13-2009 at 12:51 AM.
Reply With Quote
  #6 (permalink)  
Old 10-12-2009, 11:52 PM
bmcoll3278's Avatar
Senior Member
 
Join Date: Jun 2009
Posts: 303
bmcoll3278 is on a distinguished road
Default

Quote:
Originally Posted by stadulgra View Post
Cheers!
Valikie
Out of the many posts, this one attract my attention. I believe it is possible for anyone to participate.
Excellent ! I like it very much.
Thats great but tell me what kind of php tutorials you want to see.

Last edited by CovertPea; 10-13-2009 at 12:52 AM.
Reply With Quote
  #7 (permalink)  
Old 10-13-2009, 05:30 PM
Programmer
 
Join Date: Sep 2009
Location: Scottish Borders, Scotland
Posts: 58
helpimadj will become famous soon enough
Default

Wouldn't it be good in you Maths Calculator script instead of escaping the " you end the PHP before the HTML and then start it again so its easy enough to see and edit (For the life of me I cant remember what its called!) plus people get used to the idea of it and how it works and life is nicer when working with loads of HTML.
Reply With Quote
  #8 (permalink)  
Old 10-13-2009, 11:03 PM
bmcoll3278's Avatar
Senior Member
 
Join Date: Jun 2009
Posts: 303
bmcoll3278 is on a distinguished road
Default

In my scripts I do start and stop the php instead of escaping the stuff in html.

I will show that method in another tutorial But I want to let users see how it is done this way first.

I still need ideas on future tutorials come on guys give me some ideas please.

I will have the tutorial on a sendmail script very soon.
Reply With Quote
  #9 (permalink)  
Old 10-14-2009, 04:18 AM
bmcoll3278's Avatar
Senior Member
 
Join Date: Jun 2009
Posts: 303
bmcoll3278 is on a distinguished road
Default

ok some one asked for a sendmail or contact form script so here it is.
tutorial 2

Here is the basic script But please check out the tutorial and give me your opinion .
Code:
<?php
//the info posted from the form
$ad=$_POST['sendto'];
$url=$_POST['subject'];
$email=$_POST['from'];
$message = $_POST['message'] ;
//done getting info


if (isset($_POST['sendto'])){ //CHECK TO SEE IF WE NEED TO DISPLAY FORM OR SEND  MAIL.

  mail ("$ad", "$url", $message, "From: $email") ;//send our message

  echo"<input type=button value=\"Back\" onClick=\"history.go(-1)\">";//go back button
  
}else{
//start of our form - echo our html form
echo "<form action='".$_server['php_self']."' method='post'>";//tells the form to send info to this script

echo"<table>
<tr>
<td>Recipients email</td>
<td><input type=\"text\"name =\"sendto\"></td>
</tr>
<tr>
<td>Subject</td>
<td><input type=\"text\"name =\"subject\"></td>
</tr>
<td>Reply to email</td>
<td><input type=\"text\"name =\"from\"></td>
</tr>
<tr>
<td>Message</td>
<td><textarea rows=\"10\"cols=\"60\"name=\"message\"></textarea>
<br><input type=\"submit\"value=\"send email\"></td>
</tr>
</table>";
//end of our form
}
?>
Reply With Quote
  #10 (permalink)  
Old 10-15-2009, 09:08 PM
bmcoll3278's Avatar
Senior Member
 
Join Date: Jun 2009
Posts: 303
bmcoll3278 is on a distinguished road
Default

added two more . Again guys please help me here with some ideas on tutorials you would like to see.
learn php scripting
Reply With Quote
Reply

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

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



All times are GMT. The time now is 03:15 AM.



mouseover mouseover mouseover