11,530 Posted Topics
Re: You mention you have a question? I see you’ve posted your homework assignment, but what is your question about it? We won’t just do your assignments for you. Please post the code you have so far along with where you’re stuck, and we’ll help you to learn. | |
Re: Hi Kate and welcome to DaniWeb!! What are you using for your store? (Magento, Shopify, etc.) How long have you been doing it for? | |
Re: So sorry for the delay in replying to this. Can you show us the code for `test_input()`? Is that the function you're saying is failing? What input are you entering and what error are you expecting to see? | |
Re: Hi Kevin. Very nice to meet you!! I have 20 years of experience in digital marketing, and I try to answer as many questions as I can in these forums. However, I have very limited eCommerce experience. | |
Google search console flagged a couple of my AMP pages with the error: Error in required structured data element When I use the URL inspection tool, it says: Linked AMP version is valid with warnings Error in required structured data element But in the HTML section of the crawled page, … | |
This question specifically relates to PHP's Memcached library when specifying a server key and adding multiple keys at once. **Question one**: Is it true that PHP's setMultiByKey() doesn't take advantage of the memcached server's native support for setting multiple keys at once, but that the logic is on PHP's side … | |
Re: And be careful of SQL injection attacks! Always escape any variables containing user-entered data before including them in your SQL queries. | |
Re: Hi there and welcome to DaniWeb!! | |
Re: Umm ... more legal methods, perhaps? There's tons and tons of way to make money online. Stick with legal routes. :) | |
| |
Re: Hi there and good question! If you want to redirect your website to a different domain name, you need to use an HTTP 301 Permanent Redirect from every old page to its new counterpart. For example, old-domain.com/page1.html should redirect to new-domain.com/page1.html and old-domain.com/page2.html shoudl redirect to new-domain.com/page2.html Do a 1-to-1 … | |
Re: PPC, or pay per click, is when you use Google Ads to advertise on the Google search results by bidding on keyword searches. You pay per click for each visitor you get. SEO, or search engine optimization, is the set of skills to optimize your placement organically in the search … | |
Re: At first glance, this looks like spam. But you actually linked to a free Github resource that I was actually looking for this weekend. I’ll check it out later today. Are you one of the developers? | |
Re: It would probably help if you let us know *why* you wanted to do it in a less performant way, using a subquery? This is thoroughly untested, but I guess you could do something like: UPDATE books SET location_id = 2 WHERE location_id IN ( SELECT location_id FROM books WHERE … | |
Re: It looks as if you're having difficulty with selecting elements. On line 49 of your code, you are getting elements with the name r1, but there are no elements with that name. There are elements that have that *class*, but not that name. | |
Re: If I remember correctly, you have to use Adobe's proprietary Typekit in order to use their fonts on the web. You have to continuously pay for a Typekit license for as long as the font is in use on the web, according to their licensing. https://helpx.adobe.com/support/fonts.html | |
Re: Can you provide the updated code because, for example, the error log says that mysql_query() is invalid on line 183, but in the code you provided, there is no mysql_query() function being called on line 183. However, I do see that you have on line 179 above `$query = mysql_query($sql);` … | |
Re: There are many reasons why your site might not be ranking as well as you would hope. First of all, think of how MANY people there are in this world who offer SEO services. Then think that every single one of these people keep up with the latest SEO trends … | |
Re: My guess is there's something wrong with your regex. I'm not familiar enough with regex. What are the purposes of the {brackets} in the preg_match? For some reason preg_match() is being returned false even if the current script is login.php | |
Re: Yes, please show us the code you already have so we can see where it is that you're stuck. Is this a homework assignment that doesn't allow you to use the sum function? | |
Re: It looks like you're outputting a binary string (a PDF, perhaps?) but you're not setting the proper HTTP header. What happens if, right above line 81 in the code above, where you call Output(), you do: `header('Content-Type: application/pdf');` | |
Re: You can get information about a binary file submitted via a POST form from $_FILES['photo'] However, it's binary data. There's no PHP array that I know of that contains the binary data. The best you can do is use `file_get_contents()` or something of the sort to load the file from … | |
Re: You are setting cookies to be the current timestamp + 86400 \* 30. There are 86400 seconds in a day. That means you're setting cookies to expire after 30 days, not 30 minutes. Instead you want to do current timestamp + 60 \* 30. That will be 60 seconds * … | |
Re: I have no experience with RevGlue. A long time ago CommissionJunction (CJ) was the big player. I would recommend you check out [Affiliate Summit](https://www.affiliatesummit.com/blog) if you aren't already familiar with them. Good luck! | |
Re: Sorry, I'm a bit confused by the question you're asking. Why not use that file-directory-list available at Github you linked to? What do you mean by a link to [...] like in the first code? The first code block you provided has no links? | |
Re: Sorry, I'm not quite sure I understand your question. What is your business idea? What do you mean about which devices are suitable for internet connectivity? Desktops, laptops, tablets, and phones are all suitable devices to connect to the internet. I'm sorry, I'm not understanding your question. | |
Re: While it's true that the news keeps saying that you can't get infected from food, we are being *super duper* careful anyways. Although restaurants are currently available for outdoor service where we live, we are avoiding restaurants completely. This includes restaurant delivery!! There have just been too many articles in … | |
Re: Looks to be that a post was created in the database and then rolled back, because the transaction failed for one reason or another. I'll inspect the server log in a bit to see if I can figure out why the query didn't go through. | |
Re: Do you have an app in mind? You can make money by selling your app in the app store. You can use a freemium model where the app is downloaded for free but then users pay for upgrades and premium features. Or you can sell advertising within your app. | |
Re: Don’t you guys remember how much everyone was complaining that the quality of new topics being asked was worse than the worst? Don’t you guys remember how you criticized what a turn-off it was to visit DaniWeb and see nothing but low quality spammy questions being asked? Ever since making … | |
Re: I unfortunately haven’t had much success with guest post / outreach. Backlinks just don’t affect my SEO as much nowadays. Now I’m focusing more on creating more content on my own site and I’ve found it moves the needle a lot more. | |
| |
Re: I don't know Python but I do have a lot of experience with MySQL. Does it work if you're not trying to insert BLOB content? Is the MySQL column set to the right data type? | |
Is it appropriate to noindex AMP pages whose desktop canonicals are noindexed? Currently, my valid but low-quality pages are noindexed. They point to an amphtml version, and that AMP page is noindexed as well. | |
Do you think that the forum software that's used makes a difference for a community? Suppose, for example, forum software all has the same options available. And we're talking about the same community of people. For a forum visitor, does seeing powered by vBulletin strike a softer note than seeing … | |
Re: Hi there! What made you start that site? I really like the design you picked. | |
Re: It absolutely depends on the industry and what keywords you're trying to rank for. You can rank for your brand name with barely any effort at all. Does the site already have backlinks? If there's a strong link profile, then use one of the many keyword tools (Moz, Ahrefs, etc.) … | |
Re: Hi there! I'm so sorry! I had thought I had answered this earlier but I guess the post didn't go through for some reason, so here I am posting again. I see that the code you've provided loops through all the list of aircraftregistration choices for the select box. Are … | |
Re: I have absolutely no clue what you're talking about. | |
Re: You mean by using an SSL certificate so that the website is accessible via https:// and not just via http:// ?? | |
Re: Hi there. Welcome to DaniWeb. How did you find out about us? |
The End.