1,003 Posted Topics

Member Avatar for MrXortex

Can you please confirm that the above backend controller is named search.php? <form action="<?php echo site_url('search'); ?>" method="GET"> The form attribute action should be in the condtroller's object/object's method convention. So, If we want to process the form above, the controller responsible for it will be the search controller, ===> …

Member Avatar for veedeoo
0
395
Member Avatar for Thevenin

there is another PHP function for sorting called [uksort](http://us1.php.net/manual/en/function.uksort.php). function syntax is pretty self explanatory. bool uksort ( array &$array , callable $key_compare_func )

Member Avatar for Thevenin
0
2K
Member Avatar for chaitu11

try searching this on google "pdf2text php class". I have seen it somewhere but can't remember from which sites.. either stockoverflow, daniweb, phpclasses.org. Those are the only sites I am heavily active.

Member Avatar for veedeoo
0
51
Member Avatar for digital-ether

@moshaur, ask the API provider about the proper protocol in accessing their API service. Normally, they will provide you with sample codes to access and the expected response format. As far as the CI implementation is concern, please read this [tutorial](http://code.tutsplus.com/tutorials/working-with-restful-services-in-codeigniter--net-8814). The instructions are pretty straight forward.

Member Avatar for veedeoo
0
11K
Member Avatar for oriola-1

Hi, There are many shopping carts that are already built ready for donwload. Writing one from the ground up can be very difficult to almost impossible for a newbie programmers. I am not trying to discourage your motivation to dream big, but programming techniques and methods are learned overtime. For …

Member Avatar for oriola-1
0
336
Member Avatar for Webville312

have you look into join as described [here](http://www.w3resource.com/mysql/advance-query-in-mysql/left-join.php)? Can you show us your tables?

Member Avatar for diafol
0
321
Member Avatar for davy_yg

try changing the config value for the pconnect to FALSE. line 124 is the is argument if pconnect is false then initialize database connection if not the class assumed that a persistent connection exist. By setting it to false, we force the initialize method to execute the db_connect method. I …

Member Avatar for veedeoo
0
312
Member Avatar for Sifiso21031085

I can't possibly think of alternative ways for recount. What would be the reason for unclear results? I know parties who can't accept their defeat will probably say; We found out that some online voters voted with a Dimpled Monitor and therefore we demand re-counting of the votes. I rather …

Member Avatar for mike_2000_17
0
595
Member Avatar for veedeoo

In my home state, State of California we have some really crazy laws if not dumb or stupid laws. Here are some of the few. Please rate the IQ LEVEL of the legislature who wrote or proposed the law. IQ levels are measured between profound mental disability 1 and profoundly …

Member Avatar for jwenting
0
200
Member Avatar for showman13

Are you using phpmailer class or the native php mail function? For what I have heard, phpmailer class is more reliable in terms of sending email with file attachement. [example implementation](http://phpmailer.worxware.com/index.php?pg=exampleamail) of phpmailer class with attachements. You can download phpmailer class [here](https://github.com/Synchro/PHPMailer).

Member Avatar for showman13
0
8K
Member Avatar for mshaker
Member Avatar for ethan.david.376

Something like this... I am not 100% sure, but please try running it on the phpMyAdmin or the command line and see. The date is a table column. $beg_date = '2014-03-01'; $end_date = '2014-03-07'; "SELECT * FROM YOUR_TABLE_NAME WHERE 'date' BETWEEN $beg_date AND $end_date ";

Member Avatar for veedeoo
0
168
Member Avatar for chaitu11

I think we need to sort things out. Viewing it as a file is the easiest, all you have to do is provide the url of the doc file and the user will be able to view it, depending on the user's desktop and browser's settings. Viewing it as regenerated …

Member Avatar for veedeoo
0
2K
Member Avatar for mechfly
Member Avatar for Sifiso21031085

Do you mean codeacademy.com? If yes, I think it is worth of your time.

Member Avatar for veedeoo
0
130
Member Avatar for paramesh23

Some books on my shelves: **Object-Oriented JavaScript** from packt publishing, **JavaScript for PHP Developers** ( a concise guide to mastering javascript) from O'Reilly Media , **Learning JavaScript Design Patterns** (A JavaScript and jQuery Developer's Guide) from O'Reilly Media. Lastly, not related to your question is my favorite book entitled "**Object-Oriented …

Member Avatar for veedeoo
0
141
Member Avatar for deadsolo
Member Avatar for haris_1

change this <p style='text-align:center; margin: 0 auto; color:white; font-size: 2em; '>Made By HDminecraftnerd</p> " ?> to this <p style='text-align:center; margin: 0 auto; color:white; font-size: 2em; '>Made By HDminecraftnerd</p> "; ?> Please allow me express my concern about your codes. I just need to know the reasons why use echo for …

Member Avatar for diafol
0
229
Member Avatar for YA RAMSAMKER

Yes, this is possible. There are four options to be able achieved this. 1. Use PHP 2. Use the HTML5 file reader 3. Use javascript 4. ASP.net Try google with 'reading text file in javascript' and for PHP read [this](http://us2.php.net/file_get_contents). If you are developing in asp.net mvc there is a …

Member Avatar for diafol
0
120
Member Avatar for iamthwee

that could work pretty well also. You can put your pagination class in the application/libraries and then include it in the application/config/autoload.php $autoload['libraries'] = array('database', 'session', 'YourpaginationClassName'); Alternatively we can also load it as needed by either loading it on the controller's constructor or (in model's constructor if necessary). public …

Member Avatar for iamthwee
0
204
Member Avatar for YA RAMSAMKER

If you are using windows, try Microsoft Web Matrix 3. It is an all around web developing tool. I have not seen it yet, but a good friend of mine told me it is worth trying.

Member Avatar for YA RAMSAMKER
0
212
Member Avatar for sallaudin

In addition to **Cereal**'s observations, if extending a class, and if the child class has its own contructor, the parent's constructor must explicitly called like so... <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Index_model extends MY_Model { public function __construct(){ ## before loading anything like library …

Member Avatar for iamthwee
0
116
Member Avatar for ngonix

You cannot forcebly destroy session on a remote client using script. The only way you can do this is by connecting by way of FTP or when you change the session.save_path directive to something else. Sessions are stored above your public directory. In some servers, it is called 'tmp' directory. …

Member Avatar for iamthwee
0
3K
Member Avatar for msmnikolakrga

Hi, Next time, state your questions as clearly as possible. We can simply write codes like this. <?php $min_year = 1900; $max_year = 1992; echo '<form>'; echo '<select name="year">'; foreach (range($max_year, $min_year, -1) as $x) { echo '<option value="'.$x.'">'.$x.'</option>'; } echo '</select>'; echo '</br>'; echo '<input type="submit" value="submit"/>'; echo '</form>'; …

Member Avatar for Webville312
0
156
Member Avatar for Mike_danvers

Simple CMS logic design. 1. Create page for public viewing with links. 2. Create registration page, login page, members only page. 3. Create page for latest album, top rated album, most commented albums ...etc. 4. Create database 5. Create administration page for the site owner. user table +---------+-------------+-------------+----------+ + user_id …

Member Avatar for veedeoo
0
161
Member Avatar for Awah Mohamed

Hi, Actually, this is nothing but code base 64 encoding. On your decoded codes, the author replaces the letters with their own calculated equivalent integers . For example, the encoded messages in the codes above,. uses some form of alpha numeric deviation.. by looking at it or just by glancing …

Member Avatar for veedeoo
0
307
Member Avatar for T4gal

Hi, I thought it should be like this <?php require('Your_Wordpress_directory/wp-blog-header.php'); ?> If you want to show your article, it can be written like this <?php require('Your_Wordpress_directory/wp-blog-header.php'); ?> <?php $number_of_post = 5; ## change this value to your own needs /* *@order is for the database query Ascending or Descending sort …

Member Avatar for T4gal
0
253
Member Avatar for rajendher

let me try this.. I must warn you before hand that the 2014.html must be changed to 2014.php else, it is not going to work. What we are trying to do here is a simple router. This is similarly found in some MVC frameworks, but example below is approximately 1/10000 …

Member Avatar for rajendher
0
315
Member Avatar for Iikeloa
Member Avatar for sikander123

I addition to Cereal's recommendations, there were few voice (of course converted to audio) recognition applications written in PHP. I'm not sure if they still exist today. 1. Voice PHP 2. PHP Voice Try searching these terms on sourceforge. I am pretty sure I forked this application some years ago, …

Member Avatar for veedeoo
0
1K
Member Avatar for The Dude

1. Pirates of the Caribbean (all) 2. Ironman ( All) 3. Spiderman ( All) 4. Superman ( 1 and 2 only) 5. Django Unchained 6. Kill Bill (all) 7. The GodFather ( all) 8. Matrix ( all) 9. Face Off 10. My Way ( Korean Movie 2011)

Member Avatar for Reverend Jim
0
279
Member Avatar for Pravesh_1

Hi, Never tested, but it is more likely something like this will work for you. RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^([^/]+)/$ $1.php or can be something like this. RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^([^/]+)/$ $1.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond …

Member Avatar for sikander123
1
566
Member Avatar for Noralyn_1
Member Avatar for gabrielcastillo
0
277
Member Avatar for adsegzy

when you say > I have query the picture from the database and store it to $pix you mean the image is stored as blob or binary?

Member Avatar for iamthwee
0
225
Member Avatar for SHAHAB UDDIN

Do you have any codes to show? Any design flows? We need an starting point somewhere.

Member Avatar for ahqaf
0
109
Member Avatar for chaitu11

Hi, I am not familiar with Pan card, but this [site](http://creativecoders.blogspot.com/2013/12/pan-card-validation-using-jquery.html) might help you.

Member Avatar for veedeoo
0
46
Member Avatar for chaitu11

To be very honest with you, Windows 7 and XAMPP cannot co-exist. They just hate each other. There are many alternatives out there for your OS. There are WAMPP, Uniform Server, and Nginx for windows. These applications were proven to work with Windows7. If those items mentioned above, does not …

Member Avatar for veedeoo
0
240
Member Avatar for showman13

Hi, This is pretty easy task in PHP. First, get yourself acquainted with the [ftp_login PHP function](http://www.php.net/manual/en/function.ftp-login.php). Second, test that function in a more meaningful application utilizing the ftp_put PHP function [as shown here](http://www.php.net/manual/en/function.ftp-fput.php). Lastly, please allow me to add my own personal opinion about these PHP functions in just …

Member Avatar for showman13
0
2K
Member Avatar for iamthwee

There is one for PDO modification for CI [here](http://www.codebyjeff.com/blog/2013/03/codeigniter-with-pdo). You can also take the user input by simply $this->input->get('user_input', true); $this->input->post('user_input',true); the second parameter tells the input class that we want the first parameter to undergo XSS filter. Without filtering at all, just put single parameter. $this->input->get('user_input'); I am still …

Member Avatar for veedeoo
0
246
Member Avatar for prince kitumi

Have you written any codes yet? Do you mind posting them here, so that we can take a look? If you have not done anything yet, search google for comment system script PHP. It should return many links to the script intended for this purpose.

Member Avatar for veedeoo
0
51
Member Avatar for davy_yg

davy_yg, There is a sure shot in checking if the query is indeed valid. All you have to do is get on to your phpMyAdmin page, click on the database of which your query is adressed or intended to be executed, click on the SQL tab and then paste your …

Member Avatar for cereal
0
349
Member Avatar for happygeek

*I met a devil woman She took my heart away She said, "I had it coming to me But I wanted it that way"* Bachman - Turner Overdrive - You Ain't Seen Nothing Yet :)

Member Avatar for happygeek
0
271
Member Avatar for developer707

Can we see at least ONE of those script samples? Maybe it just need minor tweakings. Normally, if the query is successful, we can decode the row document like this echo base64_decode($row['document']);

Member Avatar for developer707
0
218
Member Avatar for ZaneDarklace
Member Avatar for veedeoo

For years, I have been waiting to hear Rasmus Lerdorf to share his words and opinions about many things around PHP, especially the security issues, PHP frameworks, future versions, and password hashing. At last, he attended the PHP Frameworks Day 2013 and I was surprised by his thoughts about PHP …

Member Avatar for veedeoo
0
955
Member Avatar for skyyadav

Hi, can you try reading [this](http://ellislab.com/forums/viewthread/93710/)? If it fails to solve your problem let us know. The answer you are looking for is located near the bottom of the page. We would appreciate it, if you can post part of your controller, model, and view files for the above codes. …

Member Avatar for gabrielcastillo
0
329
Member Avatar for sparkles_links

Search google for Colorbox. Not exactly sure about the name, but it should give you some jquery results.

Member Avatar for veedeoo
0
109
Member Avatar for centenond

Notepad++ will not be able to detect it, but not all the time. A good IDE like NetBeans is capable of detecting those embedded <div> tags. Notepad++ can surely detect this type of coding technique. <?php function doSomething(){ return array('home'=>'Home', 'about'=>'About','contact'=>'Contact'); } function doItAgain(){ return array('Home','About','Contact'); } $x = doSomething(); …

Member Avatar for centenond
0
258
Member Avatar for Josh Connerty

Doctrine, propel, fuel, Agile toolkit (API class), and kohana ORM. Pick the one you think you can immerse as quickly as possible. Personally and outside the framework environment, I prefer Doctrine. Just maybe, give Agile toolkit (API class) the consideration it deserves.

Member Avatar for Josh Connerty
0
316
Member Avatar for shehnaz20

Hi, Here is a really nice implementation guidelines from [google maps api](https://developers.google.com/maps/articles/phpsqlajax_v3). I don't see any level of difficulties in implementing this. It is pretty much straight forward.

Member Avatar for veedeoo
0
176

The End.