Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 03-11-2006, 02:51 PM   #1
Fully Optimized
 
Join Date: Jun 2005
Posts: 3,275
Send a message via ICQ to DJ Stephen Send a message via AIM to DJ Stephen Send a message via MSN to DJ Stephen Send a message via Yahoo to DJ Stephen
Default Add Tuts

Hi,

Sorry im asking so much im currently making a tutorial site, does anyone know what sort of php code i will need to have a form people fill out and it will ask me to add it to the correct catorgory?

Thanks
Steven
__________________

DJ Stephen is offline   Reply With Quote
Old 03-11-2006, 03:01 PM   #2
BSOD
 
Flipper's Avatar
 
Join Date: Mar 2006
Posts: 246
Default Re: Add Tuts

webmonkey, I have looked at your PHP/HTML code, and your graphics for your tutorial site. And to be frank, I Absolutely love it! It looks great, those two shades of green are really the best colors to make your logo/header look like that. Also I may have a somewhat code for the above...I Will post it in a few.

If you would like alot more of my help (I'm not greatly experienced in PHP but I am ok) then please add me to MSN
daflipperman [at] hotmail [dotcom].

edit - do you want it to work through email?
__________________

Flipper is offline   Reply With Quote
Old 03-11-2006, 03:10 PM   #3
Fully Optimized
 
Join Date: Jun 2005
Posts: 3,275
Send a message via ICQ to DJ Stephen Send a message via AIM to DJ Stephen Send a message via MSN to DJ Stephen Send a message via Yahoo to DJ Stephen
Default Re: Add Tuts

i have added you on msn, thanks for your help.
DJ Stephen is offline   Reply With Quote
Old 03-12-2006, 07:46 AM   #4
Fully Optimized
 
Join Date: Jun 2005
Posts: 3,275
Send a message via ICQ to DJ Stephen Send a message via AIM to DJ Stephen Send a message via MSN to DJ Stephen Send a message via Yahoo to DJ Stephen
Default Re: Add Tuts

Anyone else, root?
DJ Stephen is offline   Reply With Quote
Old 03-12-2006, 01:39 PM   #5
Fully Optimized
 
-Paul-'s Avatar
 
Join Date: Jun 2005
Posts: 2,242
Send a message via AIM to -Paul- Send a message via MSN to -Paul-
Default Re: Add Tuts

how about a link...
-Paul- is offline   Reply With Quote
Old 03-12-2006, 03:23 PM   #6
Fully Optimized
 
Join Date: Jun 2005
Posts: 3,275
Send a message via ICQ to DJ Stephen Send a message via AIM to DJ Stephen Send a message via MSN to DJ Stephen Send a message via Yahoo to DJ Stephen
Default Re: Add Tuts

alink to what?
DJ Stephen is offline   Reply With Quote
Old 03-13-2006, 02:38 PM   #7
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,004
Default Re: Add Tuts

link to the site in question....
flipper has seen it?

what sort of form do you want?
are you looknig to aprove the tutorial first? if so then why not have people email it to you?
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 03-13-2006, 02:54 PM   #8
BSOD
 
Flipper's Avatar
 
Join Date: Mar 2006
Posts: 246
Default Re: Add Tuts

Quote:
link to the site in question....
http://www.srcomputers.info/X6%20Cor...1%5D/index.php

Quote:
flipper has seen it?
yes i am helping develop it although i am a bit busy lately.

Quote:
are you looknig to aprove the tutorial first? if so then why not have people email it to you?
I believe he wants in some sort of administration panel, in which he can view it in there and hit approve or accept etc...and then have it post itself.
Flipper is offline   Reply With Quote
Old 03-13-2006, 03:25 PM   #9
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,004
Default Re: Add Tuts

well in that case why not have...

<form action="mail.php" method="post">
Your email address: <input type="text" name="email" />
Your tutorial title: <input type="text" name="title" />
category: <select name="category">
<option value="strings">Strings</option>
<option value="forms">Forms</option>
<option value="mailers">Mailers</option>
(etc...)
</select>
<textarea name="tutorial" rows="14" cols="30">
</textarea>
<input type="submit">
</form>


then a php paeg with this code

<?php
$email = $_REQUEST['email'];
$title = $_REQUEST['title'];
$category = $_REQUEST['category'];
$tutorial = $_REQUEST['tutorial'];

$body = "Hello steven\r\n
you've recieved an email from $email about a tutorial for your site, the tutorial is titled\r\r\n$title\r\n and is as follows:\r\r\r\n$tutorial\r\r\nthanks for your time!";

mail("your email address here", "Tutorial mailer", $body);

?>

you may have to look up that I've used the mail function correctly...

If this is too messy, then perhaps you should combine it with a file upload script, (however allowing people to upload files to yuor server could see people trying to abuse the service, and uploading rubbish to use up yuor disk space.
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 03-13-2006, 05:38 PM   #10
BSOD
 
Flipper's Avatar
 
Join Date: Mar 2006
Posts: 246
Default Re: Add Tuts

I believe webmonkey and I will have to code an administration panel...maybe that could mail to an admin panel?
__________________

Flipper is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off



All times are GMT -5. The time now is 10:06 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0