Php GD help

Discussion in 'PHP' started by Liberation, Jan 22, 2007.

  1. Liberation

    Liberation Peon

    Messages:
    739
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #21
    I there, i cannot find what you stated about ( "$config['image_dir']= ) in any files. I found:

    '/home/USERNAME/public_html/images/upload',
    And change the Username but that didnt make any difference.
    Hope someone can help...
     
    Liberation, Jan 25, 2007 IP
  2. picouli

    picouli Peon

    Messages:
    760
    Likes Received:
    89
    Best Answers:
    0
    Trophy Points:
    0
    #22
    Ok, so why don't you just do this:

    global $config;
    $config['image_dir'] = 'your/directory/here';
    @move_uploaded_file($_FILES['s_img']['tmp_name'], $config['image_dir'].'/steps/'.$nflm);

    and see what happens?
     
    picouli, Jan 25, 2007 IP
  3. Liberation

    Liberation Peon

    Messages:
    739
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #23
    Hi,

    I was wondering, would anyone be able to add me to msn or email me and i will send the file and if possible, you edit it correctly?

    If thats possible pleasee PM me
    Thanks
     
    Liberation, Jan 25, 2007 IP
  4. moroswitie

    moroswitie Peon

    Messages:
    43
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #24
    Hi I just sent you a private message (if you don't need help no more please put it in this thread)
     
    moroswitie, Jan 25, 2007 IP