939 Posted Topics

Member Avatar for Serunson
Member Avatar for joseph1980

Can you be more specific? What is the structure of the file? Have you already created the database table structure?

Member Avatar for BrettH
0
38
Member Avatar for rapture

Is that your entire code file? You don't seem to have neither a namespace nor a class defined, both of which are needed.

Member Avatar for rapture
0
127
Member Avatar for polo_coins
Member Avatar for polo_coins
0
211
Member Avatar for KingTheoden

You have the loop in the wrong place, I'm afraid. [code=php] {section name=1 loop=$obj->mProducts[k].attributes} [/code] You want to start (and end) looping between the <select></select> tags so that only the option tags are looping.

Member Avatar for Will Gresham
0
129
Member Avatar for samarudge

Javascript uses a function called setTimeout that's used to call a function after a specific number of seconds. Knowing this, you can set up the scenario like this: [code=javascript] var time_held = 0; //these are defined outside var being_held = false; //the functions var time_out = 1000; function button_down('direction'){ being_held …

Member Avatar for scru
0
99
Member Avatar for dinky123uk

My advice to you is to use a free CMS software, and add a theme to it. Wordpress is a good example of one that might work. The learning curve isn't so hard, and it can do all of what you want there with minimal tweaking (it's really not just …

Member Avatar for scru
0
97
Member Avatar for MDGM

No. Session start must always come before headers are sent, and that means before that code there.

Member Avatar for scru
-1
162
Member Avatar for anushka1

Open them with any text editor of your choice. I use geany for my php needs. Dreamweaver should work fine too, just right click and choose open with (assuming you use Windows).

Member Avatar for scru
0
40
Member Avatar for antwan1986

The functions odd and even are predicates, ie, callbacks. odd returns true if the number passed in is odd, and even returns true if the number passed in is even. (Note: the & is a bitwise AND operation which achieves this effect). The function array filter, as the name suggests, …

Member Avatar for antwan1986
0
114
Member Avatar for ttv2008
Member Avatar for Dave Sinkula
Member Avatar for Sheridan

I havent tested this, but you can create a hidden form field, and set its value to the filename upon selecting with javascript. When the form submits, try deleting the file input beforehand from the DOM.

Member Avatar for scru
0
71
Member Avatar for vo2corp

Three simple steps: 1. Have enough brainpower to know that you ask VB questions in the VB forum. 2. Don't ask for help doing such nefarious things on upstanding forums like Daniweb. Instead, scourge the underbelly of the internet for the brain-dead l337 h4xxors who would be more than happy …

Member Avatar for scru
0
80
Member Avatar for The Dude

Paranoid: Low Schizotypal: Low Antisocial: Moderate Borderline: Low Histrionic: Low Narcissistic: Moderate Avoidant: Low Dependent: Low Obsessive-Compulsive: Low

Member Avatar for GrimJack
0
232
Member Avatar for R0bb0b

You are going to be so embarrassed when you figure out what you're doing wrong :P

Member Avatar for Lardmeister
0
126
Member Avatar for arshadshaikh

Does mail.prs.prod require you to login before you can send email? If it does, you'll need to use the PEAR email functions to send the email.

Member Avatar for scru
0
77
Member Avatar for mkhizess
Member Avatar for scru
0
72
Member Avatar for OmniX

Try [url]http://recaptcha.net[/url] for a free captcha library. Using this library aides in the digitizing of books. Also, the image generation is handled by their servers, not yours.

Member Avatar for OmniX
0
149
Member Avatar for Gonzo10

Gonzo, it's not making much sense at all. Here's why: You must be aware that $i is an integer, defined an declared by your for loop. And I dont think you mean to set your href to those integers. Perhaps you meant to get the href data from an array, …

Member Avatar for Gonzo10
0
92
Member Avatar for krauz2

The variable $attn would only work if he has register_globals on, which is turned off by default in PHP => 4.3.0 since it is a security vulnerability. krauz2, you can try something like: [code=php] $to_email = ($_POST['attn'] == "info") ? "krauz2@hotmail.com" : "erich.krauz@rgl-e.com"; [/code] Please check and make sure $_POST['attn'] …

Member Avatar for krauz2
0
185
Member Avatar for scru
Member Avatar for LizR
0
148
Member Avatar for bumsfeld

Grats. I'm counting every post now till my k. That's possibly because I don't post much at all.

Member Avatar for GrimJack
3
200
Member Avatar for nati123

You need to set the charset in your editor to UTF-8, not East European. Remember that unicode supports all characters, so those special slovanian letters should still work.

Member Avatar for scru
0
73
Member Avatar for anton-shirikov

Assuming the WAMP in Wamp server stands for Windows Apache MySQL and PHP, then no, you need not install anything else. Just verify that the PHP works if you haven't already (because you'll be using it as your server side language) and pick up and AJAX primer, and you're good …

Member Avatar for anton-shirikov
0
96
Member Avatar for harveymendoza@r
Member Avatar for sharad.kohli

Yeah, you will need something like javascript for this. Ajax techniques are probably best suited for this.

Member Avatar for sharad.kohli
0
102
Member Avatar for chinnareddy
Member Avatar for scru
0
86
Member Avatar for chinnareddy

These Classes in the System.IO Namespace will help: Directory File Specifically, you need: [code=C#] Directory.GetFiles("Z:\\", "*.bak"); [/code] Which will return a string[] array. Simply loop through this array and call File.Copy

Member Avatar for scru
0
106
Member Avatar for cali_dotcom

Can I just ask? Do you have PHP validation is place as well in case the user disables javascript?

Member Avatar for scru
0
79
Member Avatar for GrimJack

Well how else am I going to be able to talk about SNL next week? Certainly not by watching SNL....

Member Avatar for sneekula
0
254
Member Avatar for corrola
Member Avatar for scru
0
156
Member Avatar for holmes008
Member Avatar for Ancient Dragon
0
126
Member Avatar for vmanes
Member Avatar for vmanes
0
155
Member Avatar for Raj.Acharya

LizR is right. More simply put you can define a single method like this: [code=C#] public void test(int a){...} public void test(int a, int b){...} [/code] At run time you can call test with whichever set of parameters you want.

Member Avatar for LizR
0
101
Member Avatar for scru
Member Avatar for bumsfeld
0
182
Member Avatar for marketingworld

Dual boot can be good if you do it right, but dual booting two versions of Windows seems pointless to me. Whatever.

Member Avatar for marketingworld
0
106
Member Avatar for jasimp

No Linux version, not that I'd install it. I'm with Jwenting on this one.

Member Avatar for stephen84s
0
625
Member Avatar for Ene Uran
Member Avatar for Lardmeister
0
161
Member Avatar for PalomoBlanco
Member Avatar for R0bb0b
0
203
Member Avatar for csm_tC

You sure thats a syntax error and not a type error? Anyway, you need to check that numstr is actually a float first before calling float() on it. Or, you can just be lazy and do it like me. [code=python] try: numstr = float(numstr) except: print numstr, "is not a …

Member Avatar for Shadow14l
0
263
Member Avatar for scru

I'm using [B]pygtk[/B] and [B]glade[/B]. I built the UI using glade and I loaded it using the gtk.Builder. Now, I'm trying to retrieve the a menu item using gtk.Builder.get_item() so that I can update the submenu, but it returns a gtk.Action object. There seems to be no way for me …

0
69
Member Avatar for Kavitha Butchi

Also, session variables can be exploited if you are in a shared hosted environment. Someone with ssh access to the shared server can get a valid session id from where PHP stores them and pretend to be authenticated. A way to work around this is to store the IP address …

Member Avatar for Kavitha Butchi
0
382
Member Avatar for William Hemsworth
Member Avatar for Ancient Dragon
Member Avatar for architact
Member Avatar for dise652

[QUOTE]Mr Davis now believes "the Earth is flat and horizontally infinite - it stretches horizontally forever". [/QUOTE] Heheheheheheheheheheheheheehehehehe

Member Avatar for sittas87
0
309
Member Avatar for chodhry

[QUOTE=R0bb0b;675982]Such a fake, errors don't happen like that.[/QUOTE] Er, yes, they do.

Member Avatar for R0bb0b
0
200
Member Avatar for Lardmeister

Im mostly interested in the swimming and rowing. Although I am a football fan, I find Olympic soccer quite boring.

Member Avatar for Ene Uran
0
162
Member Avatar for TheNNS

The End.