8,966 Posted Topics

Member Avatar for hirenpatel53

I'd use `AppDomain.CurrentDomain.BaseDirectory` to get the current base directory. Append your folder name to it, and create the new folder.

Member Avatar for pritaeas
0
453
Member Avatar for EASYTEC013
Member Avatar for zerotolerance
Re: PDO

An insert query should look like this: INSERT INTO your_table (Trainer, OTrainer) VALUES ('your_username', 'your_username')

Member Avatar for jkon
0
121
Member Avatar for vizz

I am using both 1 and 2 and so far very content with both. Do note that "unlimited" often has some restrictions, so be sure to chat with their sales before you decide.

Member Avatar for LilyMims
0
323
Member Avatar for pritaeas

## RSS Class ## The code snippet is a PHP class for retrieving RSS feeds from the DaniWeb website. There are two exposed methods, one for retrieving the list of predefined article types, and another to get a specific RSS feed. If you pass parameters to this method, there is …

Member Avatar for pritaeas
1
565
Member Avatar for subhashini.sathish.12

Java and JavaScript are two different languages. Java is a full-fledged interpreted programming language, whereas JavaScript is primarily used in client side website scripting.

Member Avatar for IIM
0
131
Member Avatar for notacoop

Try a `WebRequest` call, [here](http://www.808.dk/?code-vbnet-httpwebrequest)'s an example.

Member Avatar for deceptikon
0
132
Member Avatar for dudegio

SOAP is possible, so is REST. If you can provide a little example of how the flow is supposed to be between the two, you may get a more accurate answer.

Member Avatar for pritaeas
0
576
Member Avatar for pritaeas

## API Mashup ## This example is a mashup of [diafol's class](http://www.daniweb.com/web-development/php/code/451428/daniweb-api-class-for-getting-forums), [Dani's parsing code](http://www.daniweb.com/api/documentation) and [my class](http://www.daniweb.com/web-development/php/code/451390/daniweb-api-rss-class). It uses diafol's dwAPI class to retrieve a list of all forums, loops through them, and uses my Rss class to get the respective RSS feeds. It will show each forum in …

Member Avatar for diafol
0
551
Member Avatar for dourvas

There are tools like [PowerGrep](http://www.powergrep.com/) that can help you with a search and replace in a lot of files at once. It has a 30-day trial. I'm a satisfied customer, really made my life easier.

Member Avatar for dourvas
0
191
Member Avatar for jLamp

The colons and slashes are messing it up. In addition to the code, show your table structure too.

Member Avatar for jLamp
0
190
Member Avatar for kiLLer.zoh_1

Missing quotes I think. $q = "INSERT INTO image (name, imgpath) VALUES ('$imgname', '$path')";

Member Avatar for Webville312
0
303
Member Avatar for Dani

http://www.daniweb.com/web-development/php/threads/451445/function-not-working

Member Avatar for pritaeas
0
324
Member Avatar for ngonix

> i need a way to reference a specific database ID in the WHERE clause of my SELECT query without using URL parameters, sessions or the $_GET[] variable. Is it possible? Where is your ID coming from? If it's coming from the client, you'll need one of the above (although …

Member Avatar for ngonix
0
2K
Member Avatar for johnnycho

It should be this: class Film { public $film_ids; public $numfilms; public function getFilms() { $this->film_ids = array(); // change to use the class property $dbh = new DBConnection(); // this should be in variable $sql = "SELECT * FROM films"; $stmt = $dbh->prepare($sql); if ($stmt->execute()) { while ($row = …

Member Avatar for johnnycho
0
317
Member Avatar for delphiman
Member Avatar for kakalahori

You need to `fopen` the file first, see the example in [the manual](http://php.net/fgets).

Member Avatar for diafol
0
223
Member Avatar for davy_yg

> do I need to publish them first Yes. Publish them to an IIS folder.

Member Avatar for geniusvishal
0
134
Member Avatar for kakalahori
Member Avatar for lukas.vandendijssel
Member Avatar for Dani

410 (Gone) should be the right one. Technically it is a not found, just with a different reason.

Member Avatar for Dani
0
96
Member Avatar for liphoso

http://dev.mysql.com/doc/refman/5.6/en/connector-cpp.html Ubuntu is mentioned, so it should work similar.

Member Avatar for pritaeas
0
95
Member Avatar for techyworld

This [SO thread](http://stackoverflow.com/questions/393603/php-uml-generator) already has a list of possibles for PHP.

Member Avatar for pritaeas
0
75
Member Avatar for Martin C++

String concatenation uses a `.` not a `+` A plus is for number addition, so the zero results from a conversion of the string to a number.

Member Avatar for IIM
0
103
Member Avatar for OsaMasw

Is that all code there is? Perhaps you have something before `<?php` causing this.

Member Avatar for OsaMasw
0
397
Member Avatar for TonyG_cyprus

Yes I do. My first owned machine was an Acorn Atom. Learned to program assembly on it.

Member Avatar for Reverend Jim
0
286
Member Avatar for pritaeas

Wondering if, and if so where, I can revoke an authorization for an API client. It would be quite useful for testing if I can revoke it, to test and debug the application flow. Now the only possibility (AFAIK) is to add a new application.

Member Avatar for Dani
0
148
Member Avatar for DaveyMoyes

You should close the while loop, then do the foreach. The foreach is inside the while loop, causing this effect.

Member Avatar for DaveyMoyes
0
120
Member Avatar for fheppell
Member Avatar for mbarandao
Member Avatar for mbarandao
0
191
Member Avatar for nisbusiness
Member Avatar for abhi10kumar

That can only work if the phone transmits it's position at regular intervals, so it would need to run an app.

Member Avatar for pritaeas
0
81
Member Avatar for GrimJack

Thanks for the reminder. Since I've installed Win8, BOINC is what I've not yet reinstalled. Although I must admit, I'm not a DW team member (Dutch Power Cows).

Member Avatar for pritaeas
1
216
Member Avatar for Agni

What you need is someone to separate the issue list, and be an intermediairy between development and the rest. You can only do so much, so you'll need to focus on the blocking issues first (major issues), and put all new features on hold. They can't expect you to do …

Member Avatar for Agni
0
271
Member Avatar for pritaeas

## Introduction ## In this introduction I will try to explain basic object orientation (focused on PHP). It is by no means meant to be a complete guide. There are a lot of concepts I am avoiding for simplicity’s sake. I will try to give a theoretical explanation first, and …

Member Avatar for pixelsoul
12
1K
Member Avatar for My_Specs_1

> It's just when it comes to creating the file and page contents it's getting lost. Did you set the `pages` folder to be writable?

Member Avatar for pixelsoul
0
181
Member Avatar for asifalizaman

You are basically right. There are more threads on this subject, just search this forum.

Member Avatar for jkon
2
250
Member Avatar for nstrazimiri
Member Avatar for milkman93

That means `xmlDoc` is invalid, or `responseXML` is. Apart from that, it may return a string, instead of an XML object. Check with your debugger to see what it contains.

Member Avatar for pritaeas
0
178
Member Avatar for kevinn

How about turning an anonymous function into a method/function? You start out with an anonymous one, to find out later you need it somewhere else too.

Member Avatar for pritaeas
0
110
Member Avatar for pritaeas

I wanted to update my signature, but it says I can only add upto four lines. Unfortunately it counts the markdown lines, not the result. See attached image. ![f63a0d743827d0d15065fce41da8983b](/attachments/small/0/f63a0d743827d0d15065fce41da8983b.jpg "align-left")

Member Avatar for <M/>
0
106
Member Avatar for TonyG_cyprus

I'd prefer a way to split the thread, so the new reply will become a new question.

Member Avatar for TonyG_cyprus
0
360
Member Avatar for neilelph

I assume it's something else, but I have no clue what can be causing this. Never seen this happen, even on very large databases.

Member Avatar for pritaeas
0
156
Member Avatar for happygeek

> basically soccer and american football in one sport You're not making friends... American Football is like "Let's play a rough game, but we don't want to get hurt"... pansies.

Member Avatar for diafol
1
1K
Member Avatar for Andrew de Beer
Member Avatar for pateachongthu

I suggest you check the code that inserts data into your database. Apart from that, all junk appears to be identical, so a simple `UPDATE` and `REPLACE` query should be able to fix your issue for now.

Member Avatar for JorgeM
0
384
Member Avatar for Ctechnology24

Line 4 will fail, because $query1 is an sql string. Just as your other queries, you need to use mysql_query(). If you have specific questions about your queries, post them, and your table structures, in the mysql forum.

Member Avatar for suresh.godavarthi.77
0
3K
Member Avatar for jrosh
Member Avatar for drewpark88

I suggest you use extra parenthesis to force correct execution: if (($videoProvider != 'www.youtube.com') || ($videoProvider != 'vimeo.com'))

Member Avatar for drewpark88
0
105
Member Avatar for Dani

How about [this thread](http://social.technet.microsoft.com/Forums/en-US/winserveressentials/thread/4aecac2e-905f-455e-a037-46df8a1266f5/), anything you can use?

Member Avatar for JorgeM
1
1K

The End.