Jump to content

paulman888888

Members
  • Posts

    332
  • Joined

  • Last visited

    Never

Contact Methods

Profile Information

  • Gender
    Male
  • Location
    England

paulman888888's Achievements

Advanced Member

Advanced Member (4/5)

0

Reputation

  1. Hello their, I'm wanting to use PHP to check to see if a username and password match a remote RDP server. The reason I ask is because I want to verify that the information the user is giving is correct. I'm looking though LDAP but I have no idea what I'm looking for. To recap, I would like to login to a RDP server and return a result based on if it completed. Thank-you for reading Paul P.S Sorry for the bad English, I seemed to forgot how to spell some words and have had to replace them with longer sentences
  2. Thank-you for your answer. What language do you personally think will be best? Preferably a web based language like, ASP, JSP or Ruby. (There the languages I know but It can be completed in another language I will be more than happy to starting learning (again)) Thank-you for your answer, it really does help Paul
  3. Lots of acroyms in the subject. What I would like to know is how to send a Short Message Service using "PHP: Hypertext Preprocessor" or Personal Homepage In Real Life? I've looked at Email to SMS using a gateway but can't seem to get it work. For example; [email protected] but to do luck. I've also looked at some APIs where you have to use CURL to contact there server. I've given up on this for now because I have only found hosts where you have to pay. So, a recap; How do I use PHP to send (a very short) message to a mobile phone in UK (but International would be better but not necessary)? Any free method will be great accepted. Thank-you for reading Paul
  4. I couldn't get it to work so I got it to point to an external server for it to point right back. Bandwidth thrashing i know but it works
  5. Hello there, The error i have is that my server can't find itself and it gives me this nice error. You maybe thinking why don't i just include the file or use its relative location (./file.php) but the answer is simple. It doesn't fit in with my framework and its too hard to expand. How else can I execute a file on the same domain using PHP? Thank-you Paul
  6. Hello there, I've been having problems with this query and i can't understand why i am getting this MySQL server has gone away error. I managed to find out the line and where about in the script this is error is happening. Here is the query that is used and causes the error INSERT INTO stats_user (userid,name,friendcount,gender,likecount,picturecount,groupcount,wallcount,birthday, update_time) VALUES(100000325560036,"Paul Happy Hutchinson",325,"male",509,116,197,402,19920914, NOW()); Please can someone point me in the right direction. I have never had this error before where a query is causeing the server to go away. I have done some more checking and i can comfirm that it is this query causeing the problem because i have used other querys in its place just to check its not a server or network issue. Please please can you help me Thank-you all Paul Hutchinson
  7. Hello there, Ill get straight to the point I want to copy part of an image with a set height and width with as little aspect ratio losing as possible. I tried just copying the size i wanted onto the destination image but when a large image was being used i lost quite alot of the picture. So then I just copied it all across but that compacted the image and I didnt want to do that (well not to that degree although some were funny because they were people.) So what have i got so far; Below is the important function which is doing the job. function copy_crop_image($width, $height, $new_width, $new_height, $dest, $source, $dx=55, $dy=19){ $top_x=0;// The x location on the source image $top_y=0;// Same as above but for the y // $dx and $dy are the destination x y of where to paste the image imagecopyresampled($dest, $source, $dx, $dy, $top_x, $top_y, $new_width, $new_height, $width, $height)===false; } Please can you help me out with guidance on how to resize the image then crop it in one go if possible to save resources. I know it can be done but I just can't think. Thank-you all Paul Hutchinson
×
×
  • 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.