Posts
 
Reputation
Joined
Last Seen
Ranked #95
Strength to Increase Rep
+13
Strength to Decrease Rep
-3
97% Quality Score
Upvotes Received
452
Posts with Upvotes
355
Upvoting Members
154
Downvotes Received
12
Posts with Downvotes
11
Downvoting Members
9
88 Commented Posts
~684.05K People Reached
About Me

I just love PHP, that's all..

Interests
Anything with curly brackets and parenthesis. I adore x and y, and so as z.
Favorite Tags
Member Avatar for MissQT
Member Avatar for vegaseat

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. …

Member Avatar for Reverend Jim
15
13K
Member Avatar for Dani

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 …

Member Avatar for Dani
0
1K
Member Avatar for sudharshan9xweb
Member Avatar for subuhi_1
0
586
Member Avatar for MattD00

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 …

Member Avatar for Jurijus
1
4K
Member Avatar for John_74

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 …

Member Avatar for pritaeas
0
16K
Member Avatar for Prateek_2

you can try using the absolute or relative url of the image or try adding file:// ## or file:///

Member Avatar for nhantam
0
2K
Member Avatar for game4tress

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 …

Member Avatar for happygeek
0
1K
Member Avatar for websponge

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 …

Member Avatar for Ronie_1
0
3K
Member Avatar for iamthwee

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 …

Member Avatar for owlowl076
0
8K
Member Avatar for EMP01616

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."'"));

Member Avatar for cereal
2
7K
Member Avatar for JackticalNuke

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.. …

Member Avatar for tiểu
0
2K
Member Avatar for Prateek_2

The dude can also test it on his CLI like so, php /the_main_cron_class.php movies/cool

Member Avatar for Arfan_1
0
6K
Member Avatar for veedeoo

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 …

Member Avatar for Geetha_1
3
8K
Member Avatar for Acurapassion

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?

Member Avatar for cereal
0
524
Member Avatar for iamthwee

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 …

Member Avatar for diafol
0
740
Member Avatar for iamthwee

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 …

Member Avatar for Freddy_2
0
4K
Member Avatar for Tinnin

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]))

Member Avatar for Nicolás
0
7K
Member Avatar for Khalilur_1

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 …

Member Avatar for Ashley_9
0
350
Member Avatar for iamthwee
Member Avatar for rubberman

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 …

Member Avatar for TexWiller
3
2K
Member Avatar for chaitu11

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 …

Member Avatar for diafol
0
288
Member Avatar for veedeoo

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 …

Member Avatar for Gideon_1
6
2K
Member Avatar for murugami eric

I totally agree with Ajay, the CI library for validating form is called **form_validation**.

Member Avatar for tapfumamanhanga
0
3K
Member Avatar for chozotheqhai
Member Avatar for 88dbsakthi

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 …

Member Avatar for KaSHihaXor
0
500
Member Avatar for sirushti
Member Avatar for tlcd_vip
0
270
Member Avatar for shammi.khan.73

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 …

Member Avatar for Squiva
0
319
Member Avatar for darrylnuyda

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 …

Member Avatar for Le_1
0
1K
Member Avatar for Selvakumark11

> 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 …

Member Avatar for diafol
0
2K