38,020 Topics

Member Avatar for
Member Avatar for grakovski

Hi there, I have strange situation. In google's serp i found indexed url's like this: **site.org/index.php/2015-06-27-18-17-32/2014-05-03-23-24-55/76-m40?page=3** how to remove this **/2015-06-27-18-17-32/2014-05-03-23-24-55/76-m40?page=3** if not exists ? Maybe with htaccess, but how ? I want to redirect to index.php all url's when directory not exists. I found some rules but not working …

0
199
Member Avatar for UK-1991

Hello, I created a login script in which I set a condition of 2 authentication user and other one is admin but the redirection is not working properly it check if user type is admin it logsin but not redirect it moves all the way downword to else condition let …

Member Avatar for pritaeas
0
250
Member Avatar for vizay

$finfo = finfo_open(FILEINFO_MIME_TYPE); getting error in this above code...

Member Avatar for cereal
0
53
Member Avatar for Ventech_IT

Hi all okay so when i click on my home page on my login button it takes me to my login screen that all works well but when i submit the form it just reloads the page and does not redirect to the page specified in my controller. Also the …

Member Avatar for diafol
0
292
Member Avatar for praba_web

How to unlink multiple files in codeigniter? I have to delete records from database. delete records works . what i want, after deleting records also files should get delete form directory(/uploads/deals/) My scripts is below: public function delete($merchant_deals_id) { $deal = $this->admin_deal_model->get_single_deal($merchant_deals_id); $path = './uploads/deals/'; $image1 = $path.$deal['deal_images1']; $image2 = …

Member Avatar for cereal
0
2K
Member Avatar for <M/>

I am working on adding security onto my contact form and I can't seem to find the reason as to why I get errors. Currently, when I test the php form, I get this error: Parse error: syntax error, unexpected T_IF in /home/content/86/5284386/html/websitenamewashere/contact.php on line 16 Here is my php: …

Member Avatar for <M/>
0
488
Member Avatar for Chris920

I wasnt sure exactly what forum to put this in so i choose PHP since WordPress is made with PHP. I'm looking to have a video player on my website. Playlist so to speak but I also want "speed control" of the videos like youtube has. When the "speed" of …

Member Avatar for Chris920
0
566
Member Avatar for BenWard

Hello, I'm having some trouble with CURL. I'm trying to use a web service to get a customer's name and address but it fails to send my post data when I use NTLM proxy authentication. $xmlToSend = "<?xml version=\"1.0\" ?> <soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:dat=\"$this->service\"> <soapenv:Header /> <soapenv:Body> <dat:CustomerDataRequest> <dat:SystemAuthentication> <dat:username>$this->user</dat:username> <dat:password>$this->pass</dat:password> …

Member Avatar for BenWard
0
971
Member Avatar for WebMedia_1

Hi everybody, pls i need help here. i ve a video player and i want to populate video on it from mysql database, here is my code. <ul id="playlist1" style="display:none;"> <li data-thumb-source="assets/img/ddd.jpg" data-video-source="assets/video/ddd.mp4" data-poster-source="assets/img/ddd.jpg" data-downloadable="yes"> <div data-video-short-description=""> <div> <p class="minimalDarkThumbnailTitle">ddd</p> <p class="minimalDarkThumbnailDesc">dddd.</p> </div> </div> <div data-video-long-description=""> <div> <p class="minimalDarkVideoTitleDesc">dddd</p> <p …

Member Avatar for WebMedia_1
0
7K
Member Avatar for Hilal2009

This is my code <?php session_start(); require_once("facebook-sdk/autoload.php"); require_once("facebook-sdk/src/Facebook/FacebookSession.php"); require_once("facebook-sdk/src/Facebook/FacebookRequest.php"); require_once("facebook-sdk/src/Facebook/FacebookResponse.php"); require_once("facebook-sdk/src/Facebook/FacebookSDKException.php"); require_once("facebook-sdk/src/Facebook/FacebookRequestException.php"); require_once("facebook-sdk/src/Facebook/FacebookRedirectLoginHelper.php"); require_once("facebook-sdk/src/Facebook/FacebookAuthorizationException.php"); require_once("facebook-sdk/src/Facebook/GraphObject.php"); require_once("facebook-sdk/src/Facebook/GraphSessionInfo.php"); require_once("facebook-sdk/src/Facebook/GraphUser.php"); require_once("facebook-sdk/src/Facebook/Entities/AccessToken.php"); require_once("facebook-sdk/src/Facebook/HttpClients/FacebookCurl.php"); require_once("facebook-sdk/src/Facebook/HttpClients/FacebookHttpable.php"); require_once("facebook-sdk/src/Facebook/HttpClients/FacebookCurlHttpClient.php"); use Facebook\FacebookSession; use Facebook\FacebookRequest; use Facebook\FacebookResponse; use Facebook\FacebookSDKException; use Facebook\FacebookRequestException; use Facebook\FacebookRedirectLoginHelper; use Facebook\FacebookAuthorizationException; use Facebook\GraphObject; use Facebook\GraphSessionInfo; use Facebook\GraphUser; use Facebook\HttpClients\FacebookCurl; use Facebook\Entities\AccessToken; use Facebook\HttpClients\FacebookHttpable; use Facebook\HttpClients\FacebookCurlHttpClient; $api_id="452545828240757"; …

Member Avatar for Hilal2009
0
2K
Member Avatar for praba_web

Hi there , How to retain value file upload input in codeigniter? Please give me an idea? i am using below one: but not working.. <input type="file" name="image1" value="<?php echo set_value('image1')?>" class="form-control" style="width:300px;" id="dealImg">

Member Avatar for praba_web
0
11K
Member Avatar for ravi142

Hello, I am used Wordpress-seo plugin by Yoast. When i share [article](http://gititsolution.com/angularjs-development) on facebook not allow me to share feature image. also check in [facebook degub](https://developers.facebook.com/tools/debug/) but not given solution. also ![attach](/attachments/large/4/19c2d2575845be8c218402bed55c6612.png "align-center") screenshot Suggest me solution. Thanks.

1
200
Member Avatar for praba_web

Hi there, how to appear product title with weight and weightclass, when changing quantity in magento frontend product description page.?

Member Avatar for andrevanzuydam
0
124
Member Avatar for chaitu11

I need After-ship API integration for e-commerce website. https://www.aftership.com/docs/api/4 which will be useful in tracking the order status. I have downloaded sdk from https://github.com/abishekrsrikaanth/aftership-php-sdk I have given the api key in AfterShip/Core/request.php. But its not working can anyone suggest me steps to integrate it.

Member Avatar for pritaeas
0
524
Member Avatar for UK-1991

Hello, I am developing and developed couple of websites in php succeccfully but many times I have seen a query a default function of php which i see in many tutorials it has been used but I am confused about it. The function is mysqli_inser_id() I mean can anyone explain …

Member Avatar for UK-1991
0
197
Member Avatar for shashigowda

what is the html code for **if we move our cursor on the image, the image name should appear**?? please help me urgent

Member Avatar for Dianne Watts
0
159
Member Avatar for Sophia_1

Hi everyone, i have this form with 2 divisions. I wanted to retain the current tab after saving records for example, after saving records in tab-2, the tab-2 suppose to appear/retain as current tab. Currently, after clicking submit button the tab will go back to tab-1. Please advise. Thanks. <form …

Member Avatar for andrevanzuydam
0
393
Member Avatar for blueguy777

Displaying blank page after inserting PHP code in between DIV tags, the code is as follows: <!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>Bulk Sms</title> <link rel="stylesheet" href="css/styles.css" type="text/css"> <link rel="stylesheet" href="css/responsive-nav.css"> <script src="js/responsive-nav.js"></script> </head> <body> <div class="inner"> <a href="index.php"> <img src="images/logo.png" alt="Bulk Sms" …

Member Avatar for blueguy777
0
649
Member Avatar for berserk

My problem Im almost certian is a permissions issue but im still very new to this so bare with me. I have a server running the latest mysql with mysql workbench installed and im tryign to modify the users and privilieges for either my one table or all my tables, …

Member Avatar for berserk
0
347
Member Avatar for mohammed_22

here is my code and iam not able to do search in that.only the first search box list the data and when i given second search option both results wont come any idea //this is my html code <script> function showUser(str) { if (str == "") { document.getElementById("txtHint").innerHTML = ""; …

Member Avatar for diafol
0
224
Member Avatar for janicemurby

Hi im attempting to copy a php code and get it to work with a script im trying to create and i have come across the error below can anyone tell me whats going off any help would be much appreicated x You have an error in your SQL syntax; …

Member Avatar for diafol
0
285
Member Avatar for burhanahmed92

I want to explode this string $string = "WATER VALVE COMPLETE (5 PORT) Company: (US) Pools & Spas - SCP Manufacturer: CARETAKER C|O COVER POOLS INC Product Number: CTK-20-8609 Manufacturer Part #: 5-9-2000 U/M: EA Description: Caretaker 5-Port Water Valve, Complete"; $e = explode($string, "Company"); But not working, I want …

Member Avatar for diafol
0
354
Member Avatar for faisal.qureshi.7121614_1

Hello friends! I have my site database where users created their accounts with fb connect system in past, which is stored in 'email' field of my users mysql table, other users who created accounts using my website's own registration form is also stored in email field, but how can i …

Member Avatar for lps
0
262
Member Avatar for Stephano

I have a website and users in it, now when they login, they get this "Unable to Connect to Msql" error. this also happens when i login to th admin dashboard. I checked the db connections in the wp-config file and its ok. i also did a db test file …

Member Avatar for Gideon_1
0
196
Member Avatar for Emma_4

Hi guys, I have a bit of code that displays an objects image, when you hover over it, it also shows the name of that object. What I would like, is when you hover over it for it to show the object Description instead, I am not sure what to …

Member Avatar for lps
0
168
Member Avatar for Muhammad_92

-1 down vote favorite Here I'm facing problem with course registration. I have 3 tables named as dept(dept_id,dept_name) where dept_id is a primary key 2nd table is semester (semester_id, semester_name,dept_id) semester_id is a primary key and dept_id is a foreign key .3rd table is courses(c_id,dept_id,sem_id,c_name) where c_id is primary key …

Member Avatar for lps
0
131
Member Avatar for asutechltd

Please how do correct this error Notice: unserialize(): Error at offset 2739 of 65535 bytes in /home/kayon/public_html/admin/index.php on line 51

Member Avatar for lps
0
111
Member Avatar for habermax

Hi, I am Sergio and I am creating a website at the moment. You can Register and Login there. Now to my question: Witch maxlength values should I take for the different input fields, for example: - First Name - Last Name - Password - Email - Username I don't …

Member Avatar for diafol
0
193
Member Avatar for jaiuriyal

Hi, My name is jai and I am trying to code a contact form in php all is going well but I am unable to get data in my email which I am filling in this form please help me. my php code is below <?php header('Content-type: application/json'); $status = …

Member Avatar for Ventech_IT
0
270
Member Avatar for Ventech_IT

Hi there so i was just wondering how i would go about developing some sort of page to display whether or not a module has been loaded or not, is there some simple way to do this that can scan your web app on launch and then report if a …

Member Avatar for Ventech_IT
0
207

The End.