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

Hi there and welcome to DaniWeb!

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

Hi there!!

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

Hi there and welcome to DaniWeb!

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

OK, good luck. :) Feel free to post your next question.

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

Hi there and welcome to DaniWeb!!

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

So the path you need to take here is:

  1. Create an excel file stream

  2. Scan for all .txt files in a folder

  3. For each .txt file, retrieve its contents and then ...

    a. Use regex to retrieve the particular text of interest
    b. Append to the excel file stream

I don't know Python, but hopefully this helps you a bit. Good luck!

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

Speed is distance divided by time. You have distance*time which is distance multipled by time.

For example, if I am traveling at 50 mph, I'm traveling at 50 miles per hour ... thats 50 miles divided by one hour.

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

Wordpress is a blogging solution. To add a forum to your website, you will need to use a separate forum script. Examples are Xenforo, vBulletin, and phpBB. Each one has plugins available to create a seamless login for your users between your Wordpress blog platform and the forum platform.

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

Welcome to DaniWeb!!

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

Welcome to DaniWeb!!

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

Welcome to DaniWeb!

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

How much does SEO cost? ...

If you're doing it yourself, then only your own manpower.

Once I start SEO, how long will it take to get rankings? ...

For a non-spammy site with no obvious issues, you should have no problem showing up in the search engines within days or weeks.

How long will it take to see increases in traffic? ...

Typically you'll start seeing some improvements in 6 months, but a good SEO campaign can take a year or more.

Why should I continue SEO once I've gotten good rankings? ...

Because Google is changing their algorithm all the time (multiple times per day), and it's important to keep up with what Google is looking for, keep up with your competitors, and focus on always engaging your users.

Can't we just buy links?

Sure, and sometimes that works for some quick gains. But you can also end up in the penalty box, too. It's your risk.

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

Is this your company? Are you associated with the game creator?

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

I also fixed the canonicalised PHP code in the javascript <?php and ?>

I have to figure out if this is a bug that escaped what you wrote instead of treating it as <?php and ?>

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

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

Does it actually send out the email, or does it just add a draft to the the email client? Is the expectation that the end-user must have Microsoft Outlook installed and used as their default mail app? What if they have multiple email accounts? How does the app choose which account to use? This seems like an excessive violation of privacy.

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

Is it possible that you are echo'ing a - somewhere earlier in your app, before your echo json_encode() statement? What does the full PHP script for that page look like? If you comment out the echo statement that begins on line 17 of the code you provided, does it still print out the dash?

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

What library are you trying to use?

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

In the line $l_filename = $stmt->fetch(); does $l_filename what is an example of what it gets set to? A complete URI, just a filename, filepath + filename, etc.?

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

I just spend my life at https://www.canIuse.com and call it a day :)

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