#if statement in php
Explore tagged Tumblr posts
relto · 8 months ago
Text
the docs for the regular variable bind say that you can reuse statements by simply assigning the bound variables new values, and well it looks like that was a lie too.
0 notes
thetexvn · 2 years ago
Text
Tumblr media
Conditional Statement in PHP with examples
1 note · View note
victusinveritas · 4 months ago
Text
Tumblr media
Statement from Yosemite NPS workers:
“The purpose of this exercise of free speech is to disrupt without violence and draw attention to the fact that public lands in the United States are under attack," it reads. "The Department of the Interior issued a series of secretarial orders that position drilling and mining interests as the favored uses of America's public lands and threaten to scrap existing land protections and conservation measures. Firing 1,000s of staff regardless of position or performance across the nation is the first step in destabilizing the protections in place for these great places."
"These losses, while deeply personal and impactful, may also be invisible to visitors and members of the public — we are shining a spotlight on them by putting a distress flag on El Capitan in view of Firefall. Think of it as your public lands on strike."
Link: https://www.sfchronicle.com/outdoors/article/yosemite-protest-job-cuts-20180229.php
436 notes · View notes
the-vampire-fish-queen · 6 months ago
Text
The UK needs some help with there own Online Safety Act (UK KOSA) that going to end up shutting down both small and big sites starting in March 2025.
It's already starting a online cycling community web forum with over 60K users shutting down because of the UK Online Safety Act (UK KOSA).
Link to more info here
"Reading https://www.ofcom.org.uk/online-safety/illegal-and-harmful-content/time-for-tech-firms-to-act-uk-online-safety-regulation-comes-into-force/ and we're done... we fall firmly into scope, and I have no way to dodge it. The act is too broad, and it doesn't matter that there's never been an instance of any of the proclaimed things that this act protects adults, children and vulnerable people from... the very broad language and the fact that I'm based in the UK means we're covered.
The act simply does not care that this site and platform is run by an individual, and that I do so philanthropically without any profit motive (typically losing money), nor that the site exists to reduce social loneliness, reduce suicide rates, help build meaningful communities that enrich life.
The act only cares that is it "linked to the UK" (by me being involved as a UK native and resident, by you being a UK based user), and that users can talk to other users... that's it, that's the scope.
I can't afford what is likely tens of thousand to go through all the legal hoops here over a prolonged period of time, the site itself barely gets a few hundred in donations each month and costs a little more to run... this is not a venture that can afford compliance costs... and if we did, what remains is a disproportionately high personal liability for me, and one that could easily be weaponised by disgruntled people who are banned for their egregious behaviour (in the years running fora I've been signed up to porn sites, stalked IRL and online, subject to death threats, had fake copyright takedown notices, an attempt to delete the domain name with ICANN... all from those whom I've moderated to protect community members)... I do not see an alternative to shuttering it.
The conclusion I have to make is that we're done... Microcosm, LFGSS, the many other communities running on this platform... the risk to me personally is too high, and so I will need to shutter them all.
What and When
So here's the statement...
On Sunday 16th March 2025 (the last day prior to the Act taking effect) I will delete the virtual servers hosting LFGSS and other communities, and effectively immediately end the approximately 300 small communities that I run, and the few large communities such as LFGSS.
It's been a good run, I've administered internet forums since 1996 having first written my own in Perl to help fans of music bands to connect with each other, and I then contributed to PHP forum software like vBulletin, Vanilla, and phpBB, before finally writing a platform in Go that made it cost efficient enough to bring interest based communities to so many others, and expand the social good that comes from people being connected to people.
Approximately 28 years and 9 months of providing almost 500 forums in total to what is likely a half a million people in that time frame... the impact that these forums have had on the lives of so many cannot be understated.
The peak of the forums has been the last 5 years, we've plateaued around 275k monthly users across the almost 300 websites on multiple instances of the platform that is Microcosm, though LFGSS as a single community probably peaked in the 2013-2018 time period when it alone was hitting numbers in excess of 50k monthly users.
The forums have delivered marriages, births, support for those who have passed (cancer being the biggest reason), people reunited with stolen bikes, travel support, work support, so much joy and happiness and memorable experiences... but it's also been directly cited by many as being the reason that they are here today, the reason they didn't commit suicide or self-harm. It's help people get through awful relationship breakups, and helped people overcome incredible challenges with their health.
It's devastating to just... turn it off... but this is what the Act forces a sole individual running so many social websites for a public good to do.
I don't know where to recommend... I know lots of people have moved small groups to places like Signal and WhatsApp, and that some people are on the fediverse, and some are in other websites and groups.
There is no central place that could take us all and preserve the very special thing we had... so it's done.
This is a really special place... the people are special... I guess the next 3 months will be a time of sharing what it meant, and of groups figuring out where they want to go next.
Love you all forever, it's been amazing to be a part of it all, I never thought I'd touch the lives of so many people by running websites, and in turn to give so much reason to my own life. In the end, the person I save most was likely myself.
Dee"
This is very bad and the compliance requirements will affect alot of websites based in the UK and Ofcom seems very out of its depth.
The whole thing is an unworkable mess and will collapse under its own weight. There also alot of privacy and legal issues with it.
This may also affect Tumblr and force the site to leave the UK.
Please spread awareness!
39 notes · View notes
typhlonectes · 1 year ago
Text
Tumblr media
New findings suggest more ocelots in Texas than previously thought
Approximately 100 ocelots have been documented in South Texas. 
The results of a recent DNA test on an ocelot found dead three years ago in Hidalgo County suggests there may be more of the endangered wildcats in Texas than previously thought. Scientists studying samples collected from a male ocelot that had been killed after being hit by a car along Highway 281 in 2021, determined the feline was not only related to breeding populations in deep South Texas but also shared the same DNA as ocelots found in northeast Mexico.
It's the first time that an ocelot has been found outside of its known range in the U.S., according to Tom DeMaar, former Gladys Porter Zoo veterinarian. "It makes you wonder; how many more ocelots are hidden out there?" DeMaar, who is also a member of the board of directors for Friends of Laguna Atascosa National Wildlife Refuge, said in a statement. Approximately 100 ocelots have been documented in South Texas between Laguna Atascosa Wildlife Refuge in Cameron County and private lands in Willacy County, according to Defenders of Wildlife, a U.S. conservation organization.  "The results suggest that this cat possibly occupies a region of South Texas not yet known to ocelot researchers," said Sharon Wilcox, senior Texas representative for Defenders of Wildlife, in a statement. "Hidalgo County may have more ocelots present in its more remote sections where appropriate habitat and access to prey exists." ...
Read more: https://www.chron.com/life/wildlife/article/texas-ocelots-dna-test-19416448.php
69 notes · View notes
augwltz · 2 months ago
Text
hi, tumblr ! im an aspiring writer who desperately needs a source of income this summer(。•́︿•̀。) so, i do writing comms (≧∇≦) ! if you’re someone who’s interested, kindly read below ! services offered ~ ☆ essays ☆ fan fiction ☆ original stories (short stories) ☆ formal and informal letters ☆ scripts ☆ movie reviews  ☆ summaries  ☆ speech ☆ proofreading ☆ oc lores  ☆ personal statements genre ~ ☆ romance ☆ angst ☆ low fantasy  ☆ trauma dumping  ☆ mystery ☆ horror ☆ note: all that is stated above must be SFW !  fandoms ~ ☆ Attack on Titan ☆ Jujutsu Kaisen ☆ Demon Slayer ☆ My Hero Academia  ☆ Blue Lock ☆ Haikyu!! ☆ The Disastrous Life of Saiki K. ☆ Dandadan ☆ etc.  prices ~  ☆ 100 - 150 words: 2$ / 100 PHP  ☆ 200 - 250 words: 3$ / 200 PHP ☆ 300 - 350 words: 5$ / 300 PHP ☆ 500-600 words: 10$ / 600 PHP exclusive for students ~ 150 words: 1$ / 50 PHP important notes ~ ☆ kindly pay 40% of your purchase once requested to avoid scams ╥﹏╥ ♡ ☆ i am an incoming 10th grade student with an executive position in my club, so kindly keep in mind that i have other priorities  ☆ i dont do nsfw ☆ im still learning from my mistakes in writing so please bear with me !  ☆ if you dont see your fandom in what i had previously stated, kindly mention it to me and i’ll see if i can write about it ! (only limited to anime, though) ☆ strictly: no rush orders !  ☆ kindly state the topic, if must: state in a detailed way. ☆ you may ask for my previous works to serve as your sample ☆ the duration of my works may vary depending on your request. do NOT request for a work if it has a deadline in 3 days.  ☆ for international people, i accept payments through robux >< ☆ i will be entertaining a maximum of 5 clients at the moment!
8 notes · View notes
lavender-lily-lilac · 19 days ago
Text
https://www.expressnews.com/lifestyle/article/king-of-the-hill-jonathan-joss-san-antonio-fire-20053771.php
"Joss said he and his partner had lit a barbecue grill inside the house for warmth and to "make some Abuelita" Mexican hot chocolate earlier Thursday, but were sure they extinguished it before leaving at noon to get lunch and pick up supplies to clean the home.
Fire crews reportedly responded to the home in the 200 block of Dorsey Drive around 1 p.m. Thursday. By the time Joss and his partner returned just before 2 p.m., the uninsured residence was a smoldering loss.
"I told them it was my fault," Joss said. "Very easily it could have started because of my stupidity.""
yet then Joss' husband Tristan Kern de Gonzales said on facebook after the shooting:
“My husband Jonathan Joss and I were involved in a shooting while checking the mail at the site of our former home,” the statement began. “That home was burned down after over two years of threats from people in the area who repeatedly told us they would set it on fire. We reported these threats to law enforcement multiple times and nothing was done.”
doesn't add up
6 notes · View notes
macwantspeace · 17 days ago
Text
SA Police Chief McManus on day-after statement that it was Not a hate crime. Joss's partner has said that the neighbor was screaming homophobic epithets when the shot was fired. Days after the fatal shooting of a beloved voice actor from San Antonio, police say they prematurely issued a statement in the investigation. "We issued a statement the day after Jonathan Joss' murder that was way way way premature. Shouldn't have done it. It was way too soon before we had any real information, and I will own that," San Antonio police chief William McManus said during a news conference on Thursday, June 5. He said he recognizes that many individuals in the LGBTQ+ community are feeling anxious and concerned, particularly after the premature announcement. In response, SAPD is hosting a community forum at 6 tonight at Woodlawn Pointe – Center of Community, located at 702 Donaldson Ave.
Tumblr media
https://www.mysanantonio.com/news/local/article/jonathan-joss-hate-crime-sapd-20362856.php
4 notes · View notes
izicodes · 1 year ago
Text
Tumblr media Tumblr media
Wednesday 6th March 2024 - [ Week 1 Day 4 ]
Today I studied primarily on Codecademy's "Learn PHP Skill Path" and still on the basics but it's pretty easy??? Programming languages have a trend of starting off relatively the same, each having small differences.
What I learnt today:
🩵 Defining Functions 🩵 Invoking Functions 🩵 Return Statements 🩵 More on Return Statements 🩵 Return Values 🩵 Returning NULL 🩵 Parameters 🩵 Multiple Parameters 🩵 Default Parameters 🩵 Pass By Reference 🩵 Variable Scope
Tumblr media
💌 Day 4: What has been easy so far from learning PHP?
Like I said in yesterday's post, learning the basic fundamentals is fair easy because most programming languages start off the same~!
[ The challenge ]
Tumblr media
26 notes · View notes
never-not-ever · 30 days ago
Text
new therapist and PHP
So yesterday I had my first session with my new therapist and it wasn't bad. I already like her and feel like I can open up easy to her. She reminds me of a nurse from inpatient in a good way! It was a very chill, lowkey, sarcastic, funny nurse so it's not a bad thing.
I talked mainly about the possibility of this PHP program. I heard back from the admissions coordinator and she was happy to hear from me and said she'd would welcome my reapplication. I have to write a personal statement and I need a narrative from a family member-my grandmother. When I heard this and remembered about how keen they are on family involvement and family therapy I kind of started to question myself with this program. I really don't want my grandmother involved but I feel guilty because she's the one helping me pay for that although- I'll get to that next...
So I also asked for clarification on the costs of the program because it's self pay. There's an initial fee you pay the day before the program and then they bill your insurance for the groups. The individual therapy and family therapy though, ughhh that's billed privately to you and "most families submit claims to insurance for partial reimbursement". First off I have shitty state insurance and I called today and they don't do any out-of-network reimbursements. The admissions coordinator said that some people will pay for plans with BCBS. I set up a phone call for someone from BCBS to call me Monday so I can ask them questions about this. It's so complicated and making me want to just say fuck it all it's not going to work. Because I have state insurance (I don't even know if this is the right term?) it's Medicaid and therefore because I qualify for Medicaid I can't purchase an individual BCBS plan but they do have Medicaid HMO plans. I have no idea what any of this means hence me planning on asking questions on Monday.
Like one-if they would accept claims and partially reimburse- wait I'm getting ahead of myself. My Nana and myself were both under the impression of the initial fee thinking that was it. I'm not going to talk about the cost on here but it's kind of a lot. The monthly therapy fees can vary and I calculated it based on the lowest possible option and multplied it by 6 months and that total it more than double what the initial fee is and I know my grandmother does not know this. I think she might have known there could be a little extra each month but definitely not this much.
Ughhh I'm getting frustrated thinking of all this cause I just don't see it working out. And it sucks cause of course when I finally feel ready for this program, finally am a little future oriented and dare I say hopeful, picturing my life with this program of course something would come up and take it away.
My new therapist is great and was very like "well lets see what we can do about finding other groups for you to join" and she's also one who does like phone coaching/skills coaching, like I can text her and I could ask to meet earlier in the week or have a brief call. So I'm feeling hopeful having her. But the more I think about this PHP the more annoyed I get and just want to say fuck it all.
Have zero mental energy to go back and reread all this crap.
2 notes · View notes
knightinkosherarmour · 7 months ago
Text
Post Human Studies: The Unreal State
This week, students, we return to the concept of Post Human Polities - PHP - as opposed to Post Human Species - PHS - as established in our previous lecture on the Progress Cult. As loathe as I am to bring up the maniacs behind the Progress Cult, if you can all forgive my editorializing, today's lecture deals with one of their successor PHPs, the Unreal State. The Unreal State most likely has deep ties to the social thought behind the Progress Cult which was Anarchoacademic Liberism.
For reasons you will come to understand, I hope, most of today's statements regarding the Unreal State must be coached in uncertainties. First however, let us discuss and attempt if not to define than circle a definition for Anarchoacademic Liberism. Anarchoacademic Liberism is an attempt at a revival of old Earthen ideologies of futurism and anarchism as understood by the Provost Major of the Progress Cult. To his understanding, anarchism was simply abolishing any and all social taboos and understandings as well as abolition of most state functions and futurism was putting ultimate faith in any and all new emergent technologies regardless of ethics behind them. As a student of Earthen and Human philosophies and ideologies, I must question where the Provost Major gained his understanding. The Provost Major thusly structured what remained of the Progress Cults state apparatus after various academic institutions supposing they would be best at encouraging the acquisition of information.
After the Applied Military Theories and the dissolution of the Progress Cult's holdings following the Provost Major's death, one of the break away polities was the Unreal State. The Unreal State was like many other successors to the Progress Cult, charismatic leaders putting their own spin on Anarchoacademic Liberism. However, the Unreal State took it one step forward, and began an assault against the very fundamental laws of reality.
This is now where things will have to enter supposition. Everything after this is conjecture. There are three possibilities to what the current Unreal State is.
The first is this, there is a pocket of space in what was once a Progress Cult controlled system once was. The Unreal State as much as it exists exists there, in space that no longer follows the same rules, if any, as the rest of reality if the space follows any rules at all. The Unreal State has managed to create a rupture in reality that in a system whose name can no longer be recorded on any form of media, believe me experts in the field of memetic hazardous storage have tried. Now that we have established that Unreal State now lies entirely within this rupture and potentially other ruptures comes the questions of those people who claim to be from the Unreal State. Those individuals we met claiming to be Citizens of the Land That Isn't and are displaying high levels of universal dissociation are from this Unreality and seek to spread its dissolution of reality with a fever that rivals adherents of the Green Orthodox Bible. Attempts to enter these gaping holes in reality, which now include what once was Mercury of the Sol System, more or less than resounding failures with to this dates no contact being able to be established or return trips emerging.
The second is this there is a pocket of space in what was once a Progress Cult controlled system once was. The second possible explanation is that these ruptures in space time are actually more akin wormholes, portals to a place we do not yet understand where only those who have spent long periods exposed to the Unreal State can survive, or those become citizens there. We have heard reports from surviving Citizens that have return that the state is engaged now and not just the war against the very fabric of reality but against those that maintain it and those beyond the veil. They claim knowledge of Cthulhiods, named after the Old Earthen Occultist’s Erotic Creation’s writing, and other creatures of the firmament such as Angels of Vangel. These citizens that they alone of humanity take the war for liberation to new fronts, they fulfill the work in words promised by humanity for years before. Whoever is part of this work they have emerged to changed, part of the universal disassociation is that in parlance some of you might laugh at they seem to clip through objects that were steady as possible they no longer react in the right ways on a physiochemical level to external interactions. Most worrisome part of this is that this does not seem to be isolated and is capable of spreading it is how Mercury once a famed center of medical research was dissolved and in the place where it once rotated now is a gaping Mall visible through the solar system at all times. It has made Earth's first colony Venus, turn itself into a fortificated world and reinforce the paranoia in isolation of the Martian gardeners. That of the four cradle worlds of mankind, on has been lost already, is a portent of doom.
The third is this there is a pocket of space in what was once a Progress Cult controlled system once was. This one is the most comforting one to me, all individuals claiming to be from the Unreal State are charlatans and delusional. The Unreal State does not in any form exist and it is merely a galactic Boogeyman. That all previous suppositions can be simply explained away through a clever trick of the hand and a heavy heavy dose of ignorance. This however is the least likely.
The one confirmed fragment I have found consistent is this.
"In the Unreal State, the whole of the law is this: There shall be no Law, neither against murder nor that yoke of gravity, and to oppose all other laws shall be your duty."
Even speaking of the Unreal State is fraught with the fact almost nothing is confirmed there are many suppositions many ideas of things that could be known but in the end what is confirmed is a little more than dust in the wind. I hope against hope to whatever deities that there truly are if they are benevolent in this world, that the Unreal State is simply a fiction of already unstable cultists. For the consider anymore of what it's potential truths imply makes me jealous of those with cybernetic implants who may cleanse their mind.
Now students, if any of you here are truly real or here, the lecture is over. Class dismissed. I hope to see you in some form again soon. I need a drink of coffee. Is this still recording?
5 notes · View notes
ksoftwebdevelopment · 7 months ago
Text
Understanding the Difference Between a Website and a Web Page: A Complete Guide
Understanding the Difference Between a Website and a Web Page: A Complete Guide
In today’s digital landscape, terms like website and web page are used interchangeably, often causing confusion among businesses and individuals seeking an online presence. However, as a business owner or a digital marketer, understanding the difference is essential for creating an impactful online strategy.
At KSoft Technologies, where we specialize in website development, digital marketing, and SEO services, we often encounter this question from clients. This guide not only simplifies the distinction between a website and a web page but also explores their technical aspects and how they align with your business goals.
What is a Website?
A website is a collection of interlinked web pages hosted under a single domain name, designed to serve a specific purpose. Think of it as a digital storefront or an online hub that provides a comprehensive experience to users. Websites can vary significantly based on their type and functionality:
Corporate Websites Ideal for businesses aiming to showcase their products, services, and achievements. For example, the KSoft Technologies website highlights our expertise in areas like SEO, app development, and web design.
E-Commerce Websites Platforms like Amazon or Shopify allow businesses to sell products directly to customers. These websites integrate payment gateways, inventory management systems, and customer service functionalities.
Portfolio Websites Focused on showcasing individual or business achievements, these websites are ideal for freelancers or creative professionals.
Landing Pages Dedicated pages within a website that focus on lead generation and conversions, often used in digital marketing campaigns.
Blogs and Forums Content-centric websites aimed at providing information, engaging with communities, or building authority in a niche.
Technical Structure of a Website
A website comprises:
Domain Name: The unique address users type in to access the site (e.g., ksofttechnologies.com).
Hosting Server: Where all the data and files of the website are stored.
Content Management System (CMS): Tools like WordPress or Joomla that allow users to create and manage content.
Backend and Frontend: The backend involves server-side scripting (e.g., PHP, Python), while the frontend includes design elements (e.g., HTML, CSS, JavaScript).
What is a Web Page?
A web page is a single document within a website, identifiable by its unique URL. For example, on ksofttechnologies.com, the “Contact Us” page or “Services” page is a web page.
Types of Web Pages
Static Pages Content remains the same unless manually updated. They’re ideal for information like company profiles or mission statements.
Dynamic Pages Content is fetched from a database and changes based on user interaction. Examples include dashboards or search results pages.
Landing Pages Specifically designed for marketing campaigns, focusing on a single product, service, or call to action.
Blog Posts Individual articles or write-ups focused on specific topics within a blog section of a website.
Technical Structure of a Web Page
Each web page includes:
URL Structure: For example, https://ksofttechnologies.com/services.
HTML Markup: Defines the structure and content of the page.
CSS and JavaScript: For styling and functionality.
Metadata: Helps search engines understand the page content.
Key Differences Between a Website and a Web Page
 Definition
Website: A collection of multiple interlinked web pages.
Web Page: A single document within a website.
Scope
Website: Broader; provides comprehensive information or services.
Web Page: Narrower; focuses on a specific topic or purpose.
 URL
Website: Main domain name (e.g., ksofttechnologies.com).
Web Page: A subset URL (e.g., /services, /about-us).
 Interactivity
Website: Enables complex user interactions.
Web Page: May have limited or single-point interactions.
 Purpose
Website: Serves as the entire digital presence.
Web Page: Addresses a specific intent or question.
How Websites and Web Pages Work Together
To draw an analogy, a website is like a library, while web pages are the individual books or chapters within it. Each web page serves a specific purpose and contributes to the overall functionality of the website.
Example from KSoft Technologies
Website Level: Visitors land on ksofttechnologies.com, where they see an overview of our services like web development, app design, and SEO consulting.
Web Page Level: When they click on "Digital Marketing," they are directed to a dedicated page detailing our strategies, success stories, and packages.
Why Understanding the Difference Matters
For businesses, distinguishing between a website and a web page is crucial for:
Better SEO Strategy Search engines like Google evaluate websites and individual web pages differently. Optimizing individual pages for keywords (e.g., “website development services”) improves rankings and traffic.
User Experience Creating well-structured websites and easy-to-navigate web pages ensures a seamless user journey.
Content Strategy Knowing the role of each web page within your website helps in creating targeted and engaging content.
SEO Best Practices for Websites and Web Pages
Keyword Optimization Include relevant keywords like “website development,” “SEO services,” and “digital marketing agency” in titles, headings, and content.
Internal Linking Link related web pages within your website to improve navigation and reduce bounce rates.
Responsive Design Ensure your website and all web pages are optimized for mobile devices.
Page Load Speed Use tools like Google PageSpeed Insights to identify and fix issues.
Content Quality Provide valuable and actionable content for visitors, such as this guide explaining technical concepts.
How KSoft Technologies Can Help
At KSoft Technologies, we understand that your website is the cornerstone of your digital presence. Whether you need a user-friendly corporate website, high-converting e-commerce platform, or optimized web pages for SEO, our team of experts is here to help.
Our services include:
Website Design and Development: Tailored to your brand and business goals.
SEO Services: Ensuring your web pages rank high for targeted keywords.
Content Strategy: Helping you create engaging, keyword-rich content for better rankings and user retention.
Conclusion
While a website is the broader digital presence, web pages are its building blocks. Understanding the distinction between the two helps in planning and executing a robust online strategy. By leveraging the expertise of KSoft Technologies, you can ensure that your website and web pages work seamlessly to drive traffic, generate leads, and grow your business.
3 notes · View notes
sqlinjection · 8 months ago
Text
SQLi Potential Mitigation Measures
Tumblr media
Phase: Architecture and Design
Strategy: Libraries or Frameworks
Use a vetted library or framework that prevents this weakness or makes it easier to avoid. For example, persistence layers like Hibernate or Enterprise Java Beans can offer protection against SQL injection when used correctly.
Phase: Architecture and Design
Strategy: Parameterization
Use structured mechanisms that enforce separation between data and code, such as prepared statements, parameterized queries, or stored procedures. Avoid constructing and executing query strings with "exec" to prevent SQL injection [REF-867].
Phases: Architecture and Design; Operation
Strategy: Environment Hardening
Run your code with the minimum privileges necessary for the task [REF-76]. Limit user privileges to prevent unauthorized access if an attack occurs, such as by ensuring database applications don’t run as an administrator.
Phase: Architecture and Design
Duplicate client-side security checks on the server to avoid CWE-602. Attackers can bypass client checks by altering values or removing checks entirely, making server-side validation essential.
Phase: Implementation
Strategy: Output Encoding
Avoid dynamically generating query strings, code, or commands that mix control and data. If unavoidable, use strict allowlists, escape/filter characters, and quote arguments to mitigate risks like SQL injection (CWE-88).
Phase: Implementation
Strategy: Input Validation
Assume all input is malicious. Use strict input validation with allowlists for specifications and reject non-conforming inputs. For SQL queries, limit characters based on parameter expectations for attack prevention.
Phase: Architecture and Design
Strategy: Enforcement by Conversion
For limited sets of acceptable inputs, map fixed values like numeric IDs to filenames or URLs, rejecting anything outside the known set.
Phase: Implementation
Ensure error messages reveal only necessary details, avoiding cryptic language or excessive information. Store sensitive error details in logs but be cautious with content visible to users to prevent revealing internal states.
Phase: Operation
Strategy: Firewall
Use an application firewall to detect attacks against weaknesses in cases where the code can’t be fixed. Firewalls offer defense in depth, though they may require customization and won’t cover all input vectors.
Phases: Operation; Implementation
Strategy: Environment Hardening
In PHP, avoid using register_globals to prevent weaknesses like CWE-95 and CWE-621. Avoid emulating this feature to reduce risks. source
3 notes · View notes
shezasag · 2 years ago
Text
Tumblr media
been thinking abt this quote from shuhada' sadaqat & about how this relates to the idea of distress tolerance & how it's valorized in our society as a marker of Great Strength to be resilient. to be able to stand up from being beat down & keep it moving. to not break down ever, and if you do, to recover quickly. the unspoken part of this platitudinal belief of "resiliency above all else" is the ways in which capitalism has directly caused the distress to begin with and how it demands we keep pushing through that distress in order to keep it alive.
why is it a good thing to be this resilient, this "emotionally strong" (aka emotionally stunted)? why is this something to be praised? what/who benefits from being able to brush off emotional pain? because it's certainly not the person who's expected to portray this resiliency, who's expected to be "well adjusted". to be resilient in our current world means to stifle your innate understanding that we are being harmed by society on a broader scale than just your individual grievances. to be resilient is to push through the incorrectly given diagnoses of mental illness(es) when often the issue isn't actually rooted in a disorder of the mind, but is instead rooted in a disorder of society & shouldn't be pathologized.
in my php/iop after rehab i briefly brought this concept up because the therapists, with good intentions, kept praising everyone for "the resiliency being shown through our early sobriety" & they pretty much ignored me. the entire purpose of the Recovery Industry is to "fix" us broken addicts and return us back to being productive members of society, i.e. workers to exploit for capitalism's gain, while also monetizing our recovery itself. whether or not they actually do intend to "fix" us or keep us cycling through their doors is another conversation, but their general statement of intent relies on "fixing" us. so for me to question distress tolerance being so admirable when it's such a cornerstone of recovery not just from addiction, but recovery from all mental health concerns, probably unsettled them & felt like a personal attack.
my point isn't that distress tolerance in and of itself is bad, though. even without capitalism there will always be stress, there will always be bad things that happen in this world and we do have to be able to move past them to some degree and deal with it. but we also don't have to prioritize shoving down our emotions, shoving down our reactions to this distress, for the sake of appearing "better adjusted" to the society that caused the distress in the first place.
21 notes · View notes
aurianneor · 6 months ago
Text
Tumblr media
Polizei, Armee
In Frankreich versprechen Gendarmen und Soldaten, „sich dem öffentlichen Wohl zu widmen und die erhaltenen Befehle nur unter strikter Achtung der menschlichen Person zu befolgen und verpflichten sich nur zur rechtmäßigen Anwendung von Gewalt“. Sie legen keinen Eid auf die Machthaber ab.
Décret n° 2013-874 du 27 septembre 2013 relatif à la prestation de serment des militaires de la gendarmerie nationale: https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000027996846#:~:text=Je%20promets%20de%20faire%20preuve,’exercice%20de%20mes%20fonctions.%20%C2%BB
Die Polizei und die Gendarmerie stehen „im Dienst der republikanischen Institutionen und der Bevölkerung“.
: https://www.devenirpolicier.fr/sites/default/files/2021-02/code-deontologie-police-gendarmerie-2021.pdf
Code de déontologie de la Police nationale et de la Gendarmerie nationale:
Manif des policiers: “Je suis gilet jaune” “on choisit le peuple”: https://youtu.be/ZOGojKoJzPA 
Message d’Anonymous aux Force de l’Ordre: https://youtu.be/ru2kYRn1ugM
Article 35 déclaration des droits de l’homme et du citoyen de 1793: https://www.conseil-constitutionnel.fr/les-constitutions-dans-l-histoire/constitution-du-24-juin-1793
„Wenn die Regierung die Rechte des Volkes verletzt, ist der Aufstand für das Volk und für jeden Teil des Volkes das heiligste aller Rechte und die unentbehrlichste aller Pflichten.“ Artikel 35 der Verfassung vom 24. Juni 1793
Appel du 18 juin 1940, Général De Gaulle: https://youtu.be/fo4yqbVPtxw
Am 15. Juli 1789 übernahm General La Fayette die Führung der Nationalgarde und forderte zwei Tage später seine Truppen auf, eine dreifarbige Kokarde zu tragen: https://www.herodote.net/La_Fayette_1757_1834_-synthese-194.php
GILETS_JAUNES – Message d’un militaire à ses frères d’armes: https://youtu.be/bpQCr5dJ2xk
Gen. Mark Milley: ‘We Take an Oath to the Constitution, Not an Individual’: https://youtu.be/nMaI1Hg8dl8?feature=shared
READ: The Full Statement From Jim Mattis, a US general who defends the constitution against the president, for people’s rights: https://www.npr.org/2020/06/04/869262728/read-the-full-statement-from-jim-mattis?utm_campaign=storyshare&utm_source=twitter.com&utm_medium=social
VIDEO. Abandon, impuissance, déclassement : regardez en avant-première le documentaire “Police, à bout de souffle”: https://www.francetvinfo.fr/societe/manifestation-des-policiers/video-abandon-impuissance-declassement-regardez-en-avant-premiere-le-documentaire-police-a-bout-de-souffle_3424853.html#xtor=CS2-765-[autres]-
Bolsonaro allies nearly launched military coup in 2022, police report says Senior Brazil military figures backed plot to seize power after Bolsonaro’s election defeat, federal documents allege – The Guardian: https://www.theguardian.com/world/2024/nov/26/brazil-almost-suffered-far-right-military-coup-police-report-claims
--------------------------------------------------------
Police, Army: https://www.aurianneor.org/police-army/
Police, Armée: https://www.aurianneor.org/police-armee-manif-des-policiers-je-suis-gilet/
Policía, Ejército: https://www.aurianneor.org/policia-ejercito/
Polizei und Justiz für das Volk: https://www.aurianneor.org/polizei-und-justiz-fur-das-volk/
Ökoterrorismus: https://www.aurianneor.org/okoterrorismus/
Die Arbeitnehmer: https://www.aurianneor.org/die-arbeitnehmer/
Die reichsten 1% führen Krieg gegen den Rest der Welt: https://www.aurianneor.org/die-reichsten-1-fuhren-krieg-gegen-den-rest-der-welt/
Illegitime Behörden: https://www.aurianneor.org/illegitime-behorden/
The moral compass: https://www.aurianneor.org/the-moral-compass/
When might is right: https://www.aurianneor.org/when-force-is-right/
Conditional military assistance: https://www.aurianneor.org/conditional-support/
Violence against elected representatives: https://www.aurianneor.org/violence-against-elected-representatives/
European defense: https://www.aurianneor.org/european-defense/
Successful Protesters: https://www.aurianneor.org/successful-protesters-lets-have-a-quick-look-back/
Call to people who are not subject to repression: https://www.aurianneor.org/call-to-people-who-are-not-subjected-to/
The Modern “chiffon rouge”: https://www.aurianneor.org/the-modern-chiffon-rouge/
Popular Initiative: https://www.aurianneor.org/popular-initiative-petition-to-the-un-in/
Le référendum est une arme qui tue la violence: https://www.aurianneor.org/le-referendum-est-une-arme-qui-tue-la-violence-oui/
What kind of democracy do we want?: https://www.aurianneor.org/what-kind-of-democracy-do-we-want-a-multitude-is/
Die Roten und die Gelben: https://www.aurianneor.org/die-roten-und-die-gelben/
“For to win one hundred victory”…: https://www.aurianneor.org/for-to-win-one-hundred-victories-in-one-hundred/
Go, Go, Go!: https://www.aurianneor.org/go-go-go-thank-you-for-opening-the-town-halls/
Polissé: https://www.aurianneor.org/polisse/
The Good tyrant ?: https://www.aurianneor.org/the-good-tyrant-tyranny-can-legally-exist-in-a/
Cicéron, De la République: https://www.aurianneor.org/la-liberte-ne-consiste-pas-a-avoir-un-bon-maitre/
“A multitude is a better judge of many things than any individual”: https://www.aurianneor.org/via-httpswwwyoutubecomwatchv-ar8s6vircwm/
Why Are Their Bribes So Small?: https://www.aurianneor.org/why-are-their-bribes-so-small-the-rate-of-return/
Banca: https://www.aurianneor.org/banca-the-merchant-of-venice-william/
Voix: https://www.aurianneor.org/voix-alimentation-la-ruche-qui-dit-oui/
Drugs: https://www.aurianneor.org/drugs/
1 note · View note
mostlysignssomeportents · 2 years ago
Text
This day in history
Tumblr media
#20yrsago Swarthmore and Diebold team up to undermine integrity of elections https://web.archive.org/web/20031018102354/https://importance.typepad.com/the_importance_of/
#15yrsago Time Management for Anarchists — the free comic https://nomediakings.org/time_management_for_anarchists/free_anarchomic_released.html
#15yrsago Why free-riding doesn’t apply to some online collaboration https://freedom-to-tinker.com/2008/10/24/trouble-free-riding/
#10yrsago UC Davis’s Officer Pepper Spray gets a $38K payout for mental trauma of being hated by the entire world https://www.sfgate.com/politics/joegarofoli/article/UC-Davis-pepper-spray-officer-awarded-38-000-4920773.php
#10yrsago US ambassador to Germany summoned to explain NSA bugging chancellor Angela Merkel https://www.theguardian.com/world/2013/oct/24/germany-summons-us-ambassador-nsa-merkel-phone
#10yrsago Mel Blanc’s radio show: 40+ free, downloadable episodes https://archive.org/details/OTRR_Mel_Blanc_Singles
#10yrsago Understanding NSA boss James Clapper’s France-spying “denial” https://www.techdirt.com/2013/10/23/james-clapper-plays-more-word-games-official-denial-french-phone-data-collection-leak/
#5yrsago Cathay Pacific leaks 9.4 million travelers’ passport numbers and other data https://www.bleepingcomputer.com/news/security/cathay-pacific-suffers-data-breach-impacting-94-million-passengers/
#5yrsago Rep Steve King spent $18,000 at private GOP club, sent taxpayers the bill https://theintercept.com/2018/10/24/steve-king-spending-expense-account-taxpayer-private-club/
#5yrsago State surveillance company leaked its own data, its customers’ data, and its customers’ victims’ data https://www.vice.com/en/article/vbka8b/wolf-intelligence-leak-customer-victim-data-online
#5yrsago Facebook’s former security head: making Facebook moderate content will cement its dominance https://www.technologyreview.com/2018/10/23/139334/facebooks-ex-security-boss-asking-big-tech-to-police-hate-speech-is-a-dangerous-path/
#5yrsago You can request hand-crafted reading-list recommendations from the Brooklyn public library online https://www.bklynlibrary.org/bookmatch
#5yrsago In America, the young find distinguishing fact from opinion easier than their elders https://www.pewresearch.org/short-reads/2018/10/23/younger-americans-are-better-than-older-americans-at-telling-factual-news-statements-from-opinions/
#5yrsago High school class’s electoral predictions model is a model for electoral predictions https://web.archive.org/web/20181104020001/https://polistat.mbhs.edu/about/
#5yrsago Public domain scores a huge appeals court victory: the law cannot be copyrighted https://www.eff.org/deeplinks/2018/10/appeals-court-tells-georgia-state-code-cant-be-copyrighted
#5yrsago Mister Bone Saw got a standing ovation at Davos in the Desert https://www.nytimes.com/2018/10/23/business/saudi-conference-khashoggi-killing.html
#5yrsago The stories behind the names on the Haunted Mansion’s tombstones https://www.youtube.com/watch?v=sVmg9CdIvgs
#1yrago An hour of interwar Halloween music https://pluralistic.net/2022/10/24/spooky-season/#interwar-ween
9 notes · View notes