162 Posted Topics

Member Avatar for rudysplif

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 …

Member Avatar for fpepito
0
304
Member Avatar for qazs
Member Avatar for Hendrinx

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]

Member Avatar for Hendrinx
0
166
Member Avatar for tip

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

Member Avatar for tip
0
132
Member Avatar for maxfaction

Why bother enquoting $context in the include statement? Just slows down the parser...

Member Avatar for ReDuX
0
285
Member Avatar for tip

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 …

Member Avatar for tip
0
92
Member Avatar for sunil kumar bob

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.

Member Avatar for ReDuX
0
192
Member Avatar for firebeyer

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 …

Member Avatar for cargenius42
0
107
Member Avatar for PJB

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.

Member Avatar for Keeper
0
249
Member Avatar for imzac

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

Member Avatar for Alcides
0
356
Member Avatar for TelKennedy

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]

Member Avatar for Roberdin
0
245
Member Avatar for huwgomez

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 …

Member Avatar for Roberdin
0
138
Member Avatar for Wallace Tait
Member Avatar for Jeff311

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 …

Member Avatar for alc6379
0
971
Member Avatar for Paladine

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 …

Member Avatar for Roberdin
0
151
Member Avatar for cyborgbill
Member Avatar for cyborgbill
0
81
Member Avatar for samergamer

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 …

Member Avatar for Roberdin
0
132
Member Avatar for mddv

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.

Member Avatar for oalee
0
178
Member Avatar for jani

Try replacing $PHP_AUTH_USER and $PHP_AUTH_PW with $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] respectively.

Member Avatar for jani
0
173
Member Avatar for Sobetsukai

I suggest you upgrade your drivers... :P Have you got the latest DirectX 9 thingies? It'll install generic ones if it has too.

Member Avatar for Catweazle
0
104
Member Avatar for Ragnarok
Member Avatar for rocmartin2003

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

Member Avatar for 602gts
0
307
Member Avatar for rixius

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

Member Avatar for liliafan
0
956
Member Avatar for monicao
Member Avatar for tom.hum3

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.

Member Avatar for Roberdin
0
143
Member Avatar for J☼E
Member Avatar for Catweazle
2
167
Member Avatar for Dreamcatcher
Member Avatar for Impassible

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

Member Avatar for Roberdin
0
877
Member Avatar for Tekmaven

[quote="Tekmaven"]I love using X-Chat with MS's Veranda font, its orgasmic.[/quote] :| Sounds like u need to get out more ;) :P

Member Avatar for aegcp
0
368
Member Avatar for GReddy4u

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*

Member Avatar for Gary King
0
230

The End.