Next Page: 10000

          Application Developer I - West Virginia Universtiy Foundation, Inc. - Morgantown, WV      Cache   Translate Page   Web Page Cache   
Java Script, SQL, CSS, Drupal, PHP and object oriented programming. The West Virginia University Foundation, Inc., a non-profit specifically designated to aid,...
From Indeed - Thu, 28 Jun 2018 12:31:48 GMT - View all Morgantown, WV jobs
          Breakline in PHP with enters?      Cache   Translate Page   Web Page Cache   

@whoffman1031 wrote:

Can you break a line in PHP (from a textarea) with enters? If so, how?

Posts: 5

Participants: 2

Read full topic


          Faster multiple inner joins or simple select with repeated data      Cache   Translate Page   Web Page Cache   

@karentutor1 wrote:

Hi

I have some data that I need to access via a select query. However to get at it, I wold need to do about 4 inner joins on an id.

It is certainly simpler to just plug in one or two fields that are then repeated elsewhere in the database at the point of data entry (they are readily accessible at the point of data entry in the form of a php array).

However I worry that this means that the same fields (data) will be replicated in different tables.

However the select seems a lot simpler than a deep dive join between four tables on an id.

Is that a big no no? Is the select more efficient than a highly complex join?

Thanks!
Karen

Posts: 6

Participants: 4

Read full topic


          форкм      Cache   Translate Page   Web Page Cache   
Доброго! У меня не работает форум! Постоянно такое: "Warning: Illegal string offset 'member_id' in /home/p297631/www/fxgeneral.com/forum/2cp/sources/base/ipsMember.php on line 2967 Warning: Illegal string offset 'member_group_id' in /home/p297631/www/fxgeneral.com/forum/2cp/sources/base/ipsMember.php on line 2988 Warning: Illegal string offset 'member_group_id' in /home/p297631/www/fxgeneral.com/forum/2cp/sources/base/ipsMember.php on line 2990 Warning: Thawing bitwise options for MEMBERS: Bitwise field 'bw_is_spammer' has overwritten DB field 'bw_is_spammer' in /home/p297631/www/fxgeneral.com/forum/2cp/sources/base/ipsMember.php on line 3405" и т.д. Не подскажете с чем это связано??? Заранее спасибо!
          Comment on Who are the Richest Musicians in Nigeria? by makiovRhic      Cache   Translate Page   Web Page Cache   
Мне сможем осуществить доставку курьером по Питеру любых препаратов для мужской потенции из аптеки http://dapoxetine-spb.ru/viagra-generic.php .
          PHP OOP with design patterns task!      Cache   Translate Page   Web Page Cache   
I have a task that requires OOP knowledge in PHP, and you have to use a design pattern in the task. It's a simple task if you are expert with OOP.... it's an advanced task but simple, so please bid if... (Budget: $30 - $250 USD, Jobs: PHP, Software Architecture)
          PHP OOP with design patterns task!      Cache   Translate Page   Web Page Cache   
I have a task that requires OOP knowledge in PHP, and you have to use a design pattern in the task. It's a simple task if you are expert with OOP.... it's an advanced task but simple, so please bid if... (Budget: $30 - $250 USD, Jobs: PHP, Software Architecture)
          The Face Shop Trendy Nail Color Remover Lavender Review      Cache   Translate Page   Web Page Cache   

Skin Tone: Medium fair, warm undertones Hello ladies, In this post, The Face Shop Trendy Nails Lavender Nail Color Remover. Read on for more details on this product. Product Description: Nail polish remover with a sweet fragrance containing nail-moisturizing lavender extract to cleanse your nails without a whitening effect. Price: 95 PHP or 140 INR […]

The post The Face Shop Trendy Nail Color Remover Lavender Review appeared first on Makeupandbeauty.com.


          Software Engineer (Back-End)      Cache   Translate Page   Web Page Cache   
At Tajawal were looking for an experienced back-end software engineer who is passionate about a wide range of web technologies including NodeJS Php REST API Microservices (more) p Login for more job information and to Apply
          PHP - Query Database - Pass Values in URL - That Displays Results in Another Page - Click on Link      Cache   Translate Page   Web Page Cache   

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.


          Breakline in PHP with enters?      Cache   Translate Page   Web Page Cache   

Oh wow! Thanks. I wasn't sure!


          Breakline in PHP with enters?      Cache   Translate Page   Web Page Cache   

\n IS the enter key. (actually on some systems it's \r\n, but \n is still in there.) It's the escape character for a newline.


          Breakline in PHP with enters?      Cache   Translate Page   Web Page Cache   

Okay, I'm sorry for the confusion. But how would you break a line purely from the enter key, without /n.

Like this


          Breakline in PHP with enters?      Cache   Translate Page   Web Page Cache   

I'm.. not... entirely certain what you're asking, but I think the answer you're looking for is explode("\n").


          Breakline in PHP with enters?      Cache   Translate Page   Web Page Cache   

Can you break a line in PHP (from a textarea) with enters? If so, how?


          Faster multiple inner joins or simple select with repeated data      Cache   Translate Page   Web Page Cache   

I'm not sure I'm understanding the question. Maybe it's something like "Is assigning PHP values from multiple simple SELECT queries, and then using PHP to work with excess values, more or less efficient than assigning the PHP values from a more complex SELECT query that would need PHP to do less work with?"

Writing complex queries that are efficient use of the database is something that comes with practice and experience.

For example, it may be easy enough to have code for "get me these 100 things from the database, then have PHP return these 10 things from those results". But when the number of results gets large, there will be more wasted PHP resource use. At some point it will be obviously more efficient to "get me these 10 things from the database, then have PHP return those 10 things".

Without seeing examples of your queries or the table schemas there can be only guesses, but if the fields that are of most importance are indexes your complex SELECT queries should run more efficiently than if they are not indexes. Full table scans can be slow.


          Faster multiple inner joins or simple select with repeated data      Cache   Translate Page   Web Page Cache   

Hi

I have some data that I need to access via a select query. However to get at it, I wold need to do about 4 inner joins on an id.

It is certainly simpler to just plug in one or two fields that are then repeated elsewhere in the database at the point of data entry (they are readily accessible at the point of data entry in the form of a php array).

However I worry that this means that the same fields (data) will be replicated in different tables.

However the select seems a lot simpler than a deep dive join between four tables on an id.

Is that a big no no? Is the select more efficient than a highly complex join?

Thanks!
Karen


          PHP Developer      Cache   Translate Page   Web Page Cache   
OH-Dayton, Dayton, Ohio Skills : TOP must-have skills (Measurable skills, technologies, etc.) • Expertise and projects experience of AngularJS. Angular 4 would be a plus, OR, • Expertise and projects experience of PHP and MVC Frameworks – Laravel and Zend Framework, OR, • Decent knowledge/experience in both AngularJS and PHP/Laravel. • Knowledge of devops/linux would be a plus. Description : Description: • A
          Reply To: PHP 7      Cache   Translate Page   Web Page Cache   

I’m in favor that plugin developers start to operate ONLY in PHP7+. That way the users would force the hostings to upgrade! ;P


          Need PHP or Python script to scrape data from website.      Cache   Translate Page   Web Page Cache   
I need you to develop some software for me. I would like this software to be developed for Windows using PHP or Python to perform data scraping for product compatibility information from eBay. Given a... (Budget: $30 - $250 USD, Jobs: PHP, Software Architecture, Windows Desktop)
          Need PHP or Python script to scrape data from website.      Cache   Translate Page   Web Page Cache   
I need you to develop some software for me. I would like this software to be developed for Windows using PHP or Python to perform data scraping for product compatibility information from eBay. Given a... (Budget: $30 - $250 USD, Jobs: PHP, Software Architecture, Windows Desktop)
          Need PHP or Python script to scrape data from website.      Cache   Translate Page   Web Page Cache   
I need you to develop some software for me. I would like this software to be developed for Windows using PHP or Python to perform data scraping for product compatibility information from eBay. Given a... (Budget: $30 - $250 USD, Jobs: PHP, Software Architecture, Windows Desktop)
          Product Development Coordinator - Trips and Holidays Factory - La Trinidad      Cache   Translate Page   Web Page Cache   
Responsibilities: -Develop successful advertising partnerships with major tourism companies -Campaign to source best travel deals -Meet or exceed revenue... PHP 8,000 - PHP 9,000 a month
From Indeed - Mon, 02 Jul 2018 17:28:46 GMT - View all La Trinidad jobs
          Sales Associate Management Trainee - Asia Select Inc - La Trinidad      Cache   Translate Page   Web Page Cache   
One of the largest domestic bank in the Philippines is looking for a Sales Associate with a promise of fast growth within 12 months. *Sales Associate... PHP 17,000 a month
From Indeed - Wed, 27 Jun 2018 00:24:01 GMT - View all La Trinidad jobs
          Layout Builder: Error on enabling module       Cache   Translate Page   Web Page Cache   

I am having this error print out on my screen when I enabled layout builder. I need help resolving this asap.

[:error] [pid 2870] [client ::1:58758] Error: Call to a member function getLabel() on null in /www/core/modules/layout_builder/src/Plugin/Derivative/FieldBlockDeriver.php on line 111 #0 /www/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(101):


          Drupal core: user module's flood controls should do better logging      Cache   Translate Page   Web Page Cache   

Problem/Motivation

At present if an attempt to authenticate via the user login form is blocked by flood control, nothing useful is logged.

The form gets an error set on it, but the response is still a 200 which means that access log entries cannot be identified by anyone interested in whether a site is being brute-forced.

e.g. core/modules/user/src/Form/UserLoginForm.php

      if (!$this->flood->isAllowed('user.failed_login_ip', $flood_config->get('ip_limit'), $flood_config->get('ip_window'))) {
        $form_state->set('flood_control_triggered', 'ip');
        return;
      }

...and then:

      if ($flood_control_triggered = $form_state->get('flood_control_triggered')) {
        if ($flood_control_triggered == 'user') {
          $form_state->setErrorByName('name', $this->formatPlural($flood_config->get('user_limit'), 'There has been more than one failed login attempt for this account. It is temporarily blocked. Try again later or <a href=":url">request a new password</a>.', 'There have been more than @count failed login attempts for this account. It is temporarily blocked. Try again later or <a href=":url">request a new password</a>.', [':url' => $this->url('user.pass')]));
        }
        else {
          // We did not find a uid, so the limit is IP-based.
          $form_state->setErrorByName('name', $this->t('Too many failed login attempts from your IP address. This IP address is temporarily blocked. Try again later or <a href=":url">request a new password</a>.', [':url' => $this->url('user.pass')]));
        }
      }

Whereas in core/modules/user/src/Controller/UserAuthenticationController.php

    if (!$this->flood->isAllowed('user.failed_login_ip', $flood_config->get('ip_limit'), $flood_config->get('ip_window'))) {
      throw new AccessDeniedHttpException('Access is blocked because of IP based flood prevention.', NULL, Response::HTTP_TOO_MANY_REQUESTS);
    }

...so that yields a 403 in access logs.

At present we see something like this when the login form is brute-forced:

==> syslog <==
Jul  3 15:57:53 xenial-php drupal: http://drupal8x.xp|1530633473|user|10.0.3.1|http://drupal8x.xp/user/login||0||Login attempt failed for foo.

==> access.log <==
drupal8x.xp 10.0.3.1 - - [03/Jul/2018:15:57:53 +0000] "POST /user/login HTTP/1.1" 200 11726

..repeated a few times, until flood control kicks in, at which point we just see:

==> access.log <==
drupal8x.xp 10.0.3.1 - - [03/Jul/2018:15:57:55 +0000] "POST /user/login HTTP/1.1" 200 11726
drupal8x.xp 10.0.3.1 - - [03/Jul/2018:15:57:57 +0000] "POST /user/login HTTP/1.1" 200 11798
drupal8x.xp 10.0.3.1 - - [03/Jul/2018:15:57:58 +0000] "POST /user/login HTTP/1.1" 200 11798

Proposed resolution

Anyone wanting to gather threat intelligence from a Drupal site's logs would ideally want specific log entries to say "a login from this IP was blocked by flood control".

There may be performance reasons why we wouldn't want to make these log entries (e.g. it may represent a DoS risk especially on sites which are using the default database logging).

Filing this issue to discuss and work on potentially a couple of changes (follow up issues can be filed if appropriate):

* Respond with a 403 (consistently) when a login attempt has been blocked due to flood control limits.
* Log these blocked login attempts to logger (/ watchdog if we backport) - possibly as an opt-in change in order to avoid possible performance regressions.

Remaining tasks

* Discuss proposed changes.
* Implement them.

User interface changes

* Perhaps an option to turn flood control / brute force logging on and off?
* More / different log entries, if those count as UI.

API changes

None?

Data model changes

None?


          Looking for a full stack developer to work on membership tables      Cache   Translate Page   Web Page Cache   
Project Overview: Looking for a strong full-stack PHP developer to join our team to work on updating and refactoring existing user membership management functionality and integrate recurring subscription services utilizing stripe and paypal into our web application... (Budget: $750 - $1500 USD, Jobs: Graphic Design, HTML, Laravel, PHP, Website Design)
          Sylius v1.1.10,1.0.18 和 v1.2.3 ,电子商务网站框架      Cache   Translate Page   Web Page Cache   

Sylius v1.1.10,1.0.18 和 v1.2.3 已发布。Sylius 是一个开源的 PHP 电子商务网站框架,基于 Symfony 和 Doctrine 构建,为用户量身定制解决方案。可管理任意复杂的产品和分类,每个产品可以设置不同的税率,支持多种配送方法,集成 Omnipay 在线支付。

三版本更新内容如下

  • 继续修复上一版本中没有修复好的安全问题

下载地址:


          XAMPP 7.2.7 dla Windows      Cache   Translate Page   Web Page Cache   
XAMPP to dostępny bezpłatnie, zintegrowany pakiet serwera WWW, w skład którego wchodzi m.in. MariaDB, PHP i Perl. Środowisko pozwala w łatwy sposób uruchomić w domowych warunkach w pełni funkcjonalny serwer np. do testowania tworzonych lub…
          Technical Lead (PHP & MySQL) - Vanilla - Montréal, QC      Cache   Translate Page   Web Page Cache   
Excellent communication skills are critical whether you’re talking to a developer or anyone else in the company....
From Vanilla - Thu, 29 Mar 2018 23:13:58 GMT - View all Montréal, QC jobs
          Quantity Surveyor - Golden Mindanao Global Holding Company - Davao City      Cache   Translate Page   Web Page Cache   
A graduate of Civil Engineer, exposed in quantity surveying practices, and procedures. Prepare tender and contract documents, including bills of quantities with... PHP 15,000 - PHP 30,000 a month
From Indeed - Tue, 03 Jul 2018 08:13:25 GMT - View all Davao City jobs
          Admin/Branch Coordinator - Summit Furnishings, Inc (ERGO) - Davao City      Cache   Translate Page   Web Page Cache   
Developed strategies and improved the quantity and quality of the branch's office work. Coordinates all orders and contracts to head office.... PHP 9,000 - PHP 10,000 a month
From Indeed - Fri, 29 Jun 2018 01:18:19 GMT - View all Davao City jobs
          Technical Lead (PHP & MySQL) - Vanilla - Montréal, QC      Cache   Translate Page   Web Page Cache   
High-traffic web properties. Vanilla is looking for a talented and creative Technical Lead / Software Architect who wants to join a profitable and rapidly...
From Vanilla - Thu, 29 Mar 2018 23:13:58 GMT - View all Montréal, QC jobs
          Janitor / Utility Staff - Better Components, Inc. - Davao City      Cache   Translate Page   Web Page Cache   
Water plants and cultivate and planter boxes. At least College level or high school graduate.... PHP 8,840 a month
From Indeed - Thu, 05 Jul 2018 08:18:47 GMT - View all Davao City jobs
          Web Developer      Cache   Translate Page   Web Page Cache   
FL-Plantation, Our industry-leading company is looking for an experienced PHP Developer to work on a range of both web and integration processes. This is a great opportunity to work on the end-to-end development of a e-commerce website with a dynamic and data-driven company and deploy highly visible web applications. Interface programming with a multitude of business partners including major e-commerce sites wil
          Programador Php- São José-Sc      Cache   Translate Page   Web Page Cache   

Programador PHP LOCAL: Rua Tiradentes, 18 – Sala 102 – Kobrasol, São José – SC REQUISITOS Superior cursando ou completo em Análise de Sistemas, Sistemas de Informação, Ciências da Computação ou áreas relacionadas; Experiência em programação PHP, HTML, CSS, JavaScript e SQL; Experiência em desenvolvimento de webservices; Experiência com testes unitários; Conhecimento em análise e…

O post Programador Php- São José-Sc apareceu primeiro em Emprega Sul.


          Programador Php- São José- Sc      Cache   Translate Page   Web Page Cache   

Programador PHP LOCAL: Rua Tiradentes, 18 – Sala 102 – Kobrasol, São José – SC REQUISITOS Superior cursando ou completo em Análise de Sistemas, Sistemas de Informação, Ciências da Computação ou áreas relacionadas; Experiência em programação PHP, HTML, CSS, JavaScript e SQL; Experiência em desenvolvimento de webservices; Experiência com testes unitários; Conhecimento em análise e…

O post Programador Php- São José- Sc apareceu primeiro em Emprega Sul.


          select then insert in php      Cache   Translate Page   Web Page Cache   
i want select then insert in php code but my code do nothing. public function deliverOrders($id_d){ $p=$this->db->prepare("select saldo from admins where name='".$_SESSION['name']."'"); $orders=$p->fetchAll(PDO::FETCH_OBJ); return $orders; if ($orders < 1000){ echo""; } else{ $q=$this->db->prepare("update orders_foods set status=1 where id=?"); if($q->execute([$id_d])){ echo""; } else{ echo"