202 Posted Topics
Re: Hi Vivosmith and sorry for the slow reply. Choosing a career shouldn't depend on your skillset but instread on your end goal - where do you want to be in 20 years time? Get a pencil and some paper, in the middle draw a line - you're about to utilise … | |
Re: Disadvantages are lack of control to users who have no or little programming experience. The framework can throw a user right off! Another disadvantage is that it's a very well-known framework meaning that hackers and attackers find it easy to work around basic security - there are great plugins to … | |
Re: A third party one or the windows one? How did you manage to uninstall it? I'm goin to gather the Windows one, and in which case I think it's disabled if anything not uninstalled. [To get it back you should do this!](http://support.microsoft.com/kb/307894/EN-US) Good luck, Michael | |
Hi all, I'm using AJAX to reload a div within my script. However it frequently causes the browser to crash. It's happened on two different local environments and I've only been able to test using chrome. Chrome presents this screen: http://i.imgur.com/wq2v7SJ.png The code used to reload the div is: <script … | |
Re: Hi and welcome! If anyone asks where you came from tell them mmcdonald sent you... it may not be true (It isn't.. but they don't know that), and I'll send you a cookie. That way you get a cookie and I get a pat on the back :3 DaniWeb is … | |
Re: Your error states that the problem occures on line 200, but you've only posted 103 lines of code? Could you post all of the code please. | |
Hi all, the following PHP MysSQLi query works in XAMPP but not in WAMP: <?php include('../../inc/config.php'); $mysqli = mysqli_connect($config['host'], $config['user'], $config['pass'], $config['db']); $responseQuery = "SELECT tr.id as trid,tr.topicid,tr.usersid,DATE_FORMAT(tr.date_added,'%b %d, %Y %H:%i') AS format_date_added,tr.date_added,tr.response,tr.status, t.id, t.usersid as creatorid, u.id, u.authuser, u.memtype, u.fn,u.ln,u.avatar FROM topic_response tr LEFT OUTER JOIN topic t ON … | |
Hey hey! I'm about 70% into completing a web application that will allow our clients to white label our service. They can then in turn resell the service to their audiences without any involvement from me or my colleagues. Now, something I need to figure out is how to allow … | |
Re: The only way to get an answer for this question is to do some tests for yourself, or perhao an automated tester to colelct a few thousand results. In each test record exactly how much bandwidth is used, then multiple that by expected traffic and voila. FYI this is a … | |
Re: Thanks for sharing Dani! It's nice to see Google make a step in the right direction for once. Perhaps they've finally realised how much they've slipped over the passed 36 months in regards to their AdWords/AdSense. I personally feel they got too comfortable with their 'legacy' layout, I also can't … | |
Re: If you're only getting 1 row back from `$query`? Where is `$count` coming from? It looks okay to be hinest unless I'm missing something too. What's the value of `$count`? | |
I've focused my night on better grapsing authentication security and believe I have made good progress. To date I have simply relied on SHA1 hashing and prepared statements - not much, right... So I knew it was time to pick up some new skills. What I came across was very … ![]() | |
Re: Example from MSDN: DataTable dataTable = new DataTable("Country"); dataTable.Columns.Add("Id"); dataTable.Columns.Add("Name"); dataTable.Rows.Add(45, "Denmark"); dataTable.Rows.Add(63, "Philippines"); comboBox1.DataSource = dataTable; comboBox1.DisplayMember = "Name"; comboBox1.ValueMember = "Id"; comboBox1.SelectedIndex = 1; comboBox1.Refresh(); DataRow selectedDataRow = ((DataRowView)comboBox1.SelectedItem).Row; int countryId = Convert.ToInt32(selectedDataRow["Id"]); string countryName = selectedDataRow["Name"].ToString(); int selectedValue = Convert.ToInt32(comboBox1.SelectedValue); | |
Re: Are you not able to get this sort of information from webmaster tools? perhaps request an increase to your crawl rate for a few days? | |
Re: @silverrice I don't think that's the case at all... I've never done such a thing and even with the forward slash you're still reading from the same directory? I usualy use: <link rel="shortcut icon" href="/favicon.png" type="image/png"> <link rel="shortcut icon" type="image/png" href="http://www.example.com/favicon.png" /> or: <link rel='shortcut icon' type='image/x-icon' href='/favicon.ico' /> | |
Re: POP3 email from what service provider? Hotmail? Google? yahoo? Or is this a corporate/private mail server? If you let me know I could list most of the important field values for you. Here's a good guide: http://hostpapasupport.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=378 Would help to know the iOS version as they configure differently. | |
Re: As the other two said... don't do it, not when there are really cheap packages out there (and some free ones!). If you do this a lot and know a lot of people in a similar situation perhaps you can split the hosting host and setup come security. You should … | |
Re: That's a kickass question my friend! Requires a lot of time, have you instead revised transitioning and studied a healthy tutorial? http://css3.bradshawenterprises.com/transitions/ Could recommend it enough for clarity making it dead easy to grasp :) I've got it bookmarked! | |
| |
Re: Has the service stopped running? On Windows: Start Menu > Run > Type: 'services.msc' > Hit enter > Find 'mysql' > Right Click > Click 'Start' if not already running. | |
I'm about 80% into my first attack on JQuery/AJAX... how would one correctly write this function: function reloadResponses(){ $('#responses').load('pages/community/load-responses.php?id=<?php echo $id;?>'){ window.setTimeout(reloadResponses, 10000); }; }; I would like to reload `<div id="reponses"></div>` every 10 seconds. Is this the best way? I am currently using this to reload the div every … | |
Re: Backlinks are a risky business and can do as much damage as good. I've seen a lot of individuals selling backlinks from .edu and .org domains on portals such as fiverr.com - a PR 7 backlink from a .edu for $5? It's only when you visit the domain that you … | |
Re: I agree with perlexed, it looks as though you're asking for a game_id when... well when you already have one? SELECT `game_id` FROM `games` WHERE `game_id`= I personally would use the SQL like function, because if the users search term doesn't match your predefined name EXACTLY, you'll get no results. … | |
Re: You can use [HTML2Canvas](http://html2canvas.hertzen.com/) to grab a screenshot of a remote URL and save the captured image locally, their libraries are dead easy to use/understand too, in fact, in 4-6 lines of code you could collect, name and store a screenshot of a URL. If you want users to see … | |
Should be simple right? Well I've been at the PC for 16 hours so far and the answer is probably screaming at me in the face, but I can't hear it... # This code... # $differenceInSeconds = 448005; if($differenceInSeconds >= "86400"){ $calcDays = floor($differenceInSeconds / 86400); if($calcDays = "1"){ $daysPlural … | |
Re: Highly confusing as JorgeM has politely pointed out. Are you trying to collect the username from the record that has the user_id of 3? What do you mean recipient? Are you constructing a script in a programming language at the same time too? Get back to us when you have … | |
Re: What Linux Distro are you using? There are different settings available to set connection and session timeouts. You could, say, set a timeout to 600 seconds (10 minutes) and have the countdown for each connected session restart when the users intreracts with the web service. Therefore only active users would … | |
Re: Okayyyyyyyy first of all I'm not downloading some random .rar file :) Second of all yes you are on track. Keep yourself up-to-date with the latest graphics engines jsuch as havok and ensure you're well aware of engine application. It's great that you developed a game on your own - … | |
Re: This: \\srv01\CDS\ITEMS\ITEMLIST.xls Becomes this: //srv01/CDS/ITEMS/ITEMLIST.xls Example: `<a href="http://srv01/CDS/ITEMS/ITEMLIST.xls" target="_blank">Item List</a>` If your servers have static IP addresses avoid using hostnames as this will allow the link to continue working even if DNS fails or the host name is changed in the future. | |
Re: If you can get into the BIOS you're fine. If you're prompted for a password, you're screwed. If you don't get either then I hear the sound of corruption. | |
Re: Why don't you collect the URI using `$_SERVER` and see if it contains the term `products`? You can then use an IF statement, so if URL does contain that or one of several key terms redirect to 404: <?php header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found"); include("404-not-found.php"); ?> That way you're telling users … | |
Re: Every unique item needs an identification number, so instead of having one ID for cars and then fart assin' around with colours, models and years I would have one unique ID for the red 2010 fiat punto and a unique ID number for every vehicle. Most ecommerce store owners require … | |
Hi all, I'm having that oldschool issue with saving rich text content to MySQL and then retreiving it. As far as I'm concerned I thought I was doing it correctly - but one of you lucky devils is about to tell me otherwise :D When I'm saving to DB: if(isset($_SESSION['auth'], … | |
Re: Here's a mock-up function: $config = array("host"=>"localhost", "user"=>"root", "pass"=>"pass", "db"=>"database"); function userInfo(){ //Global config to call on the database connection values. global $config; //Global $userInfo so we can use it outside of the function. global $userInfo; //Connect to database $mysqli = new mysqli($config['host'], $config['user'], $config['pass'], $config['db']); //Construct query as a … | |
Re: DavidB is spot on :) There are forums full of middle aged munchkins dedicted to legacy technologies and languages - so if you're looking for more activity then that should be your next stop, good luck and have fun! | |
Re: I have used hostgator for a good 5 years, I abuse them for their unlimited storage :) Not bad for the price. They have the best support, have never gone down, and their live chat guys have any issues solved within minutes. I trust them, which is saying something! For … | |
Re: You also have another _POST to collect, I don't think it's required, not by a long way, but I usually chck it anyway. Your submit button has the following name: `name="Submit"` so you can add it to your form processors prereqs: if(isset($_POST["myusername"]) && isset($_POST['mypassword']) && isset($_POST['Submit'])){ $username =$_POST["myusername"]; $password =$_POST['mypassword']; … | |
Re: http://php.net/manual/en/function.str-replace.php, use the `str_replace()` function to find certain phrases within a string and instantly replace them with alternative phrases. | |
Re: I would never use PHP for this, have you considered using JS or is the use of PHP a must? Infact I don't think you'll ever achieve this with PHP alone. [Check out this example](http://csscreator.com/node/708), it's pretty self explanatory and will show you how to hide/show a div using JS. … | |
Re: Lilwizz, you can calculate frequency in a loop. Set `$count = 0` and at the end of each loop increment count by one : `$count++`. In the middle of the loop you'll need to execute a query counting the number of rows where `age = $count`. You can of course … ![]() | |
G'day daniwebers! I just ran into this: http://www.daniweb.com/web-development/web-design-html-and-css/threads/463119/responsive-web-designing- and it made me think about a community driven and maintained resource database? Is this something that's been thought of before and swept under the carpet? If so - could we bring it back in to the light? I'm always crawling the … | |
Re: If you're just trying to redirect why aren't you using the `header();` function and placing the form processor code (Your isset code) above any HTML on the page to avoid headers already sent errors? if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "valide")) { $insertSQL = sprintf("INSERT INTO commande (client, `date`, subtotal, total) … | |
![]() | Re: Haha how have I never seen this link? I was on my HTC One X Plus last night trying to use DW... took me about 20 minutes to reply to AncientDragon :D ![]() |
Re: +1 to JorgM... in fact this is the first time I've ever heard of someone consider bluetooth for such as activity. You say you have wireless, which means you have a wireless router or AP... so I gather you already have a private network? Do you mean you wish to … | |
Re: No idea why you put this in Tablets and Mobile devices? It's probably why you haven't got a response. Is this on your phone? Or a tablet? Or a computer...? What page? You mean a browser tab? What browser? | |
Re: I would like to help you out blueguy777 but I'm quite inexperienced with multidimensional arrays, perhaps this article could help you? http://webcheatsheet.com/PHP/multidimensional_arrays.php I'm actually going to read through that article myself and see if I can grasp it, looks easy enough. Sorry I couldn't help more. Michael | |
Re: The folder has to be shared so that it can be accessed from the client PC, but if you're trying to simply read from or write to a directory then you'd type the path like so: \\192.168.1.222\software |
The End.