1,730 Posted Topics

Member Avatar for Stefano Mtangoo

Hello, is there any other site that is dedicated on python exercises from standard Library to external? I plan to start doing exercise to measure my muscles in python and enrich my understanding! I have seen here some exercises which I'll do them (on stickies) Thanks all Steve

Member Avatar for elasolova
0
184
Member Avatar for Stefano Mtangoo

Hi all, I need to install apps in my USB Mandriva 2010. In office I have to install Elite Core's SSCyberoam client which is Windows vista exe. I cannot access net without it so I need wine to install it. All versions of wine at official download fails and also …

0
94
Member Avatar for jimmiller96

Can you summarize the whole bunch of words? I mean what you specifically want?

Member Avatar for kireol
0
169
Member Avatar for abhisheksingh11
Member Avatar for Stefano Mtangoo

Hi all, I want to do simple query to do the Join Here is illustartion of my query which gives error [CODE=SQL]"SELECT * FROM table1, INNER JOIN table2 ON table1.colx = table2.colx LIMIT 30"[/CODE] What goes wrong here?

Member Avatar for Stefano Mtangoo
0
126
Member Avatar for dalypen

neat huh ;) [CODE=php]<?php require('includes/application_top.php'); require('includes/classes/crypto.php'); include('includes/classes/class.formvalidation.php'); include('includes/classes/class.phpmailer.php'); if (!$allow_signup) { header('location: login.php?signup=yes'); exit; } if (isset($_POST['submit'])) { $my_form = new validator; $mail = new PHPMailer(); if($my_form->checkEmail($_POST['email'])) { // check for good mail if ($my_form->validate_fields('firstname,lastname,email,username,password')) { // comma delimited list of the required form fields if ($_POST['password'] == $_POST['password2']) { …

Member Avatar for Stefano Mtangoo
0
352
Member Avatar for Stefano Mtangoo

Hi all, I have a question here :) Suppose I have a library in source code form (Let say [URL="http://tangentsoft.net/mysql++/"]mysql++[/URL]) and I have built it, and now I have the files (.h, .lib, .dll). How do I combine them in project? I use [URL="http://www.codeblocks.org"]code blocks[/URL] Why I ask? Because [URL="http://www.python.org"]Python[/URL] …

Member Avatar for Stefano Mtangoo
0
193
Member Avatar for Silvershaft

You said you started coding PHP yesterday and today you want to make a dynamic Website? If I get you well, you should spend little more time familiarizing with PHP/MySQL before jumping to such project (Or you know already of two beasts?) Welcome to PHP anyway ;)

Member Avatar for almostbob
1
197
Member Avatar for whiteyoh

Have you heard of SimpleXML with PHP 5? Check it, and I'm sure you are going to enjoy it! [url]http://php.net/manual/en/book.simplexml.php[/url] [url]http://devzone.zend.com/article/651[/url]

Member Avatar for Stefano Mtangoo
0
134
Member Avatar for Stefano Mtangoo

I have tried to do some Major C++ project with big failure as result. This produced great heart ache that made me recoil from doing further C++ projects. Here is the partial list of my failure: simple encoder with lame_enc.dll, simple CD Ripper with akrip32.dll, simple database manager with wxSqlite3.....et …

Member Avatar for Stefano Mtangoo
0
141
Member Avatar for Stefano Mtangoo

Hi All, is there a trick in wxPython to skin application to look like this one? What are pros and cons if any? Take a look [URL="http://www.fileguru.com/images/b/audio_recording_studio_multimedia_sound_tools-5778.gif"]Here[/URL] Cheers :)

0
142
Member Avatar for Musafir

Try this and hack it! [CODE=python] j = 0 for i in range(2, 9): j = pow(i, 2)+j print "The Final result is %d" %(j, ) [/CODE] BTW this is Python 2.x

Member Avatar for snippsat
0
119
Member Avatar for phpangel

[QUOTE=phpangel;1022226]first of all, thank u all for the support, let me make life easy 4 u guyz, i'm [B]beginner[/B] in PHP, and what i want from PHP now is: to design a Web driven Database website and possibly with CMS, without having to use ready made open source CMS's. thnax …

Member Avatar for GL.Za
0
175
Member Avatar for mrjoli021

[QUOTE=mrjoli021;1049321]Why doesnt this code work. I keep getting false even when i type in the correct username and password [/QUOTE] Try this (I didn't test it) [code] $user_name = mysql_query("SELECT * FROM users WHERE username = {'$Entered_UserName'} AND password = '{md5($Entered_PassWord)}' "); $user_name_password = mysql_fetch_assoc($user_name); if($user_name_password) { echo True'; } …

Member Avatar for cwarn23
0
110
Member Avatar for persianprez

[QUOTE=persianprez;1049486]How do I center my text in python? I have a title and a description, and wan't to center it all in my output.[/QUOTE] GUI or Console? If GUI which one? In wxPython, wx.ALIGN_CENTER would do the Job

Member Avatar for Stefano Mtangoo
0
106
Member Avatar for niche1

[CODE=php] $res = mysql_query("SELECT firstname, lastname FROM mytable"); while($row = mysql_fetch_assoc($res)){ echo "My First Name: ".{$row['firstname']}; echo "My Last Name: ".{$row['lastname']}; } [/CODE] modify it and test and see :)

Member Avatar for Stefano Mtangoo
0
62
Member Avatar for Yeen

Here is a tip: Before the for Loop >> readlines Then loop into all lines using for loop >> replace each occurrence of dot with space (or whatever you like) >> write it to the new file Here is completely untested code (I have no Python installed) [CODE=python] file1 = …

Member Avatar for Stefano Mtangoo
0
3K
Member Avatar for arushibafna

I don't recommend XAMPP, though it is good once you get used to it! I recommend WAMP, it is elegant and Good. Also check your PHPMyAdmin to browse your databases

Member Avatar for arushibafna
0
123
Member Avatar for sadiebee

[QUOTE=sadiebee;1049300]Hello folks! Is it possible to create directories on my web server based on new database entries?[/QUOTE] Sure, very possible! [QUOTE=sadiebee;1049300]Hello folks!I am implementing a photo gallery and want to have it such that, when a user ADDS a new Gallery, a (sub)directory is created with the name that the …

Member Avatar for Stefano Mtangoo
0
102
Member Avatar for motieno

[CODE=javascript]alert("Field XYZ is empty, please Fill it out!");[/CODE] You, just make a JavaScript function to handle validation and only allow to submit when things are ok. That will do relieve a server also

Member Avatar for Stefano Mtangoo
0
181
Member Avatar for rahul8590

Since any echo before redirect will cause error, then I think there is some sort of buffering and then redirect while using timer Mhh! Completely theory that I don't know its validity ;)

Member Avatar for Stefano Mtangoo
0
92
Member Avatar for Stefano Mtangoo

Hi all, I have downloaded Mandriva One 2010. I have Windows Vista and one 80GB external HDD. I want to install Mandriva in that USB drive (On 40GB partition specifically) and walk with it anywhere. Unetbooting only supports up to Mandriva 2008. Is there a software to do So? Thanks!

Member Avatar for Stefano Mtangoo
0
74
Member Avatar for Stefano Mtangoo

Hi all, I have downloaded Mandriva One 2010. I have Windows Vista and one 80GB external HDD. I want to install Mandriva in that USB drive (On 40GB partition specifically) and walk with it anywhere. Unetbooting only supports up to Mandriva 2008. Is there a software to do So? Thanks!

Member Avatar for Stefano Mtangoo
0
163
Member Avatar for gerard4143

I've downloaded ISO, googling to see how I can make it "USB resident" Operating System so that I can walk and boot anywhere, just like when it is installed in machine

Member Avatar for Stefano Mtangoo
0
149
Member Avatar for Stefano Mtangoo

[QUOTE]Win32++ is a small C++ library used to build windows applications. It has been designed to be easy to use, and simple to understand. It is an ideal starting point for anyone learning to program for windows using C++. Win32++ also has the added advantage of running on a wide …

Member Avatar for Stefano Mtangoo
1
214
Member Avatar for cwarn23
Member Avatar for Stefano Mtangoo

I need to make <div> </div> to have rounded corner. I wonder what other technique than putting rounded image at corner can be used to make them round. Is it Javascript or what? CSS? Look at this site with rounded corners [url]http://www.mtibwasugar.com/pages/index.php[/url] I don't want to use CMS like joomla …

Member Avatar for SKANK!!!!!
0
184
Member Avatar for Sucesso

[QUOTE=venkat0904;1041433]yeah gud point... bt network18 i believe instead of "value" it should be "values" in the query...[/QUOTE] Are you sure you don need [URL="http://devzone.zend.com/article/627"]this[/URL] dose?

Member Avatar for venkat0904
0
229
Member Avatar for Stefano Mtangoo

I have read several tutorials and 'philosophical' views aon writting PHP codes by either implementing templates or making your own templates. So me says template engines are like learning new language, som e say are good. Good controversy! What do you suggest guys, I mean pros and cons of each …

Member Avatar for Stefano Mtangoo
0
104
Member Avatar for lewashby

Python is easy to write, but I find setting it up for even local development is a headache! If it is such a headache to Just setup it, how can I practice?? For this one, I suggest PHP. PHP isn't difficult either though it is C++ish

Member Avatar for pythopian
0
635
Member Avatar for Stefano Mtangoo

I'm curious if anyone is using this Studio and how does it match FL studio. I ahve not used it but wan't to know how is it doing ;) It is -->[URL="http://lmms.sourceforge.net/"]Here[/URL]

Member Avatar for caperjack
0
104
Member Avatar for fallopiano
Member Avatar for Stefano Mtangoo
0
278
Member Avatar for knrakesh

I suggest create a link with random number and user id and send it via user's email. All user need to do is just type in email and link with those details will be sent via that password (which must match database's email). After clicking a link, then user will …

Member Avatar for Stefano Mtangoo
0
131
Member Avatar for EAnder

[QUOTE=shadwickman;671015] I myself only got into Python about a year ago, after deciding to give up on Java and C++; luckily I found that Python is fast, easy, and most importantly, fun. [/QUOTE] This one interested me! Why did you do that?

Member Avatar for lrh9
0
157
Member Avatar for Stefano Mtangoo

Hi all, after thinking for sometimes, I thought it will be grat opportunity to learn if I will start from scratch and build my own register/login system. Here is the thread that I will be posting the progress and I hope you guys will help me. The code below is …

Member Avatar for Stefano Mtangoo
0
444
Member Avatar for Stefano Mtangoo

Hi all, this is just curious question on C++ and winapi. I have heard that win32api is written in C and at the same time I have heard people saying that "light weight" applications can be written using API. This boggles my mind on how C++ works with C-based API. …

Member Avatar for Ancient Dragon
0
274
Member Avatar for Stefano Mtangoo

Hello all, I have basics for JavaScript (syntax, controls, loops, object etc) and also basics of XML. What else should I know to learn AJAX? What does Ajax 'animal' look like? Thanks guys

Member Avatar for Stefano Mtangoo
0
105
Member Avatar for Stefano Mtangoo

Hi all, I'm just starting Java and have read some tutorials and reading also thinking in Java and I see it is a good language. I have a question though, what are MINIMUM requirement of ANY Java program for it to run?

Member Avatar for Stefano Mtangoo
0
122
Member Avatar for hawkontvn

Also there is function called die() that will save you alot of coding.You have: [CODE=php]# $dbcnx = @mysql_connect('localhost', 'root', 'password'); # if (!$dbcnx) { # exit('<p>Unable to connect to the database server at this time.</p>'); # }[/CODE] but you can do this: [CODE=php] $dbcnx = @mysql_connect('localhost', 'root', 'password') or die('<p>Unable …

Member Avatar for venkat0904
0
153
Member Avatar for sweetangel20

Start with W3School's HTML tutorial, then some server side scripting of your choice (PHP, ASP etc) and some JavaScript :)

Member Avatar for Stefano Mtangoo
0
109
Member Avatar for nevets04

I think C++ wont be replaced by Python. Why? Because even the Author of Python didn't intend it as replacement but rather a complement. So Python Complements C/C++ instead of rivaling it. Ou can event emebed the Python interpreter and make use of both C/C++ and Python. As to why …

Member Avatar for jbennet
0
227
Member Avatar for Ri0o

try using link at the top toolbar of your editor. Very helpful to post links. As buddy said, Matplotlib+wxPython will give you total control. If you do simple plotting, then wxPython have tool for that. Anyway what do yo want to do with grades? May be python-mysql+wxPython+Matplotlib is all you …

Member Avatar for Ri0o
0
180
Member Avatar for kevindappah

For 2D look at SDL engine. I don't have done Game programming, but M$ have their gaming engine. I think it is something to do with VS IDE

Member Avatar for kevindappah
0
182
Member Avatar for Stefano Mtangoo

Hi all, can anyone point me to an offline MINGW installer? I want to fiddle with Eclipse CDT to see how it is doing compared to CodeBlocks. Also offline question: Does Aptana support C++ programming? It is based on eclipse and is found here [url]www.aptana.com[/url] Ahsante sana [Thanks a lot]

Member Avatar for Stefano Mtangoo
0
4K
Member Avatar for Jayakrishnan_gk
Member Avatar for CFROG

Check this you tube It have good teaching on integrating PHPBB and your site. I hope it will give you an idea to start with :) [url]http://www.youtube.com/user/phpacademy[/url]

Member Avatar for CFROG
0
345
Member Avatar for Stefano Mtangoo

I didn't write it, but I found it in zend's web. I would like some guys who are acquainted with Ajax to comment on it: [URL="http://devzone.zend.com/article/1581-Ajax-Chat-Tutorial"]here we Go[/URL] :)

0
88
Member Avatar for paranjyoti

I think you have to fiddle with the FCKEditor itself to meet your behaviour. Sorry, but I have no idea how :(

Member Avatar for Stefano Mtangoo
0
62
Member Avatar for dinilkarun

I don't know but If you can mess with tasklist and subprocess module (for XP/VISTA). This is purely untested as I'm not sure if tasklist returns anything!

Member Avatar for dinilkarun
0
145
Member Avatar for eggsofamerica

Be careful with recent vista update! I had to use system restore three times, after this update. Instantly after installing the update and reboot, could not connect to internet though ethernet nor dial up. So I rolled back using system restore and shut off the updates until later

Member Avatar for Roarz
0
199

The End.