Jump to content

Heero

Members
  • Posts

    50
  • Joined

  • Last visited

    Never

Everything posted by Heero

  1. COol that fixed the problem.  But isn't it dangerous to set it to complete modification for the folder (ie. 777)?
  2. Hello all, I am running this code on my [url=http://202.71.227.137/rehab/CMS/cmsadmin/move_uploaded_file.php]server[/url]: [CODE] <?php include("phpincludes/userSessionCheck.php"); if (!isset($_REQUEST["seenform"])) { ?>   <form enctype="multipart/form-data" action="move_uploaded_file.php" method="post">   Upload file: <input name="userfile" type="file">   <input type="submit" value="Upload">   <input type="hidden" name="seenform">   </form> <?php } else {   $uploaded_dir = "/upload/";   $filename = $_FILES["userfile"]["name"];   $path = $uploaded_dir . $filename;   print "Temporary name: " . $_FILES['userfile']['tmp_name'] . "<br>";   print "Original name: $filename<br>";   print "Destination: $path<br>";   if (move_uploaded_file($_FILES["userfile"]["tmp_name"], $path)) {       print "Uploaded file moved";       // do something with the file here   } else {       print "Move failed";   } } ?> [/CODE] But I keep getting an move error.  [QUOTE] Temporary name: /tmp/phpx6PnbE Original name: book_32.psd Destination: /upload/book_32.psd Move failed [/QUOTE] What can possible be creating this problem?
  3. Hey guys, I currently making a form and it's all going well and stuff. But when I input chinese information into the form, and save it to the mySQL database, it displays as gibberish in the phpmyadmin table viewer. And even if I try to retrieve the information from the database, it still is displayed as gibberish. How can I fix this problem?
  4. I see the problem now. Interesting. It's not that FF is not getting the values from your CSS file, but it is simply rendering it differently from IE. Like try putting like a width of 200px and you'll see FF will actually expand the cell width. Why it does that? I don't know. A very simple, but not best solution would be to apply different widths for the two browsers. You can do this by using a star (*) hack to apply the widths only to IE. Like if you do this * html XXXXXX where XXXXX is the name of the class or id then that set of properties for that class or id will apply only to IE. You can then do a normal set of properties for the other browsers. Once again, a possible but definitely not the best solution.
  5. Can you elaborate on the exact problem? I don't really understand what you are trying to say. The only real problem I see is the lack of padding in the cells.
  6. Yeah, to follow up. 1) You need to get rid of the unverisal symbol * 2) You need to use a.menu because menu.a doesn't make sense
  7. [!--quoteo(post=376577:date=May 23 2006, 09:43 PM:name=ldsmike88)--][div class=\'quotetop\']QUOTE(ldsmike88 @ May 23 2006, 09:43 PM) [snapback]376577[/snapback][/div][div class=\'quotemain\'][!--quotec--] Nope, still doesn't work. I tried the following three and more: [code]a img{border:none;} a:img{border:none;} a.img{border:none;}[/code] [/quote] One possible solution is to give your links a class and then assign the dashed bottom-border only to the those text links. So say: [code] CSS a.test:link {     color: #000000;     text-decoration:none;     border-bottom:1px dashed #000000; } [/code] [code] HTML <a href='XXX' class='test'>XXX</a> [/code] And no images should have the dashed border
  8. 1) Don't let the placement of the navigation menu. Needs more margin spacing and why is there only a spacer between the last two links? 2) Add some padding in the content. The text is too close to the border. 3) The site overflows horizontal in 1024x768 resolution. Kind of annoying to have to scroll over. Other than that, it's not too bad.
  9. [!--quoteo(post=374919:date=May 18 2006, 04:21 AM:name=Taryn2906)--][div class=\'quotetop\']QUOTE(Taryn2906 @ May 18 2006, 04:21 AM) [snapback]374919[/snapback][/div][div class=\'quotemain\'][!--quotec--] Hello, I am totally clueless to PHP, I'm not even sure if the website I designed really qualifies as PHP, but I used some PHP scripts. Anyway, I designed a website: [a href=\"http://gregcummingsphotography.com\" target=\"_blank\"]http://gregcummingsphotography.com[/a] and when I view it on Firefox it looks correct, but when it's seen on IE the center table is moved off to the side. I have no idea what is wrong. I have been all through my codes and still can't find the problem. Any help would be greatly appreciated!!!! Thanks! [/quote] You should really consider redesigning your website. Using absolute position is generally not a good idea and that is what is contributing to the problem.
  10. Instead of using border: 0 try using border: none for images. So: [code] a img{border:none} [/code]
  11. [!--quoteo(post=375307:date=May 19 2006, 11:07 AM:name=astefishen)--][div class=\'quotetop\']QUOTE(astefishen @ May 19 2006, 11:07 AM) [snapback]375307[/snapback][/div][div class=\'quotemain\'][!--quotec--] Hello, i am very new to PHP and CSS. My webpage www.dieselfury.com only fills a portion of a screen on high resolution monitors. And depending on the amount of content resizes. How can I get it to auto size? Thanks! [/quote] You need to use percentage for your widths instead of fixed widths.
  12. Here is a screen of what I have right now: [img src=\"http://www.sfu.ca/~fcc/screen.jpg\" border=\"0\" alt=\"IPB Image\" /] Notice how none of the borders on the right side are aligned to each other. My question is how do I make it so that they all line up. Basically, it is just 3 div elements. One on top, and then two div elements on the bottom. The two on the bottom both float to the left. I am using relative position. It just that when I try to make the width cumlative up to 100% on the bottom, the right div elements goes onto another row. Like this: [img src=\"http://www.sfu.ca/~fcc/screen2.jpg\" border=\"0\" alt=\"IPB Image\" /] Like what is the best way to approach this?
  13. Hey guys, Here is a screenshot of what I have right now: [img src=\"http://www.sfu.ca/~fcc/navigation.gif\" border=\"0\" alt=\"IPB Image\" /] Notice how there is a line between the first and second line. That is fine. How do the second link text align itself all the way to the right side? Like this: [img src=\"http://www.sfu.ca/~fcc/navigation2.gif\" border=\"0\" alt=\"IPB Image\" /] My current code is: <div id="navContainer_1"> <ul id="nav"> <li><a href="index.php">主頁</a></li> <li><a href="register.php">申請及退出</a></li> </ul> </div> <div id="navContainer_2"> <ul id="nav"> <li><a href="index.php">主頁</a></li> <li><a href="register.php">申請及退出</a></li> </ul> </div> NavContainer1 simply has the attribute float: left. What attribute do I put in navContainer 2 to make the links go all the way to right side?
  14. The product key could possibly be converted into a software license, but I ran the program on separate computers using the same product key and the software license numbers showed up differently. Microsoft has been hiding something from us...... [img src=\"style_emoticons/[#EMO_DIR#]/wink.gif\" style=\"vertical-align:middle\" emoid=\":wink:\" border=\"0\" alt=\"wink.gif\" /]
  15. Hey guys, I know how to add shadows to text. Just highlight the text, go to format at the top select font, and then choose shadow as an option. The question is whether it is possible to change the color of the font? By default it is set on black. Thanks.
  16. Can I get a screenshot of what the problem is?
  17. [!--quoteo(post=372882:date=May 10 2006, 03:04 AM:name=wildteen88)--][div class=\'quotetop\']QUOTE(wildteen88 @ May 10 2006, 03:04 AM) [snapback]372882[/snapback][/div][div class=\'quotemain\'][!--quotec--] You might want to configure Dreamweaver to use the UTF-8 charset by defualt. You can do this by opening Dreamweaver then if you go to [b]Edit[/b] > [b]Preferences[/b] > and now the preferences window appears select the option from the list that says [b]New Document[/b] Now from the [b]Defualt encoding[/b] pull down menu select [b]UTF-8[/b] charset. [/quote] That solved the problem. Thanks!
  18. The software license key is not the same thing as the product key because the program lists two separate numbers for them. Yeah, it probably does get the information from the registry. But still the questions remains: How did it get there in the first place?
  19. Hey guys, Newbie question here. I was using this Belarc Advisor program to locate software information on my computer and I noticed it also prints out my Software License Keys for windows XP. I don't recall ever entering my software license key when installing windows XP, only my product key. So my question is: How does the program know what my license key is? Thanks
  20. [!--quoteo(post=372828:date=May 9 2006, 09:17 PM:name=hvle)--][div class=\'quotetop\']QUOTE(hvle @ May 9 2006, 09:17 PM) [snapback]372828[/snapback][/div][div class=\'quotemain\'][!--quotec--] This is easy, just use a text editor with multibytes encoded. you can use the same editor that you write chinese code. Simply write php codes in it and save as php file. I used M.S. Visual studio .NET, but there're million of editor out there you can find. [/quote] I don't really understand your solution. I use dreamweaver as my developing environment. When I save it simply says this: "The document's current encoding can not correctly save all of the characters within the document. You may want to change to UTF-8 or an encoding that supports the special characters in this document." I have to add the meta and php charset tag to prevent this from occuring.
  21. Hey guys, I already know how the PHPincludes function works. I am currently designing a website that uses chinese text, as a result I have to remember to use the charset of UTF-8 and this must be included in every page or else the text appear as "???" So the problem is my phpincludes are just blocks of html code and they are not necessary from the header tag. In other words, I can't include the charset of UTF-8 in every phpinclude file. For example say, index.php file includes a test.php file. The index.php has the: <?php header('Content-Type: text/html; charset=utf-8'); ?> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> stuff, while the test.php has all the chinese text but none of the charset stuff. When I try to save test.php all the text will revert to ??? and so when I include it in the index.php it appears as ??? Can anyone help me?
  22. Just go to File and choose save as. Save the page in the location you want, and then open it in the web page display program you are using. You should be able to directly manipulate stuff from there.
  23. I was able to find this really good software which audits your computer and displays all the information about each software (including product key) that is installed on your computer. Here is the link: [a href=\"http://www.belarc.com/index.html\" target=\"_blank\"]Belarc [/a]
  24. Hey guys, I have a bunch of programs which I have legally registered with a product key. But I've lost the product keys that I used to register the programs. The programs are still on my computer though. Is there a way I can find the product key I used to register the program on my computer? Thank You.
  25. This was the only category I could that was dreamweaver related. Basically the webpage I am developing is using chinese fonts, and to make sure the browser is reading it I have included the meta tag: <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> In the head of the document. However, when viewing the page in IE or Firefox the fonts do not appear. I have to manually change the encoding to UTF-8. Can anyone help me? Thanks
×
×
  • 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.