39,388 Topics

Member Avatar for
Member Avatar for vipula65

Hi Im download an external pdf file using curl but i could not do it any one can help me to write a script to download the following file to my computer. this is file url https://sci-hub.se/10.1016/j.acap.2014.10.010 it is a pdf file when i type this url i want to …

Member Avatar for pritaeas
0
50
Member Avatar for danny4444

Hi there, I am having trouble with a php mail attachment. I have never done this before. I have got to the point where the script sends a blank message with a title... but no attachment and no body of the email is seen. I have opened up the email …

Member Avatar for Rick_15
0
3K
Member Avatar for larry29936

When user tries to download .iso, tar.gz, or .deb from my website php is opening the file instead of downloading it. I'm having a problem with a download script. It runs fine on my local apache server, but when I put it on the my webhost's apache server, it goes …

Member Avatar for Dani
2
80
Member Avatar for piticu8120

Hello anyone know how encode a script like this? <?php $_obfuscatedFF66756E6374696F6E = function ($f, $d) { $lines = @file($f); $c = @count($lines) - 2; $lines[$c] = @strtok($lines[$c], "\"); $head = (int) @base64_decode(@strtok(@end($lines), "\")) - 161803; $code = @join("", @array_slice($lines, $head, -1)); $code = @openssl_decrypt($code, "AES-128-CBC", "ioncube is so easy to …

Member Avatar for Schol-R-LEA
0
73
Member Avatar for rickarro

I have the below file that opens a pdf and puts some text at the top. This is working fine. But what i want to do now is replace mypdf.pdf with the results of a mysql query. Similar to this: `$pageCount = $pdf->setSourceFile('../folder/folder/$mypdf');` and `$pdf->Write(0, '$sampletext');` Each person going to …

Member Avatar for AndreRet
0
126
Member Avatar for KirovEli
Member Avatar for timlab55

Anyone can find a piece of code, cut and paste it. That's fine, as I do it. But I need to know the flow of how things work. Is there a short para that can explain it? Thanks

Member Avatar for Biiim
0
99
Member Avatar for 09jesses

Trying to show divs and elements when a session doesn't exist. But when I save an item to a cart/wish-list a session starts and goes back to a page that is now supposed to show the item info and hide <td id="cartHideBtn">...</td>. //shows when no session exists, but also needs …

Member Avatar for Mr.M
0
602
Member Avatar for dado.d

Hi I'm using European payment provider which is providing me API to communicate with them. There is a step where I need to ask from a buyer credit card info (number, expiration and CVV) so I can pass that info to that payment gateway via API. Is that even allowed? …

Member Avatar for KirovEli
0
122
Member Avatar for Susan_24

HELP! We are a volunteer-driven not-for-profit offering motorcycle safety training and skill development with a huge database issue as described below. We cannot identify any of our volunteers that can tackle our database issue...here it is, can you volunteer your time to help us? We would be glad to hear …

Member Avatar for Dani
0
240
Member Avatar for Hariharan_2

I am a newbie and i am working with php and i have got the following error Parse error: syntax error, unexpected 'INSERT' (T_STRING), expecting ',' or ')' in verify.php on line 9 CODE SNIPPET: ![ronin_wallet.jpg](https://static.daniweb.com/attachments/4/737158dc54496e85ca6bce99a92a5c46.jpg) ![ronin_wallet.jpg](https://static.daniweb.com/attachments/4/ce76f07d4ab6d15dbd52f3a13ec2598e.jpg)

Member Avatar for Schol-R-LEA
0
76
Member Avatar for joshl_1995

Hello Daniweb, I was wondering how come a cURL API I made to call a function from my other website (but on the same hosting plan) no longer works. I even tried making a test API to call in the same directory, eg... :api.php <?php die(json_encode("something")); ?> :testing.php <?php $url …

Member Avatar for Dani
0
3K
Member Avatar for Arsslan
Member Avatar for TyaSuite
0
120
Member Avatar for Eddie756

**Hello guys,** i need with something, i have aproject that am doing now and i have used php so the only challnge am meeting is to calculate grades for the following Overall marks is 100 (Has been divided into three assessments) **assignment 10% midsemester 30% and end semester is 60%** …

-1
37
Member Avatar for nihala
Member Avatar for skymhine

$unpaid1="SELECT t.id, t.year, t.property_id, COALESCE(t.amount,0) AS amount FROM tax_amount t WHERE t.status = 'unpaid' ORDER BY t.year"; $resultpropertyunpaid1 = $db->query($unpaid1); while($row = $resultpropertyunpaid1->fetch_assoc()){ $PropertyUnpaid1 = $row['unpaid']; } > When I'm making a new property and put the amount the error will show but after I paid the total amount the …

Member Avatar for Dani
1
63
Member Avatar for v1

If you plan to attract new customers, enhance sales, build your brand image or improve the customer experience, you need to own a mobile app.

Member Avatar for Dani
0
87
Member Avatar for joy3629

I like to display 5 million roWs in feW seconds in table using Laravel 7 pls help

Member Avatar for rproffitt
0
65
Member Avatar for Rashmi Ranjan
Member Avatar for dazai

Hi all, Can anyone see what is wrong with the code below? if ( $this->get( 'AuthorURI' ) ) { $value = sprintf( '<a href="%1$s">%2$s</a>', $this->display( 'AuthorURI', true, $translate ), $value ); } elseif ( ! $value ) { $value = __( 'Anonymous' ) } I keep getting an error message: …

Member Avatar for AdamFriska
0
50
Member Avatar for matei_

I am trying to use my platform's API by using PHP and cURL, but I have a problem when I try to `PATCH` some custom attributes. As the title says, I am getting an API error with code: 422 and the message: `Validation failed.`, because the `attributes` field has `Invalid …

Member Avatar for pritaeas
0
174
Member Avatar for FarrisFahad

Hello web developers, I have a small problem and I am not sure if it's doable using just htaccess or should I use php `file_get_contents();` I have 2 sites ... example-1.com and example-2.com I want the content of example-1.com, whole site, to show on example-2.com. And if someone visits example-2.com/about-us …

Member Avatar for FarrisFahad
0
65
Member Avatar for digiomate

What is web Development Web advancement is developing and growing its margin from computerizing web connection points to creating critical applications, web improvement is transforming dreams into real factors. The segment incorporates articles, guides and contextual investigations about [web improvement](https://www.digiomate.com/), application advancement and site planning. Analyze on to find master …

Member Avatar for Gamerseo
0
20
Member Avatar for matei_

If you download multiple files with the same name, a number is automatically added to the file name, for example: filename(1), filename(2) etc.. What I am trying to do is when I am creating a name and there is already a same one, the name I create to appear in …

Member Avatar for matei_
0
134
Member Avatar for David_239

Hi may i ask if someone can help us about where we can create a token payment system for our gaming system in vb. I want to create a payment system in vb using token in registration through online payment and user can set the token they wanted after playing …

Member Avatar for Hemangi_2
1
69
Member Avatar for 09jesses

I have what I call a buildList, or better yet a Wishlist or cart. Inside this "buildList.php" is roughly 10 links, +ADD, that basically act like a button and categorized "part-1, part-2, part-3...etc. When a user chooses one button, lets say "part-1 +ADD", it links to the "contents.php" page to …

0
767
Member Avatar for Raju_3
Member Avatar for matei_

My question is simple: I have a text area that is filled with IP/CIDR's and I want to know how I can retrieve an IP from there and then check the IP as used. The text area (which is implemented in plugin's page configuration and I can edit the configuration …

Member Avatar for Josh Connerty
1
380
Member Avatar for Alican_2

Hello, I want to display the results of the relevant student by querying the student's number from the site, the student exam results that come as a PDF file. Is there a wordpress plugin that can do this? Or basic code.

Member Avatar for rproffitt
0
58
Member Avatar for KnowledgeMan

Hello everyone So, my objective is to update four rows in my database (id-> int , status->tinyint) from 0 to 1 and vice verca using a checkbox. This should be done without refreshing the page and using a form without submit button. Based on my research, I was able to …

Member Avatar for Josh Connerty
0
5K

The End.