38,018 Topics

Member Avatar for
Member Avatar for showman13

I had a discussion a few weeks ago regarding getting Swift Mailer to work, and thought I had it all resolved but then got sidetracked. I’m back on it now and realizing that I’m still running into an issue that I haven’t found a solution to. I have a form …

Member Avatar for showman13
0
253
Member Avatar for solomon_13000

I have this codes in a php file (init_js.php): <script> <?php $idx = $_GET['id']; $APP_WEB_PATH = APP_WEB_PATH; ?> var idx = '<?=$idx?>'; var APP_WEB_PATH = '<?=$APP_WEB_PATH?>'; </script> Then I import this file to a php page (branch.php). When I view source I can see var idx = '7'; var APP_WEB_PATH …

Member Avatar for solomon_13000
0
119
Member Avatar for hrushi9

how to get information of clients PC:- motherboard, processor , hard disk, Mac Address details using PHP/Javascript/jQuery? I have php/mysql website which require hardware lock.

Member Avatar for rtrethewey
0
97
Member Avatar for blackhart

My website for my bussinuess is almost complete. I am using wordpress and I am also using my sql (I don't know if I should state that) ,but I want my site to go online. How should I go about to putting this online? Like buying the domain name ,and …

Member Avatar for pixelsoul
0
133
Member Avatar for solomon_13000

The following codes can be found in my javascript file (code.js): function addBranch(path, id){ //Click "Cancel" button return to Restaurant Manager Page $("input[name=btCancel]").click(function(){ window.location.href = path + '/branch_manager.php?id=' + id }); } The following codes can be found in my php file (test.php): <script src="<?php echo APP_WEB_PATH; ?>/js/jquery-1.11.1.min.js" type="text/javascript"></script> <script …

Member Avatar for solomon_13000
0
231
Member Avatar for abhi10kumar

I am getting : Warning: pack() [function.pack]: Type H: illegal hex digit s in D:\xampp\htdocs\project\includes\encryption.php on line 139 Warning: pack() [function.pack]: Type H: illegal hex digit s in D:\xampp\htdocs\project\includes\encryption.php on line 139 Warning: pack() [function.pack]: Type H: illegal hex digit s in D:\xampp\htdocs\project\includes\encryption.php on line 139 Warning: pack() [function.pack]: Type …

Member Avatar for diafol
0
2K
Member Avatar for UK-1991

Hello, I am trying to create a little bit tricky part I thought I would be sucessfull but it didn't happend. Okay so I created a form having multiple field with the same name like users adds package details so it depends on him how much he would be able …

Member Avatar for mattster
0
344
Member Avatar for Guy On

I'm working on file delete function. I want to delete image from both database and folder. Image is deleting from database but not from the folder. But i want to perform delete image both from database and folder. Here is my code. public function dodelete() { { $contact = Contact::find(Input::get('id')); …

Member Avatar for diafol
0
4K
Member Avatar for Hilal2009

Here are my codes, I want to get access token after user login, but I don't know where am I wrong guys. I know to get access token in PHP SDK v4 but I think It's quite different in PHP SDK v5. Please help me guys <?php session_start(); require_once("Facebook/autoload.php"); use …

Member Avatar for Hilal2009
0
2K
Member Avatar for Guy On

I'm saving data with the help of ajax and laravel. In the form the text field data is saving but the file is not saving with the help of ajax. This is my script. <script> $(document).ready(function() { $('#ajax').submit(function(event){ event.preventDefault(); $.ajax({ type: 'POST', url: 'post_contact', data: $('form#ajax').serialize(), dataType: 'json', }) .done(function(data) …

Member Avatar for Guy On
0
113
Member Avatar for Rathod_1

Parse error: syntax error, unexpected '--' (T_DEC), expecting :: (T_PAAMAYIM_NEKUDOTAYIM) in /home/shivarathod1/public_html/wp-content/themes/frontier/functions.php on line 690

Member Avatar for pritaeas
0
79
Member Avatar for Ian_7

My goal is to populate my HTML table with SQL results that I pull from the below PHP code that I have written. Keep in mind that in reality my hostname, username and password variables do have string data in them. The first block is my PHP where I am …

Member Avatar for diafol
0
2K
Member Avatar for AntonyRayan

I have two radio button. by clicking first radio button it will show one text box, the count of typed values will display in another text box which is default. If weclick next radio button it will show two text boxes, the count of typed values in that two text …

Member Avatar for Aeonix
-1
173
Member Avatar for UK-1991

Hello, I tried to verify if users or record already exist in the database so to do that I used a concept of in array fucntion but this was not successfull here is my code function adduser($connect) { $uname = $_POST['uname']; $pass = $_POST['pass']; $email = $_POST['email']; $query_get = mysqli_query($connect, …

Member Avatar for UK-1991
0
382
Member Avatar for Sophia_1

Hi everyone, am trying to save and display the text color after select change in php and html. After selecting Selfrating1 ie "Good", the textbox T11 suppose to change to "Green" color. After submit button the text color supposed to be save in mysql and display on the form. The …

Member Avatar for Sophia_1
0
585
Member Avatar for fredjoe565

Was hoping there are some experts on PHP out there that can help me with a specific imageboard software called kusaba X. Specifically version 0.9.3 I am running specific Mods like, post screening 2.0, links open in new tab/page, images open in new tab, staff edits (where staff members can …

Member Avatar for fredjoe565
0
201
Member Avatar for ronjacob

hello guys. Just want a little guide here.. because there's no error in program but the data is not inserting to database. Thank you and god speed!. <?php $conn=odbc_connect ('visitor_list','','') or die ("Error cant connect to database"); $sql = "select * from TEMP_LIST"; $rs = odbc_exec($conn,$sql); if (!$rs) { exit("Error …

Member Avatar for diafol
0
245
Member Avatar for UK-1991

Hello, I have created many section like update delete etc on the webpage i stored a message in the session variable so when users updates deletes etc on the page a message comes up logo updated sucessfully message posted successfully etc etc so that message is stored in session variaable …

Member Avatar for diafol
0
252
Member Avatar for Guy On

I'm uploading a file in laravel. The path is storing in database but unable to store image into destination folder. Here is my controller. public function post_contact() { $contact = new Contact; $contact->name = Input::get('name'); $contact->email = Input::get('email'); $contact->mobile = Input::get('mobile'); $contact->password = Input::get('password'); $contact->confirm = Input::get('confirm'); if($contact->save()) { $data …

Member Avatar for diafol
0
5K
Member Avatar for WebMedia_1

please i need your help , there is audio playlist im working on and im try to get music from mydql database and i can get the music file to play but playlist is blank. this is my code html code: <ul id="playlist1" style="display:none;"> <li data_path="assets/mp3/music1.mp3" data-thumbpath="assets/thumbnail/img.jpg" data-downloadable="yes" > <p><span …

Member Avatar for WebMedia_1
0
306
Member Avatar for Gideon_1

I'm building an API and on the aspect of sending a mail. I'm getting mail not sent error. In my API, the front-end sends a JSON request consisting of the mail parameters. { "to":"gideonappoh@gmail.com", "subject":"Testing Reviewer's Page", "body": "Hello Gideon", "headers":"oksana.v@scopicsoftware.com" } I then decode them and pass them through …

Member Avatar for Gideon_1
0
1K
Member Avatar for Sutarusu

Ok, I am running php 5.4 and when I got the dreaded Fatal error: Function name must be a string in /home2/mydomain/public_html/session.php on line 3 I was like OH, BOY. Here is the code it is referring to. <?php session_start(); session_register("userid"); session_register("name"); //session_register("ID"); //session_register("ID"); ?> <?php session_start(); session_register("adminid"); session_register("adminname"); //session_register("ID"); …

Member Avatar for Aeonix
0
318
Member Avatar for reibi

Sorry there's no wordpress section. So I posted here. Need to build archive page for custom taxonomy as below: **Archive** July 2015 June 2015 Thanks in advance.

Member Avatar for diafol
0
127
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
324
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
170
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
667
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

The End.