- 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.
Re: If you enjoy mathematics, why not major in mathematics and physics. | |
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: 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 … |