162 Posted Topics
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
| |
Re: 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 … | |
| |
Re: Ah, calm down. The problem is that $HTTP_ x _VARS isn't enabled in PHP5. Ya need to change your php.ini file settings. | |
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* | |
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, … | |
Re: You still got the source? :P | |
Re: 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] | |
Re: [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. | |
Re: Alternatively provide it as a download on your site so that when opened it opens in the browser window. | |
Re: 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. | |
Re: 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 … | |
Re: it sounds like it's missing an extention. You could try adding a few, and see if any work. |
The End.