1,730 Posted Topics
Re: 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! … | |
Re: 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 | |
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 … | |
Re: [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 … | |
Re: [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 … | |
![]() | |
Re: [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 … | |
Re: 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. | |
Re: 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] | |
Re: 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! | |
I need this to work with my Huawei modem I have Win Vista 32 bit | |
Re: echo the values of Post and see if they work then from there we can track the query. | |
Re: [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 … ![]() | |
Re: 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 :) ![]() | |
Re: [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 … | |
Re: 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 :) | |
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 :) | |
Re: 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!! | |
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 … | |
Re: parse the urls and search for image extensions like jpg, gif, et al | |
Re: 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 | |
Re: 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 ;) | |
Re: All resources propose above are great plus [URL="http://devzone.zend.com/article/627"]PHP 101[/URL] | |
Re: [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 | |
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. … | |
Re: 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 … | |
Re: [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 … | |
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. … | |
Re: [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! | |
Re: hook bash via subprocess module? | |
Re: are you PHP developer? You can search each function and get explanations from php manual! | |
Re: 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! | |
Re: 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 … | |
Re: 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! | |
Re: [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 | |
Re: 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 ![]() | |
Re: 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 | |
Re: 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 ;) | |
Re: I wonder how you guys understood the question. Am I that dumb? | |
Re: Next time take time to read at least the top of the forum [url]http://www.daniweb.com/web-development/php/threads/191031[/url] | |
Re: from DLL's documentation. I have never been able to see them via dir() maybe another one have! | |
Re: 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! | |
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. … | |
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 … | |
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 … | |
Re: 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! | |
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 … | |
Re: practicing makes perfect! |
The End.