Posts
 
Reputation
Joined
Last Seen
Ranked #539
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
82% Quality Score
Upvotes Received
5
Posts with Upvotes
4
Upvoting Members
5
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
3 Commented Posts
0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for FarrisFahad

This is just an initial observation / question, but why are you running every step through rawurlencode? Look at the definition of the function - every time you run it on a string it will encode everything non numeric except -_.~ ... so if you run it once and it …

Member Avatar for turhost
0
76
Member Avatar for ianhaneybs

Agree with Biiim, you need to loop through the results. example below. note I took the body out of the loop. <?php /*error_reporting(E_ALL); ini_set('display_errors', 1);*/ $CustomerName = $_GET['customername']; //echo htmlentities($CustomerName); $sql = "SELECT tblorders.InvoiceNumber, tblorders.LorryName, tblorders.CustomerName, tblorders.DeliveryDate, tblorders.PaymentMode, tblorders.DeliveryMethod, GROUP_CONCAT(CONCAT(tblorders.Quantity, ' of ', tblproducts.ProductName) SEPARATOR ', ') AS productnames, tblorders.InvoiceGenDate …

Member Avatar for gottaloveit
0
75
Member Avatar for jayashree10

In whatever code language is running on the server, use a well known database library that is well documented and features XSS aka sql injection prevention.

Member Avatar for webhostingworld
1
81
Member Avatar for thir

it's complaining the index "gambarvk_image" is not defined on line 821 which is code we can't see. I assume that the HTML form file input field is not named exactly "gambarvk_image" or maybe is named "gambarvk_image[]" or some variant or the form is not the right encoding. So check that …

Member Avatar for gottaloveit
1
188
Member Avatar for facarroll

I agree with everyone else, you can never prevent downloading, since the browser has to download, but you can make it harder for people to save and re-use the images. Here's a PHP script using standard PHP GD library, nothing special. It will break the image down into small chunks …

Member Avatar for Dani
1
354
Member Avatar for McLaren

From watching the video, I am understanding your question to be > Why does the application load so slowly in the browser? So, judging from the task manager, I am going to assume you are using a laptop (since it has a dual core processor with 8gb of ram) and …

Member Avatar for rproffitt
0
279
Member Avatar for Lloyd_4

First your htaccess rules are written to NOT redirect index.php The rules are: If the request filename (index.php) is not a file and is not a directory then redirect to index.php. Well obviously index.php is a file, so your conditions don't apply. Also you have 2 things to worry about, …

Member Avatar for gottaloveit
0
583
Member Avatar for SeanKann

I'm assuming you are using some sort of Javascript Ajax click event to call a url that PHP routes to this function `contractor_email_details` If that's the case, and you are simply passing the ID in the url like for instance: /url/php_page.php?id=X Then the variable `$data` in the function variables is …

Member Avatar for gottaloveit
0
287
Member Avatar for patk570