1,730 Posted Topics

Member Avatar for calebcook

I would use following steps: 1. [URL="http://www.electrictoolbox.com/list-mysql-tables-php/"]Put Tables in array[/URL] [CODE=PHP]mysql_connect($server, $login, $password); $res = mysql_query("SHOW TABLES FROM $db"); $tables = array(); while($row = mysql_fetch_array($res, MYSQL_NUM)) { $tables[] = "$row[0]"; }[/CODE] 2. Loop the array and query each table. Now it is up to you to test my "workable" theory! …

Member Avatar for oab2003
0
1K
Member Avatar for AnjaliThukral

Free IDE? Many Wing IDE 101 - but reduced features Drpython - No debugging PyScripter Netbeans with Nbpython Eclipse with pydev plugin Eric (Make sure you take care of Qt licence)............etc

Member Avatar for vegaseat
-1
1K
Member Avatar for Stefano Mtangoo

Friends, I'm rushing towards deadline and I think that makes me do childish mistakes. Here I have validation that requires regex and each time I input valid expression preg_match returns false. It is long now I'm trying to spot error but I cannot! I have googled and AFAICS, things seems …

Member Avatar for Stefano Mtangoo
0
163
Member Avatar for rotten69

[QUOTE=ardav;1582353]I always try to warn anybody new to PHP to beware of the problems that I encountered when I first started. PHP is easy. Too easy. You code some rubbish, and it works (after a fashion). Before long you're 'coding' complicated stuff with the use of about 10 different built-in …

Member Avatar for rotten69
0
517
Member Avatar for panhwer

[QUOTE]If you create a logout.php to end user session, do not forget to start the session in this page!, using session_start() at the very begging of your script. Thus, session_start(); session_unset(); session_destroy(); will be the right sequence to end a user's session. This is a very basic concept, but took …

Member Avatar for panhwer
0
154
Member Avatar for premier213
Member Avatar for dyingatmidnight

[QUOTE=dyingatmidnight;1584536]lemme see if I can't explain better.. if I don't log in when I click request it should as me to log in. So I do that and hit request again only it prompts me to log in despite the fact that I have. Like the session variables aren't over …

Member Avatar for dyingatmidnight
0
534
Member Avatar for projecttoday

Check extension (If it is appended on URL). asp and aspx, php or check the aplication (if you can recognize). This site is likely made by VBullets.

Member Avatar for digital-ether
0
92
Member Avatar for public-image

A note to take, there is no such a thing as true random in real world. That said, there is pseudo random. That said, check [URL="http://php.net/manual/en/function.rand.php"]rand[/URL]

Member Avatar for edwinhermann
0
8K
Member Avatar for simirnov

How do you delete Emails? Do you list Emails with link to delete or one fills address and the form submission does delete? If you list Emails, add Id to delete link. If you use form, that is easy. Since email is unique it can be used instead of ID!

Member Avatar for calebcook
0
421
Member Avatar for Stefano Mtangoo
Member Avatar for ptara1

echo the values of Post and see if they work then from there we can track the query.

Member Avatar for klemme
0
177
Member Avatar for VengefulWrath

[QUOTE=ardav;1580060]sanitize ALL input data.[/QUOTE] It is huge process actually. I plan to do little series on security by the end of this month, God willing (Not expert at all but learning) But here is my suggestion on angles to check: 1. As ardav pointed out, always suspect user - Sanitize …

Member Avatar for diafol
0
267
Member Avatar for kolibrizas

I gues no shortcut, Learn HTML/CSS-->JS-->PHP-->MySQL and if you want AJAX Then you can opt to go to frameworks if you want. Practice is what makes you good programmer. Note, there is security issues, and that is different beast altogether :)

Member Avatar for iamthwee
0
393
Member Avatar for pcgamer2008

[QUOTE=pcgamer2008;1580435]Ya, I have solved my problem now.. actually I didn't include openAL32 (Object file library) in dev cpp's lib folder...forgotten step..altough thanks !!![/QUOTE] Actually DevCPP is old and dead version...Check its successor, wxDevCPP [QUOTE]February 21th 2005 : Dev-C++ 5 Beta 9.2 (4.9.9.2) released ![/QUOTE] [URL="http://wxdsgn.sourceforge.net/"]wxDevCPP[/URL] [QUOTE]wxDev-C++ is an extension of …

Member Avatar for Stefano Mtangoo
0
426
Member Avatar for Sorcher

Check for loop by huhh7 but testing if the modulo (%) brings zero it is divisible by 10 the do whatever you want, that is [CODE=PHP]for($i=0; $i<=100; i++){ if($i%10==0){ //do whatever it is tenth step } }[/CODE] Completely untested :)

Member Avatar for Ezzaral
0
126
Member Avatar for Stefano Mtangoo

I though I would share [URL="http://mwanateknolojia.wordpress.com/2011/03/28/use-your-mobile-phone-as-bluetooth-modem/"]this trick[/URL] with you! Enjoy :)

Member Avatar for Stefano Mtangoo
0
134
Member Avatar for JohnMG

Have played around with some things and here is one which was in my to-do-list Great! I will see it when I finish current exercise Thanks sir!!

Member Avatar for TrustyTony
0
954
Member Avatar for Stefano Mtangoo

Hi, I have a question and I apologize if it is too newbish. I have been for a while now trying to learn OpenGL but I cannot understand how its coordinate systems works. I know coordinate geometry as I did some math long ago as well as equations (linear, polynomial …

Member Avatar for Stefano Mtangoo
0
206
Member Avatar for mangel.murti
Member Avatar for ko ko
0
64
Member Avatar for ivan3510

session_start(); -->Should be at very top of the file, before anything else. That is the best practice to avoid headers already sent error! try rectifying this and post any error/warning you get

Member Avatar for Stefano Mtangoo
0
171
Member Avatar for programmer12

if you want three latest regardless of date you could go with some query like [CODE=PHP]$no_days_ago = 3; //or take it from a search box mysql_query("SELECT * FROM `table` ORDER BY date_Column_Name LIMIT= {$no_days_ago}");[/CODE] Not tested though ;)

Member Avatar for Stefano Mtangoo
0
105
Member Avatar for maxlipman

All resources propose above are great plus [URL="http://devzone.zend.com/article/627"]PHP 101[/URL]

Member Avatar for Stefano Mtangoo
0
79
Member Avatar for Ritesh_4

[url]http://codeigniter.com/forums/viewthread/187949/[/url] [url]http://www.mybelovedphp.com/2009/01/23/netbeans-revisited-code-completion-for-code-igniter/[/url] Both for CI

Member Avatar for Ritesh_4
0
130
Member Avatar for Whilliam
Member Avatar for Stefano Mtangoo

So I was asked to integrate live webcasting in the next version of this website and I have no Idea. I did little reasearch and bump, I only hit shoutcast. May I ask anyone with Idea on good webcasting software for live internet Audio and video broadcasts to throw out. …

Member Avatar for Stefano Mtangoo
0
124
Member Avatar for Dannis86

I would suggest you start with Python, strange mh? Nope! It will teach you good coding style, and basics of programming. Then to do web app you have choice to learn PHP (they are both interpreted so not much PHP specifics to learn) or go for Python frameworks like the …

Member Avatar for Stefano Mtangoo
0
289
Member Avatar for Dani

[QUOTE=The Dude;1550299]My Gosh,when i saw this thread i thought the worst Dani..... (On another site im on we just lost the admin.. (She passed away) and we are all very saddend by this.....) I am sorry Davey is going thru this but im glad he hasnt left us... (Knock on …

Member Avatar for happygeek
0
409
Member Avatar for Stefano Mtangoo

Hello, I was reading web security stuffs and found that user can inject malicious codes mostly JS in forms. Now, What about CKFinder/TinyMCE et al? They obviously produce html and any stripping will destroy the article formatting. bad enough they have a "code mode" where user can enter html directly. …

Member Avatar for Stefano Mtangoo
0
153
Member Avatar for Joshua Kidd

[QUOTE=Joshua Kidd;1564144]I changed it to hid. but it is still giving me that error.[/QUOTE] I would advice that you learn JS library for all your JS operations. JQuery is on top of my recommendation list!

Member Avatar for Joshua Kidd
0
106
Member Avatar for pareshverma91
Member Avatar for left19

are you PHP developer? You can search each function and get explanations from php manual!

Member Avatar for mslade
0
132
Member Avatar for ben.matthews18

I have not understood your question but I think you might need to check table joining, especially inner join. May be explaining what you want to accomplish might help!

Member Avatar for Stefano Mtangoo
0
205
Member Avatar for rhino18

you mean you want to store hashes on user machine? If yes that is bad Idea. Store the hashes in Database and compare with hashes of the password user enters. Also you can think of moving to SHA2 family, particularly SHA512 as SHA1 is no longer what it used to …

Member Avatar for Stefano Mtangoo
0
71
Member Avatar for maxlipman

Hint: offer a form with old password, new passowrd and retype password. If old password matched the current db password and new pass and retyped pass match then update db to reflect new password!

Member Avatar for Stefano Mtangoo
0
223
Member Avatar for skiabox
Member Avatar for lexusdominus

[url]http://msdn.microsoft.com/en-us/library/ms684847%28v=vs.85%29.aspx[/url] [url]http://www.codersource.net/win32/win32-threads/multithreading-in-win32.aspx[/url] I use wxWidgets so I'm encapsulated against win32 things

Member Avatar for octopusgrabbus
0
93
Member Avatar for Hakoo

Get [URL="http://wb.mysql.com/"]MySQL workbench[/URL] and give it a go. If you use netbeans it have services tab and there you can connect

Member Avatar for diafol
0
202
Member Avatar for -==Zero==-

Please rephrase your question. I have not even got a clue of what you want! Try to be specific and give more data like schema et al

Member Avatar for Stefano Mtangoo
0
766
Member Avatar for zulkefli82

You mean scripts pretends intelligence? If so apply captcha and some advanced mechanism of filtering spams. Without your code, those words are enough I guess ;)

Member Avatar for almostbob
0
99
Member Avatar for cliffcc
Member Avatar for Stefano Mtangoo
0
82
Member Avatar for prajesh2

Next time take time to read at least the top of the forum [url]http://www.daniweb.com/web-development/php/threads/191031[/url]

Member Avatar for Stefano Mtangoo
0
241
Member Avatar for s_jmp

from DLL's documentation. I have never been able to see them via dir() maybe another one have!

Member Avatar for bunkus
0
531
Member Avatar for johng123

First use Code tags in your posts. Secondly try to read tutorial in [URL="http://teamtutorials.com/web-development-tutorials/php-tutorials/inserting-data-into-a-mysql-database-using-php"]this link[/URL], since you are new, to get rough Idea of what you are supposed to do!

Member Avatar for johng123
0
399
Member Avatar for Stefano Mtangoo

Hi All, Its long have not been here. Python have been a language that have refused to get off my shoulders. After more than a year or two I'm back. And to cut story shot is, though I love Rhythmbox, It have the poorest Podcasting module I have ever encountered. …

Member Avatar for Stefano Mtangoo
0
296
Member Avatar for Stefano Mtangoo

Hi, I'm making a custom user management class that inherits from DBManager class. The problem I have so far is executing queries using mysqli prepared statements. DB connects fine but then prepare statement fails. I have mysqli object as an attribute that is shared in the class. I'm new with …

Member Avatar for hielo
0
148
Member Avatar for Stefano Mtangoo

Vega had nailed a "Starting Python" thread. I though there should be a place for proposing intermediate and advanced projects so that one can have something to do to improve their skills more. Especially for those who don't do alot of math enough to get the challenges of project eura …

Member Avatar for lrh9
0
6K
Member Avatar for ayesha789

Why waste all the time while you can solve the problem by removing space? I cannot see what is so peculiar about that space. as Ardav said, remove it and you will be fine!

Member Avatar for ayesha789
0
181
Member Avatar for Stefano Mtangoo

Hi, I have Object that performs not only registration/Login but also manages users after the log in. Does it make sense to store object of that class in session or I should only store userID on session and use that to Query DB? My Object will contain user details (Full …

Member Avatar for Stefano Mtangoo
0
110
Member Avatar for newbiecoder

The End.