Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

Server Software

7K

Solutions

11K

Contributors

A server is a computer program or a machine that waits for requests from other machines or software (clients) and responds to them. This architecture is called the client–server model. The clients may run on the same computer or may connect to the server over a network. The purpose of a server is to share data or hardware and software resources among clients. Typical computing servers are database servers, file servers, mail servers, print servers, web servers, game servers, and application servers.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hello!

I have a PHP script that should create a valid image file on server side. The following code runs fine:
$filename = $_GET['filename'];

// Only proceed if we got valid input
if ($filename !== null) {
    echo "$filename is not null.";
    $image = @imagecreatetruecolor(10, 10)
                or die('Cannot Initialize new GD image stream');

    if (strpos($image, '/gif') !== false) {
        $image_type = "GIF";
        header('Content-Type: image/gif');
        $successful = imagegif($image, "./$filename");
    } else if (strpos($image, '/jpeg') !== false) {
        $image_type = "JPG";
        header('Content-Type: image/jpeg');
        $successful = imagejpeg($image, "./$filename");
    } else if (strpos($image, '/png') !== false) {
        $image_type = "PNG";
        header('Content-Type: image/png');
        $successful = imagepng($image, "./$filename");
    }

    if ($successful) {
        echo "Image written to '$filename'.";
    } else {
        echo "Could not write $image_type image to '$filename'.";
    }
    imagedestroy($image);
    echo "image destroyed.";
} else {
    echo "$filename is null.";
}

Open in new window


This works fine & an image with the $filename is created. But actually, I do not only receive the file name but the image content as well. So, the real code is

$filename = $_GET['filename'];

$image = $_GET['image'];

// Only proceed if we got valid input
if ($filename !== null) {
    echo "$filename is not null.";
    $image = base64_decode($image);
    $slash1 = strpos($image, '/');

    $image_type = substr($image, $slash1, strpos($image, ';') - $slash1);

    if (file_exists($filename)) unlink($filename);

    header('Content-Type: image/' . $image_type);

    switch ($image_type) {
        case "gif":
            $successful = imagegif($image, "./$filename");
            break;
        case "jpeg":
        case "jpg":
            $successful = imagejpeg($image, "./$filename");
            break;
         case "png":
            $successful = imagepng($image, "./$filename");
            break;
    }
    if ($successful) {
        echo "Image written to '$filename'.";
    } else {
        echo "Could not write $image_type image to '$filename'.";
    }
    imagedestroy($image);
    echo "image destroyed.";
} else {
    echo "$filename is null.";
}

Open in new window


But still, I get the reply Could not write image to 't.jpg'. Can you see my error(s)?
0
Hire Technology Freelancers with Gigs
LVL 10
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

I run a coaching and personal development business, and I have staff helping to run the coaching programs. All the coaching programs we run are videoed (so that we can keep records). We currently keep all the videos on many portable external hard disks. However the number of external hard disks has grown to an unmanageable number now and I would like to centralize the solution.

Requirements:
- Have at least 10 TB of storage space
- Backup capabilities available
- Restrict user access - configure user access for certain users to upload files to the storage but is unable to access/read/write to the storage
- Accessible remotely
- Less than $1000 cost over 3 years

I am currently thinking of setting up a dedicated desktop with owncloud.org. Does anybody know if this will work?  Or of a better solution that I can adopt?

Thanks
0
Which is a way to reset the Windows Server 2016 updates? I used the GWX Control Panel. But it still shows a bunch of failed updates in the list.
0
1- How to set a server that is in compliance with 21 CFR Part 11?

2- What audit trail can be used?
0
I am curious about finding the cost to a big bank to process something like a bank transfer from one account to another...

I am thinking about my bank, where I have two accounts, where I may move a few hundred dollars from one account to another.

Is the cost less than a penny for such a transaction for a website or an iPhone app to make such a transfer? I assume there are overhead costs where auditors review blocks of transactions, but I am not asking about that. Just the marginal cost for a hosted and highly secure website to process a transaction.

Does anyone have an idea about this?
0
We have several Remote Desktop Servers (Windows 2008R2) that are optimized as much as we can for the time being. We have budgeted for upgrades but in the mean time, has anyone used RDP Acceleration software such as Ericom, etc with any luck?

Can anyone recommend such a product?
0
company i look after just had .arena ransomeware. i have recovered the servers and removed the virus but i cannot get the remote users logged into the RDP server. it connects fine but i the get an error sayng the specified domain controller does not exist or cannot be found.
0
Shared Printers was working fine some days ago but now i am facing problem that printers are showing as offline  and in network computers are also not showing .
0
Hi Expert, Please see the attached screenshot. I am installing Solarwinds. but I got an error message. I do not know what SQL server name is to fill the SQL server name. I tried different name including the computer name. During the process of installation, I follow the steps to install, which include automatic SQL installation. Did I miss some step or wrong? Thank you
Capture.PNG
0
I read somewhere that time sync should be turned off in VM's but I can't find anything on why.
0
Ransomware: The New Cyber Threat & How to Stop It
LVL 4
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

I am trying to install server 2012 r2 on a system using a Asrock E3C224-4L motherboard. I am getting the following error "A required CD/DVD drive device driver is missing. If you have a driver floppy disk, CD, DVD, or USB flash drive, please insert it now." I did previously have this installed on another system but the hard drive crashed and needed to be replaced. Now its giving me this error and even with the drivers I keep getting prompted. Is there a way just to bypass this screen totally during installation and install the drivers if need be afterwARDS
0
Hi,
How to identify the reason of problem below?
Status:	Connecting to 160.96.17.69...
Response:	fzSftp started, protocol_version=8
Command:	open "pzim_ftpuser1@160.96.17.69" 22
Error:	Connection timed out after 20 seconds of inactivity
Error:	Could not connect to server
Status:	Waiting to retry...
Status:	Connecting to 160.96.17.69...
Response:	fzSftp started, protocol_version=8
Command:	open "pzim_ftpuser1@160.96.17.69" 22
Error:	Connection timed out after 20 seconds of inactivity
Error:	Could not connect to server

Open in new window

0
Hi,

What are the latest specifications for  a server (running windows server software) and workstation (running windows 10 pro).
0
Hi,
I want to follow steps in this

https://www.digitalocean.com/community/tutorials/how-to-use-filezilla-to-transfer-and-manage-files-securely-on-your-vps

to get one Unique key. Can you please show with correct steps to create such Authenticated key through Filezilla or PUTTY?
0
I’m trying to figure out when to use bitlocker on a server. It makes sense for a laptop or desktop. If they are stolen and the thief can’t login because it is password protected, they could still put the drive in another computer and access the data.

If I have a server in a locked room and there is no concern that it would be stolen, what are the benefits of encryption?

Even if someone did steal the server, it is RAID 5 so it would be a lot more difficult to add the drives to another server to access the data.  It would be easier to run a program to hack the password.

If it is configured to use a pin to start the server, it could not be rebooted remotely. If it shut down for any reason, someone would need to go onsite to start it up. That could create problems especially during storms.

The most likely way someone is going to steal the data from my clients is by tricking a user to install malware. If malware is installed on a workstation, it would be able to access the server whether it is encrypted or not.

Just looking for the pros and cons if encrypting a server
0
I have been running my Hyper-V Host server on a trial version of server software  and now  has expired .
I have a software with a valid license .
Do I need to back up the VM's Wipe out the server and reinstall Server 2012 ? or is there some way to simply use the new license ?
0
I am running VEEAM Backup & Replication 9.5 on a Windows Server 2012 R2. VEEAM is configured to backup VM's from 2 Hyper-V Servers that are running Windows Server Data Center 2012 R2. While all VM's backup successfully 'on occasion', often, I get the following error:

Failed to create snapshot (Microsoft Software Shadow Copy provider 1.0) (mode: Veeam application-aware processing) Details: Writer 'Microsoft Hyper-V VSS Writer' is failed at 'VSS_WS_FAILED_AT_PREPARE_SNAPSHOT'
[/b]

I go to the VM Server identified, run the command "vssadmin list writers", and see that a number of VSS entries says 'timed out. I stop/start the Volume Shadow Copy service then restart the server. The backup jog then completes successfully. This issue will occur again after the 2nd or 3rd successful backup and again, I have to restart the server to get successful backups.

Obviously I cannot continue restarting these affected servers (all of which has databases including Exchange Server 2013). Is there anything that would likely cause the VSS services to periodically time out and fail a backup? Thanks
0
Moving 400G of data with long file paths causing copy issues. What is the best way to automatically move the data whether it be scripts or software? Folder Structure needs to remain intact, long file names can be changed (assuming they are copied into the same folder on the target.)

Thank you.
0
Hi,
I got problem, to put all 4 files (as attached) into one FTP site, that not all files can be successfully processed. But there is no problem at all, if I one by one, put the file, there is no problem to process all files. What can be the reasons to this?
a.txt
b.txt
c.txt
d.txt
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup
LVL 4
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

So I didn't select a Desktop Experience while installing Server Standard 2016.   And looks like it installed a Core Edition.  Just a CMD command line.  
Does is mean no Desktop Experience is a Core Experience?
0
Hello - I have a Security Device Scope set on my DHCP server.

10.201.192.20
10.201.207.254

255.255.240.0 /20

What I want to do is assign another scope within my Security Device Scope for 10 Camera, 10 Card Readers and 2 Media Servers. How would I break that scope up into other scopes for the following devices, however using the Security Device Scope?

Thanks,

nimdatx
0
In this screenshot what is the exact location of the Test Test user (see the bottom of the screenshot)? Is it OU=users,DC=company,DC=com or is it something else?

The domain name for this organization is company.com

ACTIVE-DIRECTORY-USERS-AND-COMPUTERS
0
I'm sure this is something simple I've missed but I built a new DC. I enabled Remote Desktop Connections in server manager and I'm unable to get a connection to it. The RDP windows times out before it even sees the DC using FQDN or IP address.

RDP to the new DC was working when my old DC was running so I assumed this was a DNS issue (which would mean RDP to IP would work but it does not).

Any suggestions?

Thanks,
David
1
Hello,

I am new to XenServer, coming from VM ESXi, which I presently will say prefer.

New env looks to have either the free or essentials version, but I not sure.  I see two XenServers with Pools under them in the XenServerCenter, but only one of the two(bottom) allows access to alerts where you can set alerts, which I believe indicates it's licensed!?

Pool1 w/two host - XServer 6.1 Build 59235p DBV:2010.0521
Pool2 w/Two host - Xserver 7.2 Build 2017-05-11 DBV: 2017.0517

The first of the two(top) shows it's pool and hosts listed on top, does not allow setting alerts and says licensing upgrade required.   So, I am assuming this setup, being managed through the single Xcenter console, is not licensed?  

Either way, under the aforementioned pool and hosts there is a vmhost that tends to be high in CPU when you check the top tier Xenserver/Pool performance tab where I see 21 CPU # listed.  I have to go to each vmhost and it's performance tab to find the specific vmhost with the corresponding high CPU usage.  Is  there any free ty in apps or scripting options that could ty things together and definitively tell you which Host is reflecting high resource use, cpu  in particular in this instance but memory, too, etc...?

Thank you.
0
4
 
LVL 12

Expert Comment

by:Andrew Leniart
Subscribed!  This newsletter subscription feature needs to be made a lot more visible to members in my opinion. I had no idea how to subscribe until I just read the subscribe link in this post.

Are copies of new newletters emailed to new subscribers? Or are members just notified of their release? If the latter, but what means? Email, On Site notifications or both?

Thanks..
3
 
LVL 2

Administrative Comment

by:Allie Watts
Andrew! I am so glad you are subscribed! The newsletter has been under a redesign lately and we are working with our engineers to update member email preferences on-site. Once the email preference center is finished, we will announce it and members will be able to opt-in and opt-out of specific email campaigns as well as the blog and newsletter!

New subscribers get the next newsletter if they missed the last one. Ultimately we will have a newsletter archive area on-site so you can go through them. Until then, our newsletters are being posted as articles. Check out the most recent one's content in the "newsletter" link in this post.

We do not have email or on-site notifications for newsletters. Subscribers just receive the newsletter in their inbox the next month or send after subscribing. Your first newsletter will come on September 7th!

Feel free to message me if you have any more questions! Thanks Andrew.
0

Server Software

7K

Solutions

11K

Contributors

A server is a computer program or a machine that waits for requests from other machines or software (clients) and responds to them. This architecture is called the client–server model. The clients may run on the same computer or may connect to the server over a network. The purpose of a server is to share data or hardware and software resources among clients. Typical computing servers are database servers, file servers, mail servers, print servers, web servers, game servers, and application servers.