1,730 Posted Topics

Member Avatar for wazzer225

Why would you do such experiment in the first place? If it is research you would need to know why C++ use new instead of malloc

Member Avatar for Stefano Mtangoo
0
4K
Member Avatar for mary_forum
Member Avatar for ABUMIN

use sub string function to do truncation and then check the next character following last truncated word if it is not space then tokenize the truncated word using space delimiter and remove last token. Then combine the words using space. There might be better way but that is what I …

Member Avatar for Stefano Mtangoo
0
74
Member Avatar for lyrico

RTM is the first procedure! Read it! Then google is your friend! [url]http://www.php.net/manual/en/function.time.php#105547[/url] [url]http://stackoverflow.com/questions/365191/how-to-get-time-difference-in-minutes-in-php[/url]

Member Avatar for Stefano Mtangoo
0
113
Member Avatar for khushhappy

during registration, generate unique code and ask them to change it during first login. Then you will need ajax to change form structure on fly depending on combobox choice and. Then in PHP code you have a field like isTopSecret wich you set true if the man logged with sec …

Member Avatar for chrishea
0
100
Member Avatar for PixelatedKarma

clean, validate and verify all data and users, never trust any input hash all your passwords and salt them with well long and random salt each time there is database access operation requiring critical data, verify user by asking password forms should have expirable tokens there are many angles to …

Member Avatar for Stefano Mtangoo
0
148
Member Avatar for sofia24

[QUOTE=;][/QUOTE] what about ODBC? Google will five you a quick example and explanations

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

Also instead of mysqli_procedure you can use prepared statement. preg_match is a life saver when it comes to validation!

Member Avatar for broj1
3
778
Member Avatar for ayanbizz

[url]http://docs.fedoraproject.org/en-US/Fedora/15/html/Installation_Guide/Making_USB_Media.html[/url]

Member Avatar for ayanbizz
0
262
Member Avatar for miles.fuentes

It will not work. This is just an HTML code. Unless you have plogin somewhere we cannot help you!

Member Avatar for Timroden
-1
149
Member Avatar for Emma Johns

My Best recommendation after W3 Schools is Vikram's [URL="http://devzone.zend.com/article/627"]PHP 101[/URL] EDIT: BradPitt had discussed it already, Sorry!

Member Avatar for diafol
0
118
Member Avatar for YAMNA MIDHAT

[QUOTE=YAMNA MIDHAT;1617746]so can you guys help me in the matter:( an its OK if we don't use much graphics please please help me i have to submit this on first of September.:confused:[/QUOTE] Post your assignment. Either you are not a beginner or you have misunderstood the assignment. If you are …

Member Avatar for YAMNA MIDHAT
-5
4K
Member Avatar for IndianaRonaldo

[QUOTE=prasannaiitg;1632917]Hi, I am looking for some advice here.I have basic knowledge of C++ and regularly write programs in it.I haven't tried anything related to networking in it.I want to start now and I'm clueless about the possibilities.I am novice in knowledge of networks and people have recommended many books but …

Member Avatar for Stefano Mtangoo
0
200
Member Avatar for gatomsgirl

use code tag and post only relevant tag. If you want attach the php file in zip file

Member Avatar for almostbob
-1
297
Member Avatar for RonaldAniban
Member Avatar for culbertculver
0
277
Member Avatar for Stefano Mtangoo

I'm making personal MVC framework skeleton I plan to build all sites on it (reserve your question pls on why not CI or CakePHP et al). Now Thinking of session security, one option is database. I was wondering whether storing session data in root_app/tmp/sessions/ would be better as/more than database! …

Member Avatar for Stefano Mtangoo
0
155
Member Avatar for logan_231_2009

Its wxWidgets but it should not be impossible to translate: [url=http://forums.wxwidgets.org/viewtopic.php?f=1&t=30955]The Concept[/url] [url=http://forums.wxwidgets.org/viewtopic.php?f=1&t=30983]The Implementation[/url] [url]http://www.daniweb.com/software-development/cpp/threads/377342[/url]

Member Avatar for Stefano Mtangoo
0
796
Member Avatar for simulacrx

I have Ubuntu tested on old Presario and HP ProBook. Both went fine. Bu anything bigger than that. I think any modern Laptop is pretty well supported

Member Avatar for Stefano Mtangoo
0
240
Member Avatar for seamus400

AFAIK, bare C++ wont do it! Find specific library like OpenCV or the such. Wxwidgets have image manipulation functionality. But for small task it is an overkill. Or may be compile wxBase only library

Member Avatar for seamus400
0
593
Member Avatar for Stefano Mtangoo

Hi, I'm making an MVC pattern based app and I though I would learn the principles first. I have reached a stage I need to connect the three elements. When Controller receives user action It calls right model. Now I need to register callback function so that when Model is …

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

you can Check [URL="http://zetcode.com/databases/mysqltutorial/"]Jan Bodnar's tutorial[/URL]

Member Avatar for Ancient Dragon
0
328
Member Avatar for Stefano Mtangoo

Anyone who knows how I can download boost library manual in zipped html chm or pdf? I'm not always working with internet and I will be working with some boost libs(latest). Thanks

Member Avatar for vijayan121
0
854
Member Avatar for ppetree

[QUOTE=ppetree;1618953]Because the original work was done using DOM and the spec has changed and I need to support the change without rewritting the entire 1000 lines of code.[/QUOTE] Then rewrite those functions/classes using simpleXML

Member Avatar for iamthwee
0
194
Member Avatar for mouyse

Google please---> [url]http://tinyurl.com/y9zjmhj[/url] Anyway it is PHP framework More lean on Zends web [url]http://framework.zend.com/[/url]

Member Avatar for Stefano Mtangoo
-3
172
Member Avatar for azhpool

[COLOR="Red"]$sql="UPDATE stock WHERE StockID= '$id' (Category, HDDType, HDDConnection, HDDSize, Make, Model, Comments, Date)[/COLOR] Is supposed to be: [CODE=SQL]$sql="UPDATE stock SET Category='3' WHERE StockID= '$id' [/CODE] [url]http://www.1keydata.com/sql/sqlupdate.html[/url] [url]http://sqltutorials.blogspot.com/2008/11/sql-update-multiple-columns.html[/url]

Member Avatar for ddymacek
0
3K
Member Avatar for eoop.org
Member Avatar for jlbmiel

Welcome, Student should work right? We offer assistance not doing assignments and homework

Member Avatar for Stefano Mtangoo
0
51
Member Avatar for mwenyenia07
Member Avatar for Smithy566

login as root to create folder/file [CODE]sudo -i mkdir foldername nano myfilename.txt (Once done press Ctrl+O and Ctrl+X)[/CODE]

Member Avatar for Stefano Mtangoo
0
173
Member Avatar for megachip04

scrolling down you will find exact tutorial for rating system [url]http://phpacademy.org/videos/index.php?all[/url]

Member Avatar for Stefano Mtangoo
0
249
Member Avatar for Stefano Mtangoo

I have been learning PHP MVC pattern and it is pretty cool. have almost finished app and I can see how mess you can make a code without good design. Now can MCV be applied to C++ apps? Where does Plugin manager/Plugins go if that is even possible?In model or …

Member Avatar for Stefano Mtangoo
0
177
Member Avatar for haimz

Write C++ editor with scintilla? Use wordpress plugins? Your question is not even clear

Member Avatar for cereal
0
283
Member Avatar for alfredferg

Using globals is bad Idea. If data is not too heavy, you can use sessions to store them persistently!

Member Avatar for Stefano Mtangoo
0
154
Member Avatar for joomlaoscommerc

Latest in repo is netbeans 6.9 If you insist on installing NB7 then download the bin file and then cd to the directory with netbeans you downloaded: cd /home/xyz/Downloads (Assuming you put it in Downloads folder) chmod +x netbeans_xxxxx.bin sudo ./netbeans_xxxxx.bin

Member Avatar for Stefano Mtangoo
0
79
Member Avatar for extofer

[QUOTE=nev1956;1612012]I have just install Ubuntu as a newbee and I don't even know how and were to start Gnome or any other program, I'm a windows user and now I'm lost. I have got the desk top up but where do I go from that. neville[/QUOTE] Let Old thread die …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for trbograndnat

`Special Info` text, `debtor_ID` int(11) NOT NULL, [B][COLOR="Red"]KEY `vin` (`vin`)[/COLOR][/B] ) ENGINE=InnoDB DEFAULT CHARSET=utf8; Check at that red, what kind of key it is?

Member Avatar for Stefano Mtangoo
0
600
Member Avatar for Stefano Mtangoo

I'm not sure where this post fits, but after staggering here and there I Thought I would throw it here! I find difficult to make coordinates by hand (Not very good at x-y-z though I know the XY coordinate). Is there a tool that will allow you to draw let …

Member Avatar for Stefano Mtangoo
0
236
Member Avatar for niche1

[QUOTE=niche1;1605545]Except $theValue comes from a mysql table. That, apparently, changes things. I've been struggling with this. If you needed to display: <span style=\"background-color:yellow\">Expires ' . $expdat . '. </span> from a mysql table. and $expdat = 06/09/12 How would you do it?[/QUOTE] What is your question? Escape data for DB …

Member Avatar for hielo
0
201
Member Avatar for George.Storm

[QUOTE=George.Storm;1596106]But I can't install the OS, that's the problem I try to, and I'm presented with a screen showing the text above[/QUOTE] Tried Ubuntu? Where did you failed?

Member Avatar for Stefano Mtangoo
0
274
Member Avatar for chaychie

[QUOTE=chaychie;1605519]Yea. It's working. But the same problem happen. The code is working if i connect to my localhost server. However, once i changed to another server, it's now working. Instead of giving me an excel file, it displays all the result on the html page.[/QUOTE] Did you change the file …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for Stefano Mtangoo

May I request there be a security forum(s) so that there be discussion on security issues Thanks!

Member Avatar for Stefano Mtangoo
0
181
Member Avatar for lastgame2007

Session_start() should be at the top of your file. If that is the case then check [URL="http://www.php.net/manual/en/function.session-start.php#97061"]this comment[/URL], you might read all comments too

Member Avatar for faroukmuhammad
0
129
Member Avatar for Paaat

I would use [URL="http://php.net/manual/en/control-structures.foreach.php"]foreach[/URL] in this case

Member Avatar for edwinhermann
0
116
Member Avatar for Stefano Mtangoo

Hi, I'm becoming more paranoid of security issues (Not Insane anyway :)) and would like to ask you guys what do you do to prevent SQL injection apart from using parametrized query and data validation. Thanks

Member Avatar for Stefano Mtangoo
0
125
Member Avatar for kira_

[QUOTE=kira_;1605280]I always get this error: "Error updating joke: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1' at line 1" There's something about this part of my code that causes that error and …

Member Avatar for faroukmuhammad
0
195
Member Avatar for anishpsla

[QUOTE=anishpsla;1593689]Hi friends, This is my first post in this forum.Also first about linux programming. I want to run a small linux application as a deamon. I configure it to load on startup. It's working without any problem. Now I want to get the console window of this deamon if it …

Member Avatar for Stefano Mtangoo
0
215
Member Avatar for ayanbizz

[url]http://fedoraproject.org/download-splash?file=http://download.fedoraproject.org/pub/fedora/linux/releases/15/Live/i686/Fedora-15-i686-Live-Desktop.iso[/url] Also you can use [URL="http://fedoraproject.org/wiki/How_to_create_and_use_Live_USB"]USB drive[/URL] instead of CD/DVD

Member Avatar for Stefano Mtangoo
0
159
Member Avatar for Stefano Mtangoo

Hi, I have The mentioned Box and it is working with windows. But I always use my Linux box (a lot of my data are there) and I would like to use it with Linux (Ubuntu Debian). Please help me point where I can fond drivers. Product: LW-UTVFM USB TV …

0
126
Member Avatar for geekme

In Eclipse: run->run configurations Do server configuration (use selected server->configure) Then run active file using these configs

Member Avatar for Stefano Mtangoo
0
130
Member Avatar for Stefano Mtangoo

This have been a problem to me for long now and I want to settle it once and for all. PHP and MySQL DateTime and date fields have been headache to me. Suppose I have fields ------Name--------------BirthDate--------LastTimeYouAte-- ------VARCHAR(255)------DATE-------------DATETIME-------- Now, When I do insert, How do I format PHP Date and …

Member Avatar for Stefano Mtangoo
0
278

The End.