162 Posted Topics

Member Avatar for vexer007

THere is a bult-in form creation wizard in Access. This will obviously limit data entry and retreival to one computer or possibly multiple clients on a LAN. If you need remote Web Access as you imply, then you'll need something more complicated. Generally, Access is not good online as it's …

Member Avatar for zippee
0
134
Member Avatar for cjoan
Member Avatar for twill9279

A criminal offence in most countries, that is. Though, obviously, obtaining stolen goods (which is essentiall what you'd be doing) is probably a criminal offence where you are as well, unless you live on an oil rig or something.

Member Avatar for jwenting
0
266
Member Avatar for kkg
Member Avatar for Young Teck 06

Not exactly.... a) $HTTP_POST_VARS are out dated, use $_POST now; and b) If you use comments to show things in REAL code, people will pick up what you're doing far faster than if you confuse them with fake code. For example, you could so something like... [php] <?php /* We'll …

Member Avatar for Young Teck 06
0
354
Member Avatar for qazs

The second way will be quicker and easier. You can use SQL to connect to you DB and search and sort, for example: [code]SELECT * FROM userData WHERE user_age > 30 AND user_type = 'NORMAL' ORDER BY username ASC[/code] The hereinbefore inserted query will, assuming that you have the table …

Member Avatar for Roberdin
0
73
Member Avatar for vexer007
Member Avatar for billah_norm

PHP won't be interpreted on a MySQL server. PHP scripts are interpreted on a PHP server, which may also be a MySQL server. In any case, you may be aware that generally, a PHP script executes within miliseconds and the resultant data is then passed onto a webserver and onto …

Member Avatar for Roberdin
0
125
Member Avatar for Bill_Lumberg
Member Avatar for wlhan

Ah, calm down. The problem is that $HTTP_ x _VARS isn't enabled in PHP5. Ya need to change your php.ini file settings.

Member Avatar for wlhan
0
163
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
167
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
133
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
93
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
108
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
252
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
246
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
139
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
975
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
152
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
133
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
179
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
174
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
309
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
957
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&#9788;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
879
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
369
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
232
Member Avatar for Roberdin

I currently have two Hard discs on the same IDE channel thingy. One's 120GB, which I use for my current OS. On the Slave, I have a 40GB harddisc, which i don't really use at all. It seems logical to me to move the Swap over to the 40GB one, …

Member Avatar for Roberdin
0
155
Member Avatar for bluedos82
Member Avatar for oalee
0
299
Member Avatar for L3fty19
Member Avatar for TMPAdmin

Hmmm, you [i]could[/i] download, install Apache, spend three hours poking it until it works, then setup PHP, go back to poking Apache, and learn how to do some absic PHP scripting, and persuade your host to install it.... or you [i]could[/i] do this: [code]<script type="text/html" src="header.htm"></script> and <script type="text/html" src="footer.htm"></script>[/code]

Member Avatar for I, Brian
0
349
Member Avatar for nymanish
Member Avatar for afdrano

[url]http://download.com.com/3000-2144-10045910.html?part=69274&subj=dlpage&tag=button[/url] Click Download Now and follow the installation instructions. It'll find and quarantine spyware on your PC, possibly including your folder above.

Member Avatar for afdrano
0
413
Member Avatar for Funkynassau

Alternatively provide it as a download on your site so that when opened it opens in the browser window.

Member Avatar for Funkynassau
0
341
Member Avatar for drummerboy

Doesn't look like it would take me more than a few minutes to pick this langauge up, but then I've been programming in php, which is very close to C++, for years.

Member Avatar for Yzk
1
195
Member Avatar for fred999

Do u mean a mysql table? Try something like this Letters: <a href="<?php echo $PHP_SELF; ?>?letter=a">A</a> <a href="<?php echo $PHP_SELF; ?>?letter=b">B</a> <a href="<?php echo $PHP_SELF; ?>?letter=c">C</a> ... <a href="<?php echo $PHP_SELF; ?>?letter=z">Z</a> <br /><br /> [php] <?php // Connect to DB... blah blah blah $db_host = 'localhost'; // Probably OK …

Member Avatar for fred999
0
292
Member Avatar for TheLlama

it sounds like it's missing an extention. You could try adding a few, and see if any work.

Member Avatar for TheLlama
0
147

The End.