1,730 Posted Topics

Member Avatar for BzzBee

may be this [URL="http://www.php.net/manual/en/ftp.examples-basic.php"]FTP example[/URL] could further your research

Member Avatar for accountholder
0
155
Member Avatar for kamking

I'm good at doing that work (No proud intended), I have done to many, but can't disclose here because I'm not sure if you are genuine user and owner or just want to crack into another's machine! Sorry I cannot help for that reason!

Member Avatar for amit7827
0
228
Member Avatar for Arthas

Since it seems you are beginning in Boost, I may well suggest you check [URL="http://pocoproject.org/docs/"]POCO[/URL]. It is said that they are simple though haven't used them, nor boost

Member Avatar for Stefano Mtangoo
0
486
Member Avatar for MisterBook

[url]http://mathbits.com/mathbits/compsci/arrays/Quick.htm[/url] [url]http://www.cplusplus.happycodings.com/Data_Structures/code11.html[/url]

Member Avatar for MisterBook
0
133
Member Avatar for jhonnyboy

I hope these links will give you head up. [url]http://ubuntuforums.org/showthread.php?t=739998[/url] [url]http://technoemperor.blogspot.com/2008/05/acer-aspire-4720z-my-new-laptop.html[/url]

Member Avatar for BreezeHost
0
263
Member Avatar for kuen

Make a function that inputs a number and returns a valid result. Then Call that function in all "ask the user" logic Make another one for displaying numbers to avoid duplicate codes. Other like converting so-to-so are math issue

Member Avatar for kuen
0
117
Member Avatar for Dante2

[QUOTE=Dante2;1330012]Ok, I have to do an assignment for cass. The teacher wants us to use a FOR loop to print out only first three variables stored in an array called $birds. How do I use a FOR loop to print out only those first three? And furthermore, how would I …

Member Avatar for nevvermind
0
102
Member Avatar for Pado

[QUOTE=Pado;1331483]This is definitely a PHP question. Here's a code sample of what I'm talking about: [code] try { $product = new Categories(DB_SERVER, DB_USER, DB_PASS, DB_NAME); $product->setCategoryName($categoryName); $product->setTableName("$tableValue"); $product->readKeyArray($keyArray, $valueArray); $product->enterCategoryInDB(); $product->getCategoryID(); } catch (Exception $e) { echo $e->getMessage(); } [/code] Is this kind of coding only meant for the testing …

Member Avatar for Stefano Mtangoo
0
180
Member Avatar for dev.vini
Member Avatar for aycmike
Member Avatar for Stefano Mtangoo
0
122
Member Avatar for HedoBum

Karibu Daniweb (Welcome to Daniweb) Since your odyssey is just starting and taking account of your background, PHP code won't make much sense if any at all. I advice you do crash course with [URL="http://php.net"]PHP [/URL]and [URL="http://mysql.com"]MySQL[/URL]. you have two "colleges" to learn that. Either [URL="http://www.tizag.com/mysqlTutorial/"]Tizag [/URL]or [URL="http://www.w3schools.com/php/default.asp"]w3School[/URL]. After that, …

Member Avatar for Stefano Mtangoo
0
181
Member Avatar for s_kanika

1. what is your question now. 2. Where is the code for the php file I hope you will read [URL="http://www.daniweb.com/forums/thread78223.html"]this[/URL] and follow instructions

Member Avatar for Stefano Mtangoo
0
128
Member Avatar for Dorayaki

First [URL="http://php.net/manual/en/function.md5.php"]RTM[/URL] because there are discussions under each function. [URL="http://en.wikipedia.org/wiki/Salt_%28cryptography%29"]Wikipedia [/URL]give an idea of salting and [URL="http://www.5etdemi.com/blog/archives/2005/06/security-salting-md5/"]this tutorial[/URL] may help you

Member Avatar for cwarn23
0
80
Member Avatar for ﻼim

[QUOTE=ﻼim;1323063]:$ sorry for that again. how may i edit or delete this post? thanks.[/QUOTE] Just translate for us and state why you posted and that is enough. And.. which language is that? [B]then sa baba is ilalabas nya yung results. at kapag naclick mo yung certain result then nafifill in …

Member Avatar for ﻼim
0
107
Member Avatar for Stefano Mtangoo

Seeing we can do it with structs, why do we need classes? See the code and quote from [URL="http://publib.boulder.ibm.com/infocenter/comphelp/v8v101/index.jsp?topic=/com.ibm.xlcpp8a.doc/language/ref/cplr054.htm"]Link[/URL] [QUOTE="IBM Developer"]The C++ class is an extension of the C language structure. Because the only difference between a structure and a class is that structure members have public access by default …

Member Avatar for LordNemrod
0
102
Member Avatar for ello

[QUOTE=ello;1330266]Fixed echo '<a href="index.php?act=generate_quotes&amp;beginCount&amp;cb='.time().'" id="xavisys-logo" onClick="myinfo(); return false;"></a>';[/QUOTE] And interaction between server side language like PHP and client side language like JS is best done via AJAX

Member Avatar for diafol
0
165
Member Avatar for KrazyKitsune

[QUOTE=KrazyKitsune;1330364]Unicode: I would like to use the radical symbol (U + 221A) in my script. How do you print the Unicode without an error? Super/Subscript: Is it possible to make a variable superscripted (and subscripted, for that matter)?[/QUOTE] @1st question, I believe Python is unicode capable. so i guess normal …

Member Avatar for woooee
0
94
Member Avatar for Muazam

mschroeder have nailed everything IMHO. [QUOTE=zark_yoc;1329985][code=php] class databaseaction { private $db_host; private $db_user; private $db_passwd; public funciton dbconnect($dbhost, $dbuser, $dbpasswd) { $this->db_host = $dbhost; $this->db_user = $dbuser; %this->db_passwd = $dbpasswd; mysql_conncet($this->db_host, $this->db_user, $this_passwd) or die (mysql_error()); } // other function } [/code] i long time no write php script. maybe …

Member Avatar for zark_yoc
0
314
Member Avatar for eduard77

[QUOTE=eduard77;1330524]I understood that I need a for loop to increment the first number but I do not need an expression like this for the second one also? I do not understand the expression sum+ =i, it increments sum? and if it does why?[/QUOTE] [CODE=C++]sum+ =i ;[/CODE] is equivalent to [CODE=C++]sum=sum+i …

Member Avatar for Ancient Dragon
0
85
Member Avatar for KrazyKitsune

I will throw my 2 cents on this. 1. raw_input() returns string eve if keyboard stroke was of integer. 2.To change things into integer use int() function. 3. if..elif...elif...elif..else gives you branching according to condition

Member Avatar for Stefano Mtangoo
0
621
Member Avatar for munyu

Let [URL="http://www.daniweb.com/forums/thread78223.html"]old thread die[/URL] and start new ones

Member Avatar for Stefano Mtangoo
0
106
Member Avatar for tAALz

Why would you want to run exe on local file system? Can't it be accomplished via pure PHP solution?

Member Avatar for chrishea
0
7K
Member Avatar for charlesnazereth

use the lib file to do linking and at runtime it will load the DLL. Just add the .lib file to linker and .h to project and there you go. I use CodeLite so I cannot help on VC++

Member Avatar for chococrack
0
168
Member Avatar for RazorRamon

[QUOTE=RazorRamon;1328305]pricing.htm [icode] <div id="para"> <form method="post" action="pricing.php"> <textarea name="pages" value="" rows="1" cols="5"/> </textarea> Pictures<input type="radio" name="pictures" value="50"> <input type="radio" name="pictures" value="25" checked> <input type="radio" name="pictures" value="0"><br> Literature<input type="radio" name="literatures" value="100"> <input type="radio" name="literatures" value="50" checked> <input type="radio" name="literatures" value="0"><br> <br> Pictures<input type="checkbox" name="picture value="50" ><br> Page<input type="checkbox" name="literature" value="50" ><br> …

Member Avatar for RazorRamon
0
192
Member Avatar for gudumba

I recommend [URL="http://docs.python.org/library/shutil.html"]Shutil[/URL] module for file operations. You can even make class to deal with all basic file operations

Member Avatar for Stefano Mtangoo
0
188
Member Avatar for sanjuonline

I wonder you want to make a clone of site you haven't reasearched. Just do you [URL="http://en.wikipedia.org/wiki/MediaFire"]homework [/URL]and come up with conclusion; either to code yours or use CMS Check open source CMSes [URL="http://php.opensourcecms.com/"]here[/URL]

Member Avatar for Stefano Mtangoo
0
689
Member Avatar for ahem

Where is your code? That is called customer specifications! Do you need someone to hire? Hope you read [URL="http://www.daniweb.com/forums/thread78223.html"]this[/URL] before posting

Member Avatar for Stefano Mtangoo
-1
68
Member Avatar for ad7u
Member Avatar for Triztian

Darkagn, do I miss something here. I think you forgot else clause. I stand to be corrected though. I think if you call the function twice it wont return anything as the MYSQLDB::instance will not be null. Also in C++ you must Delete the instance once used but I think …

Member Avatar for Stefano Mtangoo
0
297
Member Avatar for arithehun

Go for [URL="http://www.phpbb.com/"]PHPBB3[/URL]. AFAICS, it comes close to VBulletin if you customize it enough!

Member Avatar for Stefano Mtangoo
0
85
Member Avatar for Kadafiz
Member Avatar for ayooshkasmth

you do it wrong! [CODE=PHP]$id = 020303; $query = "INSERT INTO parent (id, parent_name) VALUES ('$id','$parent_name')"; $result = mysql_query($query) or die(mysql_error()); session_start(); $_SESSION['id']=$id;[/CODE]

Member Avatar for ayooshkasmth
0
160
Member Avatar for NewOrder

If it doesn't support something and you *must* do it that way, get another IDE temporarily or for good

Member Avatar for JamesCherrill
0
201
Member Avatar for ello
Member Avatar for ben.matthews18

you should add another [COLOR="Red"]UNIQUE[/COLOR] filed which will act as [URL="http://www.w3schools.com/sql/sql_primarykey.asp"]primary key[/URL]. Then you will use the primary key to get any record without conflict and database will not allow more than one same primary key something like: user_id, first_name, last_name, email

Member Avatar for diafol
0
121
Member Avatar for camelCase

[QUOTE=XMasterrrr;1324895]just change the compiler to VS 2010 or QT 4.[/QUOTE] QT is not compiler but GUI toolkit. may be you meant MinGW that comes with QT's IDE

Member Avatar for Stefano Mtangoo
0
298
Member Avatar for jjemphoung

[QUOTE=jjemphoung;1324859]Hosted on an external server? I am using WAMP which means my server is my computer. So, does it mean that i can actually run my php-mysql script in my machine without internet connection? thank you![/QUOTE] The meaning is, if all the pages and resources (like images et al) are …

Member Avatar for hielo
0
709
Member Avatar for gtcoder

I use Netbeans and I tossed eclipse long time ago ;) If you can go somewhere in plugins option you just need to [URL="http://ubuntuforums.org/showthread.php?t=415512"]install [/URL]PDT (PHP Development tools). IMHO In Netbeans things are easier than eclipse, but then it boils down to preference. You can try [URL="http://wiki.eclipse.org/PDT/Installation"]this [/URL]offical link

Member Avatar for Stefano Mtangoo
0
97
Member Avatar for OpenBSD

I don't know direct answer to this but, [URL="http://codeigniter.com/"]CodeIgniter [/URL]uses this kind of url. If you are not faint hearted you can poke and see else just learn to use the framework

Member Avatar for Stefano Mtangoo
0
70
Member Avatar for JBLDW

Hi, Use JQuery auto complete. Just get yourself familiar with JQuery and look at [URL="http://docs.jquery.com/UI/Autocomplete"]autocomplete[/URL] from JQuery UI

Member Avatar for JBLDW
0
107
Member Avatar for cristi08

Here is simple form, take it as assignment and play with it to use update and other queries. Use it as your toy for learning [CODE] <?php $first_name = $_POST['fname']; $last_name = $_POST['lname']; $email_name = $_POST['email']; $sql = "INSERT INTO address(firstname, lastname, email) VALUES('$first_name', '$last_name','$email_name')"; mysql_query($sql); ?> <html> <body> <form …

Member Avatar for MooGeek
0
77
Member Avatar for Stefano Mtangoo

Hello All, I want to make a CD/DVD Library where by an admin can do all the operations while any other norma user can do limited operations (simply browsing and searching). I'm still organizing and doing simple design and I need your opinions on this: 1. What is the best …

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

Why not send link to your user for [URL="http://www.sony-ak.com/2010/02/create-a-simple-forget-password-feature-using-php/"]changing password[/URL]? The [URL="http://qualitypoint.blogspot.com/2010/03/sample-php-code-for-creating-forgot.html"]feature [/URL]is very useful

Member Avatar for andydeans
0
157
Member Avatar for medopunsher

why using Windows thing in QT, I mean QT is designed to be Xplatform and using windoish stuffs limits the very purpose. If you plan to use it in windows then go for Win32 API, or stay away from windowing and do it QT way :) Having said so, I …

Member Avatar for Stefano Mtangoo
0
115
Member Avatar for newtoajax

[QUOTE=newtoajax;1317847]The code is working now. The change you suggested in addition to few other changes worked. Thanks a ton.. :). Will be posting the working code soon.[/QUOTE] And please use code tags. I have found very difficult to follow your code without an editor here

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

Hi, I have a page where I include another page passed via url Url is something like [B][url]http://www.daniweb.com/newthread.jsp?page=24[/url][/B] and I get the variable as [CODE=JAVA]String thePage = request.getParameter("page") ;[/CODE] Now I want to include it in my page and the code below doesn't work. I have googled and I cannot …

Member Avatar for Stefano Mtangoo
0
198
Member Avatar for Deeplop
Member Avatar for snippsat
0
193
Member Avatar for udtohan_noriel

[QUOTE=daviddoria;1321567]Just store the words in a [icode]std::vector<std::string>[/icode] and then output the appropriate word with [icode]std::cout << words[i];[/icode]. You could alternatively use a [icode]switch[/icode] statement. In the future, please use more descriptive thread titles! David[/QUOTE] I agree with you Dave, but since he said is newbie I think he should start …

Member Avatar for Duki
0
318
Member Avatar for slap01

[CODE=SQL]DROP tabble_name ;[/CODE] don't condemn me, that is from heading ;) Now, seriously PMC have got it!

Member Avatar for Stefano Mtangoo
0
119
Member Avatar for Papitha Murugan
Member Avatar for Stefano Mtangoo
0
81

The End.