User Profile

Collapse

Profile Sidebar

Collapse
hadge
hadge
Last Activity: Feb 28 '07, 10:32 PM
Joined: Feb 17 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • hadge
    started a topic Weird PHP/SQL problem
    in PHP

    Weird PHP/SQL problem

    Ok so i have a PHP/SQL menu, and a PHP/SQL script that pulls posts from the database. When the user posts they choose which page they want to post to ie index.

    Well i can get the page to display all the posts of the relevant pages, but if i try to put the menu in at the top of the page it all goes horribly wrong :(

    here is my php ro pull the data

    [PHP]<? $result=mysql_q uery("SELECT * FROM north...
    See more | Go to post

  • hadge
    replied to upload script creating files with CHMOD 600
    in PHP
    Thanks Xwero...
    See more | Go to post

    Leave a comment:


  • hadge
    replied to upload script creating files with CHMOD 600
    in PHP
    No i can specify the file (but i have to know what its called) meaning i will need to run CHMOD after the upload.

    But what i want it to do is chmod it as its being uploaded (so using the string for the file name)...
    See more | Go to post

    Leave a comment:


  • hadge
    replied to upload script creating files with CHMOD 600
    in PHP
    I can use the CHMOD script, but only to write individual file names, so if i use that i need to be able encompass the file name that is being uploaded into the script. ie
    "/www/var/html/"$_files
    But i havent been able to get it working :( with the embedded string...
    See more | Go to post

    Leave a comment:


  • hadge
    started a topic upload script creating files with CHMOD 600
    in PHP

    upload script creating files with CHMOD 600

    Hi im trying to get images to upload into a directory on my server but i cannot get them to upload as chmod 755 so that they are viewable can anyone help?

    [PHP]<?php include"connftp .php"; ?>

    <? if (($_FILES["file"]["type"] == "image/gif")
    || ($_FILES["file"]["type"] == "image/jpeg")
    && ($_FILES["file"]["size"]...
    See more | Go to post
No activity results to display
Show More
Working...