Add board php add ad job. Place an ad. Invalid email address entered

In order to quickly sell or buy the necessary goods, equipment, cars or services, you can add a cost-free information to our website. Today, thousands of traders are looking through their pages, trying to find, buy or sell. Everything you need is simple add your rant and check the reactions of people who are interested.

If you want to instill special respect for your proposition and nutrition, combine it so that you can see it among the masses of similar ones and gain respect for yourself. So, if you wanted to place a costless stupor, ask about those so that they are literate and inclusive.

We always do not ask you to provide false information, exaggerate or counteract it. Please note, we rely on the absolute reliability of the information provided. Don’t go too far and vaguely describe the power of the product you are selling. You only have a few hundred characters to be completely blindsided. Don't waste them too much.

What's wrong with being completely dumbfounded?

Pershe, for what they are dying of respect - this is the title. If you want to give a shocking impression without cost, focus on the title yourself. It is necessary to create it in such a way that it is intriguing and at the same time being as expressive and concise as possible. Be sure to identify your target audience before being overwhelmed.

What did you believe? post the stunner about car sales, be as specific as possible. At the header of such a statement, it is important to indicate all the important parameters that are useful for the buyer. If, for example, this is an item of clothing that you are interested in, try to intrigue, and even if you want to attract the purchaser yourself to your horny franks, and not to a dozen similar ones.

It’s not a problem to be stunned without harm in our hour; it’s impossible to lose such a great vestment. If you need a quick result, keep your sentences clear and, most importantly, short. In this case, we have every chance of being enjoyed and read to the end.

Don’t forget: the more information, the greater the chances of success. Be honest and informative. Important taxes are dumbfounded, in which there will be such principles as price, power of the product, its advantages and shortcomings, as well as the date of issue and the term of attribution, such as this.

Another important (and sometimes crucial) factor is the visibility of the photograph. By giving potential buyers (sellers) the opportunity to be visually familiar with the description of the object, you are deducting +1 from your rating of confusion. If the pictures are not there, then no one has been informed about it, which is unlikely to be noted. People will demand there is no visual contact, even Zir is one of the most important organs of sensitivity, and we all began to vibrate, spiraling on our data.Also, if you want to safely place the shock, do not forget about the photo.

Come on, it’s time to think about contacts. Try to look for everything can be all possible, we’ll shine the brown brown with you ZV ZV "I have to be. There are episodes when people ignore only the fact that the author is speaking about the need to spend mobile money. In addition to phones, fill in your coordinates on the Internet, and in any case, what will happen: e- mail, icq number, im"I'm in skype, id in the social network - a smut, so that people can contact you and remove the quick answer to their request.

Now you know how to publish a review safely so that it is marked and read. Store and publish them on our site, and we will ensure the success of your operations.

In contact with

Hello everyone, today I want to tell you about something fast way with which you will learn how to assemble high-quality message boards in your country or desired region.

A day ago, I received an offer to sell a product that was left with the owners after the business closed. Naturally, creating a website and draining traffic through the context is out of the question, and message boards are very suitable for this business and give quick results.

And if there are few views on your ads, you can use Yandex.Direct or paid services of message boards (raise to the top, highlight, etc.), fortunately you can pay for them in any convenient way: WebMoney, Privat24 or.

By the way, since I started about paid services, then I want to immediately share with you my placement experience paid advertisements on the website + offline newspaper in the desired region:

Can you imagine? And so 3 times in a row, I created an ad, filled out a bunch of fields, and after moderation, I can’t edit the ad, because they fucking delete it. However, the situation with boards in Ukraine is very sad, we can single out only one worthy and user-friendly one - OLX.ua, everything is thought out to the smallest detail...

But since we need a lot of coverage target audience, we can’t get by with just one board. But there is no point in posting to everyone, because many are spammed to the point of not wanting to, or have no traffic at all. This is what I want to talk to you about today and show you how to quickly and effectively cut off such illiquid crap for any region or even country.

I think every person, when searching for boards, searches for the query “list of message boards + region/country” and finds some shitty directories with dead sites with zero output. But, we will be smarter and collect the list ourselves; just in case, I will publish the list for Ukraine at the bottom of the post, although it is not a fact that it will be relevant in a couple of months. And so let's get started:

How to collect a list of traffic message boards?

No way!

Just kidding of course)

1. The first thing you need to do is collect a list of existing boards in the desired region, for this I used the FastTrust software, which has already grown into online version It should be used to check the quality of links, but we will use it to parse boards and sort them by quality.

2. Go to FastTrust and open the tool "Search results" and first select, for example, Google:

- Specify the region or domain zone google.ru/google.com.ua, etc.
- Select the required number of results in the search results
- We write a request “Bulletin Board”

We get a list of sites!

3. Repeat step 2 for search engine Yandex, on the same principle.

4. In steps 2 and 3, we change the queries, for example “publish an ad for free”, “bulletin board + region”, “auto bulletin board”, etc. Whatever your imagination is enough for, if you don’t have it, use the selection of Wordstat queries http://wordstat.yandex.ru/.

The end result should be a solid list of boards:


5.
Naturally, there are duplicates here and we must clear them using the magic button in FastTrust:


381 sites, you won’t find so many in any one list. If you need this list, you can download it:

6. Now you need to remove important parameters for the next site analysis to exclude low-visited sites. Although you don’t have to do this, you can place ads on all sites.

If we rely on the Pareto law (the 80/20 principle) of the wiki, then 20% of the sites on the list will provide 80% of the traffic/views, and the remaining 80% of the sites will provide only 20%. Now we will try to find this golden 20%.

To do this, select the following parameters in the program:

- Attendance on LiveInternet.ru

In my case, Li.ru statistics cost very little; in the ua segment they use statistics from BigMir, I.ua, Mail, or the statistics are simply closed completely. LiveInternet is more popular in RuNet, but we still won’t exclude it, because even if it’s not everywhere, it’s still there, which means we can draw conclusions about website traffic.

7. Cleaning the list with the Alexa Global Rank value "-1":

Sort the column " Daily attendance" and mark in it the data of more than 10K traffic per day, then sort by " Alexa"(the less the better), I chose a value up to 100,000, I removed everything more than 100 thousand from the list (except for those who have more than 10K traffic):


8. Now you need to clear the database of non-thematic and narrow-profile sites:

In my case, these are car boards, sites with vacancies and other rubbish that I don’t need now.

In total, I got 17 high-quality and visited message boards out of 381, I’m sharing the list with you, as promised at the beginning of the post:

Main mirrorTICDaily traffic on LI.ru
http://profile.all.biz/board/add3200 79794 2140
http://prom.ua20 -1 4238
http://aukro.ua/NewItem/900 9 4400
http://www.ria.com/objavlenie/2200 44069 4856
http://olx.ua1400 28743 5232
http://doska.io/login?return_path=/add20 -1 19081
http://board.join.ua/add/10 -1 19757

One of useful functions provided by the PHP language is the possibility of file input/output, which allows you to save and subsequently display on the site the data entered by visitors, which is impossible to do standard means HTML. This allows you to use PHP to create dynamic structures such as message boards and WEB forums. In addition to supporting standard text I/O operations PHP file also supports SQL queries, for this purpose it is usually used MySQL DBMS(http://www.mysql.com), but describing the interaction between PHP and SQL is beyond the scope of this article.

To illustrate the capabilities of PHP, let's create a simple bulletin board for a website. Our bulletin board will be supported by the following files:

  • A file for displaying messages on the bulletin board and a form for entering a new advertisement. (board.php)
  • File for processing form input results ( submit.php)
  • A text file containing the entered messages. ( data.txt)
  • File for administering our message board ( admin.php)
  • Means of protection against unauthorized access to conference data

Users will be given the opportunity to enter data into the form, which will subsequently be displayed on the HTML page. Shape are standard HTML element, and is defined using the following directive:

action- defines the script that will be processed.

method- defines the method for transferring data to this script. There are only two methods: post - all form data is sent in the body of the request, and get - data is sent at the end of the URL. We will use the post method.

Inside the form tag there are its elements - text fields, text areas, confirmation or reset buttons, etc. Text fields and buttons are defined using the INPUT tag; for a text field it has the following format:

name- defines the name of the variable into which the entered data is saved

size- length of the text field in the browser

maxlength- maximum allowed number of characters entered in the field

value- the default value displayed in the text field.

For buttons to confirm and cancel data entry, the Input tag has the following format:

button type- submit for the form input confirmation button and reset - for the form data reset button Example of buttons:

To enter multiline text A text area is used, which is defined using the Textarea tag:

name- defines the name of the variable into which the entered data is saved.

rows- number of lines in the text area.

cols- number of columns in the text area.

Example text area

To enter data into our bulletin board we will use three text fields: the name and e-mail of the person who wants to post a message, as well as the subject of the message, one text area (text of the message) and two buttons: confirm data entry and reset. Below is the source text of the form:

Your name:

Your email:

Offer:>br>
Description:


>

So, the user entered the data and clicked on the confirm button. Control of form data processing is transferred to the file submit.php. Let's take a closer look at it. First of all, we need to make sure that the user has entered the correct data into the form, namely, filled out all the required fields and included the “@” symbol in the “e-mail” column:

//Check for empty fields if ($FIO == ""): print "

The "Your name" field is empty

"; else: if ($tema == ""): print "

The "Subject" field is empty

"; else: // Check for the presence of the "@" symbol in the e-mail $eml=stristr($email,"@"); if ($eml == false): print "

Invalid email address entered

"; else:

If the data is entered in compliance with the rules established by us, we will write it into a text file, observing the following conditions:

  1. each message occupies one line in text file and are separated by a transition symbol to new line"/n",
  2. message sections are separated using the "|" character
  3. The data entered by the user should not contain the characters "","%", which should protect our message board from hacking and spam.
//open the file for addition $fd = fopen("data.txt","a"); // Checking whether the user has entered prohibited characters "|","","%" and "\n" inside //messages and deleting them. $FIO = str_replace("|","", $FIO); $FIO = str_replace("","", $FIO); $FIO = str_replace("%","", $FIO); $email = str_replace("|","", $email); $email = str_replace("","", $email); $email = str_replace("%","", $email); $tema = str_replace("|","", $tema); $tema = str_replace("","", $tema); $tema = str_replace("%","", $tema); $zakaz = str_replace("|","", $zakaz); $zakaz = str_replace("","", $zakaz); $zakaz = str_replace("%","", $zakaz); $zakaz = str_replace("\n"," ", $zakaz); // generating a row to write to the file $user_row = $FIO. "|".$email."|".$tema."|".$zakaz."\n"; //write a line to a file fwrite($fd, $user_row); // closing the file fclose($fd);

After processing the data entered by the user, either the processed data is displayed in the form in which they will be displayed on the bulletin board, or the reason why the data is not entered into it.

//display correctly entered data

">

">Close

end_input1($write_file1); endif; endif; endif;

In file board.php Before the form, we will introduce the operation of extracting data from the data.txt file and displaying it in readable form:

// read all messages from the file into an array, where each element of the array is one // line $work_file = file("data.txt"); // start processing data if the file is not empty. if ($work_file != ""): //calculating the number of lines $numbers = count($work_file); if ($numbers != "0"): // process all lines sequentially and display them on the screen for ($numbers; $numbers > 0 ;$numbers -= 1): $work_str = array_shift($work_file); $FIO = strtok($work_str,"|"); $email = strtok("|"); $tema = strtok("|"); $zakaz = strtok("|");

">


endfor; endif; endif;

The pictures below show the page view board.php And submit.php after entering data.

Visitors, of course, can enter any messages into the bulletin board, but this certainly does not mean that all of them will suit us. Of course, we can simply remove unwanted lines from the file data.txt directly by logging into the server via FTP, but this is naturally not convenient. It is better to do this using a special HTML administration page. Let's look at how to do this in more detail.

First of all, let's determine that the administration password is stored in a separate file called password.txt. Let's extract the password from this file:

$pass_file = file("password.txt"); $password = array_shift($pass_file); The figure shows a form for entering a password:

In the administration file, we use sequential calls of several forms; to ensure this, we use one script to process the form, i.e. Let's assign a string variable to the form for entering the password:

$form = "

Enter the administrator password


"; The list of messages is displayed only if the password is entered correctly: if ($password == $entpass): //Read the file with messages $work_file = file("data.txt"); //If the file is not empty, then display messages if ($work_file != ""): $numbers = count($work_file); if ($numbers != 0): for ($numbers; $numbers > 0 ;$numbers -= 1): $work_str = array_shift($work_file); $FIO = strtok ($work_str,"|"); $email = strtok ("|"); $tema = strtok ("|"); $zakaz = strtok ("|"); ? >

\">

The message output is similar to that used in board.php with one difference - after each message a form with a Submit button is displayed. Clicking on this button entails storing in the del_msg variable the number of the page that we want to delete.


Back"; endif; endif; else: // Here a link to the conference start page is displayed, which will // allow you to exit the recording deletion mode without deleting. print "

Back

";endif;

Deleting a record occurs as follows - we completely read all the lines from the file into an array, where each element of the array is one line, then we open the file for rewriting, and write it completely without the line marked for deletion.

$work_file = file("data.txt"); $numbers = count($work_file); $fd = fopen("data.txt","w"); for ($numbers; $numbers > 0 ;$numbers -= 1): $work_str = array_shift($work_file); if ($del_msg != $numbers): fwrite($fd, $work_str); else: print "

The selected message has been deleted!

"; endif; endfor; fclose($fd);

After clicking the "Delete" button, a message indicating that the message was successfully deleted is displayed and a link is offered to return to the message board home page.

The presence of a file with a password in the bulletin board directory forces us to organize protection against visitors viewing it directly via http. To do this, in the bulletin board directory, we will place a file containing directives for Apache that would prohibit direct viewing of files with the extension .txt. The file will be called .htacces and will contain the following directives:

order allow, deny deny from all

The message board described in the article is the simplest example of such structures; among the possible ways of complicating it are the introduction of a form for entering a password, breaking messages into topics by which users can group their messages, indicating the date and time of posting a message, etc.

Basic information on posting ads on the website portal


  • This section is intended for posting free advertisements and searching for goods and services, where advertisements from individuals and legal entities are published.
  • Both registered and unregistered users of the site portal can submit advertisements to the site.
  • All advertisements must comply with the legislation of the Russian Federation and these rules.
  • After publication, advertisements are reviewed by a moderator.
  • Carefully and correctly fill out all fields in the ad form.
  • The fields in the ad form must be filled in according to their purpose.
  • One advertisement may contain information about only one object of sale, service, exchange or demand.
  • It is prohibited to submit multiple advertisements related to one object of sale, service, exchange or demand.

It is prohibited to post:


  • advertisements that contradict the current legislation of the Russian Federation;
  • commercial advertisements containing advertisements for commercial firms, stores, services, etc.
  • advertisements containing obscene and abusive language;
  • advertisements directly or indirectly advertising sites;
  • advertisements that deliberately mislead users for the purpose of obtaining commercial gain or without...
  • advertisements with attached photographs that are not related to the advertisement, as well as those that contradict the current legislation of the Russian Federation and moral standards.

Rules for posting ads


  • Responsibility for the accuracy of the information contained in advertisements lies with their authors.
  • Advertisements for the purchase and sale of: foreign currency, all types of weapons and active defense equipment, medicines, including dietary supplements, poisons, narcotic and toxic substances, exotic wild animals and plants are not accepted for publication.
  • Advertisements with requests for prepayment, postal delivery by cash on delivery or in an envelope of cash, as well as other attachments, are not allowed to be published.
  • Ads whose content violates the law (contain propaganda of violence, racial hatred, pornography, etc.) are not allowed to be published.
  • Ads whose content violates generally accepted norms of morality and morality are not allowed to be published.

Advertisements may also be removed from the site for the following reasons:


  • The same ad was submitted to the site within one day;
  • The main fields of the ad are not filled in;
  • The information contained in the ad is contrary to the site policy;
  • The information contained in the advertisement is incorrect;
  • The ad title does not contain information about the product/service offered/in demand.
  • The ad title text is written in upper case, with the exception of the first letters of capital words and proper names. Only abbreviations can be written entirely in uppercase.
  • The ad title contains repeated exclamation and question marks and ellipses.
  • The text or title of the ad contains multiple spelling and punctuation errors and no separating spaces.

It is allowed to attach photos with extensions: .jpg, .jpeg or .JPG, .JPEG and no more than 10 MB in size.
It is prohibited to upload photographs that are not related to the ad, as well as those that contradict the current legislation of the Russian Federation and moral standards.

The project administration reserves the right not to enter into correspondence with the authors of advertisements.
The administration reserves the right to delete advertisements without prior notice or explanation.
Advertisements that do not comply with the above conditions will be deleted.

The posted ad will be available for public viewing ONLY after it has been reviewed and approved by a moderator.