Web Design Forum: daniel7912 - Viewing Profile - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting

daniel7912's Profile User Rating: -----

Reputation: 1 Neutral
Group:
Members
Active Posts:
207 (0.25 per day)
Joined:
24-February 10
Profile Views:
3,524
Last Active:
User is offline Jul 05 2011 10:29 AM
Currently:
Offline

My Information

Member Title:
Dedicated Member
Age:
23 years old
Birthday:
November 24, 1988
Gender:
Male Male
Location:
Wisbech, Cambridgeshire
Interests:
Sports, Web Design, Music

Contact Information

E-mail:
Private
MSN:
MSN  daniel7912@hotmail.com
Website URL:
Website URL  http://www.dh-designs.co.uk

Users Experience

Experience:
Intermediate
Area of Expertise:
Designer/Coder

Posts I've Made

  1. In Topic: How much would you charge?

    04 July 2011 - 11:57 AM

    View Postpandadoodle, on 04 July 2011 - 11:52 AM, said:

    My pitch wouldnt be far off that to be honest! ;)

    If you want a designer and you can focus on the code hit me up - shameless plug over


    lol thanks, but the design is the bit I enjoy most!
  2. In Topic: How much would you charge?

    04 July 2011 - 11:50 AM

    I'm not really sure, it would probably take me a couple of months at least to get it going, and a normal website I would probably charge around £700-800 for, but at that rate it would be over £10,000 which seems alot for a website
  3. In Topic: Wordpress events booking plugin

    01 July 2011 - 04:03 PM

    View Postjoe2011uk, on 01 July 2011 - 03:44 PM, said:

    i think that would do it


    I installed it and had a look around the plugin but couldn't really see where you'd do that. I'll try setting it up properly and having a play with it to see if it can do what I want or not
  4. In Topic: How to install/use phpseclib?

    22 June 2011 - 03:02 PM

    View PostSniderDK, on 22 June 2011 - 02:47 PM, said:

    yes, don't see why not :)


    managed to get it working :) Haven't used a lot of these PHP functions before but it's good to learn. Here's what I used in the end so hopefully it will help people in the future:

    <?php
    
         include('Net/SFTP.php');
    
         $image = 'logo.jpg'; //image to be uploaded - needs to be in the same directory as this script e.g. just logo.jpg
    
         $image_contents = file_get_contents($image); // location of image to be uploaded
    
         $sftp = new Net_SFTP('***.**.**.**'); // server address to connect to
         if (!$sftp->login('***', '***')) { // server login details
             exit('Login Failed');
         }
    
         echo $sftp->pwd();
         $sftp->put($image, $image_contents); // upload a file $image with the image contents.
    
    ?>


    Couldn't get SSH working in the end so I tried SFTP and that was much easier.
  5. In Topic: How to install/use phpseclib?

    22 June 2011 - 02:32 PM

    View PostSniderDK, on 22 June 2011 - 02:13 PM, said:

    you would be better of using the shh2 package on PECL http://pecl.php.net/package/ssh2

    copying files from server > server is actually really easy with it!

    http://uk.php.net/ma...p-send-examples

    hope you find that interesting :)

    Command to run to install on linux (because its a beta package you have to specify the channel... it is 6 year old code so don't take the beta bit to seriously)


    Thanks for your reply SniderDK. I'm actually running WAMPserver on Windows at the moment to test it out, could you explain how to use it on here please?

    I tried SFTP as an alternative like this:

    <?php
    
         include('Net/SFTP.php');
     
         $sftp = new Net_SFTP('***.**.238.87');
         if (!$sftp->login('media', '*****')) {
             exit('Login Failed');
         }
     
         echo $sftp->pwd();
         $sftp->put('test.txt', 'hello, world!');
     
    ?>


    and that creates a file called test.txt which contains the hello world writing, and this uploads to the server OK. Is it possible to upload an image using this method?

Friends

daniel7912 hasn't added any friends yet.

Comments

Page 1 of 1
  1. Photo

    hosam alaa 

    24 Nov 2010 - 04:58
    happy birth :)
  2. Photo

    Ben 

    24 Feb 2010 - 14:23
    Welcome to the forum daniel7912 Thank you for taking the time to join :)
Page 1 of 1