11,530 Posted Topics

Member Avatar for KentDy
Member Avatar for Dani
0
362
Member Avatar for subodhpatil527

Without seeing any code, all that I can really do is a Google search which says the error message happens when you are referring to an object that doesn't exist.

Member Avatar for Dani
0
85
Member Avatar for niksirat

This it not my forte but I just wanted to jump in here and apologize for moving this question to our programming forum. I’ve moved it back to the MS Windows forum after googling your problem and seeing it’s related to Microsoft Excel. Is that correct? Good luck! Hopefully someone …

Member Avatar for Dani
0
36
Member Avatar for jjamesbenntt
Member Avatar for UnabashedGeek

It doesn't look like you've attached the file. Please attach it as a .txt file. (Other file formats might be rejected by our system).

Member Avatar for Dkevinjames
0
162
Member Avatar for Chloe_6

Can you please explain what isn't working as you would expect it to? Are you getting any error messages? I see that in customer_search.php you have the code: <form action="customer_search.php" method="post"> However, it looks like customer_search.php is meant to be called from within index.php, and never called directly. Therefore, the …

Member Avatar for Chloe_6
1
81
Member Avatar for RC_820

Sorry, there's not enough information here for me to really understand what you're asking? What do you mean by a referral system? What does the referral system do? What would the referral code be used for? When do you get bonuses?

Member Avatar for Dani
0
124
Member Avatar for RC_820

Unfortunately I don't, but I do use long polling with Codeigniter 3 to provide live chat. May I ask why you want to use websockets? Did you ever figure this out? So sorry that I am just seeing this post now.

Member Avatar for Dani
0
73
Member Avatar for RC_820

My apologies for just seeing this right now! I know this topic is a few months old, and you've probably already figured it out ... but I can't help myself. I use Codeigniter's CSRF token and I use AJAX a lot. (Note: I use Codeigniter 3). So, here's what I …

Member Avatar for Dani
0
582
Member Avatar for borobhaisab

`intval()` is used when you want to convert a variable, no matter what type of variable it is, to an integer. It can be useful if you are expecting the user to enter a number, but instead they enter a word, and you want to convert whatever they enter to …

Member Avatar for Dani
0
56
Member Avatar for borobhaisab

The main use cases for `var_dump()` and `var_export()` would be for debugging purposes or logging errors. When debugging your code, you might want to be able to spit out the structure and contents of an array or object to understand what went wrong.

Member Avatar for Dani
0
18
Member Avatar for borobhaisab

The URLs that you linked to for the two page formats are located at https://localhost/, which means that only you have access to them, since they're being served locally from your computer. Therefore, I can't tell what is on those pages. You do want to HTML escape content with an …

Member Avatar for Dani
0
102
Member Avatar for niksirat

I think Microsoft Access (or pretty much any database software) would suit your needs here as far as just a simple method to create records with these four field types. As far as which is the right tool for the job, I think it would completely depend upon whether you …

Member Avatar for Reverend Jim
0
120
Member Avatar for alex_161
Member Avatar for jwatson

eBay has an official list of bulk listing tools that it seems that they develop in-house available at https://www.ebay.com/sellercenter/listings/ebay-bulk-listing-tools Specifically, they have a [multiple listing tool](https://bulksell.ebay.com/ws/eBayISAPI.dll?BEAR&workspaceType=22)

Member Avatar for Dani
0
28
Member Avatar for Jack_86

So is the nature of the web :) How much traffic do you get from search engines such as Google, social media, returning traffic, etc? Also, what is the nature of your site? (E-commerce, publishing, etc).

Member Avatar for mumtazshakeel
4
230
Member Avatar for nightfancy

I'm not sure what rproffitt is referring to, but as someone who runs a site, the only common thing I can think of that might limit whether we might block traffic or not is a non-standard user agent (e.g. that screams bot). Many years ago, my cable ISP's DNS servers …

Member Avatar for Dani
0
755
Member Avatar for Dani

What page do you typically start at when using DaniWeb? * Using the search bar to conduct a search * [Activity Stream](https://www.daniweb.com/stream) * [Forums](https://www.daniweb.com/forums) * [Latest Recommended Topics](https://www.daniweb.com/articles/latest/recommended) * [All Latest Topics](https://www.daniweb.com/articles/latest) * [All Newest Topics](https://www.daniweb.com/articles/latest?sort=started) * Something else ...?

Member Avatar for Dani
0
116
Member Avatar for DansMuayThaiMMA

This list is really super old (13+ years) and many of the blogs on this list don't exist anymore, and we aren't really allowing new postings in our forums like this because it's turned into such a spam-fest. In the future, I would urge you to go to https://www.blackhatworld.com because …

Member Avatar for Dani
2
980
Member Avatar for beyermusic2

<img id="photo" img src="photo.jpg> The pjoto is in same folder as code. You are missing the closing quote after photo.jpg. You also have an extra img inside the tag. It should be: <img id="photo" src="photo.jpg"> The pjoto is in same folder as code. The Films opening div tag is missing …

Member Avatar for Dani
0
1K
Member Avatar for Mr_154

There's no such thing as a dumb question, and I would like to think that we were a friendly community where people shouldn't be scared to post here in fear of being completely insulted or offended. So, for that, Mr_154, I apologize that this was your first impression of our …

Member Avatar for Dani
0
70
Member Avatar for MD SAIFUL_2

> Maybe it needs an update to include "don't feed the students answers." That's not against our rules.

Member Avatar for Dani
0
242
Member Avatar for DanielKeith

Use next-gen image formats. Photos should be JPEGs, animated images should be GIFs, icons and vectors that need to scale should be SVGs, and everything else shoudl be PNGs.

Member Avatar for Dani
4
2K
Member Avatar for borobhaisab

Hello and welcome to DaniWeb!! What you are describing is a Javascript technique called infinite scrolling. Here at DaniWeb, we use this technique on pages such as https://www.daniweb.com/programming/web-development/6 and the Javascript library that we use can be found at https://infinite-scroll.com/ Depending on how the infinite scroll is generated, you may …

Member Avatar for Dani
1
152
Member Avatar for Haru Haruko

If the webpage keeps disappearing and then reappearing in Google’s index when you manually resubmit it, it is most likely because Google doesn’t consider the quality of that page as valuable. You also have no control over what portion of a webpage Google chooses to show in the search results. …

Member Avatar for becketharper585
1
62
Member Avatar for Chloe_6

I tried to format your code properly, but it's unreadable because it has no curly braces and none of it is indented. We use the Markdown posting syntax here at DaniWeb, which means that each line of code needs to be indented by at least 4 spaces, with a blank …

Member Avatar for rproffitt
0
147
Member Avatar for Dani

You may have encountered a weird error message trying to log into DaniWeb today. We were victim to a signup attack yesterday where 1000+ bots figured out a way around our CAPTCHA and signed up. I've tightened up the signup + login forms today to prevent this from happening again …

Member Avatar for Dani
1
113
Member Avatar for beyermusic2

> Here's task - Add a CSS rule for all span elements that are children of h2 elements that sets the text color to #FA9F42 and its font size to 0.75em. This applies to all `<span>` tags that are anywhere inside `<h2>`. In other words, the span can appear as …

Member Avatar for Dani
0
3K
Member Avatar for beyermusic2
Member Avatar for Dani
0
105
Member Avatar for beyermusic2

You can also post code as a text file attachment, but it won’t be highlighted or get line numbers.

Member Avatar for Dani
0
93
Member Avatar for Dani

I'm back!! After a month-long break, filled with family visits, getting married, and going on our honeymoon, I'm finally back! Family is still in town for another couple of weeks, but I'm going to start returning to my desk most afternoons.

Member Avatar for Dani
1
62
Member Avatar for blockchainc
Member Avatar for Dani

Sometimes we have a need to take a simple PHP array and represent it as an encoded string. One use case that we have for this at DaniWeb is when a new user signs up, and we ask them to click on a link that was sent to them via …

Member Avatar for Dani
2
232
Member Avatar for Ant_426

If php is just spitting out a blank page, that means there’s some fatal error. Check the error logs or change php error reporting to echo the error message. (Sorry, I’m on my phone so it’s difficult for me to type out the code, but something along the lines of …

Member Avatar for Dani
1
390
Member Avatar for jodigad552
Member Avatar for Onion13

Hi there! It seems like you've got all the complicated stuff working. Graphics! Interactive players! Flying tokens! It sounds to me like a little timer to end the level is simple stuff. So now as far as posting the code for the timer so that we can take a look …

Member Avatar for Onion13
1
236
Member Avatar for sankar2000

I would store them as plain text, but I suppose it does matter what purpose you are storing the data for. Does it need to be searchable?

Member Avatar for Dani
0
548
Member Avatar for Haru Haruko

This isn't the type of question we answer anymore here at DaniWeb because, in the past, it just turned into a gigantic spam-fest. However, I would recommend finding lots of links to such resources at www.blackhatworld.com However, I don't believe backlinks from forum posts will be very useful to you …

Member Avatar for Dani
0
20
Member Avatar for Dani

Sometimes we want to know if the webpage was fetched over an SSL connection (e.g. the URL begins with https:// instead of http://). This way, if an end-user is accessing an insecure version of our site, we can redirect them to the secure version. The following PHP function called `no_ssl()` …

2
233
Member Avatar for Harry_41
Member Avatar for Dani
0
15
Member Avatar for Dani
Member Avatar for Reverend Jim
1
80
Member Avatar for Dani

For some reason, PHP class constants don't play nicely with inheritance. For example, suppose you have the following code: class Foo { const VAR = 'foo'; public function __construct() { echo self::VAR; } } class Bar extends Foo { const VAR = 'bar'; } // This will actually print out …

Member Avatar for Dani
1
364
Member Avatar for lukwagomedia

Putting what pritaeas is suggesting to code, it would look something like this: $path = $SERVER['SCRIPT_NAME']; echo "\nThe path is: $path"; $pieces = explode('/', $path); echo "\nThe pieces are:"; var_dump($pieces); $last = end($pieces); echo "\nThe last piece is: $last";

Member Avatar for Dani
0
293
Member Avatar for dimitrilc
Member Avatar for davy_yg

$("#subtot").val() is javascript but you are attempting to pass it into a php function. Php doesn’t know what to do with it.

Member Avatar for Dani
1
198
Member Avatar for Kavish0547
Member Avatar for 奇_925

Sorry, I don’t have any experience developing for it. Are you stuck on a bug?

Member Avatar for rproffitt
0
180
Member Avatar for pritaeas

Oh shoot! Well that’s a bug. In the meantime, feel free to give yourself a pat on the back.

Member Avatar for pritaeas
0
50
Member Avatar for Dani

I’ve made some UI changes to our forums page after my husband told me it looked too old school and like a 1990s webpage. Let me know your thoughts: https://www.daniweb.com/forums As you may have noticed, I also made some changes to the sorting and filter buttons on forum listing pages. …

Member Avatar for UWInsure
1
126
Member Avatar for Dani

How can I tell how much bot traffic I'm getting in Google Analytics? I've been doing a lot of work on improving my crawl budget and I want to see if Google Analytics reports similar data to the Search Console Crawl Stats charts.

Member Avatar for Dani
0
375

The End.