11,530 Posted Topics
Re: I might be mistaken, but can you send an HTTP header specifying a `Location:` that is a relative URL? | |
| |
Re: I'm trying to do this as well. I found that you can set: section { padding-top: 50px; /* or however the height of your header */ margin-top: -50px; } The negative margin will offset the padding and it will all look correct and the anchor will work. But unfortunately it … | |
Re: Sorry, I don't use Gmail so I'm not quite sure what you're referring to. Are you referring to modals?? If so, Twitter Bootstrap has modal JS built in. | |
Re: I hate to contradict you, but I don't think the Win98 cd is bootable. That's why everyone and their mother searches for the ever-valuable Windows98 boot/startup disk. Check the VMWare virtual machine configuration (when the VM is powered down) and make sure it has access to all of your hardware … | |
Re: What specifically are you lost with? Is it the syntax that is confusing or are you confused by concepts? Objects? Algorithms? Do you have experience with any other programming languages or is this your second semester in the world of programming, and its more the concepts that are confusing? | |
Re: Hey there!!!!!! Welcome back!! I hope you'll stick around and stay awhile. You were missed. I have a question for you though cereal. Isn't it optimal to let password_hash() create its own strong salt? | |
Re: I'm not understanding why you tagged this thread bad-code. Looks perfectly fine and readable to me. | |
Re: Unless your website is targeting an intranet or users where you have some control over what they will be using, I would definitely do my very absolute best to be backwards compatible, or at least downgrade nicely, for over 6% of my users. I tend to not worry once it … | |
Re: You can use PHP to retrieve a user's IP address. And you can use the JavaScript-based HTML5 geo API to retrieve a user's latitude and longitude (coordinates), provided they agree to it. However, you need a third party service or library or something to actually determine a user's city, state, … | |
Re: It's not going to get you indexed any quicker, but it will help Googlebot to have a deeper understanding of your content. It may result in breadcrumbs and other semantic data being displayed in the search results, which can increase the CTR of your links. | |
Re: Your existing DaniWeb account has already been migrated into Dazah. You can log in with social media or with an email address and password. You can use the Dazah lost password recovery tool to be issued a new password. Dazah isn't really social media. It's a backend technology that now … | |
Re: Don't we all need more traffic! What do you mean by a different sector though? Are you switching your strategy and going after a different audience? | |
Re: The code you presented does not count 1,2,3,4,5 ... not from 0 or 1 or otherwise. As diafol pointed out, you need a loop. | |
Re: Hmm, looks like it might be. I was able to do a search for "excel" and only select code snippets from the dropdown, and it gave me a bunch of excel-related snippets. None were yours though. However, the Programming dropdown seemed to break things. I'll look into this. Thanks! https://www.daniweb.com/search/index/0/code?q=excel+site%3A%2A%2Fcode#gsc.tab=0&gsc.q=excel%20site%3A*%2Fcode&gsc.page=1 | |
Re: I know there is a way to encrypt the connection to the database server, and I believe there is a way to encrypt the actual contents of the database on disk. However, as for actually encrypting each and every individual column with a two-way algorithm, it's not something I would … | |
I've changed our search functionality to be controlled in-house again and no longer use the Google search API. Let me know your thoughts. | |
Re: Did you recently upgrade to the latest browser version? Maybe there's something funky going on with it? As rproffitt says, do other browsers still work fine? | |
Re: It's not free, but I use FusionCharts and I couldn't be happier with them. ![]() | |
Re: What kind of voting system? Like polling? Why not just use something like SurveyMonkey? | |
I was impressed when I logged into Google Analytics and noticed that instead of sampled data I was presented with a drop down menu where I could choose if I cared more about accuracy or speed. I was then thoroughly less impressed when I selected to focus on accuracy and … | |
Re: You can use Google CSE to design a custom search. You can decide what domains or pages are searchable in your engine, and customize a weighted algorithm. | |
I'm thinking of creating a new feature to our chat in which users can share a code editor, which would update in realtime. Does anyone see a use to this? | |
Re: Firstly, the OP specified he would like to ideally use the API of an existing mail client, which, if it exists, isn't such a crazy idea. APIs exist for a reason :) There could be many reasons to want to do this ... perhaps a custom tailored UI/UX on top … | |
Why was `INSERT DELAYED` deprecated? https://dev.mysql.com/doc/refman/5.7/en/insert-delayed.html I used to use it and it was incredibly useful. | |
I have an InnoDB table called `articles_read` with fewer than 20,000 rows in it. It consists of 3 columns: member_id article_id timestamp There are two indexes: A unique index on (member_id, article_id) and a regular index on (timestamp). It is read from fairly more than it is written to, and … | |
Re: I'm not a java developer ... However, if I follow your logic correctly, you're checking to the left side. Then, if it's not 0 itself, then you check from the right side. Well, if it's not a 0 itself, then the closest we can be to it is 1. Therefore, … | |
Re: > Now there is pave ackages like 6 links,25 links package. if two user select 6 link each day and both will have same links[url] .now i when user log in then on adversitment page he visit each link one by one and as same set of link is with … | |
Re: Sorry, I don't know VBScript at all. However, is it possible that it is returning null or false or such for any index that doesn't exist, as opposed to throwing an error? | |
Re: I was not familiar with TablePress until finding out that it is a WordPress plugin. Perhaps there is a WordPress-specific forum out there that might be able to help you? I'm really sorry. Incidentally, is there a reason you need to be using this plugin? | |
Re: > I think a previous iteration of DW did have this - perhaps when it was vBulletin? Yes, vBulletin used to have this. However, considering not many people used it in the first place, and no one seemed to have missed it in the 5 years we have been off … | |
Re: Haha. Glad you got it solved so quickly! | |
Re: Use CSS to set the width. Sorry, I'm on my phone right now and it's too hard to type out the code. But basically something like style="width:200px". As far as I know, the width attribute as you have used it is not a valid property of text boxes. ![]() | |
Re: Hi there and welcome to DaniWeb!! Umm ... is this a homework assignment? What type of "item management"? It looks like you just need basic CRUD functionality (create read update delete) for item objects. If this is a homework assignment, please show us what you've done so far, and we … | |
Re: I've certainly never heard of it, but I've barely touched anything beyond PHP since starting DaniWeb. That being said, if it interests you, then give it a whirl and see what you think. If it's enjoyable to write in, then delve further. As far as the job market ... I'm … | |
Re: Hi there! Welcome to DaniWeb!! :) We will not just do your homework for you, but if you show us what you've tried so far and where you're stuck, we'll help you to learn and get it working. | |
Hey guys ... Over the last year or so that I've been hard at work with Dazah, I've received multiple requests from people offering to help. I am now in *way* over my head, and I would be eternally grateful for anyone who might be able to offer up their … | |
I'm excited I just discovered a way to remove unused MySQL indexes and I wanted to share it with you guys. I'm following the tutorial here: https://www.percona.com/blog/2012/06/30/find-unused-indexes/ We happened to have already been using a Percona-fork of MySQL. It just so happens that Percona has been our database consultants for … | |
Re: Haha! I just posted a few hours ago about adding that functionality to DaniWeb! https://www.daniweb.com/community-center/daniweb-community-feedback/threads/507257/shared-editor-window What makes you ask?? | |
Due to some complaints, the private message inbox now more closely resembles the pre-Dazah version. Archived conversations no longer show in perpetuity. | |
Re: Umm ... I don't think CURLOPT_HTTPSHEADER is a known cURL variable. Try doing something like this instead: curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/x-www-form-urlencoded', 'Content-Length: ' . strlen($req), )); | |
Re: You need to keep track of when you're in HTML and when you're in PHP. I always only use only PHP short tags within my templates. Makes my life soooo much easier. This is html blah blah <?php foreach ($foo AS $bar): ?> Value of the element is <?= $bar … | |
Re: Hi Scott, I received your email. For everyone else, Scott is actually [Sknake](https://www.daniweb.com/members/491910/sknake), who was active on DaniWeb back in 2009/2010. > I'm on my iPhone and I have an image showing to tell me to hit alt+s to start a new discussion? Valid point. I didn't think of this, … | |
Re: Maybe the Github javascript injected `<link rel="shortcut icon" href="blah blah blah">` into your webpage, and your browser cached that (as it does with favicons). | |
Re: I guess you can use divs if you're so inclined, but why? You can use CSS to make any element look the way you want. It comes down to HTML 5 being about semantics ... the tags you use explain the purpose and greatly assist search engine bots, blind people, … | |
I have two different conversion goals set up in AdWords. Is it possible to set a CPA bid for Campaign #1 to only take into consideration one goal, and a CPA bid for Campaign #2 to only take into consideration the other goal? | |
Re: Sorry, I'm not quite understanding your question. I clicked the two links you provided and I'm not attending up at cPanel? | |
You may have noticed that messaging about earning rewards points that can be cashed out for real dollars has just now been removed from various pages. It's not that I've completely called quits on the idea. When we switched over to the new platform, it was always in the pipeline … |
The End.