1,730 Posted Topics

Member Avatar for nevets04

Learn Python, and then slowly start licking some C++. Python will give you necessary programming skills and discipline

Member Avatar for vegaseat
0
215
Member Avatar for INTIKHAB
Member Avatar for pspwxp fan
-6
108
Member Avatar for Stefano Mtangoo

Hi All, I'm still exercising with that small PHP/MYSQL CMS of mine. I have a question that I need help from you guys. I see in many CMS like Drupal where there is loong articles let say 10 of them are displayed on single page. For some technique I don't …

Member Avatar for Stefano Mtangoo
0
89
Member Avatar for catcoffee

[QUOTE=catcoffee;1024270]Hi, all! It's me again. And i'm idiot. [/QUOTE] I disagree! No idiot can write that much code :) it is unfortunate that thread is closed but YOU CANNOT BE IDIOT

Member Avatar for Stefano Mtangoo
0
332
Member Avatar for gsingh2011

try gui2exe. It is front end for py2exe so that you don't need to reinvert the wheel :) [url]http://code.google.com/p/gui2exe/[/url]

Member Avatar for snippsat
0
663
Member Avatar for Stefano Mtangoo

There is good script by KKeith [url]http://www.daniweb.com/forums/post951182.html[/url] I want to use it as my base script with some modification. Before I customize it, I want to Make it OOPized into class with functions in functions.php and login+register.phps Please help me on doing that! I'm intermediate btn newbee and intermediate developer …

Member Avatar for Stefano Mtangoo
0
235
Member Avatar for Stefano Mtangoo

How can I protect a folder with some files from being accessed by htaccess? I'm newbie so take it with grain of salt.

Member Avatar for Atli
0
121
Member Avatar for fferrandini

Dan08 and Sravan did the Pymailer program! you can consider consulting them and may be it might be feature request

Member Avatar for Gribouillis
0
192
Member Avatar for Stefano Mtangoo

There are few Books on Java, C++, PHP and Python, but haven't seen one in AJAX/JavaScript. Is there any legal downloadable JavaScript/Ajax book?

0
83
Member Avatar for Stefano Mtangoo

Hi All, I'm curious to know what is the difference as well as recommendation for two beasts :) Is it Panda or Pygame and why?

Member Avatar for Stefano Mtangoo
0
132
Member Avatar for jbennet

How did this story ended? It was very interesting though I was not there. I hope Benett is back from exams :) I'm doing same CMS and would like to see this topic progressing!

Member Avatar for Stefano Mtangoo
0
836
Member Avatar for Mensa180

does cx_freeze support Python3.x? I always use py2exe and doesn't support 3.x yet

Member Avatar for Stefano Mtangoo
0
127
Member Avatar for Stefano Mtangoo

Hi All, I have been using netbeans for long now and it is somehow good. But I saw Aptana and was attracted. But I failed to Install PHP support with its new PHP plugin (Actually it is PDT). It throws errors and Have tried to check on Easy eclipse. It …

Member Avatar for Stefano Mtangoo
0
839
Member Avatar for Stefano Mtangoo

Hi All, I need to upload image to site for my CMS. I use Ckeditor, improvement of FCKeditor. It is great editor but have no upload plugin (they say we should wait until version 3.1). There is ibrowser which have an issue with deprecated eregi() function (caused me to leave …

Member Avatar for Stefano Mtangoo
0
97
Member Avatar for Dan08

Bravo guys! That is nice news :) Just a point of interest, have you considered security side? I'm not security expert but all the time you send such critical info you should consider security of that info. Isn't that so?

Member Avatar for Stefano Mtangoo
0
120
Member Avatar for web3

This is off topic but can you do simple tutorial on chat with PHP (No ajax for a while)? Or just point/recommend good tutorial? I wish I could help but I'm not good PHPer enough to conquer your problem

Member Avatar for Stefano Mtangoo
0
411
Member Avatar for sravan953

[QUOTE=sravan953;1007307]Although this is off-topic: I have Python 2.6.3, I installed py2exe 0.6.9, and when I try to compile the program it gives some error, I can't post the error since I can't copy text from the command prompt. I did mention something about wx.core and some dll file (MSVCP90.dll). It …

Member Avatar for vegaseat
-1
3K
Member Avatar for wajih

Also what Data type of those variables? If they are numeric, then Just save them as strings. Then retrieve them and use int() or float() to convert them back o numerical values

Member Avatar for vegaseat
0
542
Member Avatar for girishmsampath

That is! Go to the link J provided and then either install the file or --> just download .egg file and then place it in same DIR as setup.py Then run again setup.py Any more errors? Post back here :)

Member Avatar for Stefano Mtangoo
-2
246
Member Avatar for Megabyte89

I cannot read your mind but I think the line missing is : [CODE=python]self.database = connection.cursor()[/CODE] Also I see in line 76 "self.connection.commit()" but I cannot see where self.connection is defined.

Member Avatar for Stefano Mtangoo
0
485
Member Avatar for Stefano Mtangoo

Hi all, I plan to make a PRACTICAL dictionary and need help on just ideas. basically you can use dict datatype for simple dictionary and use dicy->key to retrieve but does that work for larger data queried from database? Or should I implement a database of key --->value? Any Idea …

Member Avatar for Gribouillis
0
183
Member Avatar for grr

I guess this have the second argument(connection) missing: [CODE=php]mysql_select_db($db_name)[/CODE] try something like this: [CODE=php] $conn = mysql_connect($db_host, $db_user, $db_pass); mysql_select_db($db_name, $conn); [/CODE]

Member Avatar for Stefano Mtangoo
0
131
Member Avatar for nadnakinam
Member Avatar for nadnakinam
0
273
Member Avatar for virtualmisc

Netbeans is good but it eats good amount of resources. I found Notepad++ a good choice though it isnt IDE. I'm configuring aptana right now and it seem to be good. I was searching for portable IDE to move with in stick and I have just made it portable and …

Member Avatar for redhouse
-1
206
Member Avatar for Stefano Mtangoo

Hi All, I'm starting learning Java and I need online tutorial. I have benefited a lot from site [url]www.zetcode.com[/url] and I would like to have summarized and "well-for-beginner" tutorial. Many of Java tutorials I find are a bit confusing to newbie like me. I'm not new to programming (a lot …

Member Avatar for Ezzaral
-3
117
Member Avatar for Stefano Mtangoo

Hi all, When you add integer ID primary key auto increment, it automatically makes ID for you. But I was pondering on what happens after deleting a record. Does the server automatically adjust all IDs for you or it remains un assigned? For example, I have inserted as follows +------------+-------------+ …

Member Avatar for Stefano Mtangoo
-1
144
Member Avatar for JayGeePee

such check needs knowledge in regular expression. what I know is that you can validate any pattern you set in your Regexp. So check it out for I'm not well versed in it. May be look at these: [url]http://lmgtfy.com/?q=regular+expressions[/url]

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

Hi All, I'm trying to make simple CMS and can populate my HTML (generated by TinyMCE editor) to my database. I can retrieve them as well. Now I want to add image support to My editor. What are the tricks necessary? Thanks a lot :)

Member Avatar for Stefano Mtangoo
0
83
Member Avatar for Todd88
Member Avatar for Stefano Mtangoo

Hi All, I have been learning making CMS and you guys have been helpful. I can now post, and view the posts. I need to edit/delete articles. I have read somewhere that you can make a link that appends an id of the article and you can retrieve it via …

Member Avatar for Stefano Mtangoo
0
109
Member Avatar for chris_j_haines

What about making your own CMS to beat Joomla! or Drupal. Or taking Wordpress out of Business? or May be a hotel CMS.

Member Avatar for Stefano Mtangoo
-1
91
Member Avatar for Stefano Mtangoo

Here is what wxPython Demo says about it: [QUOTE="Robin Dunn and Crew"] [COLOR="Red"][B]Although Microsoft has deprecated the MDI model,[/B][/COLOR] wxWindows still supports it. Here are a couple samples of how to use it - one straightforward, the other showing how the MDI interface can be integrated into a SashWindow interface. …

0
56
Member Avatar for Triverske

Use IDLE, Notepad++, ulipad, or editor/IDE of your choice. Using Commandline is poorest idea. Anyway if you still wish to do that, Add Python path to your system path and type on console: python There you are!

Member Avatar for Stefano Mtangoo
0
108
Member Avatar for LinkMaster03

Have you tried andrea gavana's gui2exe? It have many options that comes from py2exe. It have also other 'packers' options. Check if it can solve your problem [url]www.code.google.com/p/gui2exe/[/url]

Member Avatar for Stefano Mtangoo
0
583
Member Avatar for Stefano Mtangoo

Hi All, I have register/ Authentication form codes given away by Keith29 (If not mistaken your good name). So what I need here ia the whole Idea of secure register/Authentication so that I will be able to make mine. I would like also to integrate my login system with that …

0
82
Member Avatar for jcmeyer

As jlm699 said, Postgresql is good but isn't the only one. You can go with mysql plus mysql-python. I have read yahoo! and many other big companies uses mysql(not sure if it is with Python or PHP) so I know it must be multiuser!

Member Avatar for ov3rcl0ck
0
235
Member Avatar for jeffsmessus

try this: [url]http://www.daniweb.com/search.php?x=31&y=30&q=import+sqlite3[/url] and specifically this: [url]http://www.daniweb.com/forums/thread209685.html[/url] It's for sqlite but will mostly work with any SQL. Check python-mysql module and start coding :) Have any problem? Post it here!!

Member Avatar for jeffsmessus
0
900
Member Avatar for Stefano Mtangoo

I need to format PHP to use with one of my date field (DATETIME). I want to get current time and format it. I have checked some googled articles but I cannot get far. Please help me!

Member Avatar for Stefano Mtangoo
0
216
Member Avatar for Friktion

Why not use 2.5. There is binary version of it. Just search this forum. I posted it somewhere here :)

Member Avatar for Friktion
0
256
Member Avatar for Stefano Mtangoo

Hi, its me again! I have faced this error trying to redirect from one page. Here is the error: [COLOR="Red"]Warning: Cannot modify header information - headers already sent by (output started at I:\xampplite\htdocs\site\insert.php:3) in I:\xampplite\htdocs\site\insert.php on line 28 Illegal action or other errors![/COLOR] here is insert.php [CODE=php] <!DOCTYPE html PUBLIC …

Member Avatar for almostbob
0
166
Member Avatar for Stefano Mtangoo

I have been thinking if this is only possible to very very very advanced wxPyees. I have tried and tried to understand this but with no success. I have seen Mike saying the same in wxpy listing and many more. I have started this to hear your experience with printing …

0
72
Member Avatar for Stefano Mtangoo

Help me inspect this code. I cannot see error by myself. here are the codes for inc.database.php I'm learning OOP with PHP (I extensively using it with python but I'm noob to PHPiing) [CODE=php] <?php class Connectdb{ private $DATABASE = "site_contents"; private $HOST = "localhost"; private $USER = "root"; private …

Member Avatar for Stefano Mtangoo
0
148
Member Avatar for AutoPython

I was once a fond of global variables as "child" programmer. As I went on coding, things turned harsh on me. Thanks God I then learned OOP. In OOP, you do alot of stuffs without global variable. I have forgotten even last time i used global keyword. all I remember …

Member Avatar for AutoPython
0
331
Member Avatar for chico2009

Alternatively you can use placeholder (same Snee's example) [code=python] #Convert C to F def Tc_to_Tf (): Tc = input ("What is the Celsius Temperature ? " ) Tf = 9.0/5.0 * Tc + 32 return Tf Tf = Tc_to_Tf () #.2f instructs Python that placeholder holds float number with 2decimal …

Member Avatar for chico2009
0
194
Member Avatar for Barefootsanders

where will python reside? In server or client machine Can you explain more? I have tried to understand what you want to do but I haven't got you well. You can take a look at mysql module [url]http://mysql-python.sourceforge.net/[/url]

Member Avatar for Stefano Mtangoo
0
157
Member Avatar for Stefano Mtangoo

Don't get me wrong, I don't ignore the power behind CMSes. I want to make a Database driven contents. Here is the approach I want to take, correct me/Add opinion as you it! 1. Integrate TinyMCE editor for wariting contents (WYSIWYG) 2. Have database with table contents and three columns …

Member Avatar for Stefano Mtangoo
0
86
Member Avatar for leegeorg07

I haven't tested but Matlab is said to be best pythonic graphing of complex plots. Not sure because haven't used it. There are examples in matlab homepage. Test them and see if it suits you!

Member Avatar for leegeorg07
0
91
Member Avatar for ravi_72
Member Avatar for Stefano Mtangoo
0
108
Member Avatar for Stefano Mtangoo

Hi All, I need to make a PHP word editor for writting notes that will have buttons like one for wordpress. How do I start it? Is there readymade class that I can employ? Or any tutorial? I have never done such project before but I need such editor to …

Member Avatar for Stefano Mtangoo
0
244
Member Avatar for Stefano Mtangoo

I don't know where to post it in Daniweb, but since I'm used to Python forum, I hope someone will help me here. Advices of as to where I should post this are valid! I have made a project, compiled it with py2exe and packed fine with Inno setup. The …

0
58

The End.