11,530 Posted Topics
Re: Yes, but this question was asked 7 years ago. We can see that it aged well :) | |
Re: 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. | |
Re: 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 … | |
Re: Hello and welcome! Thank you for signing up! | |
Re: 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). | |
Re: 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 … | |
Re: 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? | |
Re: 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. | |
Re: 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 … | |
Re: `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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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) | |
Re: 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). | |
Re: 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 … | |
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 ...? | |
Re: 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 … | |
Re: <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 … | |
Re: 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 … | |
Re: > Maybe it needs an update to include "don't feed the students answers." That's not against our rules. | |
Re: 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. | |
Re: 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 … | |
Re: 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. … | |
Re: 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 … | |
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 … | |
Re: > 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 … | |
Re: Click the little code button (third from the left in the editor toolbar) to insert code. | |
Re: You can also post code as a text file attachment, but it won’t be highlighted or get line numbers. | |
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. | |
Re: Welcome to DaniWeb. Thanks for joining! | |
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 … | |
![]() | Re: 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 … |
Re: 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 … | |
Re: 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? | |
Re: 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 … | |
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()` … | |
Re: It really depends on what type of company you have and what the goals of your website are. | |
Mine is READY. When I’m not playing in hard mode, my second is PIOUS. | |
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 … | |
Re: 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"; | |
Re: When I was building my API, I lived in Postman. | |
Re: $("#subtot").val() is javascript but you are attempting to pass it into a php function. Php doesn’t know what to do with it. | |
Re: Sorry, I don’t have any experience developing for it. Are you stuck on a bug? | |
Re: Oh shoot! Well that’s a bug. In the meantime, feel free to give yourself a pat on the back. | |
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. … | |
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. |
The End.