S
S
s2sk13372017-04-11 06:09:05
contextual advertising
s2sk1337, 2017-04-11 06:09:05

How to pass GET arguments to PHP include?

Hello.
All my links are redirected to index.php, they are processed there and then the necessary page inclusion is called. But there was a problem, I want to pass some arguments to the page through the GET method.
This is how the include is called in index.php

if(если директория существует) include "директория что ввел пользователь";
else return 404;

But how to transfer all the parameters that go through GET to the file that is connected via include?
That is, here is a link: "site.ru/dir/page.php?num=1"
And the page is called what is needed, but everything that goes on goes through "?" not transferred to inclusion. I think understood.
How to decide?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Anton Kiselyov, 2018-03-30
@Mansolid

Paid channels for attracting traffic
1. Search advertising in Google, Yandex
2. Google Display Network, Yandex Advertising Network (this is the so-called banner advertising on partner sites of these search engines)
3. Remarketing Google, Yandex, Facebook, etc.
4. Video advertising YouTube
5. Targeted advertising in social networks - Instagram, Facebook, Vkontakte, Odnoklassniki and other social networks
6. Teaser advertising
7. Banner networks
8. Mobile advertising (advertising on mobile devices)
9. Advertising in applications and games of social networks, mobile applications
10. Advertising in games
11. Buying/ordering posts on pages and groups of social networks — Instagram, Facebook, Vkontakte, Odnoklassniki
12. RTB traffic buying technologies
13. GDN advertising
14. Using In-text advertising systems
15. Banner exchange networks
16. Direct placement of banners on websites
17 Direct placement of articles with a link to the site on popular blogs, sites (advertising publication)
18. Branding of the background, sections of the site
19. Pop-up advertising
20. Paid e-mail mailing on the existing database
21. Work with LOM (public opinion leaders - actors, musicians, athletes, bloggers, etc.). This channel can also be called conditionally free, because you can always find a way to negotiate or work as a barter.
22. Sponsorship of sections
23. Sponsorship of conferences, events (to get a link on the site of this event)
24. Launching special projects with other sites
25. CPA networks
26. Creation and distribution of viral advertising
27. Co-branding projects - exchange of the existing audience of your site with a partner site, when one site advertises the services of another and vice versa.
28. Price aggregators.
29. Buying other sites with traffic, followed by redirects to the pages of your site
30. Launching a promotion on aggressor sites - coupon, etc.
31. Partnership with cashback services
32. Advertising in the press, print media, catalogs
33. Advertising on television, radio
RUSSIA
1. market.yandex.ru
2. google.com/shopping (placement via Google Merchant Center)
3. torg.mail.ru
4. price.ru (Rambler.Supermarket)
5. wikimart.ru
6. ozon .ru
7. pulscen.ru
8. abc.ru
9. enter.ru
10. tiu.ru
11. sravni.com
12. nadavi.ru
13. blizko.ru
14. tkat.ru
15. magazinov.net
16. konkurentov .net
17. gde-nedorogo.ru
18. russian.tradekey.com (b2b goods and deals)
19. nbprice.ru (laptops)
20. mobiguru.ru (electronics)
21. kids-price.ru (children's goods)
22. stolplit.ru (furniture)
23. mebel-price.ru (furniture and interior)
24. activizm.ru (sports and tourism goods)
25. active-price.ru (sports goods)
26. fishing-price.ru (fishing goods)
27. remont -price.ru (building materials and tools)
28. babayagga.com (Russian manufacturers)
UKRAINE
29. prom.ua
30. price.ua
31. ek.ua
32. hotline.ua
33. zakupka.com
FOREIGN
34. ebay.com
35. aliexpress.com
1. Instagram promotion
2. Instagram mass following and mass liking
3. Bots
4. Creating branded widgets for third-party sites (calculators, widgets, news widgets, currency rates, weather forecast widgets, players for inserting into the site, playing presentations, etc.)
5. Wikipedia
6. Link to the site from a personal profile in social networks , status in skype and other social networks.
7. Own affiliate program
8. Own referral program
9. Buttons for receiving social signals on the site (like and share buttons)
10. Bonuses and gifts to users for a share
11. RSS subscription to a blog or news
12. Block for collecting e-mail, with follow-up e-mail activity (trigger mailings, regular newsletters, etc.)
13. Collection of Push users, followed by push-marketing activity (trigger mailings, regular newsletters, etc.)
14. Groups of a company, site or project in social networks
15. Personal profile in social networks
16. Company profile in LinkedIn
17 Creation of events, meetings in social networks
18. Creation and maintenance of accounts on thematic forums and blogging platforms to attract traffic from them
19. Youtube channel of the company or a channel on another video hosting
20. Account with publications and presentations on Slideshare
21. Sending press releases to journalists , news publications, news sites.
22. Placement in the aggregator of press releases and news
23. Placement in thematic directories
24. Placement in business directories
25. Registration in regional directories of companies
26. Registration on message boards
27. Development of social bookmarking services
28. Registration on job search sites
29. Registration in niche ratings of sites
30. Registration in google my business
31. Adding an address company and site on Yandex, Google, 2Gis maps, etc.
32. Placement in geolocation services, such as Foursquare
33. Placement in recommendation services, such as Tripadvisor
34. Image promotion in Yandex, Google
35. Internal SEO site optimization
36. Tracking mentions of your site on third-party sites with a subsequent appeal to the webmaster and a request to leave a link to you in the mention of your site
37. Company blog or personal blog
38. Conducting online master classes, webinars, online conferences on the site
39. Creation of electronic books , instructions, checklists and other materials that include a link to the site
40. QR codes
41. Link to the site on the last side of the presentation during a speech at conferences
42. Signature in a letter
43. Distribution of branded materials with a link to the site on thematic resources, torrents, file exchangers, repositories, for example - GitHub
44. Organization of a competition, game, survey, test on the site - with the functionality to share the result on social networks
45. Creation of related sites (for example, a generator of company names) with transposition or offer to your site
46. Creation of a network of thematic and near-thematic information sites or blogs, with subsequent linking with your site
47. Posting infographics on forums, thematic sites and
48. Sharing photos from the site on social networks
49. Developing your own application for a smartphone
50. Producing your own podcasts and distributing them on other sites
51. Placing online training courses, e.g. on Udemy, Coursera, Prometheus
52. Creating branded memes and comics
53. Maintaining LiveJournal and other online magazines
54. Creating a plug-in or browser extension
55. Creating a plug-in for popular CMS - WordPress, Joomla, 1C-Bitrix, MODx, Drupal, OpenCart and others.
56. Integration with popular SaaS and other products
57. Open API for developers
58. Link to the site for products, souvenirs
59. Registration of pages on squidoo and hubpages
60. Creation of counters and badges for other sites
61. Useful online programs and services on your site for users
62. A gift for a targeted action (for example, send a book in exchange for an e-mail, repost, share, tweet, etc.)
63. Working with guest posts when you are preparing material for a third-party blog / site and refer to your site in its text). True, not every site wants to publish an article for free with such a link
64. Mutual exchange of links with other projects
65. Crowd Marketing - commenting and participating in discussions of thematic publications on forums and blogs with a link to your resource
66. Working with questions on special QA services (Toaster, Mail answers, Quora,)
67. Buying dropped domains and setting redirects to your project
68. Direct mailing
69. In a personal profile on a social network - specifying the site as a place of work
70. When using some technology, service or cooperation with some company, you can be placed on the site of this partner as a client
71. Viral Easter eggs on the site - such things very often diverge virally on social networks, forums and blogs
72. Publication of your services on freelance exchanges, artist search sites, etc.
73. Adding to news aggregators and news feeds
74. Registration on sites with reviews of companies, goods / services, employer
75. Buying signatures on forums from top participants
76. Link to the site in a personal profile on the forum
77. Placement of products, goods and services in Marketplaces, for example: themeforest.net, prom.ua, aliexpress.com
78. Sites with promotional codes, coupons, discounts
79. Publications on sites with e-books, PDF materials
80. Portfolio sites - sortfolio, behance.net, siteinspire
81. Mailing to friends in social networks
82. Free mailing services, for example subscribe.ru
1. Spam mailings (e-mail, social networks)
2. Spam on forums
3. Doorways
4. Hacking sites and setting links from them
5. Referral spam
6. Swapping (replacing content on pages in the top search engines with the content we need)
7. Cloaking ( different presentation of the page to the user and the search engine)

G
Galina Kuznetsova, 2018-04-18
@web-infodonsk

Targeting by region/gender/age/keywords is available in the Google Display Network, but there are even more settings.
Targeting by region / gender / age / interests is in VKontakte.
in theory, you need to look at your project and select an advertising channel depending on what you are selling and what kind of conversion is on the site. If you want, write to me at [email protected] with a link to your website and sales regions, if I can help you, I will advise.

K
kpa6uu, 2017-04-11
@s2sk1337

Hello.
$_GET is a superglobal array .
It will be available in included scripts. There can be no problems with this.
Nooo ok. Even if you fix the script - google LFI or RFI .
Try to build the application without including scripts.

R
riot26, 2017-04-11
@riot26

$_GET['num'] = 1;
include "site.ru/dir/page.php";

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question