Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
85% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
4
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
~63.1K People Reached
Interests
Programming...
Favorite Tags
Member Avatar for Krstevski

Hello friends, this code/snippet is nothing special, just a simple rss reader class written in PHP. Many times in my projects I use this script to get an RSS feed from some website and now i decided to share with you. This script can be useful for your projects or …

Member Avatar for diafol
0
936
Member Avatar for Krstevski

Hey people... I want to delete the file from the server when he is been successfully doownloaded from the server (one-time download)... how can i this ? For send file I`m using the method transmitFile(...)... Thanks.

Member Avatar for NarmadhaMano
0
179
Member Avatar for ohmang841

Hi guys...I'm new to python so I've no idea what I'm doing but I need to write a function that 1) asks the user how many strings they would like to input. 2)Stores the strings in a list 3) sorts the list 4) Displays the sorted list 5) Displays the …

Member Avatar for Lardmeister
0
9K
Member Avatar for tymaut

Hello I am working on a web page(php based). I want to put a `like` button, so that when a user clicks it, he is added to the likers list in my database.(like in the facebook). I wrote a php funtion to execute this database insertion, but since the event …

Member Avatar for IIM
0
307
Member Avatar for Krstevski

Hello friends, I have a small problem and I need your help/hint... I want to compare two strings with ignoring cases but my program not works as I want... The program should compare if two strings contains same characters ignoring lower/upper and their order... For example, how should works my …

Member Avatar for thines01
0
160
Member Avatar for Krstevski

Hello friends, I want to write simple script to download youtube videos, but I have problem... I use One-liner for this, the file is downloaded but it's empty (0 bytes). Can someone help me about my problem ? Here is my code: [CODE=python] # Author: Abhinay Omkar # Title: One-liner …

Member Avatar for Pupo
0
182
Member Avatar for Krstevski

Hello friends, I searching for "Combination generator" and I found something but not this what I need me... I want to write a script who will generate all possible combination by given string and range of length. e.g. string = "daniweb" length_range (3, 5) The results should be: _____________ ddd …

Member Avatar for Tech B
0
112
Member Avatar for Krstevski

Hello friends, now I will show you how to make a simple anti spam protection (without using captcha) who is very effective. The original idea (for educational purposes) is taken from here: [URL="http://delicon.mk/blog/kontakt-formular-koj-ne-saka-spam-botovi/"]Part 1[/URL] [URL="http://delicon.mk/blog/kontakt-formular-koj-ne-saka-spam-botovi-2/"]Part 2[/URL] Sorry about the links and macedonian language, but I respect my friend and I …

Member Avatar for TechySafi
0
1K
Member Avatar for Krstevski

Hello friends, I try to rewrite links with htaccess, but the server does not change the links. I want, e.g.. the link [url]www.example.com/index.php?option=com_content&view=section&id=7&Itemid=54[/url] To be: [url]www.example.com/cat/7/Item_54[/url] (Or something similar). My .htaccess file is: [CODE] ## # @version $Id: htaccess.txt 13415 2009-11-03 15:53:25Z ian $ # @package Joomla # @copyright Copyright …

Member Avatar for g1smd
0
453
Member Avatar for Krstevski

Hello friends, I have a small problem with creating XML documents. After creating the XML when I try to get a XML document as string using .toxml() or .toprettyxml() functions i got escaped string. [CODE=python] >>> from xml.dom.minidom import Document >>> html = '<a href="http://www.google.com/">Google</a>' >>> doc = Document() >>> …

Member Avatar for Gribouillis
0
442
Member Avatar for Krstevski

Hello friends, I have a small problem with integers... I want to get the seconds of the time in format HHMMSS. My code is: [CODE=cpp] int get_seconds( int time ) { cout << time << endl; int sec = time % 100; time /= 100; cout << time << endl; …

Member Avatar for WaltP
0
181
Member Avatar for Krstevski

Hello friends, I have a small problem with parsing XML documents... My program works great, but if some element is not exist in the XML then I got an exception error, and now I want to ask "How to check if the element is in the XML" ? Here is …

Member Avatar for Krstevski
0
7K
Member Avatar for Krstevski

Hello friends, I have problem with showing registration form on joomla. I use unique template for registration form, I want to add only registration form. How to do this ? Thanks.

0
64
Member Avatar for Krstevski

The class GoogleSuggest will help you to grab the Google suggestion(s) for given expression. [B]Note[/B]: The urllib2 module has been split across several modules in Python 3.0 named urllib.request and urllib.error. The 2to3 tool will automatically adapt imports when converting your sources to 3.0. Example and output: [QUOTE] >>> ================================ …

Member Avatar for TrustyTony
0
614
Member Avatar for Krstevski

Hello friends, I wrote a simple class for string validation and now I want to share with you. The class contains: - Constructor(s) public Validator() public Validator(string text) - Properties private string strText = string.Empty; - Method(s) public bool isNullOrEmpty() public bool isNullOrEmpty(string str) public bool isLengthMax(int maxLength) public bool …

Member Avatar for Momerath
1
239
Member Avatar for Krstevski

Hello friends, I have a small problem with WordPress. I have a page in WordPress and works great but "www" is missed in the URL. e.g. If the website is example.com and when I write [url]www.example.com[/url] then the address is changed in [url]http://example.com[/url] (correctly should be [url]http://www.exmaple.com[/url]). So, I want …

Member Avatar for Borzoi
0
125
Member Avatar for Krstevski

Hello friends, I have a small problem with getting the content from the pages in WordPress. In my admin panel I have created some pages, also I have created a custom template and now when I want to open any of the pages then the content is not displayed (the …

Member Avatar for wpmonster
0
91
Member Avatar for Krstevski

Hello friends, I have a small problem, I need to check if the database connection is still open. Here is my code... [CODE=csharp] try { // new connection // connection open // other code // close the connection } catch (Exception ex) { // handling exception } finally { // …

Member Avatar for Krstevski
0
6K
Member Avatar for Krstevski

Hello friends, I want to found some algorithms for text processing. I have a lots of entries in the database and now I want to split by category (news, history, sport, business etc...) but I don't know none algorithm(s) for text processing. So, my question is, what is the most …

Member Avatar for Krstevski
0
109
Member Avatar for Krstevski

Hello friends, I have a small problem, I don't know how to configure the server to run python scripts automatically every 1 hour. I use Ubuntu LTS OS, Apache2 server and now I want every 1 hour to run read_rss.py Python script automatically. Do it possible with apache (and if …

Member Avatar for ryan461
0
103
Member Avatar for Krstevski

Hello friends, I have a small problem with printing/getting exceptions in 3.1 version. My code is: [CODE=Python] try: # bla bla... except Exception, e: # here I got error message "Invalid Syntax" in the comma self.setError(e) return False [/CODE] What is the correct syntax in python 3.1 to get the …

Member Avatar for Krstevski
0
339
Member Avatar for Krstevski

Hello friends, can someone explain to me how can I submit form with radio button ? I know how to fill and submit form if the form contain just a textboxes, here is the code: [CODE=perl] #!c:\\perl\\bin use strict; use WWW::Mechanize; use HTTP::Cookies; my $outfile = "out.htm"; my $url = …

Member Avatar for Krstevski
0
348
Member Avatar for tones1986

Hey All, I am looking to make a couple of scripts to do the following (seperate files, not all in one). DNS, MySQL, POP3/IMAP+SMTP Basically, i want to try connecting to these sources, and check they are running on the server. If they are not running, i will create a …

Member Avatar for Krstevski
0
162
Member Avatar for Krstevski

Hello friends, I never ever use a class destructor, and now I want to try to using destructor, but I have a small problem. My code is: [CODE] using System; using System.Text; namespace ConstTest { class test { public test() { Console.WriteLine("Start..."); } ~test() { Console.WriteLine("End..."); } } class Program …

Member Avatar for Krstevski
0
110
Member Avatar for ayan2587

Hello guyz !!! I came across this problem and I am still unable to come up with a good algorithm to solve this problem Problem : given, 1<=n<=1000000, and 1<=k<=9 , calculate the first and last k digits of n^n. for example if n=13 and k=4, then result : first …

Member Avatar for ayan2587
0
175
Member Avatar for phpangel

Hello guyz, in my website, i have links like: [url]http://localhost/index.php?Module=Search[/url] i want to hide the php extension and make it something like [url]http://localhost/ukh/Module/Search[/url] i that pssoble via .htaccess or any server commands Note: I'm using Apahce server thanx

Member Avatar for phpangel
0
102
Member Avatar for Krstevski

Hello friends, I have a stupid problem, I can't find example or tutorial "How to embed mpp in HTML", so... Can anyone give me an example or code for this ? Thanks.

Member Avatar for chrishea
0
84
Member Avatar for Krstevski

Hello friends, I have one stupid problem with overlapping div and object tag. I have slideshow (.swf) and now I want to add a div tag on the top of the slideshow, but when I try to do this then the div tag is hidden by object tag (slideshow). How …

Member Avatar for Krstevski
0
149
Member Avatar for Krstevski

Hello friends, I have problem with MODx, I want to create multiply blog... One blog and one page something like a front page. Do it possible to make this ? If it possible, how to do this ? Thanks.

Member Avatar for pritaeas
0
92
Member Avatar for Krstevski

Hello friends, if someone wants to help me with one task. (I want example) The task is: One calculator can make two operations (multiply and subtract). Return the minimum number of operations needed to get to target (or -1). Example: Your multiply number is 5 Your subtract number is 7 …

Member Avatar for gusano79
0
134