Append a query string to any url requested from my website in Codeigniter. Example. Url will look LikeExample. Url will look Like example.com example.com/product example.com/search?q=string …
Read MorePHP
Remove index.php From Url in Codeigniter
Remove index.php From Url in Codeigniter RewriteBase / RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^/(index\.php|assets/|humans\.txt) RewriteRule ^(.*)$ index.php?/$1 [L]
Read MoreCodeigniter $this->db->like is case sensitive
There is no case insensitive version of the like function. What we can do is transform both sides of the comparison to lower case, so …
Read More5 start rating with html in php
Function return the html structured star with both rated and not-rated. Call function to get star ratings echo rating_html(4); //Function for html star rating function …
Read MoreGet MIME type from encoded image in php
Get MIME type from encoded image in php Get info from data: image Like: Example:$data_image = ‘data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAA.’; //$data_base64_encoded = Your encoded data: data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAA $data_base64_encoded = …
Read MoreUploading Image from android to PHP server
Uploading Image from android to PHP server: Android Upload Image To Server Using PHP MySQL is showing error. In my app i am uploading an …
Read MoreCan’t access my xampp server remotely
– Can’t access my xampp server remotely – httpd-xampp.conf: How to allow access to an external IP besides localhost? – This 192.168.2.11 page can’t be …
Read MoreUsing PHP mail – setting correct MIME type
# Send Mail format # Using PHP mail – setting correct MIME type $to = “test@gmail.com”; $subject = “Test subject”; $message = “Test message”; // …
Read MoreWhat are \r and \n meaning in PHP?
# What are \r and \n meaning in PHP? # What are r and n meaning in PHP? # What does “/r” “/n” mean \r …
Read MoreSend sms from website in php
#Send sms from website in php public function send_text_message($sms_type = ”, $to = “”, $replace = array()) { $sms_info = sms data; if ((isset($sms_info[‘username’]) && …
Read More