1,730 Posted Topics
Re: may be this [URL="http://www.php.net/manual/en/ftp.examples-basic.php"]FTP example[/URL] could further your research | |
Re: 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! | |
Re: 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 | |
Re: [url]http://mathbits.com/mathbits/compsci/arrays/Quick.htm[/url] [url]http://www.cplusplus.happycodings.com/Data_Structures/code11.html[/url] | |
Re: 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] | |
Re: 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 | |
Re: [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 … ![]() | |
Re: [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 … | |
Re: 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, … | |
Re: 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 | |
Re: 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 | |
Re: [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 … | |
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 … | |
Re: [QUOTE=ello;1330266]Fixed echo '<a href="index.php?act=generate_quotes&beginCount&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 ![]() | |
Re: [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 … | |
Re: 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 … | |
Re: [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 … | |
Re: 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 | |
Re: Let [URL="http://www.daniweb.com/forums/thread78223.html"]old thread die[/URL] and start new ones | |
Re: Why would you want to run exe on local file system? Can't it be accomplished via pure PHP solution? | |
Re: 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++ | |
Re: [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> … | |
Re: 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 | |
Re: 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] | |
Re: 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 | |
Re: OS? Close and open? Sorry I use Netbeans | |
Re: 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 … | |
Re: Go for [URL="http://www.phpbb.com/"]PHPBB3[/URL]. AFAICS, it comes close to VBulletin if you customize it enough! | |
| |
Re: 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] | |
Re: If it doesn't support something and you *must* do it that way, get another IDE temporarily or for good | |
Re: 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 ![]() | |
Re: [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 | |
Re: [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 … | |
Re: 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 | |
Re: 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 | |
Re: 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 | |
Re: 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 … | |
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 … | |
Re: 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 | |
Re: 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 … | |
Re: [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 | |
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 … | |
Re: and GUI2exe if you a lazy like me to use setup.py. Gavana did it for us :) | |
Re: [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 … | |
Re: [CODE=SQL]DROP tabble_name ;[/CODE] don't condemn me, that is from heading ;) Now, seriously PMC have got it! | |
Re: where do you insert date picker? Did you meant to post the above code? |
The End.