Jump to content


  • Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About kryles

  • Rank
    New To The Neighborhood
  1. I ned to connect to the database using VB.NET (2003) but I'm not sure what my server variable would be. Is it my domain name? is it an IP to the Database server? Anyone have an idea? Thanks,
  2. Beginning To Learn Php

    PHP code can also be used in .inc files, not just .php files
  3. How To Re-organize A Website

    You can use @import to protect the CSS from ruining older browsers interpretation of the code. I believe they may actually just ignore it all together, so I'm not sure if the cost is worth it. Of course I could totally be off but I remember reading about older browsers ruining layout sometimes because they don't understand all of CSS rules.
  4. How To Make Cronjobs

    Thanks, I googled an answer before seeing the reply to this (I didnt get any email notification even though it is enabled for the thread ). What I googled looks similar to your answer though. >php -q /home/username/public_html/scriptname > /dev/null Thanks
  5. Hi, I just want to run a cronjob that can update a table of mine. Would i do this in a bash script or a php file? At "Command to run" do i just do ./scriptName? I could use some tips here lol. Thanks,
  6. Want users to upload their own images

    Sorry I get this error when I try using the rename function. >open_basedir restriction in effect. File(/images/user19.jpg) is not within the allowed path(s) according to googling I get this for such a problem Not sure if this'll help, but any suggestions on a fix would be great, Thanks
  7. Hi, I have no troubles at all with what has been discussed so far (putting the files the image folder myslef), but what about if I would like my users to upload their own images. I have set the "file" type in my form and when they submit I try the following: ><form name="frmRegister" method="POST" action="'.$_SERVER['PHP_SELF'].'" enctype="multipart/form-data"> <input type="file" name="Imagefile" size="20"> <input type="submit" value="Register"> </form> >if($_FILES['Imagefile']['type'] == "image/gif") { echo "submitted"; copy ($_FILES['Imagefile']['tmp_name'], "images/user19.gif"); //also tried "/images/user19.gif" and got same problem } I get "failed to open stream: Permission denied" Is this a coding failure on my part, am I supposed to set permissions before trying to copy it from the temp folder or is this something out of my control? Thanks,