Questions tagged as 'php'

1
answer

Malicious code not found.

I have a site that has been hacked (WordPress) and all the .php pages have added the following code: <?php $ahwwxolsc = '>> x22:ftmbg39*56A:>:8:|:7#6#)tutjyf'439277~6<Cw6<pd%w6Z6<.5'hAtcvt-#w#)ldbqov>*ofmy%)utjm!|!*5!...
asked by 11.05.2016 / 17:27
2
answers

Organize site by folders in directory

I'm venturing into my first website written in PHP and there's something bothering me, which is the way the site URL is, for example: meusite.com/index.php?page=ucp&p=edit&id=58 The URL gets huge, I'd like to know the best way to or...
asked by 23.05.2016 / 05:12
3
answers

Simple National Consultation (by CNPJ)

I'm trying to implement a query of Simple Nacional , the operation is similar to the query by CNPJ of the revenue. Details I've seen so far: After loading the page, it executes a ajax ( file captcha2.js ) that returns 3 ite...
asked by 21.05.2015 / 22:42
1
answer

What is the purpose of the pcntl_fork function?

I was looking for some solution in PHP, where I could execute a script without waiting for a function that processes delayed things to be expected to finish executing it. I came across the pcntl_fork function. I saw that it creates a...
asked by 02.06.2017 / 16:09
1
answer

How to Use Salts and Hashes with PHP?

Next, I have to make a user registration and login system, but I wanted to increase the security of this system using salts in passwords, could someone show me a simple example of this?     
asked by 14.02.2014 / 01:35
1
answer

Install Codeigniter 3 with Doctrine and Composer

How best to install doctrine via
asked by 04.05.2015 / 23:35
2
answers

Dynamic subdomain system

Recently I saw an app / site called Sarahah, and an interesting feature was that when doing the registration, the username turned into a subdomain, something like "user1.site.com", is there any way to do this mod rewrite or any apache configurat...
asked by 14.09.2017 / 19:03
2
answers

How to force the download of an object from an AWS bucket S3 with PHP?

I know how to upload an object to the AWS S3 Bucket this way: try { $oClientAws->putObject(array( 'Bucket' => 'bucket_test', 'Key' => 'fileName.jpg', 'Body' => fopen('path/to/file/fileName.jpg', 'r'...
asked by 25.06.2015 / 22:52
2
answers

How to present the name of the customer of a particular sale? I can not get the name with the get

sales list code I'm having problem to present the customer name of each sale and product name of each sale tbm! I do not know what I'm doing wrong <?php include_once("Sessao.php"); include_once("Valida.php"); include_once("Cabecalho.p...
asked by 16.09.2015 / 20:30
2
answers

Error trying to host app on itunes

We made an iPhone app with Embarcadero xe10 + PHP, but when trying to host it in: He was turned down for not having IPV6 support. I joined the site link and I noticed that IPV6 access is not supported. Apple requires my application to...
asked by 01.03.2017 / 21:28