- Strength to Increase Rep
- +13
- Strength to Decrease Rep
- -3
- Upvotes Received
- 452
- Posts with Upvotes
- 355
- Upvoting Members
- 154
- Downvotes Received
- 12
- Posts with Downvotes
- 11
- Downvoting Members
- 9
I just love PHP, that's all..
- Interests
- Anything with curly brackets and parenthesis. I adore x and y, and so as z.
1,003 Posted Topics
Re: You have all the reason in the world to achieve your grandest dreams. Imagination plus innovation equals realization. - Denis Waitley A spirit of innovation is generally the result of a selfish temper and confined views. People will not look forward to posterity, who never look backward to their ancestors. … | |
Re: If you enjoy mathematics, why not major in mathematics and physics. | |
Re: Hi Dani, My guess is that the constructor of your class is always overloaded. Will it be possible to write a new class that will responsible for checking if there is an instance of Memcached on each page? You can use a simple singleton to act as the director or … | |
Re: Hi, It would help, if you can show us your codes. It does not matter if it is working or not. | |
Re: Hi, Did you try adding a name atribute in your <option>? Like this.. echo '<option name= "title" value=" '. $row['title'] .' ">" '. $row['title'] .' "</option>'; Your query can be modified to something like this.. $query = mysql_query("SELECT * FROM REVIEW WHERE title = '". $_POST['title'] ."'"); !WARNING! Be careful … | |
Re: Here are your problems. connection $con = mysqli_connect("localhost","root","","register"); Second, the mysqli_select_db... mysqli_select_db("register", $con); If you want to use the mysqli_select_db, then connection syntax should be like this. $con = mysqli_connect("localhost","root",""); then we can use mysqli_select_db("register", $con); In mysqli , the error reporting should be written like this. Waring! this is … | |
Re: you can try using the absolute or relative url of the image or try adding file:// ## or file:/// | |
Re: You cannot prevent forum spam regardless of which script you use. I have used phpbb in the past and I was able to minimize the spam by writing my own anti-spam script. I became so obessed in fighting them, that I have to create a dedicated database just for the … | |
Re: Hi, Just my guess, by glancing at your codes, aren't you supposed to post this name="app" to have some value for your second query? Something like this $whatever = $_POST['app']; and then on your query, it can be like this $query="select * from $stuff where appname='$whatever'"; Notice I did not … | |
![]() | Re: Yes, you are correct a clever user can edit their session. Just be very careful and always make sure to manually itimized the session you ONLY! need for the user to move around the site. I don't use this method as strongly suggested by many blog tutorials $this->session->set_userdata(); What I … |
Re: Hi, Try correcting your query to this $str = "SELECT contractno,sname,fname,mi,dob,applno,cpnum,eadd WHERE ((contractno='".$contractno."')AND (sname='".$sname."') AND (fname='".$fname."') AND (mi='".$mi."') AND (dob='".$dob."') AND (applno='".$applno."'")); | |
Re: I wrote a simple class that can tap the youtube API for the audio extraction and then covert to MP3. It is using cURL. Unfurtunately, I cannot share that script because it violates the section[ 11](https://developers.google.com/youtube/terms) of the Google's TOS. MP3 still remains a component of the youtube audio visual.. … | |
Re: The dude can also test it on his CLI like so, php /the_main_cron_class.php movies/cool | |
This is a continuation of our basic tutorial on MVC Framework. In this section, we will be creating the template files for both the TBS and the Smarty template engines. **The recap** In [part one](http://www.daniweb.com/web-development/php/tutorials/476695/part-one-php-mvc-framework-understanding-the-basics), we have created application controllers, models, and the one and only lone View class. Once … | |
Re: This might not be the answer to your question, but I still want to bring it up for clarification. When you created the database user on your cpanel, did you grant this user the proper privileges? Is the user allowed to access and have privilege for the database? | |
![]() | Re: Like what Pritaeas and Cereal said, Laravel is well coded from the beginning to end. Laravel is also built upon Symfony Components without the Twig. I have seen questions on the web asking which one is better Symfony or Laravel. This question seems to be valid and yet Ignorant and … ![]() |
![]() | Re: Please allow me to give a simple example. First, we will use this script right [here](http://phppot.com/php/php-ajax-image-upload/). We will make some minor modifications so that it can work inside CI. Download and unzipped the zip file. We will create our simple ajaxupload controller. This is going to be very basic. In … |
Re: var_dump($pkcs12) , what do you get? Is it the right structure expected by the webservice? e.g. Array ( [this_array] =>( [something] => something_value)[another_array]=>[index_b] =>[value_b])) | |
Re: The problem with the HTML5 is that not all browsers support the same video codec. Because of this, you will have to encode two to three different video formats to support common browsers. This will take more space. What I can suggest is to use the .mp4 video and deliver … | |
![]() | Re: Hey, that's pretty cooool. :). |
Re: I am also a big fan of the separation of business logic and presentation logic. In fact, I have attempted to create a very simple template engine that can run simple html rendering from a parent text file serving as the main template file. For the sake and for the … | |
Re: Pretty much all of the frameworks have a pretty good security. Companies geared in ecommerce development based on Magento will require you to know Zend. Magento is based on the Zend Framework. However, there is a pretty steep learning curve in Zend. You will have to know the basics of … ![]() | |
This tutorial is intended for people who are looking for alternative to PHP template engines like smarty, twig, dwoo, TBS, and others. Not all developers are willing to take the extra efforts needed to learn the template engine syntax. Some are just left behind thinking that PHP is a template … | |
Re: I totally agree with Ajay, the CI library for validating form is called **form_validation**. | |
Re: What kind of error are you getting? ![]() | |
Re: hi, Just want to add something.. This $OOO000000 is equal to fg6sbehpra4co_tnd.. The strings are encoded in such a manner that O is equavalent to 1 where as... $OOO0000O0 is formulated dependent and referenced to 11100010 which is equavalent to 226 in human numbers..and this $OOO0000O0=$OOO000000{4} is actually equal to … | |
Re: Have you look at[ DNN](http://www.microsoft.com/web/gallery/dotnetnuke.aspx) (DotNetNuke) | |
Re: Here is how you can start in 10 minutes or less. (Windows) **1 - 3 minutes :** download and install your [flavor](http://nodejs.org/download/). **4 - 5 minutes :** open command prompt assuming your installation is on windows and on c drive. cd to the nodejs directory C:\>cd nodejs hit enter and … | |
Re: Cereal's instruction is precise. The php not recognized as internat or external command error is probably due to your system setting. 1. Open your command prompt. 2. type php -v you should see what version of php is on your computer. If you don't see this, then you will have … | |
Re: > I am new to yii and php and i want to deleveop a database design for school exam time table and maintain the time table for school management. How can I procced the same? If you are new to PHP and PHP MVC framework like yii, I don't see … ![]() | |
Re: I don't mean this personally, but the class above will eat the server resources like a hog. It is a class of too many methods. One probable solution I can think of is to break this class into multiple classes. There is a design pattern called Abstract Factory/Factory Method patterns … | |
Re: I guess you can store the them in session as an array.However, before doing so, you need to fix your form first. | |
Re: run this. Values of the array are the most commonly used in CMS application. <?php $server_min = array( 'max_execution_time' => 1000, 'max_input_time' => 1000, 'upload_max_filesize' => '200M', 'post_max_size' => '200M' ); function get_php_ini_settings($server_min = array()) { $res = ''; foreach($server_min as $setting => $value){ $res .= "$setting : ".ini_get( $setting … | |
Re: you need to echo this whole thing <input type="text" name="ptype" id="ptype" value="<?php $SCYQ64TYPE1 = $ex1["SCYQ64TYPE"]; echo $SCYQ64TYPE = trim($SCYQ64TYPE1) ?>" readonly > and this one if($q!='') should be written like this if($q!=='') Alternatively, Gabriel is correct about JQuery option. It is a lot easier to use jquery libraries. | |
Re: @JohnPeter, Please learn the basic first. Have you ever heard about these responsive frameworks? bootstrap 960 Grid System Foundation 5 Yaml:4 I could go on for hours, but it is your turn now and I want you to research for the remaining responsive frameworks. Hint: they are more than 25 … | |
Re: The owner might be referring to a function that is already on the script or function you need to create. It is really hard to speculate what the owner meant by "use function", until you show us some codes. | |
Re: I Honestly believe that balance carry forward has nothing to do with PHP. I am assuming that this teminology may have something to do with financial reporting, or any calculation reflecting a remainder critical for the next calculation. Unless, I completely missed this subject matter. **I don't feel like giving … | |
Re: I think you have arrived to the right place. About your opening question, I am not sure what will work for you and what will not. However, when I was a lot younger than today, I wanted to learn MVC pretty bad. In fact, I was losing some pretty good … | |
Re: if you run your code in the console environment like CLI in PHP, this <!DOCTYPE html> <?php ?> can create problem. You just need to reconsider what you wrote on your code editor. Think about which comes first and last? so, if submit button is set, the user gets redirected, … | |
Re: First, I honestly believe that you should consult a copyright attorney. There is no way I have the training and any knowledge in giving legal advice in software licensing. Software licensing is one of the most complicated one to understand. Most developers engaged in enterprise level open sources applications e.g. … | |
Re: I hope Mr. LDA don't mind me posting response on this thread. Do you have composer.json inside your node directory? | |
Re: There is nothing wrong, but why? <input type="file" name="0" id="box"> I hope you are aware that it can be viewed as an integer and maybe bolean if not careful. $x = 5 + "0 cups of coffee"; $y = 5 + "5 cups of coffee"; will give $x = 5 … | |
Re: for html5, you can probably use object like this.. <body> <object name="header" type="text/html" data="head.html"></object> <br /> <object name="footer" type="text/html" data="footer.html"></object> </body> I am not sure though, but you can refer to the documentation [here](http://www.w3.org/TR/html5/). I am not really sure if we can use two objects .. **Update:** yes we can … | |
Re: as per the title of your thread where it says "XAMPP", you need to start the xampp control panel and then start the apache and mysql services. then direct your browser to localhost/youphp_file.php You cannot save pages with PHP codes in them as .hml document. You can however save php … | |
Re: you can also try and look at [video.js](https://github.com/videojs/video.js/wiki/Plugins). | |
Re: two ways you can do what you wanted. first, can do it with javascript. second, add this above your image submit button <input type="hidden" name="submit" /> | |
Re: can you give us the object of nusoap and the method you want to pass the are array? | |
Re: on your hosts file on the host machine give it a directives as IP of the virtual machine e.g xxx.xxx.x.xx alias or domain name of the server in the virtual machine if that does not work, read my other response on the other thread you have posted a while ago. | |
Re: The ID on your second table must be set to auto-increment. Another possible problem ahead is that you have too many identical columns between 1st and 2nd tables. 2nd table can be something like this . Assuming that the game serve like a category. +----+--------+--------+--------+ + ID + ITEM + … | |
Re: Your information is not complete. Please let us know the following Are you hosting your own site on your desktop? Is your desktop IP address static? Have you look into Uniform server, before deciding in using WAMP? Which DNS service are you using? Does it auto update as your IP … |
The End.