1,730 Posted Topics
Re: Did you mean [URL="http://php.net/manual/en/mysqli-result.fetch-fields.php"]mysqli_fetch_fields?[/URL] | |
Re: [QUOTE=jorjah;1600779]sorry, im a newbe here![/QUOTE] Welcome but be warned we don't do peoples' assignments and projects! [QUOTE=jorjah;1600779]my project requires a system/software development project proposal document. [B]Using a chosen system/software development model[/B][/QUOTE] Look at the bold and start here. Which model (among those you were taught) have you chose? [QUOTE=jorjah;1600779] and … | |
Re: [QUOTE=observ;1603424]Hey, i updated the script. Still no changes to the database. I think there is something i am missing[/QUOTE] What do you currently have? | |
Re: [QUOTE=xapher19;1603349]For the project I'm working on, it has to have a changeable template system, so the users can make their own HTML templates to work with the system. However, I have no clue how to even go about doing this. Any help would be appreciated, thanks.[/QUOTE] I'm interested to see … | |
Re: Yes, but Aptana is more excellent and can be used as eclipse plugin [url]http://aptana.com/products/studio3[/url] | |
Re: [url]http://stackoverflow.com/questions/2147914/task-scheduling-in-php-on-windows[/url] [url]http://www.phpjobscheduler.co.uk/[/url] [url]http://www.webmasterworld.com/forum88/4652.htm[/url] | |
Re: [QUOTE=abhi10kumar;1602113]I am using session variables, it is working on local but I run on server, it is not running. I am using Jquery[/QUOTE] Where are you running PHP and How? WAMP? LAMP? MAMP? | |
Re: [QUOTE=jollyjain;1600918]@diyvakrishnan thnks ma friend. I have tried both of ur links they were good but still i am at the same place where i was earlier . I tried every possible thing in those links still cdn get it right can u please enlightn me with some more solutions and … | |
Re: [QUOTE=asif49;1600830]I'm a bit new to this so excuse my noobness.[/QUOTE] Welcome! [QUOTE=asif49;1600830]For the website I'm working on - I'm wondering about whether information like images, uploaded files, date of birth, edited details etc. can all be displayed on the same page (specific to the user who has logged in, not … | |
Re: Check JS libraries. They simplify AJAX calls to single or two functions. there is JQuery, Scriptaculous, moo tools et al! | |
Re: [QUOTE=riseguim;1600846][CODE=php]<?php session_start(); if(!isset($_SESSION["username"])) { header('Location: login.php'); exit; } ?>[/CODE] I have this code on the page I want to be password protected. Everything is working perfectly fine on Firefox, but in Internet Explorer it doesn't load the content of the page once the login information has been verified. Any suggestions? … | |
I'm impressed with Aptana Studio 3 and it is wonderful. I have decided to go back to eclipse after years of using Netbeans. In NB I was having option of [B]separating my files from project meta data [/B]but I cannot find how to do it with AS. Also in Netbeans … | |
Re: [QUOTE=a2usmani;1600945]I know nothing about this. Do I have to buy services from another website or do what? Kindly help me out!! Regards, a2usmani[/QUOTE] Either hire a coder to make it for you or "[URL="http://www.w3schools.com/php/default.asp"]know something[/URL]" and code yourself! | |
Re: from SF page: html2fpdf -----> 2005-02-08 Have you checked [url]http://www.fpdf.org/[/url] | |
Re: [QUOTE=ibakir;1599615] so i need a lil description about how to [COLOR="Red"]deal with access level in adobe Dreamweaver cs5[/COLOR] , and sorry for my English :D[/QUOTE] Check the red color and tell me if you are kidding :) Anyway, take look at good answers above! | |
have planned to write my own light weight MVC for PHP, that will be used as base for my sites I develop. I have no problem with PHP, OOP, et al. I have trouble on how to actually load Models In controllers and use them amd loading Controller values into … | |
Re: [QUOTE=emily-bcot;1600026]I'm working on the Help system. In the Help system, there is the WYSIWYG Editor to allow users to input content. However, the content includes the text and image. My question is How to store the content of WYSIWYG Editor into database? I really appreciate all your help. Thanks![/QUOTE] No … | |
Re: [QUOTE=Portgas D. Ace;1546553]Isn't Donating an act of morality, rather then to gain privliges, it's not really donating at all if your getting something in return is it? It's more like buying something. So it's like $4.50 Australian dollars?[/QUOTE] Portgas D. Ace Reputation Points: 17 Solved Threads: 5 [COLOR="Red"]Banned[/COLOR] Portgas D. … | |
Beware of this guy...it seems it is little boy trying to stupidly get accounts. How she/he got my account I don't know. Warn your loved ones...it is suspicious! Check screen-shots [URL="http://mwanateknolojia.wordpress.com/2011/07/07/warning-it-might-well-be-an-attack-hotmail-users/"]here[/URL] [QUOTE]Dear Valued Member, This message is from our data base center to all free Hotmail account owners. We are … | |
Re: [QUOTE=Ancient Dragon;546951]If you install gcc or Dev-C++ you might be able to compile it ok. I[/QUOTE] AD, DevCpp died way back and its MinGW version is likely to be outdates. I know two actively developed IDE both with Mingw bundle and both supports vc compiler too. They are like Essau … | |
Re: These post can be helpful: [url]http://www.ibm.com/developerworks/xml/library/x-youtubeapi/[/url] [url]http://code.google.com/apis/youtube/2.0/developers_guide_php.html[/url] | |
Re: [QUOTE=knitex;1597928]I'm working on this project where they can search a list of names and they can put in a death year that automatically searches for + and - 5 years. [CODE] mysql_connect ("localhost", "root","root") or die (mysql_error()); mysql_select_db ("FHSNL"); $surname = $_POST['surname']; $given = $_POST['given']; $maiden = $_POST['maiden']; $deathbefore = … ![]() | |
Re: Do google a favor, search before posting. Here are some links: [url]http://www.cplusplus.com/forum/general/1125/[/url] [url]http://www.cs.mtu.edu/~shene/COURSES/cs201/NOTES/chap04/prime-1.html[/url] [url]http://www.allinterview.com/showanswers/35346.html[/url] | |
Re: [URL="http://www.daniweb.com/software-development/python/threads/366794"]How much are you going to pay?[/URL] | |
Re: [QUOTE=webdi;1597898]Hi, I've not been successful looking for a solution to my problem. What I need is to password protect a directory. I could use htaccess, but the user doesn't want a pop-up login window. He wants to start on a page with a form with the username and password fields. … | |
Re: DevCpp again! WaltP nailed it, plus you need to update your Mingw and get rid of what came with your IDE. Alternatively use wxDevCpp which is updated version of DevCpp plus wxWidgets RAD [QUOTE=confused_one;1596173]Hi! I am using Dev-C++ and when I am trying to compile a program in it, it … | |
Re: There is topic going on about the same issue: [url]http://www.daniweb.com/web-development/php/threads/370883[/url] | |
Re: [QUOTE=ardav;1595523]users table should have a 'usertype' field, e.g. 0 = unconfirmed, 1 = user, 2 = moderator, 4 = admin etc. Whatever you need. when user logs in, check the DB, get the usertype and place it in a session var as already described. This var then allows or refuses … | |
Re: [QUOTE=WaltP;1594420]For years when people post that they are using Turbo-C/C++ they always get a heated response saying basically "[I]why are you using that piece of sh*t? Use Dev-C++ instead.[/I]" Dev-C++ was being recommended because it's newer, it followed the standard better, it's free, etc. A couple years ago, though, it … | |
Re: You mix things here. Pse take time to read these: [URL="http://php.net/manual/en/pdo.prepared-statements.php"]PDO[/URL] [url]http://www.phpeveryday.com/articles/PDO-Prepared-Statement-P550.html[/url] [URL="http://php.net/manual/en/mysqli.prepare.php"]MySQLi[/URL] [url]http://devzone.zend.com/article/686[/url] The two: [url]http://www.sitepoint.com/forums/php-application-design-147/mysqli-vs-pdo-prepared-statements-665694.html[/url] [url]http://stackoverflow.com/questions/770782/moving-from-mysql-to-mysqli-or-pdo[/url] [url]http://stackoverflow.com/questions/13569/mysqli-or-pdo-what-are-the-pros-and-cons[/url] [url]http://ak33m.com/?p=59[/url] | |
Re: 1. remove quotes in $user = "$_POST[username]"; [CODE=PHP]$user = $_POST['username'];[/CODE] 2. $sql= mysql_query("SELECT username FROM user_info"); ===> It seems you don't know what you are doing (copy and paste?). [URL="http://www.w3schools.com/php/default.asp"]Check this[/URL] and come back if you have any question! | |
Re: I would suggest: 1. Use $_SERVER['PHP_SELF'] for your action 2. At the top of your file put something like if(your_form_is_submitted){ //do your stuffs } 3. Validate using REGEX and PHP's preg_match $match = "/[0-9]/"; $input_from_form = $_POST['my_form_var']; if(!preg_match($match, $input_from_form)){ //echo error here } | |
Re: Just as error says: $out is defined in the Loop and it dies out once loop is finished. Move it out of the loop! [CODE=PHP]$title = $_POST['title']; $post = addslashes($_POST['text']); function nl2p($str) { $arr=explode("\n",$str); $out=""; for($i=0;$i<count($arr);$i++) { if(strlen(trim($arr[$i]))>0) $out.='<p>'.trim($arr[$i]).'</p>'; } return $out; } $post = nl2p($post);[/CODE] | |
Re: Method that get called automatically when objects get created from Class. You can perfom initialization there [CODE=C++]class Person{ public int height, weight; //Ctor - Can be more than one aka overloaded public void Person(){ //Do init here height = 100; weight = 250; } };[/CODE] see: [url]http://en.wikipedia.org/wiki/Class_%28computer_programming%29#Special_methods[/url] [url]http://www.cplusplus.com/doc/tutorial/classes/[/url] | |
Re: tried [URL="http://www.cplusplus.com/doc/tutorial/files/"]this[/URL]? | |
Re: PHP is on server side and HTML page is on client. So practically impossible unless you do echo the variable either hold in session or file to include. Then keep modify that between pages! | |
Re: Check their [URL="http://opencv.willowgarage.com/wiki/OpenCV%20GPU%20FAQ#AreCPUandGPUOpenCVAPIsimilar.3F"]Wiki FAQ[/URL] Else, [URL="http://www.google.com/search?client=ubuntu&channel=fs&q=openCV+GPUAPI&ie=utf-8&oe=utf-8#sclient=psy&hl=en&client=ubuntu&hs=XNW&channel=fs&source=hp&q=openCV+GPU&aq=f&aqi=&aql=&oq=&pbx=1&bav=on.2,or.r_gc.r_pw.&fp=1ec92a21f3882047&biw=1312&bih=595"]google[/URL] is your friend | |
Re: Like ardav said you could use array where username is key and his status be value like evstevemd=>idle and use [CODE=php]if(!array_key_exists($username)){ array[$key] = "active"; }[/CODE] Nothing tested, but just to give an idea! | |
Re: Have you checked [URL="http://php.net/manual/en/reserved.variables.server.php"]$_SERVER?[/URL] [CODE=php]echo $_SERVER['PHP_SELF'];[/CODE] | |
Re: [QUOTE=programmer12;1593670]When is it the best time to close a database connect? Is it good to close it on every scripting page i do that uses it?[/QUOTE] I use a database singleton design pattern. That makes easy with single close throughout the session! | |
Re: Have you ever heard of a beast called [URL="http://en.wikipedia.org/wiki/Ajax_%28programming%29"]AJAX[/URL]? If not try learn it [URL="http://www.w3schools.com/Ajax/Default.Asp"]here[/URL] | |
Re: Next time, post the error message. It is helpful sometimes even without reading a code to spot error! | |
Re: [QUOTE=bangla;1590633]Hi, I was thinking to put people business contact information in my site with their email, phone, address(like list of doctors, lawyers, accounts, ...) in my site. I will collect those information from different news papers. Am i allowed to put those information in my site or i have to … | |
Re: [QUOTE=stranger_on_way;1591835]Thanks pixelsoul... but the problem is i have hundred of quizzes so that would need hundred of separate pages... Can you suggest me any other possible way?[/QUOTE] cant they share single page with different IDs? quiz.php?quizId=123 | |
Re: [QUOTE=britoniah3480;1591382]Like what've said, it's just a Fail safe option where in if "ever" the security failed to protect it from SQLInjections, this will make sure that using an SQL Injection cannot retrieve the Admin accounts. just saying...[/QUOTE] Just a trick, Add LIMIT=1 to your queries that retrieves one record. That … ![]() | |
Re: <form id="form1" name="form1" method="post" [COLOR="Red"][B]action="changepassword.php"[/B][/COLOR]> Where is this file? 1. your code is a bit cluttered 2. Dont use REQUEST! Use explicitly either POST or GET 3. Instead of [CODE=PHP]mysql_connect("$host", "$username", "$password")or die("cannot connect");[/CODE] use [CODE=PHP]mysql_connect("$host", "$username", "$password")or die("Error:" .mysql_error()); [/CODE] and post error message you get! | |
Re: [QUOTE=almostbob;1590273] take your pick[/QUOTE] My Fav is this one [CODE=html]<link rel="stylesheet" type="text/css" href="/menu/menu_style.css">[/CODE] ![]() | |
Re: Check the APIs [url]https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_download_sdks#NVP[/url] | |
Re: have you checked [url]http://drupal.org/node/571206[/url] |
The End.