• Member Avatar for Dani
    Dani

    Replied To a Post in Fireworks Screensaver

    Didn't Microsoft Windows have this built-into their OS many, many years ago?
  • Member Avatar for Dani
    Dani

    Began Watching Fireworks Screensaver

    **Will some near genius create a fireworks screensaver with current clock display for me for free? PLEASE? I have searched the web for two days and have found nothing. Is …
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to pause script before completion message

    sleep() is the right approach, but you have to play with flushing the output buffer to force what should be echo’ed to the browser up to that point to the …
  • Member Avatar for Dani
    Dani

    Began Watching How to pause script before completion message

    I’d like to force my code to pause after completion and before displaying a completion message. I’ve tried sleep and wait commands but they affect the start of running the …
  • Member Avatar for Dani
    Dani

    Replied To a Post in phpmydirectory problems logging in

    Try clearing your browser cookies and cache.
  • Member Avatar for Dani
    Dani

    Began Watching phpmydirectory problems logging in

    I am using phpmydirectory and am having problems logging in. We had a power outage yesterday and this morning i cannot access my Control Panel. I am just getting teh …
  • Member Avatar for Dani
    Dani

    Published My Approach to Automating Grocery Shopping

    The pandemic has presented everyone with unique challenges. For me, it became particularly hard to switch to online grocery shopping. When I do my shopping offline, I usually don’t have …
  • Member Avatar for Dani
    Dani

    Moderated Activity 4: Create 2 lists: 1 list for username and 1 list for password.

    ![ff.png](https://static.daniweb.com/attachments/4/5d673eb8c69ed2fe1797b2e1760d1c66.png) username = ["John", "Peter", "David"] password = ["abc123", "123abc", "a1b2c3"] Passwords and username are paired by index. (i.e., John’s password is abc123, etc.) Then make the user input a …
  • Member Avatar for Dani
    Dani

    Replied To a Post in I am interested in funding a prototype for true "Social" media

    > As to comment limits here, I use a reply when I need to write at length. Click the "Reply to this Topic" purple bar at the bottom of the …
  • Member Avatar for Dani
    Dani

    Published Android Native - How to embed an Entity inside of another Entity

    ## Introduction ## There are many ways to describe relationships between Entities in Room, one of which is to embed an entity inside of another. When embedding an Entity, the …
  • Member Avatar for Dani
    Dani

    Published Android Native - How to implement LifecycleOwner in a Service

    ## Introduction ## When working with Services on Android, you might have ran into an issue where you would like to: 1. Use a concrete implementation of a Service (*from …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Additional clarification for my "pro social" media idea

    You can only post one comment per post. Please reply to the topic (click the purple bar at the bottom) to provide a rich response :)
  • Member Avatar for Dani
    Dani

    Replied To a Post in Additional clarification for my "pro social" media idea

    > Owning data is a must for ad revenue. Someone has to set the initial rules. I guess I'm having a difficult time understanding how your platform will be different …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Additional clarification for my "pro social" media idea

    IMHO, you're being hypocritical. On one hand, you're saying that you want to create a platform owned and run by its members. On the other hand, you're saying that there …
  • Member Avatar for Dani
    Dani

    Began Watching Additional clarification for my "pro social" media idea

    I posted this the other day and by and large people responded with predictable lack of imagination. I will add additional explicit requirements for the prototype stage. I want to …
  • Member Avatar for Dani
    Dani

    Replied To a Post in I am interested in funding a prototype for true "Social" media

    He’s saying the creators (aka him and the initial dev team he hires that he would pay a salary to) would initially own 100%. With the plan of handing that …
  • Member Avatar for Dani
    Dani

    Replied To a Post in I am interested in funding a prototype for true "Social" media

    That is not at all what I understood from the question. He wrote he wants to fund a prototype for a platform that is a hybrid of Facebook and Reddit …
  • Member Avatar for Dani
    Dani

    Replied To a Post in I am interested in funding a prototype for true "Social" media

    I completely disagree. Reddit didn’t start with billions. Neither did Quora. I know it was a long time ago, but I bootstrapped DaniWeb with a $20 initial investment and quickly …
  • Member Avatar for Dani
    Dani

    Began Watching I am interested in funding a prototype for true "Social" media

    So far, we have gotten lots of innovative social media models. I am not too sure if this has already been tried, but I want to innovate on ownership model. …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Hi everyone, I'm Marufkhan

    Hi there and nice to meet you. What types of digital marketing do you focus on? I have over 25 years experience in SEO (before it was even an industry!)
  • Member Avatar for Dani
    Dani

    Began Watching Hi everyone, I'm Marufkhan

    A professional and successful digital marketer at Fiverr marketplace.
  • Member Avatar for Dani
    Dani

    Replied To a Post in Filter results in MySQL with PHP

    Basically what I am suggesting is just having one query where you don’t need the foreach loop. I’m in bed right now so it’s hard for me to type out …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Why isn't this update script working?

    I highly suggest that, moving forward, you comment your code as you go so that it’s easier to read and easier to follow. Your code is a bit of a …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Why isn't this update script working?

    Also, everything is wrapped in function convert_filesize but I don’t see you calling that function anywhere. You should put echo statements beneath each SQL query and ensure that code block …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Why isn't this update script working?

    But the entire thing is wrapped in if( isset( $isoname ) ) and I don’t see an error message being spit out if that doesn’t evaluate to true.
  • Member Avatar for Dani
    Dani

    Replied To a Post in Why isn't this update script working?

    Oh, my mistake. You *are* spitting out those errors! Is there any way to know if the database statements aren't executing? Why not temporarily add an echo statement beneath each …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Why isn't this update script working?

    It's hard to know because you aren't spitting out any errors. Add to the top of your PHP script: ini_set('display_errors', 1); error_reporting(E_ALL);
  • Member Avatar for Dani
    Dani

    Began Watching Why isn't this update script working?

    I don't understand why this update script isn't working. It is supposed to get the names of files in the download folder and update the files table in the database. …
  • Member Avatar for Dani
    Dani

    Edited Sanitize PHP user input strings

    Suppose you have a php script where a user is prompted to enter a number. You then do something with that number ... you increment it, perform some other math …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Filter results in MySQL with PHP

    > The solution I got is to use a DISTINCT action in my SQL code. OMG! I'm sooo sorry. I got brainwashed after reading rproffitt's post ... it's DISTINCT, not …
  • Member Avatar for Dani
    Dani

    Replied To a Post in PHP File Upload to FTP (Here Using Uploadify as FTP) -- Unable to perform.

    What exactly does upload.php look like? It looks like there is an error on line 22 of upload.php. It looks as if the path is invalid in your ftp_put() function. …
  • Member Avatar for Dani
    Dani

    Began Watching PHP File Upload to FTP (Here Using Uploadify as FTP) -- Unable to perform.

    `Here is my HTML Code : <html> <head> <title>Welcome</title> </head> <body> <form enctype="multipart/form-data" action="upload.php" method="POST"> <input type="hidden" name="MAX_FILE_SIZE" value="100000" /> Choose a file to upload: <input name="uploadedfile_1" type="file" /><br /> …
  • Member Avatar for Dani
    Dani

    Replied To a Post in What simple web-based relational database system would you recommend?

    I would stick to PHP and MySQL as they are free and there are a *lot* of online tutorials and resources catering to newbies. There is also phpMyAdmin which is …
  • Member Avatar for Dani
    Dani

    Began Watching What simple web-based relational database system would you recommend?

    Hello all, We have just launched a startup. Now, we are looking for a simple web-based relational database system where we can easily add tables and connect them to one …
  • Member Avatar for Dani
    Dani

    Replied To a Post in GOTO FUNCTION:Roulete table

    Is this java or python and why did you tag the question as both?
  • Member Avatar for Dani
    Dani

    Began Watching GOTO FUNCTION:Roulete table

    import random money = 0 finmoney = 0 turns = 0 colturns = 0 finturns = colturns + turns print(""" 1 2 3 4 5 6 7 8 9 10 …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Problem downloading files > 50MB

    php.ini has a maximum file size limit, maximum execution time, maximum memory, etc. You most likely are hitting one of these limits.
  • Member Avatar for Dani
    Dani

    Began Watching Problem downloading files > 50MB

    I'm using the following code for users to download files from my website. It works fine for files under 50MB, but fails immediately for larger files. Can someone explain why …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Filter results in MySQL with PHP

    It's pretty impossible to debug what could be wrong with your code without you sharing your code with us. However, keep the following in mind: // This will remove duplicate …
  • Member Avatar for Dani
    Dani

    Began Watching Filter results in MySQL with PHP

    Hello everyone! I working on a social network alike page whare I want to implement a messaging system. I can do all that and I have it working. What I …
  • Member Avatar for Dani
    Dani

    Published Android Native - How to add Foreign Keys to Room entities

    ## Introduction ## When working with Room, there might come a situation during bulk CRUD operations that it would be useful to add a Foreign Key to one of our …
  • Member Avatar for Dani
    Dani

    Published Android Native - How to prepopulate a Room database

    ## Introduction ## If your Android Application uses Room, then you might have wondered how to prepopulate a Room database. In this tutorial, we will learn how to prepopulate a …
  • Member Avatar for Dani
    Dani

    Edited Sanitize PHP user input strings

    Suppose you have a php script where a user is prompted to enter a number. You then do something with that number ... you increment it, perform some other math …
  • Member Avatar for Dani
    Dani

    Edited Sanitize PHP user input strings

    Suppose you have a php script where a user is prompted to enter a number. You then do something with that number ... you increment it, perform some other math …
  • Member Avatar for Dani
    Dani

    Replied To a Post in Where to get Windows 10 iso

    You can get it here: https://www.microsoft.com/en-us/software-download/windows10ISO
  • Member Avatar for Dani
    Dani

    Began Watching Where to get Windows 10 iso

    Hello, I"m trying to make a nice USB-stick, with a Windows 10 ISO file on it. But where do I get that ISO file? I'm not looking for the tool …
  • Member Avatar for Dani
    Dani

    Replied To a Post in How to improve security

    Here's a link to the tutorial I just wrote, based on my post here: https://www.daniweb.com/programming/web-development/tutorials/537376/sanitize-php-user-input-strings
  • Member Avatar for Dani
    Dani

    Edited Sanitize PHP user input strings

    Suppose you have a php script where a user is prompted to enter a number. You then do something with that number ... you increment it, perform some other math …
  • Member Avatar for Dani
    Dani

    Edited Sanitize PHP user input strings

    Suppose you have a php script where a user is prompted to enter a number. You then do something with that number ... you increment it, perform some other math …
  • Member Avatar for Dani
    Dani

    Published Sanitize PHP user input strings

    Suppose you have a php script where a user is prompted to enter a number. You then do something with that number ... you increment it, perform some other math …

The End.