session – permission to access and correct direction for ADMIN and USER. in PHP hosting 000WEBHOST

Here is my site in between and check it out.

In the localHost area on my PC, user and admin targeting will work correctly. Each one can access different functions.
But in the hosting free that I log in and register without reporting a bug, but he does not retain permission to access it, and is stopped in white screen at this link login_check. php for when I log in.
And for this link, when I log in
Already at registration I can register, and when I check in my database, it is there. Everything is going well. I do not think it's the DB because it's attached and does not return any errors.
After logging on or registering, it does not remain in the user's log or ADmin.


include_once & # 39; ./ conexao.php & # 39 ;;
include_once & # 39; ./user.php & # 39 ;;

$ email = $ _POST['email'];
$ password = $ _POST['senha'];

$ password = md5 ($ password);

if (authenticate ($ email, $ password)) {

session_start ();

$ _SESSION['email'] = $ email;
header (& # 39; Location: index.php & # 39;);

} else {
Echo "";

All rights reserved

$ name = $ _POST['nome'];
$ rg = $ _POST['rg'];
$ cpf = $ _POST['cpf'];
$ email = $ _POST['email'];
$ password = $ _POST['senha'];
$ tel = $ _POST['tel'];
$ cel = $ _POST['cel'];
$ cep = $ _POST['cep'];
$ end = $ _POST['end'];
$ num = $ _POST['num'];
$ bai = $ _POST['bai'];
$ cid = $ _POST['cid'];
$ uf = $ _POST['uf'];

$ password = md5 ($ password);

if (new username ($ name, $ rg, $ cpf, $ email, $ password, $ tel, $ cel, $ zip, $ end, $ num, $ bai, $ cid, $ uf)

header (& # 39; Location: index.php & # 39;);

} else {
Echo "error registration";
header (& # 39; Location: new-user.php & # 39;);


    connect_error) {
die ("Failed to
Connection to the server: "$ conn-> connect_error);
return $ conn;

Function separation ($ link) {
mysqli_close ($ link);



Authenticate function ($ email, $ password) {
$ sql = "SELECT * FROM login"
, "WHERE loginEmail = & # 39;". $ email. ""
, "AND loginSenha = & # 39;". $ Password "& # 39;";

$ conn = connect ();

$ result = mysqli_query ($ conn, $ sql);

Disconnect ($ conn);

return mysqli_num_rows ($ result);

Function user () {
$ sql = "SELECT * FROM login";

$ conn = connect ();

$ result = mysqli_query ($ conn, $ sql);

Disconnect ($ conn);

Return $ result;

NewUser function ($ name, $ rg, $ cpf, $ email, $ password, $ tel, $ cel, $ zip, $ end, $ num, $ bai, $ cid, $ uf) {

$ sql = "INSERT INTO login (loginID, loginNg, loginRg, loginCpf, loginEmail, loginSenha, loginCelete, loginCelular, loginCep, loginEndereco, loginNumero, loginBairro, loginCity, loginUf)"
, "$ Val", & # 39; $ cpf & # 39 ;, & # 39; cpf & # 39 ;, & # 39; email & # 39 ;, & # 39; password & # 39 ;, & # 39; $ tel & # 39 ;, & # 39; cel & # 39 ;, & # 39; zip & # 39 ;, & # 39; end & # 39; # $ Num #, # $ bai,, # $ cid,, & $ uf #) ";

$ conn = connect ();

$ register = mysqli_query ($ conn, $ sql);

Disconnect ($ conn);

session_start ();

$ _SESSION['email'] = $ email;
$ _SESSION['usuario'] = $ name;

return true;


Why pick up the PC and not the hosting?

python – Access to Ansible Dictionary

Sorry if the question is really simple, still learning and unable to find the exact answer to what I was looking for.

I have the following dictionary:

Name: small - {{rand_gb_var}}
Mem: 1024
cpus: 1
os_type: rhel7
File type: qcow2
name: large - {{rand_gb_var}}
Mem: 2048
cpus: 2
os_type: rhel7
File type: qcow2
Name: small - {{rand_gb_var}}
Mem: 4096
cpus: 4
os_type: rhel7
File type: qcow2

and I ONLY try to access the small key and its values, one task at a time. I do not want to go through the entire dictionary each time my task is executed.

The job I do is:

- Name: create floppy disk
virt-builder --format qcow2 centos-7.4
-o {{VM location}} / {{}}. {{
--root-password password: {{root_pass}}
when: not in disks.stdout
with_items: & # 39; {{guests.keys ()}} & # 39;

However, this seems to go through all the buttons and only the "small one".

Many Thanks!

How can I access a specific event on a public calendar so others can see it without signing in to Google?

I want to share an event on a public Google Calendar. When I click on the event, the description is displayed, but the URL to be copied is not changed. When I click Options> Publish Event> Copy Link

Enter the image description here

And then paste it into a private browser, as the recipient would see it, and ask me to log in.

Enter the image description here

If I click Options> Print, copy the link to the new tab, paste that link into a private browser window as the recipient would see it, then I'll be asked to sign in as well.

The calendar is definitely public.

Enter the image description here

[WTS] Pure SSD RDP server | Instant Setup | New Windows Server 2019

RDP VPS Sale @ Veeble Hosting –
Flat 25% discount
————————————————– ————————————————– ———————————-


From $ 11.25 per month
Unmeasured 100/1000 Mbps bandwidth
FREE Basic Management on all plans
Windows Server 2003, 2008 R2, 2012 R2, 2016, 2019 available
No additional costs for the operating system
administrator access
Dedicated resources
Intelligent system control with shutdown, boot, reboot, reinstall, and console access.
Instant Setup
UK / US Server isolated
RAID 10 protected solid state drives

Use the promo code DEAL2018M take advantage of the discounted rates at the cash desk.

Order these plans here

————————————————– ————————————————– ————————————————– ————————————————– —————-

We accept the following payment methods

All major international credit cards
Perfect money
Advanced Cash
Bitcoin, Ethereum, Litecoin, Ripple
All Indian credit / debit cards and netbanking
Internet money
Local bank transfer in the US, UK and Germany
Wire / Swift Transfer

Learn more about the payment methods here –

————————————————– ————————————————– ————————————————– ————————————————– —————-

Our support

We work tirelessly around the clock for world-class support and a wonderful customer experience.
You can contact us via

E-Mail / Tickets (24×7)
Live Chat (24×7)

————————————————– ————————————————– ————————————————– ————————————————– —————-

Connect with us through social networks


If you have questions, sign up at


[WTS] Crazy fast VPS server | SSD drives with RAID-10 | 24/7 customer service!

CanSpace solutions is Canada's leading provider of hosting services. Our VPS plans are 100% Canadian, and fully managed solutions – We take over the administration of your server, so that you can concentrate on your business. CanSpace solutions is a CIRA certified Provider – annually by the Government of Canadaand we have been in the hosting business for a while now ten years, Our headquarters are located here in Canada. Our data centers and all our servers are is located in Canada, All of our employees are here in Canada and we only charge Canadian dollars. We are the leading Canadian .ca domain registrar, The largest companies and organizations in Canada trust us. If you have not guessed, CanSpace is a very proud Canadian company – just like your own.

VPS functions:

  • Full root access – you can customize your hosting server to your liking
  • Always up to date – our Canadian technicians ensure that your VPS server software is updated at night
  • cPanel and WHM included. The industry-leading hosting control panel is included for free ($ 22 / month).
  • All servers in Canada are on Canadian IP addresses

VPS solutions from CanSpace are fully managed – Let us do the technical hosting work as you build your business. We take care of all aspects of VPS hosting server administration, including backups, server security, updates, and general maintenance. Server administration is a full-time job requiring around the clock staff – leave that to us while you focus on your website!
check-Out Fully managed Canadian VPS hosting Packages:

VPS hosting plan 25
25 GB SSD hard disk space
Unlimited bandwidth
1 vCore
Fully managed
Price – $ 89.99 / month [ORDER NOW]

VPS hosting plan 50
50 GB SSD hard disk space
Unlimited bandwidth
2 vCore
Fully managed
Price – $ 139.99 / month [ORDER NOW]

VPS-100 hosting plan
100 GB SSD hard disk space
Unlimited bandwidth
4 vCore
Fully managed
Price – $ 179.99 / month [ORDER NOW]

Additional upgrades!
Available during the ordering process. Dedicated IP addresses can be added at any time.
Additional 50 GB hard disk space $ 19.99 / month
Additional storage space of 100 GB $ 34.99 / month
Additional 200 GB hard disk space $ 54.99 / month
Additional 500 GB hard disk space $ 99.99 / month
Additional dedicated IP $ 3.00 / month

Additional functions:

  • Secured at night. Our VPS hosting management team takes care of your VPS host backups and can restore server accounts at any time
  • Free Migration Services – We can migrate your existing cPanel accounts for free
  • Restart access so you can remotely restart your hosting server when needed
  • Clean IP Addresses – Your VPS hosting server is provisioned for Canadian IP addresses that are not blacklisted

Performance and safety features:

  • VPS server with CSF and LFD firewalls and Web application firewall at a high level.
  • Your server is monitored 24/7 by our Canadian security team for hacking.
  • DDoS-free data center. Unlike other VPS hosting providers, we protect you against DDoS attacks and never disable a VPS hosting server due to a DDoS attack.
  • RAID-10 SSD drives for redundancy, reliability, and lightning-fast performance

Why choose Canspace service?
1) Powered by green energy – All CanSpace servers are fully powered by 100% Canadian green energy, The energy comes directly from Beauharnois hydroelectric power plant in Quebec.
2) High-speed network – We have over 7.5 Tbps network capacity available in our data center to support our customers. We have several backbone bandwidth carriers and redundant storage. Our entire infrastructure is completely redundant at several levels.
3) Infrastructure with high availability – All CanSpace hosting services provide protection against all types of DDoS attacks. ON 160 Gbps anti-DDoS infrastructure was set up in our data center up to 480 Gbps traffic, 24/7,
4) data security – All data with CanSpace are always stored in Canadian bordersand is subject only to Canadian law. We do not store data in the US or elsewhere. Your data will not be subject to foreign court orders or DMCA deletion requests, and no foreign legal entity will ever be able to access your data. This is a requirement for many of our Canadian government customers and we serve all our customers with the same benefits.

1) High VPS performance – VPS hosting solutions are faster than shared hosting plans and have dedicated resources available only to your server.
2) Fully managed – Focus on building your website and let us do the technical hosting. CanSpace handles all server management, including backups, security, maintenance, and updates.
3) Dynamic VPS resources – VPS hosting plans are flexible and can be expanded as needed. As your site grows, you can also use the resources for your VPS hosting.
4) WHM & cPanel – Full root access to your hosting server as well as access to WHM and cPanel ($ 22 / month value), With root access, you can customize your VPS hosting server as needed.
5) High availability – All VPS servers are hosted on our server DDoS-free data center, Unlike other hosting providers, we protect your servers from DDoS attacks rather than simply disconnecting them.
6) SSD drives – Your VPS servers will do this Use RAID 10 SSD storage Deliver the fastest, most reliable hosting storage solution, lightning fast speed, and full redundancy.

We know that hosting is about delivering superior service, support and reliability – and that you want to offer the same to your customers. We treat all our customers with the same level of service and professionalism – whether small startups or large companies. We are always happy to hear from you! At the CanSpace We are proud of our superior customer service. We try to answer all inquiries within half an hour, though most will be answered in less than 10 minutes.

Existing customers can get one Unterstüzungsticket about our customer area. Our support technicians are available 24 hours a day, 7 days a week, Existing customers are urged to use our ticket system so we can properly track your issue.

TEL: 1-888-99-DOT-CA
Like us on Facebook


Microservices – access to event sources by reference

What is a typical pattern for passing information about related objects (aggregates) in an event sourcing architecture?

For example, in an order processing system Order Created Event (published by the Order Service) contain Product ID or a product?

Assuming there is one too Product / service), with the first option, the receivers of the event can Product / service to get that product and with the second option, all the required information is already in the event. The advantages and disadvantages of the two approaches are not clear to me. Can someone shed some light?

Restrict access to a subfolder while sharing access to a folder on the team drive

This question was posed on July 5th, 2017 by Henk Straten and answered by Zach Saucier: I have a Google Drive folder that I want to share with 2 other people. But I want to restrict the folders. So let's say we have John and Josh. How can I share the entire Google Drive folder with John and Josh and only one subfolder within the drive with Josh?

My follow-up question is: Can a manager make these changes? I can add and remove members in the parent directory, but the Share option is gray in the subdirectory.

Storage Area Network – Access to the SAN Controller Management Console (EqualLogic PS3000)

In the end, I have an outgoing PS3000 from my company that I can play with. (This is my first SAN).

First I tried to connect the active SAN controller (and port 0) to my network hoping that I have an IP address (or something in my home switch) and then try to use SSH / Telnet ,

Unfortunately, for me, no LED has appeared on the Ethernet port, I tried to simultaneously connect another Ethernet cable to port 1 or port 2. No luck.

When I look at all the modules, everything is alright except for the control panel, which tries to tell me something is wrong.

(I checked the cable and they are working with a laptop, I even tried connecting the ethernet cable directly from a laptop to the SAN).

So Plan B, I have a serial port connected (because I have a DB9 connector.) <-> USB I connect a DB9 female / DB9 female to my laptop.
From the manual (by the way, this is the link I found for the PS3000 series, and even if the name says it for the 3600 series, I found 2 websites with different series that also specify the same specification) I use

  • 9600 baud
  • A STOP bit
  • No parity
  • 8 data bits
  • No hardware flow control
    (see page 1-5)

on / dev / ttyUSB0.

Now it's time to boot the SAN … nothing … nothing and nothing appears on the terminal.
After a few minutes I tried to type, tried help, then pressed CTRL + C nothing at the terminal.

I tried to switch all connections (Ethernet cable and serial) to the backup SAN controller, disconnect the master SAN controller, and restart the server, still the same thing.

Any hint would be welcome.