Jump to content


Tutorial Submition Script


20 replies to this topic

#1 Pbkilldezines

    Young Padawan

  • Members
  • Pip
  • 31 posts

Posted 01 October 2004 - 05:54 PM

Dose anypne have a good secure script to process tutorial submition forms? I need one whare you can add a file into the email that you can limit the size like on good-tutorials.com and here?

Please Help ! ! !

#2 Dabu

    Young Padawan

  • Members
  • Pip
  • 148 posts
  • Location:Greensboro, North Carolina

Posted 01 October 2004 - 05:56 PM

they all store it in a database not in an email as far as I am aware. It is much easier to use mysql then to send attachemnts using PHP

but if you still wana use atatchments check out:
Zend PHP Help

#3 Pbkilldezines

    Young Padawan

  • Members
  • Pip
  • 31 posts

Posted 01 October 2004 - 06:00 PM

well can anyone tell me how to do either of the two?

#4 Dabu

    Young Padawan

  • Members
  • Pip
  • 148 posts
  • Location:Greensboro, North Carolina

Posted 01 October 2004 - 06:00 PM

ok well check my eidted reply. If you decide to do mysql I can help with that too

#5 Faken

    Pimpmaster G

  • Admin
  • 5,918 posts
  • Gender:Male
  • Location:Montreal, Canada

Posted 01 October 2004 - 06:01 PM

Hey,

have you looked at any tutorials? Here's a link to tutorials explaining how to use forms to upload files to your server. http://www.pixel2life.com/tutorials/php.ph...t=10&subtut=159

So you'll need that and a script that submits to a database.

Faken

#6 Pbkilldezines

    Young Padawan

  • Members
  • Pip
  • 31 posts

Posted 01 October 2004 - 06:04 PM

ill do MySql it dosent matter to me i just want something secure and reliable that dosent take to much PHP mysql knowledge

I have to go eat really quick so if you can post sciprts or ideas here or send me an email at

tutorials @ pbkill . com

obvioulsy without the spaces :)

#7 Faken

    Pimpmaster G

  • Admin
  • 5,918 posts
  • Gender:Male
  • Location:Montreal, Canada

Posted 01 October 2004 - 06:08 PM

Well this does take some PHP knwledge... you can't just whip it together not knowing what you are doing. Again, check out the link I provided for instructions and script examples.

Faken

#8 z77

    Content Contributor

  • Members
  • Pip
  • 176 posts
  • Location:Atlanta
  • Interests:Art, Computers, Goldfish, Church, Pizza, Ice Cream, Frisbee, Paintball, PHP, C4D, Photoshop, Friends :)

Posted 01 October 2004 - 06:22 PM

If you are truly interested in this field, I really recomend learning php and mySQL. Not only will it save you a lot of time, life, anger, work, and dignity in the long run, but you will also have a better understanding on how to make more useful scripts in php.

#9 Pbkilldezines

    Young Padawan

  • Members
  • Pip
  • 31 posts

Posted 01 October 2004 - 06:25 PM

well i do have knowledge in it but im not a super brain, could you give like a small tutorial on how to do it with mysql and yes my server supports it i know, i have used it before

#10 z77

    Content Contributor

  • Members
  • Pip
  • 176 posts
  • Location:Atlanta
  • Interests:Art, Computers, Goldfish, Church, Pizza, Ice Cream, Frisbee, Paintball, PHP, C4D, Photoshop, Friends :)

Posted 01 October 2004 - 06:28 PM

Well, Im really busy working on some stuff right now, but I have a nice tutorial on creating a News CMS on my site already. After you read through it, you will know how to submit stuff into a database, but you will need to know a bit more regarding php dynamic urls before you will understand how to display them automatically.

I should be coming out with a bunch of php tutorials next week (I go in a rotation through different kinds of tutorials).

http://www.greycobra...rial=view&id=53

#11 Pbkilldezines

    Young Padawan

  • Members
  • Pip
  • 31 posts

Posted 01 October 2004 - 08:48 PM

So... no one els has any help on this?

#12 Gio

    Jedi In Training

  • Members
  • PipPip
  • 317 posts

Posted 01 October 2004 - 08:56 PM

Pbkilldezines, on Oct 2 2004, 01:48 AM, said:

So... no one els has any help on this?
Not to be mean, but were not going to do everything for you. Read greycobra's tutorial and modify it to suite your need.

#13 z77

    Content Contributor

  • Members
  • Pip
  • 176 posts
  • Location:Atlanta
  • Interests:Art, Computers, Goldfish, Church, Pizza, Ice Cream, Frisbee, Paintball, PHP, C4D, Photoshop, Friends :)

Posted 01 October 2004 - 10:24 PM

There is a difference between wanting to do something, and beeing too lazy to do any work and expect someone to code it for you.

If you want, you can request a tutorial for it here at P2L or in our request line at www.greycobra.com, but dont expect a free script just for your needs.

Someone who truly wants something like this will take the time and effort to learn it themself. Trust me when I say that thats some of the best help you will ever get, even though it seems harsh. Give a man a fish and he will come back for more, but teach the man how to fish, and he will learn php as well.

#14 Faken

    Pimpmaster G

  • Admin
  • 5,918 posts
  • Gender:Male
  • Location:Montreal, Canada

Posted 01 October 2004 - 11:12 PM

z77, on Oct 1 2004, 11:24 PM, said:

Give a man a fish and he will come back for more, but teach the man how to fish, and he will learn php as well.
<_< Just sprayed water on my desk when I read that hahaha... ns.

Faken

#15 Jamie Huskisson

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 3,648 posts
  • Gender:Male
  • Location:Nottingham, UK

Posted 02 October 2004 - 03:34 AM

Pbkilldezines, on Oct 2 2004, 01:48 AM, said:

So... no one els has any help on this?
we have help you just want us to write it for you instead

#16 Pbkilldezines

    Young Padawan

  • Members
  • Pip
  • 31 posts

Posted 02 October 2004 - 08:55 AM

im not expecting anyone to write a script for me... greycobras tutorial dosent help at all

#17 Gio

    Jedi In Training

  • Members
  • PipPip
  • 317 posts

Posted 02 October 2004 - 12:58 PM

You have to read it, thouroughly, and then modify it. Were not going to do it all for you dude, try to code it, and report back with any bugs or issues!

#18 Pbkilldezines

    Young Padawan

  • Members
  • Pip
  • 31 posts

Posted 02 October 2004 - 04:18 PM

Well.. his tutorials still didnt help but I played around in MYSQL and i now have a working submition system. It goes into phpmyadmin, how can i make it so when people submit thier tutorials the image gets uploaded somewhare. beause for now it just tells me the name of the image but i dont think its uploading it?

#19 InFnit

    P2L Jedi

  • Members
  • PipPipPip
  • 822 posts
  • Interests:My interests are my:&lt;br&gt;&lt;br&gt;iidsite - http://iid.outer-heaven.net&lt;br&gt;iidblog - http://iid.outer-heaven.net/blog/&lt;br&gt;iidcommunity - http://iid.outer-heaven.net/forums/&lt;br&gt;P2L - http://www.pixel2life.com

Posted 29 November 2004 - 12:04 AM

Im extremely new to PHP, and have posted a request in the Tutorial Request forum saying what I know and how I think it may work. Can someone please see if they can help, maybe teach me how step by step. Thanks

--InFnit

#20 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 29 November 2004 - 11:15 AM

http://graphic-desig...x.php?id=submit

you talking about something like that correct? it has the whole image upload script and database update aswell... i've also got a submission admin system where you can select submitted tutorials and either approve or denie them, then move them to the proper tables for public display.

i can give you a modified version of the code when i get time if you want.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users