11,530 Posted Topics

Member Avatar for phphp

I might be mistaken, but can you send an HTTP header specifying a `Location:` that is a relative URL?

Member Avatar for Dani
0
297
Member Avatar for MICHELE_1
Member Avatar for Phaelax

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 …

Member Avatar for Dani
0
283
Member Avatar for shany0786

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.

Member Avatar for gentlemedia
0
300
Member Avatar for JamesCherrill
Member Avatar for JamesCherrill
0
387
Member Avatar for WillKool1080

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 …

Member Avatar for henbill
0
882
Member Avatar for John_145

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?

Member Avatar for rubberman
0
393
Member Avatar for AndreRet

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?

Member Avatar for AndreRet
0
575
Member Avatar for cereal

I'm not understanding why you tagged this thread bad-code. Looks perfectly fine and readable to me.

Member Avatar for Dani
0
165
Member Avatar for Susan_5

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 …

Member Avatar for gentlemedia
0
295
Member Avatar for mattyd

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, …

Member Avatar for Dani
0
448
Member Avatar for Shilpa_5

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.

Member Avatar for Luck_2
0
261
Member Avatar for Michael_62

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 …

Member Avatar for Dani
0
439
Member Avatar for partneritech

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?

Member Avatar for Dani
-1
91
Member Avatar for SimonIoa

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.

Member Avatar for SimonIoa
0
200
Member Avatar for Reverend Jim

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

Member Avatar for Dani
1
417
Member Avatar for Stefce

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 …

Member Avatar for Dani
0
190
Member Avatar for Dani

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.

Member Avatar for Dani
3
460
Member Avatar for AndrisP

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?

Member Avatar for rproffitt
0
491
Member Avatar for davy_yg

It's not free, but I use FusionCharts and I couldn't be happier with them.

Member Avatar for diafol
0
368
Member Avatar for shad

What kind of voting system? Like polling? Why not just use something like SurveyMonkey?

Member Avatar for Dani
1
1K
Member Avatar for Dani

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 …

0
217
Member Avatar for akrati

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.

Member Avatar for Dani
0
309
Member Avatar for Dani

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?

Member Avatar for Dani
0
470
Member Avatar for gkumaravel

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 …

Member Avatar for Dani
0
490
Member Avatar for Dani

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.

Member Avatar for rch1231
0
288
Member Avatar for Dani

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 …

Member Avatar for pty
0
262
Member Avatar for Adm666

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, …

Member Avatar for JamesCherrill
0
409
Member Avatar for shany0786

> 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 …

Member Avatar for shany0786
0
725
Member Avatar for kes166

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?

Member Avatar for Reverend Jim
0
318
Member Avatar for Carlo_1

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?

Member Avatar for rproffitt
0
837
Member Avatar for pty

> 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 …

Member Avatar for Dani
2
382
Member Avatar for Adm666
Member Avatar for davy_yg

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.

Member Avatar for diafol
0
282
Member Avatar for NhejdLoise

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 …

Member Avatar for JamesCherrill
0
311
Member Avatar for DeanMSands3

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 …

Member Avatar for Dani
0
322
Member Avatar for Faith_3
Re: Mips

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.

Member Avatar for Dani
0
120
Member Avatar for Dani

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 …

Member Avatar for Dani
1
970
Member Avatar for Dani

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 …

Member Avatar for Dani
1
136
Member Avatar for Alex_60

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??

Member Avatar for Dani
0
506
Member Avatar for Aleš_1
Member Avatar for Dani

Due to some complaints, the private message inbox now more closely resembles the pre-Dazah version. Archived conversations no longer show in perpetuity.

0
204
Member Avatar for Lloyd_4

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), ));

Member Avatar for Dani
0
463
Member Avatar for davy_yg

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 …

Member Avatar for davy_yg
0
2K
Member Avatar for Scott_15

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, …

Member Avatar for Dani
0
202
Member Avatar for mattyd

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).

Member Avatar for rproffitt
0
336
Member Avatar for Said_4

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, …

Member Avatar for Dani
0
143
Member Avatar for Dani

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?

0
257
Member Avatar for davy_yg

Sorry, I'm not quite understanding your question. I clicked the two links you provided and I'm not attending up at cPanel?

Member Avatar for davy_yg
0
516
Member Avatar for Dani

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 …

Member Avatar for Matthew_17
4
388

The End.