Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Google has always said that all of their bots do not use cookies.

I caught a screenshot on Google PageSpeed Insights that displayed a modal that I only have implemented for users with a specific cookie already set.

So there you have it, Googlebot uses cookies.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I know about SEO deeply. I have 25 years of experience.

Aman30@ commented: so where can we talk about it? +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi and welcome to DaniWeb! I had to snip your Facebook link because it violates our rules having it in your posts, but feel free to go into your control panel and add it as a post signature at the bottom of all your posts.

jwenting commented: it;s just another scammer, the link to their website is the only reason they post +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

First, it has been a LONG time since Ive been here. Good memories from when I was young.

This question is out of my wheelhouse, but just thought I'd reach out and say welcome back!

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Are you using any Chrome plugins or extensions? Try clearing out your browser cache and cookies in Chrome.

What happens if you use Chrome's Incognito mode? (File -> New Incognito Window)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Why are digital marketing trends country-specific like this? And why did you tag your question with Google AdWords? #SoManyQuestions

Aman30@ commented: it was by mistake. +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Are you asking questions or posting responses there?

I suspect they have some sophisticated algorithm in place to bring quality/popular content to the top and push down unpopular content that doesn't tend to attract a lot of upvotes.

Aman30@ commented: can you explain me how can i do that? posting response? +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Are you sure you are pushing all files to the web server? For example, you have:

require '../../php/PDO_Connection_Select.php';  
require '../../php/GetUserIpAddr.php';

Are those files in the same relative location on the web server?

Does the web server have the files at the locations described in the database?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Web designers have a strong eye for design, especially as it relates to digital marketing and advertising. They may also be UI and UX experts, and, if not, work closely with UI/UX (user interface and user experience) people. They have experience doing wireframes and keeping up with the latest design trends.

Web developers come from a programming background. Full stack web developers are skilled both with backend stuff (databases and back-end languages such as PHP, Python, .NET, etc.) as well as front-end HTML, Javascript, CSS, and AJAX. Web developers implement the designs that web designers create based on wireframes conceptualized by UX people.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Done right, you should be able to guest post for free. Just make sure your content is relevant to the blog you’re asking to post on, informative for their readers, and not spammy. Here at DaniWeb, we allow guest posts as long as there is no link in the article itself, and the article is high quality and relevant to our audience, but we give you a link in the About the Author section. Similarly, many sites love the additional content as long as it’s really quality content and not spam.

There is a huge hustle involved though. It might be worth investing in some SEO tools that you can use to keep track of all the outreach. Aim to reach out to at least 5 blogs a day, every day.

I could write a lot more, but I’m typing from my phone in bed right now haha.

I agree with you though that your niche might be the problem. Coupon websites are a dime a dozen nowadays, and could potentially come off as low quality in Google’s eyes.

Is there something that makes your site unique and different from the rest? Why did you start it? If you designed it as a doorway page, affiliate page, etc. then you answered your own question. It’s impossible to rank affiliate sites nowadays.

rproffitt commented: +1 about the coupon site. Too many today. Most are rubbish. +16
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

We’ve been through ten million versions of the homepage and none of them have ever worked for forum regulars. The current feed is what was in use during our peak, 2008-2011 years.

I think the latest topics and latest post feeds are best designed for regulars. Recommended feeds perhaps too.

rproffitt commented: My question stands at "How do I remove those duplicates?" +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

You're missing a closing curly bracket at the bottom of the document. You opened int main() but never closed it.

staffTWB is a structure and not an instance of the object.

rproffitt is referring to printEntry(staffTWB); where you are passing staffTWB into the printEntry() function, which you aren't allowed to do. You need to create an instance of staffTWB and pass that instance that you created into the function.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Yes, it's true that you can create a disavow file if there are certain backlinks to your domain that exist on other sites (whether through no fault of your own, or through your use of a black hat SEO company). What about this, though? Do you have a specific question? Do you want to start a discussion about it?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Out of curiosity, can you explain what you don't like about Plex?

lewashby commented: I have tried to respond but this comment line is giving me a very small set of characters to explain with. +6
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Please provide a public link to the contact form or include all of the HTML code used to generate it.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

SEO plays an integral role in every aspect of creating a website. Therefore, I think it’s important to learn it yourself.

Similarly, if you grow to a size where you would like to outsource, it’s important to understand the basics so you will know what you are paying for.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Just thought I would start up a discussion and ask everyone ... what got you into tech?

For me, I was 4 years old, my parents got me an Apple IIGS, and, in reading the manual, it came with a cheat cheet for booting into a BASIC interpreter with Ctrl + Open Apple + Reset.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

So we know that line 37 is being triggered if the email contains that message.

But then I see the email text is based on what is in $_POST. What is stopping anyone from loading this PHP script without it being a $_POST request or filling out the form?

Can you please clarify by what you mean when you say there is no subject line? The subject of the email isn't 'New message from contact form'?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

No, I don’t think PBNs easily work nowadays.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

What do you need asap? I assume this is a homework assignment? Where are you stuck? What do you have so far?

nouraaaaa commented: public static void main(String[] args)throws InterruptedException{ Scanner rr = new Scanner(System.in); System.out.println("D +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

On that note, let me ask you a question: Do you have any experience using PBNs for SEO clients or established brands you care about preserving in the long term?

Apologies if you answer this in the video.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I haven’t watched your video (yet), but my first instinct is to recall there was the big announcement a couple of years ago that Google was going to go hard against PBNs. I don’t remember if it was just deindexing, or a Penguin penalty. Either way, personally it’s not something I would risk doing with any site or content that I genuinely care about in the long term.

I think it’s one of those things that might work great temporarily, but once a domain is on Google’s radar, it would be very, very difficult to ever do anything with that domain, or its content, ever again.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

In PHP, you can generate a random number with the rand() function. So to generate a random number between 1 and 100, you would do something such as:

<?php

$number = rand(1, 100);

?>

Then you can have the progress bar to that random number as so:

<div class="progress">
  <div class="progress-bar progress-bar-striped bg-info" role="progressbar" style="width: <?= $number ?>%" aria-valuenow="<?= $number ?>" aria-valuemin="0" aria-valuemax="100"></div>
</div>

Notice the two places in the HTML code where I am spitting out the value of $number.

Note this HTML code assumes that PHP short tags are allowed in your web server. Otherwise, you would need to do something such as:

<div class="progress">
  <div class="progress-bar progress-bar-striped bg-info" role="progressbar" style="width: <?php echo $number ?>%" aria-valuenow="<?php echo $number ?>" aria-valuemin="0" aria-valuemax="100"></div>
</div>
RC_820 commented: thanks +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I see you have the code:

g2.drawImage(tile[tileNum].image, (int)screenX, (int)screenY, null);

However, where do you set the value of tile[tileNum]?

I see you have

int tileNum = mapTileNum[worldCol] [worldRow];

Do you mean to say:

g2.drawImage(tileNum.image, (int)screenX, (int)screenY, null);
Hoàng_32 commented: When you remove the tile from tile[tileNum] it gives an error. +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member
markanderson_1 commented: Thanks. This solved my problem as well. +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I have no experience with Java or Derby. But your code seems to connect to a database whose files are stored at a path on the C:\ drive. That type of file system convention doesn’t exist on macOS, which is Unix-based. Instead, try replacing the path with something like /home/username/softechdb.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Ooh thanks so much! If you ever have any php questions, feel free to ask them and I’ll be sure to jump in.

DaniWeb is based on PHP 7 and Codeigniter nowadays.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I have 25 years of SEO experience when it comes to online publishing. Very little eCommerce or local SEO experience.

kaaya_1 commented: Hello, you can share your knowledge with us. +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Try adding import java.util.*; at the top of your code.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Afsa, this should really be its own question instead of hijacking this old thread. However, you can use Adobe Acrobat. :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Print out flyers that say you can make extra spending cash quick. Hang them in the dorms of local community colleges. Go to Fiverr and pay University students a few bucks to hang flyers at various fraternity and sorority houses across the country.

dado.d commented: Nice one, thanks +3
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Many years ago, DaniWeb offered a pay-to-post system where each post was awarded a monetary value (typically between 5 and 50 cents), depending upon how in-depth it was, upvotes, etc.

Members could cash out once a month if they earned $10 or more from their posts.

Very few members took us up on this opportunity, and we ultimately ended the program.

I'm debating whether we should start it up again. Does anyone still think it's a good idea, 10 years later?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Across all deleted and non-deleted posts, this topic is the only instance of that URL being posted. Am I misunderstanding?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

What is the nature of the site? Eg is it eCommerce with a blog tacked on? Is the entire thing a content site? What does the navigational structure look like?

There isn’t a one size fits all answer.

Alex314# commented: The site is about on-premise corporate software with a section that contains articles: descriptions, guides, reviews, news, etc. +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

From Canada? Aren't you in SoCal?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I'm not seeing where in your code you declare the variable $con that holds the connection. You can't prepare a MySQL statement if the connection doesn't exist.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

These sites are getting their data from an API. What API are they using?

jaswwjatin commented: what how navigation tabs create or use in post +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Can you please provide a link to the page so I can see what's happening and what isn't working as expected? There shouldn't be a horizontal scrollbar unless it's needed, or you have CSS that explicitly says to always show it.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi and welcome to DaniWeb. What setting did you change? Why did you change it? What are you hoping to accomplish?

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

When someone logs in, you would generate a token that is stored as a cookie in the web browser. That session cookie is also attached to the user ID in a session table in the database.

If the user attempts to log in from a different browser, where the session cookie doesn’t match the session table, then you know they’re already logged in elsewhere.

RC_820 commented: Thank you +0
Mr.M commented: Great point out +7
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi Sam and welcome to DaniWeb!! :)

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Everything I know about PPC I learned from the official Google tutorials and becoming a Certified AdWords Professional back in the day!

Follow all the course information here: https://skillshop.exceedlms.com/student/path/18128-google-ads-search-certification

Unless they changed something, it should still be free.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

So the code you have will show the image morel_thunb.jpg that is expected to be in the same folder as the HTML document. Upon clicking it, it will load morel.jpg, also expected to be in the same folder as the HTML document.

Are you sure you mean morel_thunb.jpg and not morel_thumb.jpg though? That might be the problem.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I think that John is correct in that you have a race condition in your code. A race condition is when sometimes one event happens before another, and sometimes vice versa, and it can lead to undesired or unpredictable results. It's possible that in some browser environments (combination of web browser, Internet speed, etc.) one CSS or JS file is always loading before another, while in other browser environments, the opposite is true. It's possible that you have conflicting CSS code in two CSS files, and depending upon which one is loaded first, determines which rules overrides the other. It's also possible there is a JS file that is overwriting CSS code, etc.

Unfortunately, a forum such as this one is most likely beyond the scope of being able to narrow down exactly what is happening across sooooo many CSS and JS files and messy code, because it can take many hours to diagnose successfully. The only advice I can give is to clean up your code.

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

What you are describing seems like a CSS or Javascript issue (most likely CSS).

It's possible that there is a bug in the server-side code that is serving the wrong CSS files to you for some reason (it could be based on IP address, geographic location, browser user-agent, logged in status, etc.)

Try clearing your cookies and browser cache and see if that fixes it. Is it possible that the two browsers it's happening on are the ones where you are logged in, and you're logged out on the other browsers?

UnabashedGeek commented: Tried incognito and hard reset. The two computers where it works on one and not the other have my standard setup, logon status etc. +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

You may need to use runtime Apache/nginx configurations to turn off output buffering and disable gzip.

rproffitt commented: "So there's a chance?" - Lloyd Christmas +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

You can improve LCP by making the biggest block of content on the page load as quick as possible. You can improve CLS by using CSS to give every single element a fixed size, so that there's room for it as external assets load into place. FID is not one of the direct measurements that contributes to page experience score.

prithulatasnim commented: Thank you +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

OK, I'm near a computer now and can more properly answer this question. Basically PHP has an output buffer, which holds onto everything meant to be sent to the web browser all at once (at the completion of the script), instead of sending it as it goes.

That's why when you call sleep(), it doesn't do what you want. The content you've echo'ed to the screen before the sleep() call is waiting in the output buffer for the PHP script to completely finish (which includes processing sleep()), and then everything it sent to the web browser all at the end from the output buffer.

Here's some more information:

https://www.php.net/manual/en/function.flush.php

Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

When people started suing for breach of privacy and they agreed to blur anyone or anything identifiable.