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

$_POST['user_ans'] will always be just a single value of the textbox.

What does your HTML code look like where there are multiple textboxes where the user types in multiple answers?

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

Does look to be changes made to the way they report the results, but doesn't explain how/why the number would go down. If they're excluded via robots.txt, then Google knows about them. If they knew about them yesteday, why did they forget about them today? Other sections of GSC report go back as far as 2017 when reporting pages.

rproffitt commented: As to why, usually because they are keeping a lot more under the hat. +15
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

While a much smaller percentage of search volume goes to paid ads than organic results, it's possible that a smaller percentage of marketing budget goes to organic than goes to paid ads.

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

Yes, you can accomplish this with a combination of Wordpress and Magento. Both are heavily customizable CMS solutions. Magento is specifically for e-commerce.

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

I guess the basic question is whether there is an easier quicker way to do this other then creating a mysql table to keep track of the visitor count per sub-domain?

It depends on what you need to track. If you just want to track traffic count, then simply use ?utm_ variables and track them with Google Analytics. They'll also track conversions for you.

If you actually need to split commissions, etc. you need to set up a database to manage this, or use a third-party affiliate suite.

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

So sorry for not seeing this question until now. This can be managed yourself, through a database. However, you don't need a subdomain for each traffic source. You can easily pass in a UTM parameter for each traffic source, which has the added benefit of being recognized and stored in Google Analytics.

Another option is to use many of the affiliate suites that exist to manage this, but of course that would mean sharing commission.

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

Hey. I am an affiliate marketing, would love to know which antidetect are you using? I need your help.

Sorry, I'm not familiar with what an antidetect is? What are you trying to accomplish?

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

Are you saying it gives the error message even if you are not intending to submit the form but rather just load the page to display the form to fill out?

What are the contents of the p.php file?

cosmo13 commented: p.php file creates connection to database and checks it +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

What happens if you comment out the print statement and replace it just with something simple like print('hello world')? What if you have two print statements in a row, as so:

print('hello')
print('world')

Do both of them execute?

Nether_1 commented: Despite changing literally nothing else, I did this and it started working, which is somewhat boggling to me. Anyway, the problems fixed. +1
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi,

Firstly, I apologize for the confusing message about your account being banned (per your email). This post got caught up in our spam filter. Our automated spam bot falsely detected spam within this post. I've reversed that.

Soooo ... about the rest of your questions :)

DaniWeb suffered a massive data breach back in 2015 in which email addresses were stolen, but passwords were NOT compromised. You can read more about it on our FAQ Page. This is what Have I Been Pwned? is referring to. It was an unfortunate incident that happened in 2015.

You received the Oops! security message most likely because an anti-CSRF token wasn't detected when you filled out the form. This most often cause of this is because you started to fill out the form, then hit back in your web browser. It can also sometimes happen if you have multiple DaniWeb tabs open in your web browser at once, and you load a page containing form in one tab, and then subsequently submit a form in a second tab before submitting the last form loaded. Either way, it's a security measure meant to protect you.

The FAQ page I linked to above should also explain how to delete your account, if you'd still like to go ahead and do that. You can also change your password, of course. Keep in mind, your password was never breached through DaniWeb. Feel free to reply here, or to email me back, or send me …

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

What specifically is failing? Are you seeing any error message?

At first glance, you are not escaping variables passed into the MySQL query. Make sure to always do this. Aside from being a huge security concern, this could potentially be causing your queries to error.

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

PHP short tags are just a slightly different abbreviated php syntax that makes it easier to read and understand what’s going on when PHP is mixed into HTML templates.

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

by adding as internal link actually you are guiding google about your site structure.

I don't believe this is accurate. Google knows it's an internal link because the domain is the same whether or not it's presented in the HTML as relative or absolute. The benefit to using a relative URL structure is that you're not repeating https://www.domain.com a million times in your HTML code for every internal link, thereby bloating your HTML file size and download time.

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

When the function is called I get a blank screen

This happens when there's a PHP fatal error. Usually, it's a syntax error, but it can also be when a function call can't be made, parse error, or any number of different things. At the top of the PHP script, you can put the following to display on screen what the error actually is (just do this in developer mode and not in production so your end users won't see it):

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

Also, and this is just a recommendation, you might wish to use PHP short tags. You may need to enable this on your server if it's not enabled by default, but they make it much easier to write PHP templates. Instead of your existing PHP template, when using PHP short tags, you can write it as the following instead, which makes it much clearer to understand:

<tbody>
    <?php foreach ($friends as $row): ?>
            <tr>
                <td>
                    <span class="font-w600"><?= $row['user'] ?></span>
                </td>
                <td class="d-none d-sm-table-cell text-center">
                    <?= $row['fname'] ?> <?= $row['lname'] ?>
                </td>
                <td class="font-w600">
                    <?= $row['mem_status'] ?>
                </td>
                <td class="d-none d-sm-table-cell text-center">
                    <?= $row['join_date'] ?>
                </td>
           </tr>
     <?php endforeach; ?>
</tbody>
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I'm curious what the output looks like if you were to do print_r($checkbox); on line 3 of your PHP file, immediately after setting the value of $checkbox to what's in POST (above your foreach loop).

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

What is the value of $l_filename, and does that server path change depending on the server? If it's a relative path, such as /home/files/image.gif then it's possible that same path is relevant on both US and UK servers.

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

Outside of PPC platforms such as Adwords or Facebook Ads, the single best way to market an ecommerce site like that is to create a blog attached to the website filled with unique, informative articles related to the products being sold. Do the sites already have blogs? Google really favors ecommerce sites when they're attached to informational resources.

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

The three list items don't all fit together on the same line. The third item is being wrapped around to the next line. If you do white-space: nowrap; that should fix the problem. Another idea is to use CSS flex boxes instead of float: left but that's a whole different thing. Try using the white-space property to tell it not to wrap to the next line and let me know if that fixes your problem.

Pocokos commented: Thank you but I have already applied white-space: no wrap, I have attached some screenshots, that might better explain it better than I did :D +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hey there! Welcome to DaniWeb. Glad to hear those emails actually do work. :)

Let me know anything I could do to make DaniWeb a better experience for you.

jayblingham commented: Thanks Dani. Glad to be here (again, for the first time). I'll be lurking until I understand how things work :) +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

It means that one of your MySQL queries failed due to an error message of some sort (improper syntax, etc.). I'm not sure which one because the error message seems to be chopped off. The complete error message should specify the line of the PHP file that failed.

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

So basically what you want is to be able to pass a parameter into index.php. For example, domain.com/index.php?username=dani or domain.com/index.php?username=fred

Your PHP code can then use $username = $_REQUEST['username']; in order to retrieve the username that is passed into PHP.

You'll then want to use .htaccess and mod_rewrite (You guessed it!!) to translate domain.com/dani into domain.com/index.php?username=dani

This will only work if you are using an Apache web server, not nginx, since only Apache supports .htaccess files.

If you don't already have an .htaccess file, create one in your domain root directory. It can look something like this:

RewriteEngine on

RewriteRule ^([a-z+])$ /index.php?username=$1 [L]

The above will quietly redirect something such as domain.com/abc to index.php?username=abc where abc is any string of one or more lowercase characters.

showman13 commented: Hey Dani, thanks for the response... +5
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

thanks for your guide, i will definitely try it. But right now my front-size: 20px

That's your font size for your page body. You have an .entry-meta a stylesheet rule that dictates what font size dates and authors should be.

robinson909 commented: okay, i try it now and check +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Unfortunately this isn't possible without using a third-party Wordpress plugin.

By default, you can select multiple articles with a checkbox to delete them at once, but this isn't really practical if you're looking to delete more than a handful at a time.

Here's a link to a random Wordpress plugin I stumbled across for bulk deletion. I'm not a Wordpress user so I can't vouch for its credibility, unfortunately. However, it does seem rather popular.

Good luck!

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

Use CSS to change the font size. Your CSS currently has your dates and author on the homepage:

.entry-meta a {
    font-size: 14px;
}

I wonder if that's what Google is thinking is too small? Or maybe you have text somewhere else that's even smaller. You can usually use Lighthouse within Chrome Dev Tools to figure out exactly what Google is complaining about here.

robinson909 commented: thanks for your guide, i will definitely try it. But right now my front-size: 20px +0
bracknelson123 commented: Thanks, @Dani to share this. If I'll ever be stuck in this kind of problem I will apply your +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

This is just a homework assignment. How can we help you with it? What do you have so far? Is there somewhere that you’re stuck? Please show your work and we will try to help.

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

At second glance, I don’t see where you are connecting to MySQL and passing that connection resource into the mysql_query() function. Where are you connecting to the database?

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

It means there’s a problem with the mysql_query() statement. It is returning NULL instead of a valid MySQL resource.

Are you sure the query is valid? Are your sure the users table has an id field? Are you sure $id is a valid integer?

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

Can you please include the CSV format as a post attachment so we can understand the format of the file? Thanks!

princess_7 commented: shape guess game python GUI tkinter +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

If it’s in the same directory, then you can do:

echo ‘<a href=“‘, rawurlencode($l_filename) , ’”>click here</a>’;

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

Do your power settings have sleep or hibernate mode enabled?

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

SMTP requires users credentials and is primarily used, IMHO, when connecting to a third-party server.

Again, not a .NET person, though.

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

I am not a VB.NET developer (or a .net developer at all, for that matter) but I can't imagine that this would be possible.

If I'm using an app that sends an email, it would either be sending an email using the user credentials for the app/developer, or it might open my mail client (whether that's Outlook or macOS Mail or whatever it is I use, as an end-user) and prepare an email draft to be sent out (much like the HTML mailto: link), but I can't see an email being sent from my own credentials without my explicit intervention.

Shalini_7 commented: the previous developer create an application thru vb.net and linked with users pc, so when users click on the specific button it send auto emails +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

This just appears to be a homework assignment. Please show your code of what you have so far and where you're stuck, so we can help you. We won't just do all of your work for you.

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

You have added your own internal link as External.

What do you mean? It's fine for internal links to reference the complete URL (beginning with https://) instead of just a relative URL. I don't think Google treats the URL any differently. I might be mistaken, but I don't believe so, as long as you aren't switching between http<->https or www<->non-www.

That being said, it does add a little bit of overhead in terms of HTML file size if you keep repeating the full domain for every internal link.

kshahzad commented: by adding as internal link actually you are guiding google about your site structure. +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Google has been discounting footer / sidebar links for quite a long time now, so most of the industry switched to editorial links within articles and blogs. However, that's been majorly discounted now as well, especially for blogs that have demonstrated spun content or lots of third-party links that look purchased.

HARO is a good one nowadays. It stands for Help A Reporter Out and it's basically a mailing list digest you get in your inbox every morning where reporters are looking for quotes and authoritive knowledge for the stories they're writing. If you help them out, you can usually get a free plug within their articles, which includes reputable publications such as the Wall Street Journal and New York Times.

MasoodDidThat commented: Tell me more anput HARO, is it still in trend in 2025? +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I was in Opera when I looked and default colors are not a good excuse for the horrible color choices.

I think you're misunderstanding. The OP is just trying to get the demo to work. It isn't representative of their actual use case.

rproffitt commented: I understand that. Still, "My eyes, the goggles do nothing." +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

I'm able to reproduce this in the Codepen with the latest version of Chrome / macOS.

rproffitt, what are you referring to? The color scheme in the pen is just the default demo from Siema.

Eugene, does it work fine when not within a jQuery tab?

I'm thinking that the problem is that you hide all profile_content at first, and so Siema isn't given an opportunity to render properly.

rproffitt commented: I was in Opera when I looked and default colors are not a good excuse for the horrible color choices. +0
Eugene_15 commented: it works fine, when not using jquery tab +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

emmastone,

I checked out your site: Way, way, way too many third-party Javascript + jquery libraries. Horrible for SEO. Horrible for site usability.

rproffitt,

Those are well-known analytics tools, but they take knowledge and experience to know how to interpret the data and make it actionable.

rproffitt commented: OP mentioned those tools! +15
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

darkbox, have you tried my PHP solution?

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

No only Ahrefs but also for multiple feedback about your linking history and status you should also use SEOfrog & SEMrush.

I don't use SEMRush but I do use Screaming Frog regularly. I also used to use DeepCrawl but I don't anymore.

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

Do you use any tools such as Ahrefs to manage backlinks?

nawaz_5 commented: No only Ahrefs but also for multiple feedback about your linking history and status you should also use SEOfrog & SEMrush. +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Hi and welcome back to DaniWeb!!

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

Nice to meet you!

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

OK, I just checked. The website was written in ASP.NET, and powered by a Microsoft IIS web server.

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

There’s generally no way of knowing what programming language was used on the server to build the site. All web development languages spit out a mix of HTML, Javascript, CSS, etc.

I’m on my phone right now, but I’ll check from my desktop tomorrow. You can usually tell from different clues such as what’s in the HTTP headers that the server sends, and sometimes from the HTML itself.

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

Are you planning on getting the vaccine as soon as it becomes available to you, after it’s been a bit more thoroughly vetted, or not at all?

Personally, I think it was pushed through just a bit too fast for my liking. I’m holding off until they see what long term side effects and efficacy are.

rproffitt commented: Have you changed your mind yet? Let's talk about the data so far. +0
webmaker commented: absolutely no mrna is not safe and is not a vaccine… +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

What mail server do they use and how do they access their mail?
If the end use downloaded all their mail from a POP3 account into their own email client, they will retain access on their local computer even if the server goes away.

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

I know rproffitt is a moderator on the Tech Republic forums. Does anyone else participate in any other online forums / communities / subreddits / etc? Just curious :)

Phozellpay commented: Not recently, unless you count SO. +0
link88bcom commented: dd +0
Dani 4,653 The Queen of DaniWeb Administrator Featured Poster Premium Member

Is there any news yet as to what the December 2020 core update focused on? What types of sites were the biggest winners vs biggest losers?

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

Any big plans (while keeping safe)? Just staying home? We aren't doing much of anything.