Jump to content
Killersites Community

All Activity

This stream auto-updates     

  1. Today
  2. Yesterday
  3. LSW

    Current Threats

    Firefox Releases Critical Patch Update to Stop Ongoing Zero-Day Attacks https://thehackernews.com/2019/06/mozilla-firefox-patch-update.html
  4. Last week
  5. saversites

    How To Sanitize Domain ?

    Hi, I have a form field where I prompt user for tgheir domain names. Now, I need to filter it so user inputs valid domain. How to do it ? This ain't working: $primary_website_domain = filter_var(trim($_POST["primary_website_domain"],FILTER_SANITIZE_DOMAIN)); $primary_website_domain_confirmation = filter_var(trim($_POST["primary_website_domain_confirmation"],FILTER_SANITIZE_DOMAIN));
  6. saversites

    Why Code Fails To Grab User Real IP ?

    Thank you Stef. I have not tried on a live server. I guess I should do that first! Cheers!
  7. Php Experts, I need to fetch not the last row in the table but the last entry based on a condition. I only know how to fetch the last row in the table. I tried coding the way I think it is done but no luck. Googled but no luck. $query_for_today_date_and_time = "SELECT date_and_time FROM logins WHERE username = ? ORDER BY id DESC LIMIT 1"; if($stmt_for_today_date_and_time = mysqli_prepare($conn,$query_for_today_date_and_time)) { mysqli_stmt_bind_param($stmt_for_today_date_and_time,'s',$db_username); mysqli_stmt_execute($stmt_for_today_date_and_time); $result_for_today_date_and_time = mysqli_stmt_bind_result($stmt_for_today_date_and_time,$db_today_date_and_time); mysqli_stmt_fetch($stmt_for_today_date_and_time); $today_date_and_time = $db_today_date_and_time; mysqli_stmt_close($stmt_for_today_date_and_time); } else { mysqli_stmt_close($stmt_for_today_date_and_time); mysqli_close($conn); die("<h1 style=\"font-family:courier; color:red; text-size:25%; text-align:center\"><b> ERROR STATEMENT 11: Sorry! Our system is currently experiencing a problem! </b></h1> <br> "); }
  8. Hi there, It is a really nice course, but i suggest to add CSS Grid and Flexbox as they are pretty important this days.
  9. WebbyGiants

    WordPress website loading Issue

    In order to reduce the site speed, it is mandatory to remove all the unnecessary plugins that has been installed on your WordPress website. It is because they take a lot of time to load even though they are hidden in your website. After uninstalling the plugins, you have to enable the caches so that whenever the same user visit the website it opens quickly by catching the previously saved caches. Optimizing all the images that are placed on your website. It means the size of the images should be as low as it could be but the quality should not be worst. It helps in keeping page load time lower. Keeping the database clean time to time will also help in controlling the website speed. If your website has blogs and you have enabled commenting over it, then you should immediately turn it off as it definitely increase the website load time. Last but not the least, you should not only buy a good hosting service but it is also recommended to consult with a professional web development company to perform all these tasks for you as it requires experience to perform the tasks.
  10. administrator

    Why Code Fails To Grab User Real IP ?

    Could be what the proxy is sending out. Or more likely, your code might be just returning a binary - true or false ... or in other words, 1 or 0. Have you tried this code on a live server? ... Could also be a Xamp issue? Stef
  11. administrator

    Can't put separate pages in one page for scrollable website!!

    Just have one page with links at different spots in the page. If this is something you don't understand, then you need my popular training course: https://shop.killervideostore.com/
  12. WordPress website loading time more than 10 seconds, client asked me to fix the issues and decrease the load time, I have tried through google site speed test tool and fixed the errors, also fixed the image sizes and compressed them, Now the only issue is from the Wordpress server because the server is very slow. I am thinking to move on a Cloudways managed cloud platform, Would it work or not?
  13. Hello everyone I'm creating a website that is scrollable and all the pages are in one page, I've created each page separately with it's own css file, now in my home page i added sections for each page (6) and each section i give it a class and in the css i changed the class position to relative, now the second page is showing and working fine but as soon as i add other pages everything gets together the text the design everything gets mashed together and clashing so what is the best way to fix this? Thanks
  14. Earlier
  15. saversites

    Why Code Fails To Grab User Real IP ?

    The following fails to grab the user's real ip. I testing on my Xamp (localhost). The code is supposed to grab real ip even if user hiding behind proxy. Why not showing my dynamic ip ? I can see my ip on whatismyip.com but that code fails to show it. I been testing on localhost using Mini Proxy. function getUserIpAddr() { if(!empty($_SERVER['http_client_ip'])){ //IP from Shared Internet $ip = $_SERVER['HTTP_CLIENT_IP']; }elseif(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){ //IP from Proxy $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; }else{ $ip = $_SERVER['REMOTE_ADDR']; } return $ip; } echo 'User real Ip - '.getUserIpAddr(); I get this as output: ::1 What does that output mean ?
  16. LSW

    Adobe Patches:

    Adobe Issues Critical Patches for ColdFusion, Flash Player, Campaign https://thehackernews.com/2019/06/adobe-patch-june.html
  17. LSW

    Patch Tuesday Updates (Windows)

    Microsoft Releases June 2019 Security Updates to Patch 88 Vulnerabilities https://thehackernews.com/2019/06/windows-june-updates.html
  18. macksoneh

    What's next after StudioWeb foundations?

    Hi Stef, I got your response over youtube. Thanks, Mack
  19. Rysavy

    Css is not working

    I am using the text editor Microsoft visual code on a MacBook air by the way I was thinking maybe its the text editor, should I switch to Sublime ?
  20. Rysavy

    Css is not working

    Hello everybody, I have a really annoying Problem, I was looking so much in the Internet but nothing seems to work. So heres my Problem: When I want to link a .css stylesheet to my index.php file its working ,BUT if I want to use a second .css file for my Aboutme.php page somehow it never recognizes it. But when i use the Css for index.css Its working. Really weired . I can only use one .css stylesheet and I dont know why, I have checked the paths so often, I dont have folders, it is all in htdocs folder the css files, the php files. please help. It really drives me crazy. Thank you so much, Denis Rysavy About me.php index.php styling.css stylingAboutme.css
  21. In case we have many Linux users here, I thought this article may be of interest to you as well. Forgive me for paraphrasing Sting's song, but I was part of the cold war in Berlin! Russian military moves closer to replacing Windows with Astra Linux https://www.zdnet.com/article/russian-military-moves-closer-to-replacing-windows-with-astra-linux/
  22. LSW

    Current Threats

    Hackers Infect 50,000 MS-SQL and PHPMyAdmin Servers with Rootkit Malware https://thehackernews.com/2019/05/hacking-mysql-phpmyadmin.html
  23. LSW

    Current Threats

    Flipboard Database Hacked — Users' Account Information Exposed https://thehackernews.com/2019/05/flipboard-data-breach-hacking.html
  24. https://www.theverge.com/2019/5/29/18643857/microsoft-windows-lite-modern-operating-system-computex-2019-hints
  25. macksoneh

    Is projects.studioweb.com down?

    Yes, I can login now. Thanks, Mack
  26. macksoneh

    Is projects.studioweb.com down?

    Hi, I tried to access projects.studioweb.com, but I got this response instead. Is it down now? Thanks, Mack
  27. JonhG

    photoshop versus gimp

    I believe that every person has the right to choose what is best for him, and it makes no sense to argue on this issue. Each of them is good, I would say that they are the best on the market. But if someone uses GIMP just because it is free, I can advise the option of getting Photoshop free. If your problem is only in paying for a license, then this will help you use the software that you like more.
  28. Hi StudioWeb community. I've just completed four of the five StudioWeb foundations courses. They are; PHP 7 Foundations HTML5 Foundations PHP and MySQL Javascript Foundations. I'm skipping CSS3 for now. Among projects available in the StudioWeb Projects, which one do you recommend as the next step for someone who has just "graduated" from StudioWeb foundations courses? Thanks, Mack
  29. Tahiry

    Public profile

    So how Can I view other student public profile? Thank's
  1. Load more activity
×