• Member Avatar for veedeoo
    veedeoo

    Replied To a Post in codeigniter install app

    here is an old screenshot I found.. ![b037009383ff432ed784d0f7607815e5](/attachments/large/3/b037009383ff432ed784d0f7607815e5.jpg "b037009383ff432ed784d0f7607815e5")
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in codeigniter install app

    There are many styles and ways of writing an installer and I would normally write my installer in procedural. The reason is that, at the end of the installation process, …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in codeigniter htaccess

    Not so relevant but worth mentioning ( i think :)). on my first .htaccess directives above, the one with a PT or passthrough. The reason I am using this type …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in codeigniter htaccess

    you can cheat the viewers by making them to think that they are on your root directory eventhough they are like two direcotries down by elevating the working directory of …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in codeigniter htaccess

    rewritebase is defining the base directory or "Sets the base URL for per-directory rewrites". For example if I want to rewrite and redirect all request on my mydomain.com to /simplemvc/ …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in securing codeigniter files

    most webhost recommends 755 for the directories and all files are defaulted at 655, except for files where writing is needed. on servers that are still running on apache module …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in codeigniter htaccess

    I am using this for both production and development. The only difference with yours is the PassThrough RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php/$0 [PT,L] $0 …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Trouble with JSON_decode

    @NuGG, I have three different distros running on my virtual box. Centos, Ubuntu 64, and Red Hat. I never allowed my webhost to pre-load my server, because I want to …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in test maker

    @davy_yg, University of Arizona created an application called Guide on the side. If you are interested, you can download it [here](https://github.com/ualibraries/Guide-on-the-Side/releases/download/1.0-beta3/guide_on_the_side-1.0-beta3.zip), or [here](https://github.com/ualibraries/Guide-on-the-Side). This application is cake PHP dependent. Let …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Technology that will change and affect your career

    I second the quantum computing.
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in CI migration

    Migration is an excellent tool in version upgrades of your distributable application. For example, you distribute an application called iamthwee's fine CMS. Few months after your beta release, you've just …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in getimagewidth width to array

    okay, let me try one more time, but I strongly suggests to try out Cereal's approach first. I'm kind of lazy today so I will be using my referenced link …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in How to handle video types while uploading and displaying in html5

    sure why not, but before doing that, we need to find out if you have the ffmpegPHP installed on your server. There are other ways of testing the ffmpegPHP installation …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in test maker

    I am currently developing one. So far, it is about 60 percent finished. A friend of mine who is Computer Science Professor have been asking me for almost 2 years …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in How to handle video types while uploading and displaying in html5

    I think it is the best option to encode them to either .h264/MP4 or flv files. If you have an ffmpegPHP, mencoder, flvtool2, mp4box installed on your server you are …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Bulkuploading CSV File

    I just need 3 rows.. for example, the most common CSV file format are similar to this. First row as column names with delimiter | username | email_address | phone_no …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Pagination In Codeigniter

    can you post your codes from model?
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in How to handle video types while uploading and displaying in html5

    it says, video file is corrupt. For now, stay away from those html5 player and use jwplayer or flow player. These are the standard player of the web. Both players …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Bulkuploading CSV File

    Hi, Can you at least give us few lines of the CSV file. It is okay to change the data to something else as long as the structure is the …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in rating script

    That would be on the file called ratings.php, on the top of the page, it says define('SVRATING', 'txt'); // change 'txt' with 'mysql' if you want to save rating data …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Deleting A file on the FTP via php script

    Cool :). Wow! this thread was posted 6 years ago. This is way older than lastMitch could dig. You are the Man..
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Just a new web developer

    cool :), welcome.
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in codeigniter upload form with ajax

    I just wanted to add that in production server, we need to serialize the response from the controller's process_ajax() method. You can use this tutorial as a [guideline](http://hayageek.com/jquery-ajax-form-submit/).
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in codeigniter upload form with ajax

    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 …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in getimagewidth width to array

    Correction, this $x = $area = $latest_area; should read $x = $latest_area; sorry about that.. :)
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in rating script

    Dude, you need to read the instruction properly. First run the test.html page on your localhost. Then once you got it working, do the mysql version. Let say you will …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in getimagewidth width to array

    hi, Try reading [One](http://www.smipple.net/snippet/Alex/List%20images%20from%20folder%20via%20PHP%20%28revised%29) and[ two](http://stackoverflow.com/questions/18809992/how-to-get-the-image-with-largest-size-among-all-the-images-on-the-page). Modify codes presented on two echo 'wide image<br/>'; $k = 0; //$area = 0; $x = 0; $y = 0; $largest_image; for ($i = …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in rating script

    how about [this](http://coursesweb.net/php-mysql/rating-stars-script-ajax-php_s2)?
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in script for upload image / copy file

    this error Notice: Undefined variable: location in C:\xampp\htdocs\free-prowebsite\site_pro\administrator\upload.php on line 269 is coming from this block.. // insert into mysql database and show success message mysql_query("INSERT INTO `image_upload` (`id`, `image`, …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Do you think I have an obsession or a passion with tech and software?

    In my humble opinion, I think you are pretty normal, unless you are having dreams about these stuffs like I always have :)(: .
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in changing color for each array

    you need to rewrite your array to something like below to associate every fruit to each color. <?php echo '<b> Fruits </b> <br/>'; $fruits = array('lemon'=>'#FFFF00','orange'=>'#FFA500', 'apple'=>'#FF0000'); ksort($fruits); foreach($fruits as …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in script for upload image / copy file

    You will need to define the variable $location.
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in script for upload image / copy file

    Why write too many identical upload processors for the slide group, if simple functions can be written to handle all three?
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Trouble with JSON_decode

    also, can you try creating a new page and tell me what is on it? <?php phpinfo(); ?>
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Trouble with JSON_decode

    the script above should return something like this on the browser ![ba5cdc00487a0f6a2438956c7767298e](/attachments/large/3/ba5cdc00487a0f6a2438956c7767298e.jpg "ba5cdc00487a0f6a2438956c7767298e") let us try this. Since there is not error showing up on your side, we create one …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Hello everyone. I am Shakib.

    Hello Shakib, welcome.( yes, I am the first :)).
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Trouble with JSON_decode

    try adding this just below the curl initialization curl_setopt($ch, CURLOPT_PORT, '25565'); to test if the cURL is using the port 25565, try running this print_r(useCurl('http://portquiz.net/')); If you need to know, …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Trouble with JSON_decode

    this one works for me using your url and the cURL function above $url = urldecode('http://82.145.61.242:25565/api/2/call?json=%5B%7B%22name%22%3A%22server.bukkit.version%22%2C%22key%22%3A%22a7584a0f6f1aa22d843ce0d46f88a2101ddae9285127f103092dee4904f9be35%22%2C%22username%22%3A%22ZonkedCompanion%22%2C%22arguments%22%3A%5B%5D%2C%22tag%22%3A%22sampleTag%22%7D%5D%22 '); print_r(json_decode(useCurl($url), true)); the above returns Array ( [0] => Array ( [result] => …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Trouble with JSON_decode

    another option beside allow_url_fopen is to use cURL. Here is a simple funtion for utilization of cURL function useCurl($url){ $ch = curl_init(); curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; MSIE 7.0; Windows …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Trouble with JSON_decode

    Hi, This works $json = '[{"result":"success","success":"1.7.2","source":"version","tag":"sampleTag","is_success":true}]'; print_r(json_decode($json, TRUE); I suspect that the error is coming from the url source..
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in I hate Computer Science. Should I change my major?

    If you enjoy mathematics, why not major in mathematics and physics.
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Passing MySQL results from Php scripts to JQuery Variable

    There are many ways of doing this, and one of the most effective is the double loop (while(inside the class) and foreach(outside)). Return the array from the while loop and …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Multiple Designing

    @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 …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Hello All, I am ehsan

    Hello Ehsan! welcome.
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in mvc form + table edit

    @gianluzzz, can you please let the forum members, which MVC framework you are currently using?
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in guidances system for lawn mower(manipulation of obstacle)

    I think matlab can interface with C and JAVA languages, but I am not sure. If so, then you can write your PLC in C or JAVA and post your …
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Hello everyone!

    Hi Meryl, Welcome.
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Fetch Image from database and display

    I guess it would be something like this base64_decode($pics) yes?
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Code ownership

    Good question. Some of the codes I posted here on Daniweb made it to Github and github members were very kind in asking my permission.
  • Member Avatar for veedeoo
    veedeoo

    Replied To a Post in Hai friends

    Hai and Welcome :).

The End.