Jump to content

lordshoa

Members
  • Posts

    84
  • Joined

  • Last visited

    Never

Everything posted by lordshoa

  1. ioncube and zend encrypt but there are many programs that do it high priced and low prices some easy to reverse and some hard but if someone wants the code it can be reversed in the end maybe not today but maybe tomorrow.
  2. Not sure what your posting with $_POST does it = anything ? $_SESSION[iD]=".$_POST."; $_SESSION[iD]=".$_POST[iD].";
  3. Sorry I didnot realise you wanted to do it every day thougth it was a one off. I do the same thing everyday with a csv file and it take sabout 15 mins to do 30,000 request import and update. I guess its how good your server is if its a small server with low resources then it will take longer than a higher powered high resource machine. Maybe its not the code its the server ? maybe try and put a pause in if it errors out or change the php.ini setting to allow persistant connections allow more than 30 queries a second
  4. sqlyog or bigdump or split the file up to a smaller sql size
  5. I cannot really see anything wrong with it. But you send them to action="php/processor.php" so you need to redirect them with the header after processor.php? or post to the same page as form or use sessions ?
  6. Its ok I have cracked it myself I added a post var that was not needed.
  7. I figured it out was messing about and it needed the s modifier. Can more than one modifier be used at a time ? Thanks for your help
  8. Then do not help that is your choice but do not post rubbish in my thread
  9. The problem is I do not want to post the url because I do not want them to find out and i cannot modify the posts after becuase they are not allowed to be changed, So are left for everyone to view.
  10. Looks like I am all alone on this one Ok I got the page sort of working now but I am missing the values for the cookies they are not being set. Any Ideas why they are not getting set ? They are being posted ??? < HTTP/1.1 100 Continue < HTTP/1.1 200 OK < Date: Thu, 19 Jul 2012 16:07:21 GMT < Server: Microsoft-IIS/6.0 < P3P: CP="CAO OUR" < SRV: 30 < X-Powered-By: ASP.NET < X-AspNet-Version: 4.0 * Added cookie Culture_12="en-GB" for domain example.com, path /, expire 1343232441 < Set-Cookie: Culture_12=en-GB; expires=Wed, 25-Jul-2012 16:07:21 GMT; path=/ * Added cookie CustomID="" for domain example.com, path /, expire 1345392441 < Set-Cookie: CustomID=; expires=Sun, 19-Aug-2012 16:07:21 GMT; path=/ * Added cookie UserLogin="" for domain example.com, path /, expire 1345392441 < Set-Cookie: UserLogin=; expires=Sun, 19-Aug-2012 16:07:21 GMT; path=/ < Cache-Control: private < Content-Type: text/html; charset=utf-8 < Content-Length: 18492
  11. Sorry I am thiking the wrong way I am thinking your trying to make thumbs but your making bigger or smaller images
  12. I was looking at this at first what your saying is your max width is 570 but lets say the image is 600 x 200 so 600/200 = 3 x 570 = 1710 = $file_height_new Would this be a problem. $file_height_new = ($height/$width) * $max_width;
  13. Yes I was wrong I was not looking at it properly
  14. Your index.php vars in quotes how will is be included ? var has quotes arround include("$p_page.php"); but should be var without include($p_page.".php"); include($pageWeb,".php");
  15. Bit more info may help you to help me > POST /default.aspx HTTP/1.1 Host: example.com Accept: */* Accept-Encoding: deflate, gzip Content-Length: 1863 Content-Type: application/x-www-form-urlencoded Expect: 100-continue < HTTP/1.1 100 Continue < HTTP/1.1 302 Found <============= thsis line does not look good but why 302 ? < Date: Wed, 18 Jul 2012 15:28:33 GMT < Server: Microsoft-IIS/6.0 < P3P: CP="CAO PSA OUR" < SRV: 33 < X-Powered-By: ASP.NET < X-AspNet-Version: 4.0.30319 < Location: http://example.com/Error/ErrorPage.aspx?aspxerrorpath=/default.aspx < Cache-Control: private < Content-Type: text/html; charset=utf-8 < Content-Length: 193 * HTTP error before end of send, stop sending <
  16. OK a little bit further on now but back to square one postdata is not working right as I cannot login, cookie file not getting data added. Should it be rawurlencode instead of urlencode tried both?
  17. I have found the issue but need help on it please. * Connected to example.com (0.111.35.71) port 443 (#1) * Unknown SSL protocol error in connection to example.com:443 * Closing connection #1 * Closing connection #0
  18. have a quick google of : Payment Data Transfer (PHP 5.3)
  19. You could do both str_replace or stripslashes $message = str_replace("\\'", "'", $message); $message = str_replace('\r\n', " ", $message); $message = str_replace('\r', " ", $message);
  20. should the var not be an array ? But you need to look at: pagination
  21. I think what your looking for is : PDT Payment Data Transfer (PHP 5.3)
  22. I am trying to login to a site with curl but not having much luck. The page keep timing out so I do not get anything returned. I need help with the postdata fields I think I have __VIEWSTATE __EVENTVALIDATION added to the postdata urlencoded Could some one help me out with the postdata the form imputs are below and the post data sent. <form method="post" action="https://example.com/default.aspx?country=16&&CultureCode=&local_url=&MPSearchId=&Culture=en-GB&co=" id="LOGIN_FORM"> <input id="__VIEWSTATE" name="__VIEWSTATE"> <input id="__EVENTVALIDATION" name="__EVENTVALIDATION"> <input id="txID" name="txID" maxlength="10"> <input id="txUserName" name="txUserName" maxlength="120"> <input id="txDupPassword" name="txDupPassword" maxlength="20"> <input id="txPassword" name="txPassword" maxlength="30"> <input id="btImgSubmit" name="btImgSubmit"> <input id="btSubmit" name="btSubmit"> <input id="btReset" name="btReset"> <input name="Session_ID"> <input name="sessionid"> <input name="errorCode"> <input id="hdSavedSearch" name="hdSavedSearch"> <input id="hdProdIds" name="hdProdIds"> <input id="hdMPSearchId" name="hdMPSearchId"> <input id="hdDisplaytype" name="hdDisplaytype"> <input id="hdMode" name="hdMode"> <input id="hdProductid" name="hdProductid"> <input id="hdQuantity" name="hdQuantity"> <input id="hdBanner" name="hdBanner"> <input id="co" name="co"> Posted code from headers POST /default.aspx?country=16&CultureCode=&local_url=&MPSearchId=&Culture=en-GB&cos= __VIEWSTATE=%2FOcAW0Gb3VZeNCu0Pyb6A%3D%3D&__EVENTVALIDATION=%2FwEWEQKelJO2DQKs&txID=12345678&txUserName=testuser&txDupPassword=Pass&txPassword=1234567890&btSubmit=LOG+IN&Session_ID=&sessionid=&errorCode=&hdSavedSearch=&hdProdIds=&hdMPSearchId=&hdDisplaytype=&hdMode=&hdProductid=&hdQuantity=&hdBanner=&co=
  23. Like I said it worked in php5.2 and then again in php5.4, so the file / code has not changed as I tried it on all 3 as I upgraded from 5.2 to 5.3 which broke the code so I tried on to 5.4 which it worked again. I just want to figure out why it came up as an error and what could I do about it if this happens on the live server as I cannot upgrade or downgrade the php to resolve the issue. Would this solve it ? or should it be if(is_array($result)){ do something or error } $result = array(csvToArr($filename));
  24. Could you not just use the header ? Or does this not work on blobs ? if(header("Content-type: image/jpg")){ print $row['image']; }else if (header("Content-type: image/gif"); ){ print $row['image']; }else if(header("Content-type: image/png") ){ print $row['image']; }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.