Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3281368
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:48:29+00:00 2026-05-17T19:48:29+00:00

I have a classifieds website, where anyone (no need for login currently) can post

  • 0

I have a classifieds website, where anyone (no need for login currently) can post a classified. It is PHP based.

The procedure for posting is currently like this:

click on “New Classified” —>
fill in a form of all information and hit “View classified before publishing it” —>

the form submits to a “verify classifieds” page, where users verify their inputs —>
If everything is okay in the “verify” page, then the user hits OK and the classified is published.

The above procedure isn’t exactly optimized. The first page (new_classified) where the form is, is pretty good, but the second page (verify) uses x number of hidden inputs in another form, used to contain the previous pages form inputs.

Now you know how it works on my site.

The issue today is that alot of companies want to publish their classifieds, and alot of classifieds at the same time. This means they have to fill out the form again and again currently.

I am thinking about creating a login, for companies only, so that their information is automatically inputted into the form, so all they would have to do is fill out the specific classified details like “headline” and “description” etc.

How should I do this in my case? Sessions?

This means I will have to create a new MySql table (I use MySql mainly) and store company-profiles there.

So do you think converting to sessions is alot of work? Worth it? More reliable?
I have never used sessions so I wouldn’t know.

As a last note, you should know that I use a picture upload tool on the first page of “new_classified“. When a user choses a file to upload, the page is automatically *refreshed*, and then the image is displayed on the same page under section “images uploaded”. I hope the session wont interfere with this approach.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T19:48:30+00:00Added an answer on May 17, 2026 at 7:48 pm

    I think it is worth your while to do logins, and even on a very basic level it will help you to identify who is using your site etc.

    This is probably a big debate around developers, what is the best way to do a good login system, whether it’s basic or not doesn’t matter, I think the concepts still stay the same.

    In your case I would suggest session cookies along with a login table consisting of user details. This would help you to verify the user on more than one occasion during his/her visit to the site.

    A login is checked against a user entry in a table and then a session cookie is created. This session you can choose to never expire also.

    You can then on every step check that the user is the user that is supposed to be logged in and get the companies details by checking the username. This would make for a better query in my opinion.

    Sessions aren’t a lot of work and it’s relatively easy to learn.
    http://www.php.net/manual/en/book.session.php

    http://www.9lessons.info/2010/02/php-login-script-with-encryption.html is a good example of what you can do with this. Have a look around still. There are a bunch of these great tutorials on the web.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a classifieds website. Each classified is linked like this originally: mydomain.com/ad.php?ad_id=Bmw_M3_M_tech_113620829 What
I have a classifieds website... Each classified is displayed in a php page called
I have a classifieds website built in PHP+JS, and i'd like to clean and
I have a classifieds website, and when posting a new classified users fill out
I have a classifieds website, and inside each classified, there is a small form.
I have a classifieds website. In every classified, there is a back link which
I have a classifieds website, which uses PHP and MYSQL. I have several pages
I have a classifieds website, where users can search for items. The search should
I have a classifieds website, and I have currently around 100thousand ads in a
I have a classifieds website, and users can search ads. The results are displayed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.