1,730 Posted Topics

Member Avatar for Jiaxin

Did you mean [URL="http://php.net/manual/en/mysqli-result.fetch-fields.php"]mysqli_fetch_fields?[/URL]

Member Avatar for Stefano Mtangoo
0
680
Member Avatar for jorjah

[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 …

Member Avatar for jorjah
0
89
Member Avatar for observ

[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?

Member Avatar for Stefano Mtangoo
0
887
Member Avatar for xapher19

[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 …

Member Avatar for xapher19
0
361
Member Avatar for geekme

Yes, but Aptana is more excellent and can be used as eclipse plugin [url]http://aptana.com/products/studio3[/url]

Member Avatar for ulyssey
0
167
Member Avatar for 54uydf

[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]

Member Avatar for Stefano Mtangoo
0
106
Member Avatar for aphpdeveloper
Member Avatar for aphpdeveloper
1
263
Member Avatar for abhi10kumar

[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?

Member Avatar for cjohnweb
0
144
Member Avatar for jollyjain

[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 …

Member Avatar for Stefano Mtangoo
0
293
Member Avatar for asif49

[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 …

Member Avatar for asif49
0
143
Member Avatar for klemme

Check JS libraries. They simplify AJAX calls to single or two functions. there is JQuery, Scriptaculous, moo tools et al!

Member Avatar for Stefano Mtangoo
0
179
Member Avatar for riseguim

[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? …

Member Avatar for karthik_ppts
0
180
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for ulyssey
0
289
Member Avatar for a2usmani

[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!

Member Avatar for chrishea
0
81
Member Avatar for masocha

from SF page: html2fpdf -----> 2005-02-08 Have you checked [url]http://www.fpdf.org/[/url]

Member Avatar for chrishea
0
84
Member Avatar for ibakir

[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!

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
399
Member Avatar for emily-bcot

[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 …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for sergent

[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. …

Member Avatar for Stefano Mtangoo
0
334
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
333
Member Avatar for yazooney

[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 …

Member Avatar for chevuru.anil
0
2K
Member Avatar for aloul84

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]

Member Avatar for aloul84
0
278
Member Avatar for knitex

[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 = …

Member Avatar for diafol
0
116
Member Avatar for ben1996123

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]

Member Avatar for fibbo
0
158
Member Avatar for Siberian

[URL="http://www.daniweb.com/software-development/python/threads/366794"]How much are you going to pay?[/URL]

Member Avatar for MooGeek
0
193
Member Avatar for webdi

[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. …

Member Avatar for Stefano Mtangoo
0
203
Member Avatar for confused_one

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 …

Member Avatar for Stefano Mtangoo
1
4K
Member Avatar for mgt

There is topic going on about the same issue: [url]http://www.daniweb.com/web-development/php/threads/370883[/url]

Member Avatar for Stefano Mtangoo
0
563
Member Avatar for feedz87

[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 …

Member Avatar for mgt
0
2K
Member Avatar for WaltP

[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 …

Member Avatar for pseudorandom21
0
1K
Member Avatar for Jhon E

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]

Member Avatar for Stefano Mtangoo
0
145
Member Avatar for wilko1995

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!

Member Avatar for karthik_ppts
0
110
Member Avatar for Xufyan

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 }

Member Avatar for Stefano Mtangoo
0
361
Member Avatar for tape enterprise

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]

Member Avatar for MooGeek
0
96
Member Avatar for TheLittleEngine

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]

Member Avatar for Stefano Mtangoo
0
214
Member Avatar for SilentCoder
Member Avatar for m4ster_r0shi
0
11K
Member Avatar for rouse

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!

Member Avatar for rouse
0
168
Member Avatar for Mahsa_C++

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

Member Avatar for Stefano Mtangoo
0
150
Member Avatar for Tomashqooo

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!

Member Avatar for Stefano Mtangoo
0
167
Member Avatar for bipies

Have you checked [URL="http://php.net/manual/en/reserved.variables.server.php"]$_SERVER?[/URL] [CODE=php]echo $_SERVER['PHP_SELF'];[/CODE]

Member Avatar for Stefano Mtangoo
0
246
Member Avatar for programmer12

[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!

Member Avatar for programmer12
0
118
Member Avatar for 7kemZmani

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]

Member Avatar for Stefano Mtangoo
0
152
Member Avatar for riotburn

Next time, post the error message. It is helpful sometimes even without reading a code to spot error!

Member Avatar for Stefano Mtangoo
0
199
Member Avatar for bangla

[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 …

Member Avatar for bangla
0
186
Member Avatar for stranger_on_way

[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

Member Avatar for ko ko
0
161
Member Avatar for MooGeek

[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 …

Member Avatar for diafol
0
136
Member Avatar for amras123

<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!

Member Avatar for ko ko
0
177
Member Avatar for manchurianCEO

[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]

Member Avatar for diafol
0
122
Member Avatar for Besherek

Check the APIs [url]https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/library_download_sdks#NVP[/url]

Member Avatar for Stefano Mtangoo
0
303
Member Avatar for Mr.UNOwen

The End.