39,320 Topics

Member Avatar for
Member Avatar for rubberman

PHP is an object-oriented language, based (loosly) upon C++. It has classes, methods, member variables, and all that other good stuff. It runs on your web server, not in the client, but the HTML, JavaScript, and other stuff such as CSS blocks that it emits with its output commands are …

Member Avatar for TexWiller
3
2K
Member Avatar for janicemurby

hi i am attempting to change my connection from mysql to mysqli so far i have gone through all the files in the script and replaced mysql with mysql and i went to check what id done so far and i got the following error can anyone help in this …

Member Avatar for diafol
0
325
Member Avatar for paulo.guedes1992

Hi, I'm using .htaccess clean url and this is my url, when i want to see all the information of an article: http://localhost/projectoname/news/something-happened-on-todays-news And i have this code so i can get the information of the article: <?php //this output is -> something happened on tadays news $item = mysqli_real_escape_string($dbConnect, …

Member Avatar for cereal
0
172
Member Avatar for AntonyRayan

How to split session values? I am getting error like "Notice: Array to string conversion in PHP" in session; How to solve that?

Member Avatar for diafol
0
171
Member Avatar for mangel.murti

registration table broker_id , email , affiliate_id.....etc 40 abc@gmail.com 9999 62 xyz@gmail.com 8888 affiliate_Stats table status_id , affiliate_id , banner_id , campaign_id , clicks impressioins , ctr , sale , sale_price, total_earned...etc 27 9999 3 0 0 1 0 29 9999 3 0 1 0 0 affiliate_chain id name recruitedby …

Member Avatar for mangel.murti
0
674
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
253
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
493
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
569
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
998
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
3K
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
201
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
525
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
395
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
651
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
225
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
286
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
356
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
263
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

The End.