Search found 31 matches

by Milton
Jul 25th, '12, 12:43
Forum: ApPHP AJAX File Uploader
Topic: HOW TO use drag-n-drop feature?
Replies: 0
Views: 1750

HOW TO use drag-n-drop feature?

There is a drag-n-drop feature available in ApPHP AJAX File Uploader. To use it, you have to drop the file on the "Add" button like in the screenshot below.

The feature is not supported by IE
by Milton
Jun 29th, '12, 19:13
Forum: ApPHP AJAX File Uploader
Topic: HOW TO apply custom logic after uploading the file?
Replies: 4
Views: 3096

Re: HOW TO apply custom logic after uploading the file

Hello vadims If you are using ApPHP AJAX File Uploader v2.1.2, you should replace this line mysql_query("INSERT INTO ".$mysql_table." (name, details) VALUES ('".$file["name"]."', '".$file["type"]."')"); with that one mysql_query("INSER...
by Milton
Apr 22nd, '12, 19:51
Forum: ApPHP AJAX File Uploader
Topic: View Folder before uploading files.
Replies: 2
Views: 1395

Re: View Folder before uploading files.

The directory listing appears even before actual uploading (you can see it on the demo page: http://www.apphp.com/php-ajax-file-uplo ... /index.php). If it doesn't happen in your case, please post your code here and we'll take a look at what's wrong.
by Milton
Apr 4th, '12, 18:09
Forum: ApPHP AJAX File Uploader
Topic: HOW TO apply custom logic after uploading the file?
Replies: 4
Views: 3096

Re: HOW TO apply custom logic after uploading the file

Sardius wrote:Can you explain how we can apply custom logic after deleting a file which has been uploaded successfully?

I've created a new topic for this: viewtopic.php?f=67&t=3380&p=9693#p9693
by Milton
Apr 4th, '12, 18:04
Forum: ApPHP AJAX File Uploader
Topic: HOW TO apply custom logic after deleting a file?
Replies: 0
Views: 979

HOW TO apply custom logic after deleting a file?

If you want to apply some custom logic after deleting a file, you have to add your lines of code to inc/upload_unlink.php file after the unlink line. if($password=="*****") unlink("../".$file); // INSERT YOUR CODE HERE ( $file variable contains the deleted file's name)
by Milton
Feb 14th, '12, 19:28
Forum: ApPHP TreeMenu
Topic: Use as menu
Replies: 3
Views: 2131

Re: Use as menu

Hello! Filtering by extension is not supported however you may achieve this by making some minor changes to BuildNodeFromFolder function (TreeMenu class, treemenu.class.php file). Find the following snippet: if($file != "." && $file != ".." && is_dir($folder."...
by Milton
Dec 19th, '11, 22:26
Forum: ApPHP TreeMenu
Topic: HOW TO use TreeMenu to select a file?
Replies: 3
Views: 3506

Re: How to use TreeMenu to select a file

I suppose you're using AJAX as a postback method. Every time a node is clicked, __tmPostBackAjax JavaScript function is called (it's in the js/script.js file). The second parameter is file's name and path and you can get it from there. Storing it to a PHP memory variable is not supported yet. Hope t...
by Milton
Dec 6th, '11, 19:38
Forum: ApPHP Tabs
Topic: Space in between tabs
Replies: 4
Views: 1933

Re: Space in between tabs

This is really strange that you experience this error. Try adding this to styles/common.css file: .xp_menu .xp_element, .lightgreen_menu .lightgreen_element, .gstyle_menu .gstyle_element, .grey_menu .grey_element, .darkpink_menu .darkpink_element { margin: 0; padding: 0; } If that doesn't help pleas...
by Milton
Dec 3rd, '11, 09:54
Forum: ApPHP TreeMenu
Topic: Encountered Error
Replies: 1
Views: 1295

Re: Encountered Error

It's an error in the documentation. Actually SetPath function doesn't exist and you don't need it. define ("TREEMENU_DIR", "comp/tree/");
is enough. Sorry for inconvenience.
by Milton
Nov 30th, '11, 18:33
Forum: ApPHP AJAX File Uploader
Topic: HOW TO add extra hidden fields to uploader's form?
Replies: 0
Views: 2304

HOW TO add extra hidden fields to uploader's form?

To add an extra hidden field to uploader's form please do the following: 1) Find static function DisplayForm in the fileuploader.class.php file. Here you can add your field. // FIND THIS LINE $output.= "\n<input type='hidden' name='userandomnames' value='".$usingRandomNames."' />"...

Go to advanced search