1,376 Posted Topics
Re: Personally the tools I like to use are a pen, some paper, stapler and a piece of software called open project. If however your talking about web development tools then it would be Notepad++, Putty, Eclipse and Maven. If your wondering why my web designing tools are so odd it's … | |
Re: I may be no expert on the Microsoft sql server but a few things do appear obvious. One is that if you want the version 2008 to read the file then you will need to convert the file to a 2008 file aka the 655 or earlier datatype indicated in … | |
Re: The file:// protocal only works in localhost and instead you need to use the http:// address to your file. For example: If you were to type into the url bar to download the file www.example.com/peg/ then the code would be as follows. <a href="http://www.example.com/peg/">click me</a> Also the url demonstrated will … | |
Re: To elaborate more line 20-29 is the error lines because the white spacing before those methods are what is causing the error. If you need whitespacing before the header function then place the html in a variable and display it after the all the header() functions have been called. Note … | |
Re: The rewrite rule does not allow for rewriting to the port inclusive. It would be something along the lines of the below: RewriteRule ^([^/])/([^/]).html$ /skolski_portfolio/index.php?id=$1&page=$2 [L] Also note that if that fails you can also try the below RewriteRule ^([^/]+)/([^/]+).html$ /skolski_portfolio/index.php?id=$1&page=$2 [L] Just remember that if you need to redirect … | |
Re: Also I know this isn't important but perhaps you should remove the quotations from the integers/numbers to improve efficency. Comparing two numbers is a lot faster than comparing a number and a string because of the amount of bits stored and the conversion required by php. For example: <?php $differenceInSeconds … | |
Re: Hi and thanks for posting. As per for fetching to appropriate entry within a range I would suggest storing the two numbers on each row in a seperate column which is the type double rather than a string as you have presented.After 4.21 and 5.0 are in two different columns, … | |
Re: Could you please present what problems you have ran into upon implementing the OAuth2 code. It is difficult to know how to advice when you have presented no examples to debug. Personally I would suggest removing simple_rest_client and following the docs for how to integrate the code as per the … | |
Re: I believe the IBM guess and go algorithm which was invented in either the 1980's or the 1990's was a successful square root algorithm which is quote simple actually. As simple as the logic is it can be a pain to code so I shall explain. Basically you get the … | |
Hi, I was thinking of making a big website with an algorithm in place to decipher the multiple match pair chance of same hash occurance for long strings but the only problem is I need a database of hashes. A really big one at that. So does anybody know of … | |
Re: I used to have a pet. The pet was my teacher. Or wait, is it the other way around and I was the teachers pet. Yer that sounds right. Teachers pet. | |
Re: My first wish would be for infinite wishes. My second wish would be for all the knowledge has, does and will exist in the universe to be capable of being stored in my memory. My third wish would be to store all of that knowledge into my brain. My fourth … | |
In php/html/javascript there are two different ways you may redirect a user to another page however there are a few things to consider before choosing with method to use. As you should know by now php has the ability to send html and javascript to the web browser and php … | |
Re: If it still is not working then simply startup the apache and mysql service by loading up the xampp control pannel and clicking the tick boxes beside apache and mysql. The control panel is located at C:\xampp\xampp-control.exe A reboot may then be needed. Also make sure these two services startup … | |
Re: This problem with sessions comes again and again. I think it was last month I help solve a simular problem. In most cases the cookie required for the session is unable to be stored inside the browser. So in otherwords, are cookies disabled in the browser that disallows sessions. So … | |
Hi, I'm creating a tutorial + repository website where the tutorials are free for the public to look at but the repository is not. However I am developing a login system that I want to sync with daniwebs login system. I have developed a curl system where the user can … | |
Re: If you are talking about the microsoft sql database + mysql database then that I believe is totally possible as they are two separate modules. Although I have never used the ms sql database system before, if you could post an example of the two separate scripts I will happily … ![]() | |
Re: Try this. [CODE=php]$query = 'SELECT * FROM `administrator` WHERE `'.mysql_real_escape_string($_POST['searchby']).'` LIKE "%'.mysql_real_escape_string($_POST['query']).'%"'; mysql_query($query) or die('SQL Syntax Error - query was: <u>'.$query.'</u><hr>'.mysql_error());[/CODE] Also with the above code it should have a pretty good debugging error if it fails. So run the above script and tell me what the new error is … | |
Re: Simple. Only takes one candle. Stand one candle up but don't light it and wait until the shadow has rotated 3.75 degrees anti-clockwise provided the room has a window. After the shadow has rotated the full 3.75 degrees then 15mins of daylight has passed. If you want 45mins then you … | |
Re: I have a few lines. [CODE=php]<?php session_start(); $slugtalk = "I may not move fast but I can still slug you."; $slugtalk.= " I'm a slug...\n"; for ($i=0;$i<6;$i++) { if ($i==round($i/2)) { $slugtalk.=$slugtalk; } else { $slugtalk.="Hey, how about me!\n"; $slugtalk.='Testing'; for ($v=1;$v<=$i;$v++) { $slugtalk.=' '.$v; } $slugtalk.=".\n"; } }[/CODE] Not … | |
Re: To make it easier [URL="http://dev.mysql.com/doc/refman/5.0/en/windows-installation.html"]http://dev.mysql.com/doc/refman/5.0/en/windows-installation.html[/URL] [URL="http://httpd.apache.org/docs/1.3/windows.html"]http://httpd.apache.org/docs/1.3/windows.html[/URL] [URL="http://php.net/manual/en/install.php"]http://php.net/manual/en/install.php[/URL] ![]() | |
Re: I have made a use at your own risk function that will convert a number of currencies. The reason why I say use at your own risk is that it uses another website for the conversions. First there is the convert function which is as follows: [CODE=php]function currency_convert($Amount,$currencyfrom,$currencyto) { $buffer=file_get_contents('http://finance.yahoo.com/currency-converter'); … | |
Re: This is only from the top of my head but if what you place in those 2 fields (area, rname) need to match percisely what are in those 2 columns within the mysql database then you could use something along the following: [CODE=php] <? //mysql connections if (isset($_POST['area']) && isset($_POST['rname'])) … | |
Re: And also to test your theory below is some code the will prove that javascript cannot communicate with php: [CODE=php]<? function myfunction($var){ return $var; } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script language="javascript" type="text/javascript"> function ILovePHP(var1) { b = "<?=myfunction('var1');?>"; alert(b); } </script> <meta http-equiv="Content-Type" … | |
Re: [QUOTE][QUOTE]I don't think you will find too many php web spider scripts only because php is an interpreted language and will be quite slow. [/QUOTE] [QUOTE]I agree with RobRob here, PHP just isn't powerful enough to be doing this sort of task.[/QUOTE][/QUOTE] Well from the quotes above, I may just … | |
Re: [QUOTE=sufalamtech;1673503]Everyone loves PHP these days it seems, and that includes the bad guys. So it should come as no surprise to learn that yet another remote access Trojan.[/QUOTE] Please don't bump old threads as I am sure this has been fixed in PHP 5.3.* | |
Re: [QUOTE=angelic_devil;860492]thanx ... i did use mkdir ...with tht i m able to make the dir successfully on my harddisk while testing. ut on web server its not doing it ....cant figure out y plz help here is my code [CODE] <?php mkdir ("/htdocs/lucky", 0777); echo " dir made successfully"; ?> … | |
Hi, I am starting to learn Pascal as a personal project but need an IDE/compiler. Does anybody know of a good IDE+compiler in one that they use which has the usual features like line numbers and decent debuggers. Also I need a compiler which is not written in C or … | |
Re: I'm currently listing to all of my computers humming with their enormous cpu. | |
In these three functions, you can filter to a url to just the domain name. There are three main methods of doing so which are all shown in the example and the usage of each function is shown in the example. ![]() | |
Re: Well what was the error? Did the computer explode or did the page just not load. If any error messages popped up please post them. | |
Re: I started my first programming language (HTML) when I was in grade 5. It wasn't any school project or anything but I just loved to tamper with the source of different websites. Then near the end of grade 5 I got a manual on html where I started to learn … | |
Re: [QUOTE=clarence1723;1673359]theres only one problem in the comment box given by naveen whenever you refresh it.. it resubmits the form... is there any way to fix it? please help..[/QUOTE] Let me be the first to say welcome to daniweb and please do not bump 3 year old threads. Instead start a … | |
Re: IMO if you are going to program then it is best to do it right. That means not using gui software to program for you. Usually it is best to just have a syntax highlighter like notepad++ or if your really inexperienced then a debugger like Netbeans but never drag … | |
Re: Is this homework help? Your asking half a dozen questions without showing any code for us to build on. The first part (displaying the table) is achieved by a simple mysql query with a loop. Then the page numbers are part of whats called pagination. So could you post some … | |
Re: To solve this problem simply delete the session_register() function wherever you have used it and also at the top of each page (on line 1) place the following. [CODE]<?php session_start();[/CODE] That should solve it. | |
Re: I would have to say Chrome is better of those two because chrome is Firefox's offspring. I guess you could say Chrome is the son of Firefox and Safari with Safari being the Mother. This is because Chrome is based on Safari code and the funding that went into Firefox … | |
Re: Perhaps the following function? [CODE]function trimstr($input,$length) { if (strlen($input)>$length) { return substr($input,$length).'...'; } else { return $input; } } echo trimstr('abcdefghijklmnopqrstuvwxyz',3);[/CODE] | |
Re: Provided you have a fluent understanding of php, html, css and javascript it is simple but time consuming. Provided you have a lot of time it can be done and quite easily even for a big cms if you have the experience. | |
Re: Also I see you have McAfee installed and that is a very bad virus scanner. Not that long ago McAfee had an update that blocked svhost.exe Also there are quite a few viruses it doesn't block and I would recommend getting a better virus scanner such as Avast or Kaspersky. … | |
Re: I'm also looking for a program that does the same thing except I don't care if it's not open source as long as I don't have to pay for it. I found "Autodesk Photo Scene Editor" but it requires you to upload the 20GB of photos to their website then … | |
I thought I would start this topic to see what everybody is working on. So post what is project of the day and many posts to come. As for me. I am working on making it to the refrigerator after a few lines of code. | |
Re: [QUOTE=pyTony;1570529]Basic math is of course simple, but got myself mystified sometimes with exponentiation (shame on me, and I got stipend of best mathematical science student in my graduation year 1984 in my town): -1**0.5 is valid formula (-1^0.5 some languages).[/QUOTE] In c++ that would result in a compilation error as … | |
I see in the tag cloud Ubuntu is liked a lot but perhaps the members think differently. So I thought I would ask which is the one true Linux distribution. From all the Linux distributions which one is the only one that can be titled pure Linux nothing more nothing … | |
Re: [QUOTE=brandonrunyon;1338285]I found this article from the EFF quite disturbing. What do you say about a company that would want to do this? ... Thoughts? Comments? Scathing Rebuttals?? [url]http://www.eff.org/deeplinks/2010/08/steve-jobs-watching-you-apple-seeking-patent-0[/url][/QUOTE] Here's a good idea. Why lock up our prisoners when we can just give each of them an iPhone each and buy … | |
Re: I believe he is looking for an algorithm that can reverse md5 hashes which I can easily provide and a computer which can process the algorithm. To have a computer to process the algorithm, you would need to invent the zero point module (zpm) to power a computer which is … | |
Re: I think we are missing the main point here. It's not so much about banning users but rather validating users. And what do most websites use these days? To my knowledge captcha fields and random questions. So perhaps for users who have made less than 60 posts, they need to … | |
Re: [QUOTE=parameswaran;1616740]is it so that google has stoped supporting firefox[/QUOTE] Indeed it is. :( It used to be that google paid developers to develop firefox in addition to its open source development so that the firefox project could afford things like hosting for its plugins and head quarters for its complaints … |
The End.