Jump to content

chronicx

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

chronicx's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. im making life hard on myself because its not so i can upload files myself, its so others can upload images- avatars for a message board. and the folder has the permissions right, its the individual files that have no permissions for anyone but owner. and it would be impractical to change those permissions by hand every single time someone wants a new avatar. how do other boards or programs do it?
  2. I have a script to upload a file into a directory on my server. The files upload great, but the problem is that there are no permissions set for group or other, just owner. Is there a way to change permissions through php? Or do I have to find some other way to upload files?
  3. Great! Thankyou very much, it works perfectly.
  4. There are two things you can do if I understand correctly. Either use get instead of post in your <form> tag. what this does is it takes the variables being passed; age or experience and it slaps them onto the url like so: [a href=\"http://www.site.com/page2.php?age=23\" target=\"_blank\"]http://www.site.com/page2.php?age=23[/a] years old&experience=expert where page2 would be the popup page. then, to print those, simply call the variable in your php script like so: [code]<?php print(" John is $age and is a(n) $experience. "); ?> [/code] Option number two: use the post method in your form and the variables will be kinda hidden. to access these ones, do the following: [code]<?php $age = $_POST['age']; $experience = $_POST['experience']; print(" John is $age and is a(n) $experience. "); ?> [/code] whereas in the single quotes of this: $_POST['']; you put whatever the name of the field thats getting posted is. This is only my second post here, so I hope imnot too confusing. the examples should help atleast. And i hope I understood the question and answered it so you can learn and finish your project. enjoy!
  5. Im having issues with my css showing up right in firefox. it works well in internet explorer though. What im trying to do is have an image repeated along the x axis on the bottom of the page. The code is as follows, any workarounds? thanks in advance. body { font-family: Arial, Helvetica, sans-serif; background: #6F8DBF url("css_800/mybkgd.jpg") bottom left; margin: 0px; background-repeat: repeat-x; } like i said, the above code works in IE but not FF. the background color works in both as does the repetition of the background image and the margin its just not where its supposed to be
×
×
  • 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.