Jump to content

Client Upload.


Hazukiy

Recommended Posts

Hi, there's a site I saw which allows it's users to upload a link that will be implemented to the site. Now I was wondering but how would you do this in PHP? 

 

To elaborate I would like it so that the user can upload a link and it'll implement it on the site through php?

 

So for example I want to add a link to the site WITHOUT having any kind of login required, so something like "www.google.com" and after it'll appear on the site under a list. How would I make it so it does this function? Thanks.

Link to comment
https://forums.phpfreaks.com/topic/279218-client-upload/
Share on other sites

This is quite simple.

 

A user submits a form to a php script that saves the forms contents (the link) to a database.

 

You then have another script that queries that database and displays all this data (links).

 

If you don't know how work with forms, insert data into a database or how to read data out of a database I suggest you start here and here.

 

In fact that entire book is a good read for beginners. http://www.tuxradar.com/practicalphp

Link to comment
https://forums.phpfreaks.com/topic/279218-client-upload/#findComment-1436209
Share on other sites

This is quite simple.

 

A user submits a form to a php script that saves the forms contents (the link) to a database.

 

You then have another script that queries that database and displays all this data (links).

 

If you don't know how work with forms, insert data into a database or how to read data out of a database I suggest you start here and here.

 

In fact that entire book is a good read for beginners. http://www.tuxradar.com/practicalphp

 

Thanks a lot for the links, I'll get started on reading these ;)

Link to comment
https://forums.phpfreaks.com/topic/279218-client-upload/#findComment-1436324
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.