php upload file, File input (or “upload”) in HTML forms, Uploading multiple files, PHP – File Upload
Tagged: example RSS Toggle Comment Threads | Keyboard Shortcuts
-
liduan
-
liduan
3 good topic about mozilla extension development.
Getting started with extension development
-
liduan
format ’12345′ to ’12,345′ javasc …
format ’12345′ to ’12,345′
javascript:
string.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, function(s){return s+","})
ruby:
string.gsub(/(\d)(?=(\d\d\d)+(?!\d))/) { |match| match + ',' }
DecimalFormat class also can be used.
-
liduan
some sources about silverlight 3D programming:
Flash 10 vs Silverlight 3: Perspective 3D
Silverlight 3D demo
Silverlight 3 – Perspective 3d Transforms
Getting Silverlight to Go 3D
3D Textured Silverlight and Silverlight 3D Engine
Perspective 3D in Silverlight 3
Flash vs Silverlight: 3D Image Space
-
liduan
using python get friend timeline in twitter. following tools should be used:
python-simplejson
first install python-simplejson, if in ubuntu, just using command as follows
$apt-get install python-simplejson
then, downloading python-twitter , unpackage it. then using command
$ python setup.py build $ python setup.py install
then, open python.
>>> import twitter
>>> api = twitter.Api(“username”, “passworld”)
>>> posts = api.GetFriendsTimeline(‘username’)
>>> print [post.text in post as posts ];
for the file, the script should be liked:
import twitter
class mytwitter():def __init__(self):
self._config = Nonedef main():
api = twitter.Api('username', 'passworld')
posts = api.GetFriendsTimeline('username')
for post in posts:
print post.text.encode('utf-8')if __name__ == "__main__":
main()
-
liduan
a popual ruby on rails, part1 and part2. there is other tutorial based on rails 2.1. basicly, grammer has some changes between 2.0, 2.1 and 2.2.
-
liduan
very simple CMS system build by php. it provides support for mysql database, but not support template.
-
liduan
-
liduan
using c read each char and covert to long int:
while(*buffer != ‘\n’);
{
read(fileName, buffer, 1);
printf(” Byte: %s”, buffer);
}good way.
-
liduan
facebook and adobe will partner to build a new development tools. it will have more helpful in the facebook application development. official adobe development website provides a overview for new flash facebook development platform(include video).
currently, adobe official facebook api client is version 3. it is avaliable at google code, include doc and example.
-
liduan
degrafa is a graph library based on the flex. it is compatible with flex 2 and 3. it also support other graph library, example of papervision3D(3D graph and animation library). there is a example that visual map based on the degrafa, pv3D and yahoo map.
-
liduan
some effect of the vbox in flex 3.
Clipping a Flex container’s content using the clipContent property
Changing a VBox container’s background size in Flex
Changing a VBox container’s background alpha in Flex
Changing a VBox container’s background image attachment in Flex
Setting the vertical gap between items in a Flex VBox container
Setting a Flex container’s vertical scroll policy
Toggling a Flex container’s visibility using states
Toggling a Flex container’s visibility
-
liduan
C / ANSI-C examples (example source code) Organized by topic
liduan
some sources for developing web server by c.
1. a simple httpd called tiny httpd.
2. “Illustrated Guide to HTTP” is a book for devemoping web server.
liduan
somethings can be using in showing strength in the flex spring graph.
1. show different colour for the node of spring graph.
2. show different edge of each node of the spring graph.
3. show different size of nodes in the spring graph.
liduan
liduan
Typical Java Commands. using command java javac and jar to do java development work.
liduan
The mx.controls package contains the Flex user-interface controls, e.g. textinput, label and textarea
liduan
flex app communicate with java via socket server. actionscript/flex program can send socket to a server. that means flex can communicate with other language or program without xml.
liduan
some good effect example for hide and show panel of flex 3. simple code and tutorial.
liduan
using rdesktop can remote control windows computer by using unix.example:
$rdesktop -f <ip address>
-f is mean full screen.
liduan
http://www.adobe.com/devnet/flex/samples/fig_panzoom/ simple zoom in/out map by flex.
liduan
google maps provide api for flash client. a tutorial for using google maps api by flex sdk. other one tutorial for installing and using google maps in flex.
liduan
make a visual earth based on the google earth by flex. it only supports ie, firefox and chrome. becouse it require google earth plug-in. resources.
liduan
a simple tutorial for kde4 widget development.
liduan
some good tutorial for flex list:
Making a horizontal list with clickable images as members
Flex – overriding scrollToIndex in HorizontalList to animate scrolling
Setting alternating colors on a Flex HorizontalList control
Creating a simple image gallery with the Flex HorizontalList control
The TileList control displays a number of items laid out in tiles.
liduan
some flex client for online map api is helpful for geographic locations application.
liduan
I found this website using very nice 3d visualization effect. but it can’t provice the sources. from here.