8,966 Posted Topics

Member Avatar for stevo356
Member Avatar for pritaeas
0
254
Member Avatar for cacofonix

You can set the probability to 100 so the garbage collector runs with every script (a lot of overhead).

Member Avatar for cacofonix
0
131
Member Avatar for muralibobby2015

Curl is not the problem. Apparently your called URL does not return valid XML. Check that one.

Member Avatar for veedeoo
0
1K
Member Avatar for hinazahoor
Member Avatar for bavenbabu

When uploading, only the filename is known, not the path AFAIK.

Member Avatar for bavenbabu
0
241
Member Avatar for ZER09

http://www.robert-gonzalez.com/2009/03/04/php-operators-double-and-single-arrow/

Member Avatar for ZER09
0
101
Member Avatar for berniefitz

If optimization is turned on in your compiler settings, this line will be skipped, because it is not used. Turn optimization off while debugging to avoid this.

Member Avatar for berniefitz
0
149
Member Avatar for adityamadhira

It won't be possible in PHP anyway, because it runs on the server, and not in the browser.

Member Avatar for rajesh1158
0
112
Member Avatar for diafol

Jup, me too. I doubt it's supposed to do that. Looks like this was introduced over the weekend. Didn't have this last week.

Member Avatar for diafol
0
165
Member Avatar for Venom Rush

Personally, in such a case, I'd queue the information and have a cronjob running that gets rid of them in small intervals. Do you really have to wait for all of them to complete? If so, you can defer loading (2 at a time) if you use dummy image processing. …

Member Avatar for pritaeas
0
190
Member Avatar for phplover

Basically, if I understand your structure right. the `else` after the update will never be called. The join is the same as in the select statement before it. If it is found there, then it will be found again, unless you just manually deleted a record.

Member Avatar for phplover
0
204
Member Avatar for stanley87

Depends on how the user calls your URL. If he uses cUrl then there is no way to force a redirect.

Member Avatar for pritaeas
0
187
Member Avatar for WaltP

Possibly an add-on to 1: I regularly see people as the last posted on the right, who aren't even in the thread. For example, here in Community Center, the second thread "New Editor Functionality' marks "bedexchange" as the last poster.

Member Avatar for Airshow
1
246
Member Avatar for maverick420

http://www.mssqlcity.com/Articles/Compare/sql_server_vs_access.htm Looking for something specific? Or you just want technical details?

Member Avatar for maverick420
0
146
Member Avatar for h2so4_2003
Member Avatar for hptchen

Have a look at WURFL for example. There are some more, although I don't remember their names right now.

Member Avatar for hptchen
0
61
Member Avatar for Layerphp

The image you are uploading (452x507), and the output you want (235x61) have different aspect ratios, that's why that code fails. How do you want to show that portrait image in a smaller landscape version ? Do you want to resize and then crop a part?

Member Avatar for veedeoo
0
211
Member Avatar for Dani

Can this be the issue? > MySQL cannot use an index if the columns do not form a leftmost prefix of the index. Suppose that you have the SELECT statements shown here: Taken from [here](http://dev.mysql.com/doc/refman/5.0/en/mysql-indexes.html). (Apparantly this is only valid for below 5.5)

Member Avatar for Dani
0
284
Member Avatar for pritaeas

http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ Just fun to read.

Member Avatar for MosaicFuneral
1
156
Member Avatar for RickCJ7

Change line 17: popUpWindow(<?php echo "'$URLString'"; ?>); This is not really referencing a PHP variable. PHP is merely outputting (injecting) the current value into the Javascript code.

Member Avatar for RickCJ7
0
139
Member Avatar for dyingatmidnight
Member Avatar for Quinncunx

On line 15 and 16 you are using `GET` while you should've used `POST`

Member Avatar for pritaeas
0
216
Member Avatar for crankyslap
Member Avatar for chudapati09

[ldap_sort](http://php.net/manual/en/function.ldap-sort.php) perhaps? Can you show a link to your SO thread?

Member Avatar for pritaeas
0
841
Member Avatar for riseguim
Member Avatar for INF-P
Member Avatar for hinazahoor

Depends on your language. Look at JavaDoc, PhpDoc, Doxygen, Doc-o-Matic.

Member Avatar for pritaeas
0
68
Member Avatar for Mr. Tarun
Member Avatar for pritaeas
0
30
Member Avatar for worldindus

From 4 onward I think you'll need to use `SUM()` and `GROUP BY`. Look at them in the manual, and then re-read the question.

Member Avatar for poojavb
0
280
Member Avatar for .exe

What are you trying to do between Wordpress and SugarCrm? SugarCrm has a soap api you can use. It looks like wordpress has a plugin for that, but it depends on what you want to achieve.

Member Avatar for pritaeas
0
98
Member Avatar for Violet_82

Personally, from a user perspective, I'd like to see portrait support. If you do not provide this, it will mean that the portrait pictures will always be shown smaller. That is not a restriction I'd like. I understand you wanting to build your own, but wouldn't it be easier/cheaper to …

Member Avatar for Violet_82
0
92
Member Avatar for madhan
Member Avatar for blocblue
0
2K
Member Avatar for sibbs06

Line 7 is wrong, change it to: $sql = "UPDATE property SET pricesoldfor = $pricesoldfor WHERE propertyID = '$propertyID'";

Member Avatar for Biiim
0
146
Member Avatar for dyingatmidnight

It appears to trigger a `sort` event, but I am not sure where you can trap it yet (I have never used this plugin before).

Member Avatar for dyingatmidnight
0
166
Member Avatar for mbarandao
Member Avatar for lilleskut

In that case I would just return a HTML string. So instead of "Yes" or "No" I'd return: <span class="green">Yes</span> or: <span class="red">No</span>

Member Avatar for pritaeas
0
211
Member Avatar for jony90
Member Avatar for Griffin54
Member Avatar for Alaister
0
274
Member Avatar for cuonic

Is `$id` a string? If it is an `integer`, have you tried to bind with `i` instead of `s` ?

Member Avatar for cuonic
0
83
Member Avatar for mandy011

Give an example of your input, keyword, and desired output. It would be much easier for us to recommend something.

Member Avatar for Biiim
0
221
Member Avatar for emclondon

You can write an elaborate regex to test most cases. You could just try to open the file. If it fails... no xml, or invalid url.

Member Avatar for pritaeas
0
124
Member Avatar for hptchen

Hard to guess what's wrong without your HTML/Javascript code, or a link to your page.

Member Avatar for hptchen
0
184
Member Avatar for .:n'tQ-boy:.
Member Avatar for moblyft
Member Avatar for Dani

If I add an ampersand in a link title, the results shows &amp; ([visible here](http://www.daniweb.com/community-center/geeks-lounge/threads/419478/xkcd-web-comics))

Member Avatar for Dani
4
196
Member Avatar for zachattack05

In addition: [Geek & Poke](http://geekandpoke.typepad.com/) and [Not invented here](http://notinventedhe.re/)

Member Avatar for pritaeas
2
140
Member Avatar for Panathinaikos22
Member Avatar for magicmarkuk

Shouldn't you do such a check before inserting? I know the problem could still arise then, but it would be much cleaner to let the user select a different name. I know most would prefer that over having a number attached without knowing. If you are stuck with this logic, …

Member Avatar for pritaeas
0
231
Member Avatar for phplover

Instead of the field category_ids, create a link table consisting of the post id and category id.

Member Avatar for phplover
0
182
Member Avatar for rayidi

`fopen` may not be allowed. "Bad Request" usually means you did not provide all/correct data. Hard to help you without knowing the API, nor seeing your code.

Member Avatar for Biiim
0
217

The End.