Jump to content

Client Upload.


Hazukiy
Go to solution Solved by trq,

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
Share on other sites

  • Solution

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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.