11,557 Posted Topics

Member Avatar for nishita_1

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');`

Member Avatar for Dani
0
716
Member Avatar for Joseph Raj

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 …

Member Avatar for Dani
0
25
Member Avatar for Sananil

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 * …

Member Avatar for Dani
0
662
Member Avatar for alexxnorton01

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!

Member Avatar for Dani
0
70
Member Avatar for Alexis_fr

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?

Member Avatar for Dani
0
156
Member Avatar for Chris Morris

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.

Member Avatar for rproffitt
0
31
Member Avatar for falotfalon

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 …

Member Avatar for Dani
0
64
Member Avatar for rproffitt

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.

Member Avatar for rproffitt
0
85
Member Avatar for edwardphillips7
Member Avatar for nanakumi75
Member Avatar for hoanggviett
Member Avatar for jonesemma

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.

Member Avatar for _deviance_
0
153
Member Avatar for pritaeas

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 …

Member Avatar for Dani
0
622
Member Avatar for vishnuvis

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.

Member Avatar for Holistic_1
1
629
Member Avatar for MudassirIjaz
Member Avatar for Sponge_2

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?

Member Avatar for AndreRet
0
657
Member Avatar for Sourav_8
Member Avatar for stefh
Member Avatar for Dani

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.

Member Avatar for bradvictor1
1
327
Member Avatar for Dani

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 …

Member Avatar for Amit6622
0
2K
Member Avatar for loudestsoul

Hi there! What made you start that site? I really like the design you picked.

Member Avatar for Dani
0
25
Member Avatar for markflayd
Member Avatar for bradvictor1

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.) …

Member Avatar for Dani
0
83
Member Avatar for texelbee

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 …

Member Avatar for Biiim
0
314
Member Avatar for yousufkamara
Member Avatar for saif_15

You mean by using an SSL certificate so that the website is accessible via https:// and not just via http:// ??

Member Avatar for Dani
0
167
Member Avatar for umeshamin
Member Avatar for Dani
3
29
Member Avatar for mcm1986
Member Avatar for harpreetp
Member Avatar for baabrozreal

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.

Member Avatar for timontom
-2
341
Member Avatar for Dani

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 …

Member Avatar for Dani
0
555
Member Avatar for sharmaavesh

Try BlackHatWorld.com It's a super popular marketplace for this kinda thing.

Member Avatar for jhakasseo
2
586
Member Avatar for rproffitt

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 …

Member Avatar for Dani
0
94
Member Avatar for rproffitt

Test test test. ![logo.png](https://static.daniweb.com/attachments/0/9b76ed8f5be095fcf0b08e6810a2ff7f.png)

Member Avatar for Dani
0
96
Member Avatar for rproffitt

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 …

Member Avatar for rproffitt
0
61
Member Avatar for Mr.M
Member Avatar for aurelius123

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. ...

Member Avatar for rakeshkapoor992
0
455
Member Avatar for rankmysite

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.

Member Avatar for rakeshkapoor992
-2
345
Member Avatar for mfaisal
Member Avatar for Dani

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). …

Member Avatar for j.khurram
11
5K
Member Avatar for SubbuPD

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 …

Member Avatar for vishnuvis
0
64
Member Avatar for GeekByChoiCe

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.

Member Avatar for Dani
0
506
Member Avatar for DavidSmitis
Member Avatar for Koos_1
Member Avatar for Stefce

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.

Member Avatar for AndreRet
0
93
Member Avatar for Dani

Sorry about the downtime today!! https://techcrunch.com/2020/06/09/ibm-cloud-suffers-prolonged-outage/

Member Avatar for Reverend Jim
2
51
Member Avatar for tareqjhe1

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.

Member Avatar for Dani
1
264
Member Avatar for fecapeluda

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 …

Member Avatar for Dani
0
197
Member Avatar for Stefce

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, …

Member Avatar for Stefce
0
279
Member Avatar for bugeyes
Member Avatar for amcdcr
0
2K

The End.