39,320 Topics

Member Avatar for
Member Avatar for nanakumi75

I have a social network site which allows users to upload an image as a profile cover. I use PHP to upload the image to database and select it to display as profile cover.The image shows perfectly, but when I visit a different page and come back, the cover image …

Member Avatar for nanakumi75
0
23
Member Avatar for Jacob_19

Dear software developers, We are researchers aiming to understand developers' knowledge needs and program comprehension. Our intention is to support practitioners in selecting tools that can facilitate developers' tasks. Moreover, we hope that our research results in the development of new tools that are customized to the actual needs of …

1
45
Member Avatar for pandglobal

I have a html form and a validation php file for the form, every thing works when a user submits the form, but there are certain aspect of the function that i want the user to get in real time, such as if field A value is (yam) then unset …

Member Avatar for jkon
0
292
Member Avatar for dado.d

I was crawling http://www.imenik.hr (more specific: http://www.imenik.hr/imenik/trazi/1/ptt:51551.html) and it was working. I used PHP Symfony crawler, I even used proxies. I was testing it locally so I tried without proxies. I added 5 seconds of sleep time between each requests, I tried random sleep between requests, I tried 10 seconds. …

0
26
Member Avatar for pandglobal

Hello house please i need assistance. I need to rewrite urls in a particular folder so that the folder name is not shown when visiting the page or pages inside that folder. And am doing this or intend to archive this through .htaccess Example: example.com/ folder/aboutus.php But i want it …

Member Avatar for pandglobal
0
57
Member Avatar for nishita_1

please help me. below chart.js works very well but here show all date data from database but i want only last fifteen days data to show. How can i show last 15 days sale reports. i am attach code below. thanks ![chart_edit_result.PNG](/attachments/large/4/3b3130d6f7da66a0d9ff733730021645.PNG) I an developed an chart.js for my daily …

Member Avatar for pandglobal
0
4K
Member Avatar for Hazyan

Hello, I'm new here and I have experience in using PHP with MySQL but right now, I need to convert my code so that it can be used to connect to my DB in my SQL server. I have try out the code as follows db.php <?php date_default_timezone_set ("Asia/Kuala_Lumpur"); // …

Member Avatar for AndreRet
0
493
Member Avatar for mexabet

I'm struggling to create a two-paged form using $_SESSION. What I want to achieve is the first page (page1.php) requires the user to enter his/her email address. And the second page (page2.php) requires the user to enter his/her password. When the user submits page1.php, it takes you to page2.php, where …

Member Avatar for mexabet
0
135
Member Avatar for aveeva7

I have couple of shipping methods DHL & FedEx, if selected products exits in cart show only selected shipping method, how to archive using shopping cart pricing rule or any other way to do this?

Member Avatar for Harshal Shah
0
273
Member Avatar for Stefce

I want to echo the results of this mysql query SELECT username, task_completed FROM accounts WHERE referrer_by = :referrer_by AND task_completed < 1 I have this code so far but this doesnt return anything and it should return the values which are less than 1 $ref_query=$db->prepare("SELECT username, task_completed FROM accounts …

Member Avatar for AndreRet
0
87
Member Avatar for kumud1452894
Member Avatar for Erd_1

I am just getting this mistake **" Parse error: syntax error, unexpected 'if' (T_IF) in C:\wamp64\www\genius\install\run_install.php on line 48" **is there anyone to solve?** ** <?php define('GENIUSOCEAN','https://geniusocean.com/verify/'); ini_set('max_execution_time', 300); if (!isset($_POST['web_name']) || $_POST['web_name'] == ""){ echo "Please Enter Website Name"; }else if (!isset($_POST['web_url']) || $_POST['web_url'] == ""){ echo "Please Enter …

Member Avatar for AndreRet
0
210
Member Avatar for tun712

How to add meeting host/meeting controler How to allow meeting host to set another person as host How to add signing with account https://jitsi.org/jitsi-meet/

Member Avatar for AndreRet
0
23
Member Avatar for ANIMEXD

i am making api in PHP but i have some problems with cors(preflight) i know how the cors works, my problem is when i request the data from api with (fetch api) i get the response from the server(api) but it suppose to also send cookie for authentication purposes but …

0
78
Member Avatar for nishita_1

please provide me sql query for below output sum query please help me ![93852217_246197733117734_2443195689677619200_n.jpg](/attachments/large/4/5009c5b4125b294842ffd7cf1d839caa.jpg)

Member Avatar for Santanu.Das
0
319
Member Avatar for fecapeluda

Hello guys, I am using a Bootstrap grid with 6 element (As articles). 5 come directly from the database, and I need to add one more article element at the beginning, just for aesthetics. This is what I have so far. Any help is welcome. Thank you! Here's the idea …

Member Avatar for Dani
0
191
Member Avatar for Stefce

I made an website which i require of the user to enter their credit card details for virtual money transfer inside the website only. I only take the first two numbers of the card in order to detect the Card Type and i take last four because of the UI …

Member Avatar for Stefce
0
276
Member Avatar for danny2

i created a registeration form which i linked to my database whenever i try to make i data registeration i always get this error:Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you …

Member Avatar for pritaeas
0
75
Member Avatar for Shiva_20

$select = "SELECT * FROM `success-stories` where id='$id'"; $result = $conn->query($select); $row = $result->fetch_assoc(); $file = $row["download_pdf"]; $file_arr = explode("/", $file); $path = $file_arr[0] . "/" . $file_arr[1] . "/" . $file_arr[2]; header('Content-Description: File Transfer'); header('Content-Type: application/pdf'); header('Content-Disposition: attachment; filename="' . basename($file) . '"'); header('Expires: 0'); header('Pragma: no-cache'); header('Content-Length: ' …

Member Avatar for pritaeas
0
28
Member Avatar for Yusuf_13

if i can't edit it directly through any solution , how do i delete it? i rather not give background info, if its ok. next time, i will give background info, if there will be a next time as i think there is. i am going to chose stupid relvant …

Member Avatar for rproffitt
0
51
Member Avatar for ibz95

Hi guys, I have written the following javascript code that validates the credit card information entered by a user. I now want to rewrite the same validation code in PHP. But since I am still very much new to PHP, can anyone give me pointers or help me rewrite it? …

Member Avatar for sunbury2003
0
105
Member Avatar for Massimo_2

I have a problem: I can't get the correct answer from the webservice. The two parameters are correct and the source seems to me to be correct. The system does not require authentication ... What am I doing wrong? <? try { $wsdl = "http://wsr.brt.it:10041/web/GetIdSpedizioneByRMNService/GetIdSpedizioneByRMN?wsdl"; $client = new SoapClient($wsdl); $result …

Member Avatar for pritaeas
0
15
Member Avatar for Donna_9

Are you a developer looking to improve your WordPress skill set by including WordPress and Bootstrap development together? Well, you’re in the right place. The following is a guide that helps you integrate Bootstrap, a powerful front-end development framework with the world’s most popular CMS, WordPress. For this article, we …

0
924
Member Avatar for Ján_6

I need to improve my English communication skill, but I am very boring to use language learning tools/methods, but instead of this I would like remote working on some real PHP/JavaScript/Node.js/DevOps project (where I feel strong) and as a side effect would be practicing English communication. I have max 10 …

Member Avatar for luka98
0
144
Member Avatar for emart53

I have a MySQL table that lists delivery records (customerId, date, quantity, productId, cost). I have a requirement to log certain items from the delivery table into a separate table to track items being sent to quarantined areas. All quarantined products must have a serialized tag affixed for tracking with …

0
56
Member Avatar for R_4

Hi all, I have assigned a column called "friendshipstatus" as a default value =0 in addfriends table that user can add other users to it to be friends as the code bellow which will give any users added as friend in addfriendss table the "friendshipstatus" value of 1 <?php include …

Member Avatar for Dani
0
438
Member Avatar for NardCake

Hello! I needed a configuration file for a application I'm working on so I first used the built in ini functions in php but it wasn't easy to write the ini files. So I wrote myself a class here to parse a configuration file and write/edit configuration files. I plan …

Member Avatar for Vitaly_1
2
955
Member Avatar for janice_1

Hi i am getting the following error in a php program i am using PHP Warning: A non-numeric value encountered in xxxxxxx db_connect.php on line 60 // find age if(! function_exists('Age') ) { function Age($birthdate) { return date("Y") - substr(trim($birthdate),-4,4); //// THIS IS THE LINE FOR THE SAID ERROR } …

Member Avatar for Dani
0
250
Member Avatar for beniwalsanjeev

I have a website, got it developed from someone, Need help in redirecting back after login in php. After Login it redirects to Home Page. But i want user to go back where he came from. logincontroller.php public function checklogin(Request $request){ $phone = DB::table('users')->where('contact','=',$request->input('code').$request->input('contact'))->get(); if(count($phone)>0){ $user_data = array( 'email' => …

Member Avatar for Dani
0
291
Member Avatar for akgreen

I have spent a lot of time on this question, namely, how to programatically use a PHP script to send a PDF document to the printer without launching the Adobe print dialog that results from using arcord32.exe (the adobe reader). PHP has some useful classes for creating PDF's, i.e., the …

Member Avatar for Yogesh_22
7
23K

The End.