Jump to content

Mencarta

Members
  • Content Count

    182
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Mencarta

  • Rank
    Member

Previous Fields

  • Languages
    (X)HTML, CSS, JavaScript, XML, XSLT, ASP, ASP.NET, PHP, MySql

Contact Methods

  • Website URL
    http://
  • ICQ
    0
  1. java script: function changeOpacity(var opacity){ // CSS3 document.getElementById("gallery-pic").style.opacity = opacity / 100; // IE document.getElementById("gallery-pic").style.filter = "alpha(opacity=" + opacity + ")";} For some strange reason this code won't work. Nothing is wrong with it as far as I can tell. Any help would be greatly appreciated.
  2. Mencarta

    Bloxika

    What does comp mean?
  3. Mencarta

    Bloxika

    I'm making that site so it is only a concept picture. You played ROBLOX though?!
  4. Mencarta

    Bloxika

    I have created a design for a wiki for the site ROBLOX. I was wondering what I could do to improve it. All suggestions are appreciated. Thanks.Design 1.0:
  5. Mencarta

    Image File Size

    Doesn't work. I modified to the code to:upload.php <?php $links = 5242880; $pics = 2060451840; $pptx = 2060451840; $path = "http://localhost/projects"; if (isset($_POST["type"])) { if ($_FILES["file"]["error"] == UPLOAD_ERR_OK) { if ($_POST["type"] == "pptx" && $_FILES["file"]["type"] == "application/vnd.openxmlformats-officedocument.presentationml.presentation") { $tmp = $_FILES["file"]["tmp_name"]; $name = $_FILES["file"]["name"]; $dir = $_POST["type"]."/".$name; if ($handle = opendir("pptx")) { $size = 0; while (false !== ($file = readdir($handle))) {
  6. Mencarta

    Image File Size

    I get the error: Warning: filesize() [function.filesize]: stat failed for Fever 1.0.png in C:\apache\server\projects\upload.php on line 38 When I submit an image through this code.upload.php <?php $links = 5242880; $pics = 2060451840; $pptx = 2060451840; if (isset($_POST["type"])) { if ($_FILES["file"]["error"] == UPLOAD_ERR_OK) { if ($_POST["type"] == "pptx" && $_FILES["file"]["type"] == "application/vnd.openxmlformats-officedocument.presentationml.presentation") { $tmp = $_FILES["file"]["tmp_name"]; $name = $_FILES["file"]["name"]; $dir = $_POST["type"]."/".$name;
  7. Mencarta

    $_POST

    I have the code <?php if (isset($_POST["type"])) { if ($_FILES["file"]["error"] == UPLOAD_ERR_OK) { if ($_POST["type"] == "pptx" && $_FILES["file"]["type"] == "application/vnd.openxmlformats-officedocument.presentationml.presentation") { $tmp = $_FILES["file"]["tmp_name"]; $name = $_FILES["file"]["name"]; $dir = $_POST["type"]."/".$name; move_uploaded_file($tmp,$dir); if (file_exists($dir)) { header("Location: uploaded.php?file=".$name); } else { header("Location: error.php?file=".$name); } } if ($_POST["type"] == "scrapbooks" || $_POST["type
  8. Mencarta

    Uploading Files

    Thanks, it now works.
  9. Mencarta

    Uploading Files

    I get the error: Warning: move_uploaded_file(http://localhost/projects/pptxfever.pptx) [function.move-uploaded-file]: failed to open stream: HTTP wrapper does not support writeable connections in C:\apache\server\projects\upload.php on line 8Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\WINDOWS\TEMP\php1B8.tmp' to 'http://localhost/projects/pptxfever.pptx' in C:\apache\server\projects\upload.php on line 8When I try to run upload files with this script:upload.php <?php if (isset($_POST["type"])) { if ($_FILES["file"]["error"] == UPLOAD_ERR_OK) { $tmp = $
  10. Mencarta

    Reading Array

    My code:index.php <?php $dir = "/files"; $files = array(); if ($handle = opendir("/files")) { while ($false !== ($file = readdir($handle))) { $files[] = $file; } }?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html> <head> <title>Fever 1793 - Home</title> <link rel="stylesheet" type="text/css" href="fever.css" /> </head> <body> <div id="header"> <h1>Fever 1793</h1> </div> <div id="page"> <h2>Fever 1793</h2>
  11. Mencarta

    Centering A Div

    My website: yellowfever.zxq.net has a gallery box and I want it centered. I've tried margin and text-align but it doesn't work.
  12. Mencarta

    Fml

    Thanks, I realized echoing each time was the problem after I posted this and went to sleep.
  13. Mencarta

    Pygame

    So I have downloaded pygame, and I'm wondering where I should put what files if I have this in my script: from pygame import *
  14. Mencarta

    Fml

    Now the real challenge italics and bold. I got italics working, but when I try to use it in the same field it does the italics and bold, but the tags are left in. Here is my code:fml.php <html> <head> <title>Server - PHP - FML</title> <style> a, a:link, a:visited, a:hover { color:blue; } ul { list-style-type:none; position:relative; left:-17px; } </style> </head> <body> <center> <h1>Server - PHP - FML</h1> <p>Please enter some text with using the following format:</p> <ul>
×
×
  • Create New...