Jump to content
xisto Community

mamer

Members
  • Content Count

    171
  • Joined

  • Last visited

Everything posted by mamer

  1. A question about myCENTS:Is there a difference between the amount of myCENTS that I get through replying to posts and what I get when I post a new topic?Thank you.
  2. Thank you for this nice script. It's clear, simple and open for expansion.I'll consider trying it on my WAMP.I'd also like to use another mailing class instead of the PHP mail() function. I'm thinking of phpMailer class.I'll let you know the results
  3. Good work MiniK, thank you. If I may add some general comments: Comments on the code are really essential in tutorials as others mentioned It would be very helpful if you specify the level of knowledge required to use your tutorial (well I forgot to do that in my last tutorial:)). Yoe'll need to specify a level such as beginner, elementary or advanced You also could mention at the beginning something about the assumed knowledge. For example: familiarity with MySQL and DB queries As for the system itself I understand that you said simple and you didn't say "secure". Learning from other advanced PHP programmer, I always include password hashing and user input sanitizing whenever I work with user input and database.That should achieve some level of security although I'll be always in doubt about the security of any code that I develop myself. That doesn't underestimate the good work you have done.
  4. Very informing tutorial. Thank you.Just a question, would it help in boasting the search rank of your website to add links to the articles that you published in those directories.If it does I would expect an increase of traffic as well as you might get visitors coming to your website through the web search. Am I right?
  5. Very nice and detailed guide. I like it.The only thing I might add here it a bit of advice for developing with WAMP or XAMP. To avoid frustration of not having your stuff working on the web server although it works on your pc local host it would be a good practice to make sure that your development environment matches the production environment or compatible with it. By that I mean the PHP and MySQL version.Also check to see if the required PHP extensions for your project are installed on your production web server.Do that check early before you finish you project on your pc local host.
  6. I would be interested in a tutorial about working with XML data. How to access it from the XML file and how to manipulate the obtained data.It would naturally lead to a tutorial on working with arrays and array manipulation as well.That's for me. For other who haven't used PHP before it would be a good idea to post some basic tutorials to explain how the PHP code is integrated with the HTML cde in a web page.
  7. Thank you. I was wondering how to do that the first I landed in this nice forum. here you are explaining it so clearly.Maybe you could help me in a related issue. I might have misunderstood the rules about referring to your personal website. Is it allowed in the signature?I don't want to break any rules here.
  8. I thought I'm missing something when I searched the forums for CSS and got zero results. That couldn't be because it's not important.Is there anybody who is interested in CSS so that we can maintain a discussion in that topic.CSS is to the heart of web design. Even the most advanced templating systems make good use of CSS.The biggest challenge in that area is to produce cross-browser designs and that needs a lot of collaboration and sharing.
  9. I agree with Lozbo about WordPress.If you google "themes for wordpress" or "pkugins for word press" you would get loads of search results compared to any other CMS.With the vast number of themes and plugins you can tweak and customize WordPress to suite many personalized requirements that you wish to have in your CMS.Also the learning curve is faster in the case of using WordPress compared to other CMS.The most interesting thing I found about Wordpress is the integration with the facebook. By integration I mean going beyond the normal like buttons.
  10. For a beginner it would be better to use a wizard-type website generator like Namo. It has a very easy interface where a beginner can visualize the creation of his website and use drag-drop to create and link his pages. It cuts down the design process dramatically through the use of templates. The FTP tools also makes uploading and publishing the created website a very easy job for a beginner. The down side of using that wizard type of applications is that the generated code is difficult to maintain, but a beginner wouldn't care about that specially for small projects.
  11. If you're considering to offer meaningful online education and you like face-to-face teaching as an activity the the right combination would be: 1- A good learning management system like Moodle. I recommend hosting your own system if you wan to have full control over the customization. 2- Skype for live online sessions. With Skype you can use several free tools to help you give effective live-online sessions: Whiteboard Desktop sharing Co-browsing You can have all that for free as long as your live-online classes are limited in student's number 2-3. Once your classes grow bigger you'll have to pay for using those tools. Moodle will be always free.
  12. Moodle is my favorite for hosting my online courses. Some people consider it a content management system but that would be over-generalization as it is more sophisticated than just managing content. Some describe it as LMS, learning management system which is true as it has the right tools for managing the whole process of the learning cycle. I'd describe it as a structured learning community system for several reasons: Structured: The content is organized in courses, courses are organized in topics/weeks format and topics or weeks hold both resources and activities. Also each course has its own teachers and other user roles that are similar to the roles in a proper school. Learning: As opposed to teaching. You as a teacher facilitate learning more than actually teaching. The activities are more student-centered and learners have the choice on how to pace their learning in terms of what, how much and when to do their study Community: That's the philosophy behind the Moodle setup, an active learning community where learning is augmented through collaboration and sharing knowledge and ideas As an open source it has a large community and excellent support with a very large pool of plugins and themes. If you're considering hosting your own Moodle then I'll advise you to go for the latest version. The only problem is the PHP requirement for an installation of Moodle to work. It requires PHP version 5.3.2 at least which is not available on many free hosting plans. I came here hoping that I can get a hosting plan with PHP 5.3.2 for that reason.
  13. Maybe it's aging symptoms but I'm kind of getting old to even understand those new online games. I stopped at Ceaser 3 something like 12 years ago.My son is playing it all the time and it really annoys me that I can't share him that interest of his. He keeps telling me about assignments, earnings and dressing and I hate to tell him that I've no clue.I'll be looking for any posts under this topic that might help me understand it.
  14. In this short tutorial I'm going to show you a very basic flash animation of a fan, just in 3 lines. Assumed knowledge: Familiarity with Flash Professional interface and drawing tools 1- Open Flash Professional 2- Click File>New and select Flash File (ActionScript 3.0) 3- Use the drawing tools (brush or oval) to draw a fan shape 4- Select the shape you just drew and hit F8 to convert it to a movieclip, give it a name and make sure the registeration point is in the center, click OK 5- After clicking OK, the the movieclip you created needs an instance name. Select it and click PROPERTIES or hit Ctrl+F3 to open the properties window. Give it a name "fan" Now for the code. 6- Select the first frame and open the ACTIONS window by hitting F9 7- in the actions window type the following (notice the comments on the code after a //:) //This line means: every time the movieclip enter frame event hapens the function "rotatefan" runs fan.addEventListener(Event.ENTER_FRAME, rotateFan); function rotateFan(e:Event):void{ //This line means rotating the fan around the registeration point(center in our case) 3 degrees clockwise fan.rotation += 3; } //end of code 8- Save your fla and hit Ctrl+Enter to run compike and run. Note: You could change the speed by increasing the rotation value. The compiled swf could be found here The source fla could be found here I hope that helps introducing a beginner to flash actionscript animation Comments are most welcome
  15. We do virtual time travel everyday in our dreams without affecting the past or the future.I would assume if you do a real time travel it wouldn't be much different. You're just aware of the past without the past being aware of you.Oh no, listen to what I'm saying. It's getting confusing. I'll be content to do that in my dreams.I learn a lot from reflecting on my dreams as they help me understand myself. It's just like your built in auto maintenance. You only need to listen to them, I mean your dreams.
  16. Hi,Has anybody tried making animations and multimedia using HTML 5?How easy, efficient it is compared to Flash?I would be grateful if you could share your experience in HTML 5 with me here as I'm totally new to it. I now the HTML and know how to use it with other scripts but the HTML 5 is totally new to me.Thank you
  17. There are certain techniques that a developer can use to make stealing flash difficult (not impossible)If you use .htaccess file that prevents hot linking or downloading your movie clip that wold help.Another technique is that you don't compile all your data in the SWF, but get the SWF pull content on demand. So even the the flash is saved by the browser in a temp directory it would be useless without the source data.
  18. So often I need to query several table that are linked through some key.I never understood the difference between different types of JOIN although I used it in one of my application, but it just worked without knowing how.The main problem with using the wrong JOIN is that you get lots of duplicated records no matter you try to filter the results using WHEREMy question is general and not specific to a certain case. I only need to understand the difference between the different types of Join.Can any expert help me?Thanks
  19. Hello k_nitin_rHere we meet again.I had a look at PunBB. It looks neat and well laid out. I haven't tested the customization capabilities but I take your word.The only think that I didn't like was the text editor for posting and replying. It's very basic and lacks to many essential tools.I would assume that could be changed if you replace it's editor by a one of your choice. Have you looked at that?
  20. Hi mrdee,If I have understood the problem well I would look at the cause of the problem in the code that sends the email in the first place before trying to solve it from Mozilla Thunderbird.First you need to try accessing your emails using a different client. If it's still doesn't work then obviously it's not a Mozilla Thunderbird problem. You'll need to check the email settings in your form and make sure that they conform to your SMTP server.In some email servers a message will be considered a spam if it doesn't have a FRMK field in the heder.May be I can help if Iknow more about the email settings/code of your form without revealing any passwords, usernames or any personal information.
  21. With Adobe Professional you can do that. Even if the conversion doesn't keep the original layout you still can copy images and charts and paste them in your word document. But you might be looking for a quick solution that doesn't cost money.Avery simple print screen from the keybord and pasting the result image into the windows paint program will do a good job. Then you could crop the result image to just take from it what you need. It's a Newbie solution but it works.
  22. I noticed that action script 3 is almost overlooked subject in our forum, am I right?Is there anybody who is interested in that topic?Flash applications can not go anywhere without actionscript, so if you are interested in flash and would like to make something interactive with the action script programming is the route to go.Please let me know if you would like to share some samples or ideas in that topic.
  23. That depends on your previous background in programming and on your learning style: If you're totally new to programming a book like PHP for Absolute Beginners would be good for you If you have a previous programming experience and you prefer to follow a structured study program then you might try http://www.tizag.com/phpT/ If you have a previous programming background in an object oriented programming language and you're the type of learners who learn through problem solving I'll advise you start with studying some simple applications code samples. Studying such code with the help of the comments on the code and refering frequently to the PHP manual will help you transfer your previous programming skills to PHP easily. A good source for such samples is http://www.java2s.com/Code/Php/CatalogPhp.htm That's how I started PHP programming.
  24. To save your time I'll assume that my readers know what Moodle is otherwise this post will not be relevant to them. For info. about Moodle please visit the official website The Problem: Moodle has it's own reports module where you can use a well organized interface for pulling out different reports about the activities of the users. For me as a course tutor, I need to have a quick check on the assignments submitted by my students in a certain course, certain course topic. The current reports module in Moodle is not straight forward with that regard. It pulls more data than I need which kind of doesn't highlight the parts that I'm interested in. I also hate to login every time I need to check the assignments submission. Moodle usually is a bit slow script. The Solution: It would be more practical to write a code that queries the Moodle data base and displays only what I need. A wizard interface would be ideal in my situation. Just to be specific, I'm using: Moodle version: 1.9 PHP version 5.2.17 MySQL version 5.5.29-log Application Outline: 1- A code to connect to the database : db-config.php, that will be included wheneverf we need to query the database 2- The index.php includes the db-config.php and: connects to the Moodle DB query table mdl_course to select the id and fullname fields to populate a drop-down list for the user to choose. posts the user input to sections.php 3- The sections.php will: connect to the Moodle DB query table mdl_course_sections and select the sections field that match the previously selected course id. populate a drop-down list for the user to choose posts the user input to report.php 4- Finally the report.php will: connect to the Moodle DB query mdl_assignment, mdl_assignment_submissions and mdl_user using RIGHT JOIN on the id field select only the submitted assignments using WHERE ( --- OR ----) AND ------ based on the user input, ie the course and section you selected in the previous steps in the wizard. use a while loop to display the record set in a table The Code: I tried to post the code using the BBcode but it doesn't show in the preview, so I'll try to attach it. Your feedbak is most welcome Thank you db-config.phpindex.phpsections.phpreport.php
  25. Excellent tutorial and I learnt a lot from it I liked the tutorial as it explains clearly the basic logic of a login system. I aslo learnt how to present a tutorial in the first place. I agree with Jez about security issues and password hashing I might suggest using FILTER_SANITIZE_EMAIL for the email input.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.