162 Posted Topics
Re: You can't AFAIK. Certainly not if the USB scanner is on a client machine rather than a server. Moreover, I've never heard of an extension to do this. If you merely wish to use the barcode scanner as input for a form, then you should surely have got drivers with … | |
Re: WHy do you need the number of rows? | |
Re: Yes; you can either do: [php] include("/home/.sites/88/site213/web/test_server/events1/web/ssi/{$pageName}_secondarynav.htm"); [/php] or [php] include('/home/.sites/88/site213/web/test_server/events1/web/ssi/' .$pageName . '_secondarynav.htm'); [/php] | |
Re: while ($type_row = mysql_fetch_array($sql_event_type_result)){ Should this not be as below? (mysql_fetch_array to mysql_fetch_row) while ($type_row = mysql_fetch_row($sql_event_type_result)){ | |
Re: Why bother enquoting $context in the include statement? Just slows down the parser... | |
Re: That is not the problem, at least with regard to the error specified. The problem is that you think that by visiting mysite.php?page=2, the variable $page will be set to 2. In the majority of circumstances (default since PHP 4.0.2, I believe), [b]this[/b] (fortuantely, from the side of security) [b]is … | |
Re: Storing a picture in a database is generally a bad idea... they are usually designed for fast retrieval operations of small bits of data, not saving massive picture files. | |
Re: Really. [quote="Microsoft.com"]Coming Soon: Windows XP Service Pack 2 Microsoft is [b]preparing[/b] to release a free update for Windows XP that provides better protection against hackers, viruses, and worms. The best way to ensure you get Windows XP Service Pack 2 [b]when it is released[/b] is by turning on Automatic Updates … | |
Re: Harmless or Required?! I've run dozens of scans on dozens of PCs and have always remeoved everything I find and it's done nothing but good. | |
Re: [php]require("$content");[/php] This'll work, but it's a waste of the script interpreter's time: [php]require($content);[/php] This is faster. (Without the double quotes this time - the double quotes tell the interpreter that there may be variables embedded in the string, and should evaulate those variables, so it goes searching for them. This … | |
Re: A mistake I made was to assume that the PHP woukld work just by double cliking the file or opening it in its directory. You need to visit [url]http://localhost/path/to/your/file.php[/url] | |
Re: For security reasons, you should use $_GET['II']. $_GET is for URL variables. If it's form data, you'd need to use $_POST['form_var_name_here'], and for Cookies, $_COOKIE['cookie_var_name_here']. It's so that you know exactly where your variables are coming from. To make it work in your code, you'll need to use [php] $result … | |
Re: Sounds Cool. What's the catch :P | |
Re: Under Big B rule: [list] [*] All Microsoft Products are banned because they have bugs in them. Linux/Mozilla is completely flawless and works in every scenario. [*] Anyone who uses MS will be gassed. [*] Anyone who speaks well of MS will be gassed. [*] From now one, Microsoft will … | |
Re: IMHO, this site seems to get worse everytime I visit. No offence, but when i first came here, the place was quiet, but free of Ads and had a great style. A few months down the line, and the place was flooded with Ads and that kind of stuff making … | |
Re: [url]http://www.pestpatrol.com/pestinfo/w/winfavorites_bridge.asp[/url] | |
Re: Sounds like that your query is pulling nothing. What I would do, is above the while() section of your code, add [php]$mapname = array();[/php] This will force $mapname to be an array - otherwise, if your query pulls nothing, then the while() block won't be interpreted and hence your mapname … | |
Re: Bah, both Yahoo and Microsoft have voiced objections to Google's crown... looks like Yahoo is getting more active, but personally; I'd rather trust Google's adverts near my emails than whatever Yahoo does with them. | |
Re: Try replacing $PHP_AUTH_USER and $PHP_AUTH_PW with $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] respectively. | |
Re: I suggest you upgrade your drivers... :P Have you got the latest DirectX 9 thingies? It'll install generic ones if it has too. | |
Re: Hey Hey! Calm down. Why does everyone cuss Bill Gates? Sure, Windows has it's problems, and his marketting stragety is very aggressive (illegal in the UK), but he's almost managed to unify the computing world. I had Netscape for a while, but I didn't like it. I ahve Linux installed, … | |
Re: Oh that's even worse than the theory about Language being a parasite - it's just a flaw in the definition of such things. Religion may simply have been formed by primitives with no other way of explaining events and controlling people. Or it may have been devinely inspired, who knows? … | |
Re: Could we see the code for this report? | |
Re: You've missed out a dot between the "surname" and the $surname. But... why not just have "Surname: $surname Firstname: $first_name" etc rather than bothering with the dots... otherwise you're wasting resources. | |
Re: u could encrypt the password | |
Re: Well it's no doubt because the server administrator is sane. Try changing $username to $_POST['username']. By default PHP won't assign external variables passed through forms, cookies, and URLs for security reasons. It's pretty obvious why - otherwise, anyone who had seen the script (or who hadn't and was just guessing) … | |
Re: [quote="Tekmaven"]I love using X-Chat with MS's Veranda font, its orgasmic.[/quote] :| Sounds like u need to get out more ;) :P | |
Re: I try to get people to sign up, but mostly so they'll stop bothering me and go away rather than to help Daniweb prosper. :P But, of course they're all far too lazy to do that . *me grumbles some more* |
The End.