Posts

Featured post

Programming a demo of a web app in jquery -

We are deploying some small web applications. Resources, we are now looking for a casual user to speed up (with our bad design;)) now in a simple way. What are the jQuery plugins that can be used to create demos? (Fire incidents, move dialogs, etc.?) Should we use a completely different approach? I like to do mockups like something - in this way the customer does not think that this Actually in fact it is.

php - Is setting the uploads folder 777 permission secure? -

I have seen cutting out many upload forms, and in some, some uploaded files actually had a good security check. (At least I think so), but still managed to upload any single PHP file. I was thinking: Is there a way to upload files in the uploads folder that has 777 permissions? I'm thinking of using HTTP PUT. In general 777 unsafe is happening as it is ... its meaning That anyone can read and write your files If you are allowing uploading files to tamper with you then HTTP PUT is not naturally secure from any HTTP post. Overall, if you have to allow arbitrary files to execute, you have to do a very good file to check for server-side, and Croit It would be wise to use it. Permission-wise, I usually reach to some web-webserver user-owned 644.

Files for use in Feature activation of a web application scoped feature SharePoint 2007 -

Is it possible to access local system files in a feature activation event that is scanned at the web application level? Yes, I tried to initiate the process of an SP timer job indirectly, which That a temporary file was received from another webservice method. Maybe this complex timer is also possible without a job scenario, but it works perfectly with the timer job.

sql - Ordering in a MySQL GROUP_CONCAT with a function in it -

I want to order results in a GROUP_CONCAT function. The problem is that selection in group_concat -function is another function, such as (fictional selection): SELECT a.name, GROUP_CONCAT (DISTINCT CONCAT_WS (':', b.id, CNID) order by B.ID ASC. People A, luggage B, course C. Group a.id I want to get a result .ID): Michael 1: Science, 2: Mathematics, 3: Physical Science But I'm getting: Michael 2: Mathematics, 1: Science, 3: Physics What I Isi can order here in group_concat by anyone know how I b.id? If someone cares, then I think I have at least one problem Has found a solution. Select 'GROUP_CONCAT' (from the order table of the column name with some columns) '|') where fieldId = p.id P> This sequence goes according to the group - if there is one then before the separator

Writing to std out from Java JNI DLL - output only appear when application exits -

We are writing JNI DLL to wrap a third party DLL. In our DLL, we are writing debug statement in standard out. When we use DLL from our Java application, there is no impression on the Java console during application execution. When the application stops, all outputs from DLL are written on the Java console. We want to output from DLL, so the application appears on Java console, as the application is implemented Does anyone know why this is happening, and What can be done to get the product during the application execution? Try flushing output. If that does not work, then pass System.out in your DLL and use PrintStream instead of stdout . but Fflush (stdout); must be enough.

c# - UserControl with Child Controls passed into a Repeater within the UserControl -

I'm trying to achieve something with lines of UserControl (MyRepeater ) & lt; P & gt; Start control & lt; / P & gt; & Lt; Asp: Repeater id = "myrepeater" runat = "server" /> & Lt; P & gt; Control end & lt; / P & gt; page & lt; P & gt; Start page & lt; / P & gt; & Lt; Uc1: MyEperPeter ID = "MyRepter 1" Runat = "Server" & gt; & Lt; ItemTemplate & gt; & Lt; P & gt; Page item template & lt; / P & gt; & Lt; / ItemTemplate & gt; & Lt; / UC1: MyRepeater & gt; & Lt; P & gt; Page end & lt; / P & gt; The item from the page object will be used as a replayer's item template within the template. The reason for this is that we use many repeaters, our applications, each repeater and some related buttons do the same code. I would like to keep this code in one place so that developers can use our custom repeater contro

Drupal Imagecache not working -

I created an image setting that comes in only 125px wide size The first issue is that the preview image is 404. Then I & lt ;? I want to print an image through the Php print theme ('imagecache', 'imported_image'). , $ Node-> Picture, 'test', 'test', $ attributes); ? & Gt; 'imported_image' preset and $ node-> the picture is a correct path I HTML prints right out, but the path that the image is trying to load does not exist is. There is no folder with the preset name in the sites / default / file / image cache; The predefined flushing does nothing; The Imagecache folder is writeable by everyone, it is on the mmp. Does anyone know what this problem can be? Imagecatch Friendly URLs are closed when not working If this is the case, then the site / default / Find the path to your folder in the files 'no'. When I turned them on, the folder was created properly with the name. Imagecached images do not appear here.