Good Day Folks! 1. Is the following regex ok to extract top level domains and 2nd level domains ? [^.]*\.[^.]{2,3}(?:\.[^.]{2,3})?$ 2. How to write php code to use that regex ? Any sample code welcome. Discussion Thread by UI in Web Development
php
… with it thinking their answers better than everybody else's on… Reply by UI
4 Weeks Ago
Good Day Folks! 1. Is the following regex ok to extract top level domains and 2nd level domains ? [^.]*\.[^.]{2,3}(?:\.[^.]{2,3})?$ 2. How to write php code to use that regex ? Any sample code welcome. Discussion Thread by UI in Web Development
php
… can't explain it any better than that. Perhaps if you… Reply by AssertNull
4 Weeks Ago
… find a way to get better at it. So, I was… me in getting a little better. Of course I know the… Discussion Thread by Violet_82 in Software Development
OK great, thanks for the advice. So in terms of practice is getting stuff from the internet (github) and modify it a good idea? Do you know any other resource where I could get some code and play with it? thanks Reply by Violet_82
4 Weeks Ago
Guys, What I am trying to do is load google.com with cURL and no matter what link is on the page, be it a google link or another domain), I want the script to precede: http://mydomain.com/tracker.php? So, if the page contains a link like this: … Discussion Thread by UI in Web Development
php
…. By the time I feel better and check for answers on… Reply by UI
4 Weeks Ago
… find a way to get better at it. So, I was… me in getting a little better. Of course I know the… Discussion Thread by Violet_82 in Software Development
I would do something with your current employer's software - that will help you "get" the local style and coding standards, and increase your value to your employer. Maybe reverse-engineering the class and sequence diagrams for one of their apps… Reply by JamesCherrill
4 Weeks Ago
… find a way to get better at it. So, I was… me in getting a little better. Of course I know the… Discussion Thread by Violet_82 in Software Development
… find a way to get better at it. There are two… Reply by deceptikon
4 Weeks Ago
… visitors of your's with better offers than the ones your… Discussion Thread by UI in Community Center
… with your own for the better. Reply by UI
4 Weeks Ago
Good Day Folks! 1. Is the following regex ok to extract top level domains and 2nd level domains ? [^.]*\.[^.]{2,3}(?:\.[^.]{2,3})?$ 2. How to write php code to use that regex ? Any sample code welcome. Discussion Thread by UI in Web Development
php
… TOS ? Anyway, I've got better things to do than reply… Reply by UI
4 Weeks Ago
… find a way to get better at it. So, I was… me in getting a little better. Of course I know the… Discussion Thread by Violet_82 in Software Development
Right thanks guys, really good suggestions! I will try to work on the code of the organisation I work for, but I can't bring that at home with me unfortunately so it might be proving a little challenging, that's why I was thinking to get hold of some code … Reply by Violet_82
3 Weeks Ago
Ladies & Gentlemen! Oops! Let me try again: Gentle Ladies & Hard Men (after-all, it's the ladies who are gentle compared to men and men hard, rough 7 tough compared to the ladies)! And no, don't jest by saying "hard men" sounds like … Discussion Thread by UI in Web Development
php
… are good on some subjects better than males and it's… Reply by UI
3 Weeks Ago
im trying to make a loop that asks a command from stdin and checks if it's valid or not, and the command for example will be in this format : Command then seperated with any amount of spaces then a Letter then comma then a double a comma and a double … Discussion Thread by Adam_35 in Software Development
I stopped using strtok() years ago (like 25+) because it modifies the original string, adding null characters for each token found. I find other methods work better, and in some cases faster, to parse strings. Reply by rubberman
3 Weeks Ago
Hello, I´m not a professional in vb.net, but i try to make a tool for my colleague and me. I got a XMLTreeView on my form and i load a XML-File in it. Now, I want to set each node in the XMLTreeView another icon, but it must set by the XML-File. This … Discussion Thread by josh_4 in Programming
… the old instruction to visualize better the change. Private Sub AddNode… Reply by xrj
3 Weeks Ago
… managers of various companies for better practices**. I hope you will… Discussion Thread by Kasia_3 in Community Center
3 Weeks Ago
I'm attempting to mask out the circles with the gearMiddle, it is as straight forward as, what you want to mask out, you make black, what you want to keep you make white (punch out effect). How do I keep what is white to which I want to keep, visible; … Discussion Thread by Siberian in Web Development
…;def> I understand it better; like <g> only… Reply by Siberian
3 Weeks Ago
Is there any better way to find the duplicate … Discussion Thread by stephen_23 in Software Development
3 Weeks Ago
Hi friends, Please help me by giving the answer of the following question. Is there any tool with the help of which we may detect whether our site is penalized or not? Discussion Thread by Mikky004 in Search Engine Strategies
….google/topics/journalism-news/building-better-web-everyone/ Reply by rproffitt
3 Weeks Ago
Re: strings
write java a program that finds the longest substring without repeating characters in a string Discussion Thread by bea_1 in Programming
… the hashmap is a "better" solution. Although O(n… Reply by JamesCherrill
2 Weeks Ago
i have wrote this program which uses binary search to search for a desired word and which displays the word along with the meaning of that particular word.but each time i print the data that the arraylist contains it just print the word being search but … Discussion Thread by Badulla in Software Development
… there's more. It's better to write your code in… Reply by JamesCherrill
2 Weeks Ago
Hey all, I have a problem with my Dell Latitude laptop. The laptop is 3 years old, and worked fine 2 days ago. Yesterday when I went to turn it on, the power, battery, and CPU light would all blink on, and the CD light would blink, along with a short … Discussion Thread by Bernard_5 in Hardware and Software
…. Next if it's not better, power off, remove battery and… Reply by rproffitt
2 Weeks Ago
… the higher the quality, the better. I love making physics &… Discussion Thread by William Hemsworth in Software Development
1 Week Ago
I'm having the following difficultly: I have a table `rates` which contains the follow: -> id -> rate_from -> rate_to -> price A `user` can have many rates, and for an example: between 0 - 10 hours the … Discussion Thread by phorce in Web Development
php
… but hour_from , hour_to or even better fromHour , toHour . Its important to… Reply by jkon
1 Week Ago
Hi! I am developing a pos for a store. I have created a settings window. On this window there is a button which is used to set a name for store. When user press this button a message dialog appears with a text field and a OK button so that user enter text … Discussion Thread by Saboor Siddique in Software Development
… close that was clicked. Even better, ditch your whole thing and… Reply by JamesCherrill
1 Week Ago
… visitors of your's with better offers than the ones your… Discussion Thread by UI in Community Center
I can read you. Reply by rproffitt
1 Week Ago
… use XMLHttpRequest but //it's better than nothing. $head = $xpath->… If you know of any better script then do let me… Discussion Thread by UI in Web Development
php
Cereal, Thanks for the reply. I missed this as I haven't been in the forum lately. Anyway. So, you suggest I experiment and see which one is suitable. But from your own experience, which one you reckon is most suitable ? I might aswell go with what … Reply by UI
1 Week Ago
struct sdata; typedef struct sdata *sptr; struct sdata { char sName[25]; char sNum[7]; sptr next; }; void readdata(); int main(void) { readdata(); return 0;' }… Discussion Thread by Mrra in Software Development
c
… file handle. `Student_Info` was a better name than just `data`, so… readability later on. Maybe a better name would help, but in… Reply by Nutster
1 Week Ago
I'm having the following difficultly: I have a table `rates` which contains the follow: -> id -> rate_from -> rate_to -> price A `user` can have many rates, and for an example: between 0 - 10 hours the … Discussion Thread by phorce in Web Development
php
Better one here after sorting: private … Reply by diafol
6 Days Ago
Hi I have the following form at [http://test.genealogyresearchassistance.co.uk/newLinks.php](http://test.genealogyresearchassistance.co.uk/newLinks.php) The code is <form id="add" action="add.php" method="get"… Discussion Thread by Peter_56 in Web Development
… for duplicate entry It is better to use `auto_increment` on MySQL… Reply by cereal
6 Days Ago
The Community Forum on Daniweb has been hijacked by code posters. There appear to be loads of these people posting their junk all over the place. WTF? If you can't find a (sub)forum that fits your niche, the next best thing is the community forum! So … Discussion Thread by diafol in Community Center
Exactly where it was when I looked at it. In the **Programming** forum. Better there than in the Community forum. Reply by Reverend Jim
5 Days Ago
Please share useful tips or technique for image optimizations. Discussion Thread by carlyienjoseph in Search Engine Strategies
Compress the image.. Use alt tags and use your focus keyword.. Reply by Abdullah_14
5 Days Ago