11,557 Posted Topics
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? | |
Re: Yes, breadcrumbs are important for Google to understand your site's navigation. They may also display your breadcrumbs within their SERPs. Use schema.org breadcrumb markup. | |
So sorry for brief periods of the CSS and Javascript files not being properly loaded earlier today. However, on the bright side, we now have CSS/JS versioning properly set up again, which means I'm going to stop asking you guys to clear your browser cache whenever I release a new … | |
Re: Try BlackHatWorld.com It's a super popular marketplace for this kinda thing. | |
Re: Sometimes race conditions occur in which the post count gets miscalculated. A nightly cron job fixes the counters. In this case, it looks as if the topic was accidentally double posted. Double-clicking the submit button apparently caught a race condition in which the member's post count was only incremented once … | |
Re: Test test test.  | |
Re: The best thing you could do is provide the full HTTP responses for all xhr requests. I'm not sure how to do that if I don't already have DevTools open when I make the request. The second best thing you could do is log the exact UNIX epoch time that … | |
Re: Write interesting (or controversial!) content on your site that would encourage people to Like it. Post on your Facebook profile. Share every page of your site with your FB friends. Grow your circle of FB friends. ... | |
Re: I agree that infographics really demonstrated they helped a lot in 2019. Not sure if I can tell from 2020 yet. Hard to believe we’re almost halfway into the year. | |
As many of you know, DaniWeb was hit by a Google algorithm update back in November 2012 and we lost about 50% of our search traffic. In investigating the issue, I discovered that DaniWeb, in addition to most other programming forums out there, all lost their google traffic to [StackOverflow](http://www.stackoverflow.com). … | |
Re: It completely depends on what type of website you have. Is it a static site with fewer than 50 pages? Or is it a dynamic site with millions of pages? If there are fewer than 50 pages, I strongly urge you to handwrite your sitemap file. If it's a dynamic … | |
Re: I just randomly stumbled upon this thread and went to point out that the forums now default to only showing Recommended topics, filtering out those started by users you’re muting in your profile. Reputation count is now shown alongside posts as well, without hovering required. | |
Re: Hello there and welcome to DaniWeb! | |
Re: Sorry, I'm not familiar with the PHP framework you're using. Does `bindValue()` properly escape the $user variable? Also, do you know if it's returning num_rows at all? What about echo'ing `echo $result->num_rows;` right above the if statement to see if it's even reaching the while loop. | |
Sorry about the downtime today!! https://techcrunch.com/2020/06/09/ibm-cloud-suffers-prolonged-outage/ | |
Re: Looks like you have now purchaed an SSL certificate and have a secure website. This question was asked on March 19th and it looks like an SSL certificate was purchased April 8th. | |
Re: What is `<?php START LOOP ?>` ?? I assume it's some logic you have that loops through articles? I'm having a hard time following your code because of your indenting. I actually have to run in just a moment so I don't have much time to figure out what you're … | |
Re: Yes, you can get in trouble. There are very strict guidelines that dictate which entities are permitted to store credit cards in their database, or even under which circumstances you can collect credit card information. A set of standards called PCI DSS (Payment Card Industry Data Security Standard) specifies who, … | |
Re: Very cool caperjack - never heard of oldversion.com before - it seems useful! |
The End.