topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday June 22, 2025, 8:17 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 13 14 15 16 17 [18] 19 20 21 22 23 ... 118next
426
General Software Discussion / Re: Windows 10 Announced
« Last post by Shades on May 07, 2019, 09:02 AM »
[ Invalid Attachment ]

Microsoft unveils Windows Terminal, a new command line app for Windows
-Arizona Hot (May 07, 2019, 08:01 AM)

For now it is just the source code, not the executable. For those already wanting this type of functionality (and then some): ExtraTerm (open source, works on Windows, Linux and Mac, supports cmd, PowerShell, WSL, tabs and 'terminal multiplexing').
427
Living Room / Re: How to expand laptop storage?
« Last post by Shades on May 06, 2019, 09:48 PM »
In my (anecdotal) experiences with SSDs: 
- regarding read/write speeds: Sandisk is good, Samsung is better.
- regarding price: Sandisk is very reasonable priced, Samsung charges quite a lot more.
- regarding longevity: Barely a difference between Sandisk or Samsung.

So, if speed with read/write is of the essence, get the more expensive Samsung drives or the really expensive Intel drives. Those are top class and charge you for it. Rest assured though, compared with a standard hard disk, any SSD drive (SATA models or NVMe models) will be a huge step faster. And you will not want to go back ever again.

This part is only something to consider if you are handy with electronics and your laptop comes with a DVD/BluRay device. Now, I do not own a laptop myself, else I would have attempted it, but I have seen blogs where people were successful in removing the DVD/BluRay device from the laptop and reuse the bracket to mount a second SSD drive in their laptops. With some it also took some electric rigging to get the power supply and data lines from the DVD/BluRay device to connect properly with the second SSD.

How much rigging is needed depends on the type of SATA connector in the laptop from the DVD/BluRay device, the distance and orientation of the second SSD from that connector. That way you can get even more speed out of your laptop.

But again, this is only for people handy with electronics and don't mind about bricking a laptop if they make a (unintentional) mistake. Even if you do manage to make it work, you can kiss any guarantee goodbye, no matter what.
428
Living Room / Re: How to expand laptop storage?
« Last post by Shades on May 06, 2019, 10:23 AM »
Buy a new hard disk as big as your budget allows. Clone the content of the current hard disk onto the new hard disk and you are done. Find more budget for a 2.5" USB enclosure and you can re-purpose your current hard disk as a portable hard disk. That is your best option.

Because SD cards are more often than not slow. I would not want to use those as a hard disk, as their main purpose is storage only. And big size SD cards are just as expensive as buying a decent new SSD hard disk 2 times or even 4 times the size you have now.
429
General Software Discussion / Re: Mozilla shoots itself in foot
« Last post by Shades on May 06, 2019, 01:09 AM »
As the loss of RSS was the final straw for me, I only used FF as a secondary browser, in case Opera would fail on me. Chrome doesn't suit me, so not much else left than Opera. That was the plan at least.

While I do like the feature set from Opera, FF fits my workflow just better, even if it is nowadays crippled.

Anyway, the loss of RSS did made me look at alternatives for this and I ended up using RSSOwl, a stand-alone application (portable). This handles RSS better and more conveniently than FireFox ever did (or should), so now I am kinda back with FireFox again.

Same here, also a user since the browser was named Phoenix (v0.5). Maybe that is why it is hard for me to let go. Perhaps all of this trouble is meant to point out that people use browsers for way too many tasks as it is. Stand-alone applications are not dead yet... :P

430
Living Room / Re: Gadget WEEKENDS
« Last post by Shades on May 03, 2019, 10:33 PM »
Got myself this headphone. Sorry, the info doesn't change to English when I select it.

Anyway, you can use it with bluetooth but also by 3.5' jack. You can even put in a MicroSD for music and if you leave the cable for the 3.5 jack dangling, it is used as antenna for the build in FM radio receiver.
Besides all this, it sounds great and the over ear muffs do a very good job of cancelling out ambient noise. Has a microphone built in as well and mutes with one button tap. Paid 35 USD for it and did not regret it for one minute.
431
Living Room / Re: Need Video Doorbell Options
« Last post by Shades on May 01, 2019, 09:52 AM »
XProtect+ - That was the one I was missing. Free version supports 8(!) cameras and is by far the most extensive piece of software. That comes at heavy "price", you'll need a dedicated PC with Windows (Server edition), needs 8GByte of RAM minimum for OS and background services (IIS and SQL Server). You still need 1GByte of RAM extra per connected camera. Even the installer is 2GByte in size and if you want encoding you'll need a midrange video card or better as well.

But I must say, it really is by far the best looking and powerful piece of software I found.
432
Yeah, your idea sound similar to the concept torrent websites hide behind. They only link to torrent files, not the actual content these torrents refer to. That failed in several courts already, although technically they are correct. Then there is the thing: "letter of the law, spirit of the law". There is where things start to fail. Be ready to receive and process 'cease-and-desist' notices as fast as you can. That might give you enough breathing room to put significant legal defenses in place, you know, for when (not if) sh.t hits the fan.

By all means, go ahead with your plans, but gain sufficient knowledge about legal implications of your ideas too. More than likely it is not as cut and dry as you currently think it is.

There can also be issues with users having to login to your site and then having to login to another site. Make sure you add sufficient value to this scheme, because for the user you and your site become a middle man and anyone tries to cut those out whenever they can.

Creating a VM with CentOS 7 won't be difficult either. It will result in you having to troubleshoot much less code (differences between Windows and Linux based servers are real, even if the version numbers of the tools/frameworks you use on these servers are the same).
433
Living Room / Re: Need Video Doorbell Options
« Last post by Shades on May 01, 2019, 01:03 AM »
@Stoic Joker:
Watch out, a whole story up ahead.

I can tell you that you have to spend money on a decent brand of WiFi webcams, especially when you want to create or incorporate it later in a full on surveillance system. Let me assure you, buying a mixed set of brands will bite you in the a.s.

WiFi camera's are a dime a dozen nowadays, and that is actually a problem. Every manufacturer has their own idea on how they implement features and how you can manage them. I have here a set of 9 TP-Link NC220 cameras. These need to surveil a house about 4000 square feet (2 floors). Not my house, but I am responsible for the operation of these cameras. Initially there was a reasonable decent WiFi modem router (fiber connection) placed pretty centrally located in the house. With my phone I could run around the place and have WiFi signal everywhere.

Anyway, so far so good. First I had to connect each of the cameras separately by a cable directly onto the router, than had to use my phone to detect the cameras and associate them with the WiFi network. I can only rename the cameras using my phone, even though each camera has it's own webserver/webinterface build into it. A lot of features can either be managed by phone or web interface, but not both. That gets old very quick.

Honestly, the cameras are not that bad, in and of themselves, but how the manufacturer "envisions" their use and management, that is, let me say it friendly, moronic. And most manufacturers have the idea that you will not use a computer at all to record the content your camera captures. Most of them don't even provide Windows software for their cameras anymore. Android or iOS, that is it.

Now, a decent surveillance system, in my eyes, needs to capture content and store it on hard disk (on-premise) and preferably also in the cloud. Camera manufacturers gladly offer you their services for a monthly fee and they try to get you to buy into their vendor-lock-in scheme. Be wary of that, those costs add up quickly and I know you are more than capable enough to make something better yourself. And after you take a look at what is provided, you will be cursing for 30 minutes at least and then lose significant amounts of free time making something better yourself.

The 'able to collect the content from all cameras and show this simultaneously on screen, while also recording to hard disk' part. Trusting the manufacturer to have (Windows) software available to accomplish this, that will bite you. I had to spend quite some time on not so savory looking websites to find an old version of Windows software that does provide this functionality, created by the manufacturer, who mentioned on their website that they don't support it anymore. Instead they offer you another feature to do this for another monthly fee. The software I found works good enough, but only with this model of camera.

Luckily there is independent software available that allows you to collect camera content from multiple brands and models. Some free, most of them pretty expensive and a few ask a monthly fee per connected camera. If you go this route, take a very hard and good look at what makes and models are supported. I tried a few of these, that stated they supported the NC230 and NC240 camera models. Yeah, that was a waste of time. Don't expect any support if the camera you purchased it is not mentioned in their list.

So, depending on your choice of camera, you are bound to step in a pile of misery, lack of software support and all of them wanting to bleed you dry on a monthly fee basis.

Do yourself a favor, getting a remote doorbell and an extra camera from the same model/make of cameras you want to use in your whole surveillance system is a much better idea than buying a mix-n-match of cameras. Don't get burned like I did and waste way too much time on getting these things to work.

Oh, I forgot. WiFi around the whole house, right?
....Right, not so much after installed half of the cameras. Let alone after all of them were installed. There is no option to select WiFi channels these cameras use, that is all handled automagically, because the camera knows best. Not only that, each camera claimed way too much WiFi bandwidth for the modem router to handle. Modem/router stressed, WiFi congestion all over the place. Have fun trying to explain to your significant other why WiFi on their phone is so shabby. They won;t accept an answer that states: because it's Tuesday, with a northern wind and the neighbor having his/her lawn mowed from right to left instead of right to left as he/she normally does.

I actually ended up buying several WiFi routers (APs are difficult to get here), "dummified" them so significantly that these act as an AP, and creating a single backbone UTP cable daisy-chaining each of the 'AP routers'. Luckily that option was available on the outside of the house. As long as the significant other does not see the cable, you won't have problems. A 'backbone' around the outside of the house does this perfectly. When entering the house, it was also easy to 'work away' a single UTP cable into the woodwork/behind furniture etc. The "happy wife, happy life"-concept at work here.

WiFi mesh networks I didn't even consider, way to expensive and bandwidth wise so far from the optimal solution that it isn't funny anymore. Especially for the amount of cameras in this house. Although the 'backbone' improved the situation, Laptops and the occasional computer connected by cable in the study rooms of this house worked like you would expect when connected to one of the 'AP routers' by cable. Wirelessly the experience still wasn't great.

So, wherever I could the WiFi cameras were connected by UTP cable anyway (5 of them) and then using the MAC addresses of each camera in the DHCP server from the original modem/router to "place" them at the end of the /24 range (like 192.168.1.201 for camera 1, 192.168.1.202 for camera 2 etc.). I did notice that often when a phone (Android or iOS) linked up with the WiFi network, the ping times of the WiFi connected cameras would shoot up significantly. Sometimes round trips take 50 times longer than when there was no phone linked into the WiFi network. Again, MAC addresses from phones that often link into the network are put even further back (192.168.1.211 for phone 1, ah, you get the idea).

With all that in place, no-one is yapping in my ear anymore about WiFi issues, all camera's work great and remain responsive even when 6 or 7 phones are linked into the network as well. Actually, a girl asked if she could use one of the study rooms during business hours to work with her (WiFi only) laptop, because it so much more stable than the Internet setup at her home. Ah well, for once the owner of the house can and does charge a monthly fee to her, which covers the monthly ISP bill and she can claim it as a business expense as she works a freelancer. Everyone happy.

Nextcloud (and a tool called: CarotDAV) is used to collect the captured camera content on my own (on-premise) cloud server some 15 kilometers away (no fees other than utility costs, the hardware and, in this case, one Internet connection).

I would suggest to get a pretty beefy computer. One that is able to encode the captured content, which is h264 for most cameras, to x265 encoding, this reduces the size of the files significantly. Also capturing content and encoding it to h264 is also pretty intense already if it must be done for 9 cameras at once. There is a rule: for each connected camera, add 1 GByte of RAM. Live by that rule. The computer that stores the captured content and does the encoding has 16GByte in total. Enough for the OS, the camera recording software and h264/x265 encoding.

Let me finish by saying that it is going to cost you more than you expect. In time, in grief and hardware. Be prepared.

A list of independent camera recording software I found during this project :
- IP Camera Viewer:  Windows-only, free version is quite limited and cannot record the video feeds from IP cameras or "push" these feeds to cloud. Their full version software can really do a lot and has hardly any limit on amount of cameras you can connect to it (90 USD).
- ZoneMinder:        Linux-only, free, open source, comes with a smart phone app (static IP address for LVH would make this a much better experience).
- ISpy:              Windows-only, open source, should be able to collect video from cameras and show video from several (4?) cameras at once for free. Their commercial software can do a lot more, but monthly fees.
- Xeoma:             Windows/Linux, commercial, free version is quite limited. Monthly fees look quite expensive for what you get.
- Motion:            Linux, free, command-line management only. Collects video when a major part of the video signal changes.
- iVideon:           Windows/Linux, free/commercial, GUI-only server software, comes with desktop and mobile apps to view camera feeds.
- Kerberos.io:       Linux, commercial, their cloud only.
- Shinobi:           Linux, open source, free/commercial (monthly fee). Looks quite nice.

I think I'm still missing one: there was one that support 8 cameras for free, but it requires Windows Server machine and uses IIS 7 for content display. Looks really impressive, but requires significant hardware specs. Will look that up and add it later. 
434
Is it perhaps not a better idea to look at open source projects (and their code), which already do this kind of functionality? Nextcloud would be a decent enough place to start looking for code that handles user login, uploading of files (securely) and how they share this content among users/user groups etc. I think you can run it on a (very) recent version of the XAMPP development environment on Windows. But you could also create a VM with Linux and the test envelopment requirements.

I know for sure that the Ubuntu Server LTS iso installer has an option that says if you want to create a LAMPP (Linux Apache MySQL, PHP Perl) setup. For the rest you can use the default settings provided by the installer, those are very usable from the get-go. Skip any of the GUIs and you have a 4 GByte VM that works excellent for web development. If you plan to test a lot at once, better reserve 8 GByte of space for this VM. Assigning 1GByte of RAM to this VM is more than enough for simple development. It is slightly more work than installing XAMPP, but works well. And you bare coding against Linux, which is the most likely OS your host is using, so you won't have to do as much troubleshooting your code base.

There are other open source file sharing projects you could take a look at, in case NextCloud isn't your thing. Google is your friend.
435
[ Invalid Attachment ]

Man, I hate needles
The look of the person getting the needle prick, that is look of someone not able to cope with the extraction of blood. How do I know? When entering military service in 1995 (obligatory at that time in the Netherlands) hundreds of young men were marched through a building where you got a blood test and "stereo" shots (one in each arm) for possible international deployment. As my platoon was one of the last ones to be called up for this, I saw more than enough of them (often bigger than me) faint, puke or a look on the faces just as the person being pricked in the image above.

All of us got those shots in the morning and were excused from doing exercises or anything else related to the military. Because the shots were considered to be pretty "heavy". That and we got them on a Friday morning, so you could spend your weekend sick at home, to go back to base on Sunday night and be "fresh" for a new week of military exercises, drills, lessons, sports, shooting practice etc.

Rest assured, the meme in the image is not lost on me, but the look does not match the text and that kinda ruins it for me.
Spoiler
So I couldn't help but ruin it for everyone else too. An image of a person with the same look getting a new tattoo, that would be much better fit for this meme.


[ Invalid Attachment ]
436
General Software Discussion / Re: Easy file sharing from the Linux command line
« Last post by Shades on April 22, 2019, 10:18 AM »
Did you try this over a VPN?

I made a script for transferring files. By default it tries to send files using WebDAV, but in the case that fails, the script uses FTP as a fall back option. I make use of this FTP server software (simple, free for 3 users) and the default FTP commands available with the MS command line.

There are pretty severe limitations in the location where I need to generate the files I need to pull to my location. If this would make that whole setup even easier, I would consider to alter my script.   

437
Announce Your Software/Service/Product / Re: HelpMaker v8 introduction
« Last post by Shades on April 22, 2019, 09:53 AM »
Version 8 build 4 is 12 year old software?!?!!?

I am sure there are similar, more up-to-date software to accomplish this. But if you must, it is available on sourceforge. Seriously though, a wiki is just as useful as this software, but these are maintained and can export to almost any other format by using the appropriate extension and a click of a button.
438
Living Room / Re: accessory DVD & usb port for laptop?
« Last post by Shades on April 21, 2019, 03:44 PM »
If you need more USB ports for your laptop, buy a (preferably powered) USB hub device. Easier and reliable.

If you need more USB ports for your desktop, it is more than likely there are 1 or 2 USB headers on the main board that are not used yet. You can buy extra USB slots in a bracket to mount at the back of your desktop. If you connect these onto your motherboard, make sure to turn off your computer first. These headers more often than not support USB v2.0 or lower.

Anything else, don't bother.
439
There are already many suggestions regarding hosters and their costs/plans here at DC. So have fun looking.

It is not an option to close one account at fiverr.com and just continue with one? Being courteous with their support/helpdesk could help. It is possible that fiverr.com detected your different login attempts, because you made them from the same IP address or cookies. I have no clue about rules and regulations fiverr.com imposes and don't care too much either.

What are you planning that would require 8 domains to begin with? As you are a beginner, would it not have been smarter to start with one domain and build up your experience from there?

I got several domains here in Paraguay and several ones at a Dutch ISP. That costs me about 150 USD per year (having a static IP address isn't free either). The Dutch ISP gives me hosting and domains. For each domain unlimited subdomains, 5 MySQL databases, 20GByte of traffic each month, a web panel (not cPanel!) and unlimited mail addresses. Support for PHP 5.6 and 7 is there too and there are options in the web panel that make the installation of WordPress, Joomla! and Magento super easy. That is the service they deliver in their cheapest plan.

Spending extra cash to get the excellent uptime & service level from the Dutch ISP saves me a lot of headache and I'll find that worth every penny.

Having this setup for more than 10 years already. For the Dutch domains, yearly maintenance (on my end) is about an hour or 2. The Paraguayan domains require a lot more, but there I am running my own web server, mail server, WebDAV etc. Especially the last years mail is becoming a pain in the behind. You have no idea how many organizations there are, which patrol the internet for spammers. A good reputation score on each of those for a privately maintained mail server is much harder to maintain than you would think.

Anyway, enough nagging from my side.
440
Well, sounds like you use a share plan with your hoster (multiple paying users on one actual server). This is a common setup and for most intents and purposes also ok. Only when having lots of traffic you should consider a dedicated plan. Costs of those are much higher.

Anyway, the webserver software on your server is also shared. That limits the configuration options available to you. Your tech correctly points this out.

The articles you were reading assume you have complete control over every aspect of your webserver. Which is not true in your case, so the plan of your tech sounds reasonable to me.

You shouldn't play with the .htaccess file, unless you know what you are doing. While working with the Apache web server isn't that difficult, I would not call it easy. You need a good understanding of all the terminology and the concepts to make it work properly. A mistake is easily made and results in a mess and/or insecure website.

Your tech is also right about not blocking on IP address level, but on country codes. IP v4 addresses are running out on most continents. In the beginning it was pretty easy to block content from certain regions as you could make educated guesses about which block of IP addresses were assigned to which continent. The companies that handle the distribution of IP addresses have been swapping IP blocks amongst themselves as the need arose. Nowadays it is not that easy anymore to use IP addresses to block users from specific countries anymore.

So, the suggestion about using the country code to check against a country database for granting access sounds reasonable again.
441
Developer's Corner / Re: File Upload With Php
« Last post by Shades on April 18, 2019, 10:56 AM »
Those were just suggestions. I don't use any and have no plans to do so in the near or far future.

What I can tell you is that I like the screenshots of NetBeans the most. That is as objective and biased as it can be, so try both and see which one you like best. Or spend money on PHPStorm, it gets talked about in very positive ways on other forums I frequent, for whatever that's worth.

The links show you the feature set of each IDE. What is best for you, your coding style and the code you want to produce with it, that is something only you can decide.

Notepad++ is an excellent text editor, which detects many different scripting/coding languages. But that doesn't mean it is a right fit for coding. For minor adjustments in code when you don't have time to open a full fledged IDE, sure. But it is practically always better to fire up the IDE instead. And nowadays, almost anyone uses SSDs as their main drive, so starting up an IDE isn't nearly as time-consuming as it once was.

IDEs usually come with another handy feature, a link to one or more Version Control Systems (Git, Mercurial, SVN etc.). Use this to commit your code into (with proper description of what you were trying to do) your repository. If When you need to go back in time at some point during the coding of your project, you will be very happy you did. All have their pro's and con's, but Git is very popular nowadays, so it will be handy for you to follow the masses here. Also, there is tons of free information floating around the Internet about Git.
442
Developer's Corner / Re: File Upload With Php
« Last post by Shades on April 17, 2019, 10:07 PM »
As a general note: 'Doesn't work' is the most useless error description you can provide to anyone trying to solve your problem. Describe what you do, step by step, in clear and short terms, preferably with clear screenshots of the steps you take and the error message that is presented to you. That will make answering or troubleshooting much more easier for yourself and the troubleshooter.

If you fling your questions onto StackOverflow in the same way as you do here, it is very obvious why you have encountered the open question limit over there. Don't expect your questions to be answered soon there (or here). People don't have any idea of what you are doing, how your environment looks like or what tools you are using. Here's a secret, they don't give a flying f..k care, because they have much more useful things to do with their time.   

So, mention what version of PHP you use. Mention what type of server (Windows/Linux). Mention which web server (Apache, NGINX, other) etc.

Another general note: Web servers, by default, are configured only to serve files to anyone who asks, not receive files and storing these. How sure are you that the web server you use is configured to allow for file uploads?

Last general note of this post: You are setting some values in your final error message. Why? Error messages are there to inform the user and preferably never contain forms of code. That is true for any type of messaging to inform the user.

In your case, I would seriously suggest to start using an IDE for PHP development. It is clear that you don't. IDEs help you out with code completion, syntax and the better IDEs even have tools that analyze the code you create in them and show (some of) the errors in your concept code.

NetBeans and Eclipse have IDEs for PHP development that are free to use. PHPStorm is not free. Besides that info, I have no experience with any of them, so you are on your own there.
443
Gentlemen, may I present: MultiCommander. The link describes the 'Search' functionality from this freeware file manager, but there are a lot more things possible.

With Directory Opus it is pretty easy to find where the differences in a folder structure are. You can enable a function to automatically count the size of a folder and it appears very quickly in view next to the folder name. MultiCommander has similar functionality. While not as smooth as in Directory Opus, it does work. You can then use the dual pane view, point each of the pane to the folders you want to compare and start the folder size counter. Identifying which folder is different becomes pretty simple.

If you have often these kind of jobs, just as Directory Opus, MultiCommander has scripting options and it allows you to create buttons that allow you to unleash (your own) scripts on the file(s)/folder(s) you have selected. Again, it isn't as smooth as Directory Opus in this regard either, but as freeware file managers go, this is a seriously impressive feature. You can even link batch scripts to buttons with the included editor.

Granted, initially it is more work to get the immediate job done, but I think that with a bit of digging and tweaking, you'll have a Swiss pocket-knife of a tool to do some serious work with files at the touch of a few buttons.

444
Developer's Corner / Re: Sql Syntax Error
« Last post by Shades on April 12, 2019, 11:04 AM »
15 years or so ago I took a look at working with PHP. Bought books (with example CD included) and such for that journey. Perhaps some 4 or 5 months in, I started to dislike it profoundly and never looked back. Sold all I had about PHP and never did anything real with it anymore. I am sure code quality has improved a lot from the mess it was back then, but meh. You have already more experience with current PHP syntax than I do, so don't expect examples from my end.

So, invest in a digital or analog book about the subject and brush up your knowledge about how to do things right, before you have coded a semi-functional something that is rife with bad coding practices and/or security flaws. Or check videos if that is more of your thing than books. Free online courses from respectable universities are available to you as well. The main point here is to educate yourself first, before going down the rabbit hole (the 'failing to prepare == preparing to fail' thing).

Bumping your head on the material is (and must be) part of the learning process. Using pre-chewed examples won't make you understand the material better. And if you use those examples verbatim in your code, be prepared for lots of misery later on in your project. And by then fixing the technical debt will be a major headache. And you'll likely start over from scratch, doing it right. Except you have lost about two to three times the amount of time in the best of cases.

The placeholder "?" was used because it was mentioned in your example. ? is one of a set of special characters, which need more "treatment" in queries (encapsulation and/or escape characters). And you will have "fun" with applying the type of encapsulation that works well on one operating system and not the other. Code that works on a Windows development box is not guaranteed to work on a Linux production box. Or even a Windows production box (if the development box differs too much from the production box).

In any case, that kind of experience you must learn first hand, else it haunts you your whole career or even a lifetime.

Another tip:
If Google doesn't give you examples of a pagination script with search feature....
...why not search for examples of pagination scripts, other examples of search scripts and combine these yourself on your development box? Losing lots of time looking for one special item or dividing the search into parts and perhaps lose a lot of time making the parts whole. Guess which approach will get you more educated and improve your skills...

DC member Wraith is right about you searching for examples or advice on sites like StackOverflow, SuperUser or even W3Schools. Such sites were created with people like yourself (in the beginnings of their programming career) in mind. To give such persons a helping hand, I mean.
445
Have had it several times already that offices move from one building to another and that I had to pull all the network cabling from one location to install this into the other location....and that I wasn't allowed to spend extra time to cut cables to size where needed. Because cheaper. Which is shortsighted as any future maintenance becomes more time consuming because of the "puzzle factor" that that any cable mess introduces. and there is only so much you can do to keep (much) too long cables out of each other's way. Lack of storage space for the surplus cable makes it not fun to work in patch rooms/server rooms in such cases.

Ah well, it is as it is.
446
Developer's Corner / Re: if(file_exists..) is Failing!
« Last post by Shades on April 08, 2019, 10:24 PM »
That is most likely a Linux server that hosts your website. As a backup for my locally running web server, I have a another domain hosted in a different continent. But access to that site is not managed by cPanel. In that web GUI interface it is pretty easy to alter access rights for files/folders. But with cPanel I don't know if you have the same functionality. If not, you could try to setup a Putty session to your web-server and use:

    CHMOD /R 775 /the.exact.folder.path.on.your.hosted.server.which.is.case.sensitive    (on a shared host server it can be a very different path than you expect from the onset) 

- CHMOD   name of the command to alter access rights of files and/or folders on Linux.
- /R           recursive. All sub folders below the folder you want to alter are altered as well.
- 775         That code indicates the root account has complete access.
                 The user groups you assign to this folder have complete access as well (the user group linked to the web server software is one of these groups).
                 All other users can read and execute files in the folder you select. This is a good value during development, but not if you serve your website to the public.

Afterwards you should change from 775 to 755 and check if your website still works as you intended. It should work and if it doesn't, revise your code until it does.

Be very careful with this line, it is very easy to open up your website too much and that is something you really don't want to do.
447
Clipboard Help+Spell / Re: Clipboard Help+Spell errors
« Last post by Shades on April 08, 2019, 09:35 PM »
While the 'Properties' screen of a file shows the attributes set for that file, that is not necessarily the way how that file is treated in day-to-day use. There is a tool SetACL Studio, (the company gives away a full license for that tool) that shows you how the access right for any file or folder are really managed by Windows. It also allows you to make adjustments and it is a much nicer interface than the default tools that Microsoft delivers with Windows.

It might be an update of Windows 10 that adjusted/resetted the ACL (Access Control List) for files/folders on your C:\ partition.
448
Clipboard Help+Spell / Re: Clipboard Help+Spell errors
« Last post by Shades on April 08, 2019, 07:01 AM »
Did you place it like:
  C:\(your.portable.CHS.instance)
or
  D:\(your.portable.CHS.instance)

In other words, the root folder on any of the partitions of the computer?

If so, Windows tries to protect you from yourself. It is better to create a folder structure like: C:\Portable\(your.portable.CHS.instance) and adjust the security rights of folder: C:\Portable (and its sub folders) by yourself. However, if you have a different partition than C:\ I would use that partition to create for example: D:\Portable\(your.portable.CHS.instance)

Windows gives you much less grief in any other partition than C:\ regarding file/folder access rights.
449
NextCloud or similar software running on your own computers.

That works as well. Not difficult, but not as easy, of course. Still, an interesting learning experience to make it work and you can run this on a as-needed basis. Can communicate with Azure, AWS or other cloud services as well, if so desired.
450
DC Member Programs and Projects / Re: GDPR Blocking (PHP Edition)
« Last post by Shades on April 06, 2019, 06:39 PM »
If I would not have added "(hopefully)" then yes, it would be serious.

But rest assured, I am very familiar with the unbridled apathy and lazyness of the general public at large and millennials in particular. Hence the addition.
Pages: prev1 ... 13 14 15 16 17 [18] 19 20 21 22 23 ... 118next