11,557 Posted Topics
Re: I've turned this topic into a general question instead of a featured code snippet. | |
Re: Is this Python? You tagged `database python vb.net visual-basic xml`. Should I untag this topic from being VB related? | |
Re: Sorry for my late reply, but I just came across this thread trying to find a more efficient way than I currently am doing, but here's what I have so far: // Store valid emails $emails = array(); // Use regex to find all email-like matches $regexp = '/([a-z0-9_\.\-])+\@(([a-z0-9\-])+\.)+([a-z0-9]{2,4})+/i'; preg_match_all($regexp, … | |
Re: The first portion of the assignment says that the program should be object oriented with a constructor with attributres brand, model, year, and price. Therefore, what we're talking about is a program which has different Car objects. Each Car object is a type of Car, with its own combination of … | |
DaniWeb was written in Codeigniter, and when posting to the forums, we use database transactions that look like this: $this->db->trans_start(); ... insert into the posts table ... ... update the member's post count ... ... update the tags table ... etc $this->db->trans_complete(); On occassion, the error log will show for … | |
Re: The existing Facebook groups are all now-abandoned fan groups started by members many years ago. What would be the benefit to creating an official Facebook group or groups on other social media sites? What would be posted there? What would be the benefits to utilizing it? The purpose of the … | |
Re: From an app development perspective, developers would typically use different tools and technologies based on the platform and form factor of the device it's intended to run on. For example, software created for Windows doesn't automatically work on macOS, software created for iPhones doesn't automatically work on Android, etc. Software … | |
Re: All of the variables in your Hangman class are private or protected, meaning they are only accessible to objects of the class itself, or to objects of classes that inherit from that class. You need methods within the Hangman class that manipulate or retreive the variables. | |
Re: This just seems like you want someone to do your homework assignment for you. We will help you, but we won't just do your work for you for free. Please show the code you have so far and where you're stuck or need help. | |
Re: Hi there. Welcome to DaniWeb, and stay safe in India!! | |
Re: Give people a reason to come back. Give them the ability to create an account and then show them personalized content if they're logged in. In my experience, starting a mailing list has been the best way. | |
Re: Please clarify what you mean as to how will you get paid? We are a free community of members helping each other. DaniWeb Connect is a paid product where you pay micropayments to be matched with other members who fit criteria. (Or $5 for unlimited matches). | |
Re: I don't know .NET, but I've written an API before, and this is a bit of a loaded question. What exactly do you mean by you're looking to use an API instead of a direct connection to the database? Do you mean to just create classes that abstract away the … | |
Re: There are two very different ways to accomplish what you're asking. The first is, as I believe has been suggested above, to use Javascript to create a scrolling message that overlays on top of where you would display your video on a website. Remember, everything in a DOM document (webpage) … | |
Re: Taking a look at this header: header("Content-Type: application/pdf/jpg"); header("Content-Disposition: attachment; filename=\"" . $filename . ".rar\";"); What type of file are you trying to give to the user? Is it an application? A PDF? A jpg? A rar file? | |
Re: They had a spam link embedded in their post, which I removed, so I'm not so sure their question was genuine. | |
Re: What is your existing business model and in what way are you hoping to automate it, that is currently being done manually? | |
Re: Hi there Paulo! Welcome to DaniWeb :) | |
Re: Hi there and welcome to DaniWeb!! :) | |
Re: The code for the backend depends on how you're storing this data, if you're using a PHP framework, and oh so many things. Do you already have PHP code set up to connect to a database and store user profiles? I see this is an Account Setting page, so I … | |
Re: There's a setting in Cloudflare to override expiry with a cloudflare-set setting, or to respect the origin server's headers. You need to set it to respect your server's headers or else Cloudflare will override. | |
Re: Sorry, this is an English-only community. Did you have a question about Java, or something you wanted to discuss with the members of the community? | |
Re: You don't have a semi-colon at the end of lines 11, 14, and 15. However, to fully diagnose this, please post the full PHP file as well as the full error message. The error mesage should specify what line the error is on. | |
Re: By storing information about the user id or user session as a cookie in the end-user's web browser. Keep in mind, if you just want to simply store user id as a cookie without messing with PHP sessions, encrypt it so that it can't just be changed to a different … | |
Re: If I understand you correctly, you want the second dropdown list to appear in the web browser as soon as the primary category is selected, *before* the user hits the submit button, is that correct? If so, you will need to do this on the web browser side with Javascript. … | |
Re: This is completely irrelevant, but perhaps it will help in the future. PHP has a built-in `filter_var()` function that automatically validates that an appropriately formatted email, URL, etc. have been typed in. The only reason I bring this up is because for some reason I thought that phone numbers might … | |
Re: This seems like a homework assignment. What do you have so far? Where are you stuck? | |
Re: Hi Ed. Thanks for posting this here. I tried to help you via our little one-on-one chat, but the private chat isn't really conducive to posting code and such. The problem seems to be that you are using the listscores.php to point the browser to this PDF file. However, web … | |
Re: I say GoTo.com ... They were the first ones to do pay-per-click and the whole concept of paying to increase your rank in search engines. | |
Re: This is a duplicate of the question asked at: https://www.daniweb.com/programming/web-development/threads/535151/unique444-need-to-change-a-script-to-access-adobe-picture | |
Re: Creating the database on your database server isn't something we can do for you via a message forum. That's like saying, "Install this app on my phone." I can't exactly do it without physical access to your phone, of course. Do you have a specific question about how to do … | |
Re: Domain age plays a big role in SEO directly because it tells Google that the website has been around awhile, and is most likely a legitimate company, and not a fly-by-night temp site or "doorway page". Indirectly, domain age is probably one of the most important, if not the most … | |
Re: Sorry, I'm not quite understanding what you are trying to accomplish. On line 22, you are splitting the `$num` variable into an array, so the value of `$num`, after line 22 executes, is now: Array ( [0] => 1 [1] => 1 [2] => 1 [3] => 1 [4] => … | |
Re: Are you sure the library is called graphics and the files for that library are installed on the computer? | |
![]() | Re: I will preface this by saying I know nothing about game development or Unity. However, I suspect there would be some way to create an SDK for other developers to be able to utilize? |
Re: You shouldn't need to. The foundation of the Google algorithm is that Google follows links across the web to eventually discover, on its own, every unique webpage worthy of indexing. Part of the Google algorithm is the concept that the more incoming links there are pointing to a webpage from … | |
Re: HI Fred! Welcome to DaniWeb. I hope you stick around and join our little community here. I'll try to remember to refer to you as Fred when I see you around. | |
Re: Yes, I don't remember what it's called, but there is a way to directly convert a website into an app. Ignore me when it comes to this. However, I think there might also be a way to create an app icon that functions as a URL bookmark, but I'm not … | |
Re: Sorry, I'm not understanding your question. What are you trying to accomplish? Are you trying to build a database for an ecommerce clothing store? | |
Re: Sorry, we're just an English only community, but I assume you're trying to say Hello World :) | |
Re: Hi there and welcome to DaniWeb. I have over 20 years of SEO experience so feel free to ask any questions and I'll do my best to answer them. | |
Re: There are lots of tools online where you can verify the identity of people. Most cost money. One of the more reputable ones I could recommend is WhitePages.com | |
Re: I get this is a homework question, and we typically won't just do someone's homework for them without them showing any effort themselves, but I think this can be a learning opportunity for anyone who sees this. $array = array ('Main', 'Photo Gallery', 120, 'Rustam', 'Services', 'Lesson 12', 'Link'); I'd … | |
Re: HitNSplit, may I ask what the PRIMARY and UNIQUE indexes of the MySQL table look like? The reason I ask is because you have `ON DUPLICATE KEY` specified. If the primary key for the table is username, then basically if it tries to insert a new record with a specific … | |
The End.