.-INSANE-.
Members-
Posts
29 -
Joined
-
Last visited
Never
Everything posted by .-INSANE-.
-
[!--quoteo(post=357540:date=Mar 23 2006, 03:48 AM:name=Gast)--][div class=\'quotetop\']QUOTE(Gast @ Mar 23 2006, 03:48 AM) [snapback]357540[/snapback][/div][div class=\'quotemain\'][!--quotec--] [!--coloro:red--][span style=\"color:red\"][!--/coloro--][!--sizeo:3--][span style=\"font-size:12pt;line-height:100%\"][!--/sizeo--]That is not what he means, and I would advise using <input type="button" /> not the <button> tag.[!--sizec--][/span][!--/sizec--][!--colorc--][/span][!--/colorc--] I assume you want to have a form that they can submit normally but also cancel it if they want. If you want information to send when they click cancel as well, then you cannot have 2 submit buttons, but you can use: [code]<input tpye="button" value="Cancel" onclick="window.location='differentpage.php'" />[/code] Hope that helps. If you do want it to send information, then let me know and you can do it with javascript. [/quote] what ever itll do the same thing
-
in most admin cps there is a place to turn the site off and a page sayin if your off
-
do u have a config 2 setup cuz that may be the problem
-
well i kno how to do it in dreamweaver i could make a table code for you but you would have to impliment the pictures in there
-
ok u dont make the button in flash its made in dreamweaver and i didnt kno u coded in notepad nvm i figured it out [code] <a href="whateverpage.php"><button>Cancel</button></a> [/code]
-
i dont quite understand what ur saying but what i think you want is a button that directs you to a new page heres what you can do go to insert>media>flash button fill out the field EXCEPT for the link part then ur button will appear now go to the code and insert this code [code] <a href="whateverpage.php" class="style1"></a> [/code] that should work i jus did it this way with inserting the code that way you can change it whenever you want to youdont have to go bak and make a new flash button. you can also make you own buttons and click on it then fill out the link field
-
ok i dont need the get part i thought i needed it
-
is there a plugin for a n interpreter in dreamweaver
-
ok so this is how its supposed to be now [code] <?php $get = $REMOTE_ADDR echo 'Your IP is ' . $_SERVER['REMOTE_ADDR'] .' !!!'; ?> [/code] cuz for sum reason the $get = $remote-addr part doesnt seem right is it?
-
ok well here is my upload script but ur going to have to change it in diff ways [code] <?PHP if($_POST['submit']){ $directory = "/home/username/public_html/files/"; // Change this too $max_file_size = "CHANGE"; //This is in bytes $allowedfile[] = "CHANGE TO PIC MIME"; $allowedfile[] = "CHANGE TO PIC MIME"; $allowedfile[] = "CHANGE TO PIC MIME"; $allowedfile[] = "CHANGE TO PIC MIME"; $allowedfile[] = "CHANGE TO PIC MIME"; $allowedfile[] = "CHANGE TO PIC MIME"; if (is_uploaded_file($_FILES["file"]["tmp_name"])) { if($_FILES["file"]["size"]>$max_file_size) { $is_uploaded = "failed"; echo 'Sorry, this file is too large. The maximum filesize is '.$max_file_size.' bytes, although your file is '.$_FILES["file"]["size"].'. '; exit(); } if(!in_array($_FILES["file"]["type"],$allowedfile)) { $is_uploaded = "failed"; echo 'Sorry, wrong file type, "'.$_FILES["file"]["type"].'" is not allowed. '; exit(); } if(file_exists($directory.$_FILES["file"]["name"])) { $is_uploaded = "failed"; echo 'Sorry, this file already exists. '; exit(); if($is_uploaded!="failed") { $replace = array("$","%","#","@","!","&","^","*","(",")","-"); $new = str_replace($replace,"",$_FILES["file"]["name"]); $fileName = str_replace(" " , "_" , $new); if(! is_dir($directory)){ mkdir($directory,0777); } if (move_uploaded_file($_FILES["file"]["tmp_name"], $directory.$fileName)) { echo "Your file, ". $fileName ." has successfully been uploaded! Click <a href=\"".$directory.$fileName."\">Here</a> to view your file."; } else { echo 'Sorry, your file has not uploaded.'; exit(); } } } else { echo 'There has been an unknown error while uploading'; exit(); } } ?> [/code]
-
[code] <?php $get = $REMOTE_ADDR echo Your IP is "$REMOTE_ADDR" !!! ?> [/code] ok i was jus trying to see if i can sum of this stuff i kno its prolly wrong but what am i missing dont flame me im new to PHP
-
[!--quoteo(post=356819:date=Mar 20 2006, 06:49 PM:name=DD32)--][div class=\'quotetop\']QUOTE(DD32 @ Mar 20 2006, 06:49 PM) [snapback]356819[/snapback][/div][div class=\'quotemain\'][!--quotec--] I Think some people have modified mozilla slightly to allow them to take a snapshot of what you would see.. Mozilla would've been chozen simply because its open souce.... -=DD32=- [/quote] this seems the most likely i kno sum people that kno how to tweak firefox
-
ok im not very good in PHP so this may not help but i dont think u set a value it looks empty to me but like i said im not good so dont flame me for this
-
ok i got it now i dont understand what to do i go to dreamweaver and it still shows up bad and i dont understnad whats wrong wit it i alos cant get apache to start only thing running is mysql is that the problem ok i now uninstalled and then reinstalled and now i have FileZilla running but when i hir start on Apache itll strat for a quick second then itll end
-
*bump*
-
thanks alot i couldnt get it to work but now i can
-
ok i cant get my image that i made as my background image what is the code that i should put in to make my image the background
-
ok when i go to preview part of the php script shows up and all i do is go to preview in explorer and i have firefox havent tryed that yet but is there a way to type in the url or sumthing to make it look like it would do regularily
-
ok so what do i do then to fix it
-
ok i go to preview it on the dreamweaver thing and some of this script shows up i cant figure out whats wrong [code] <?PHP if($_POST['submit']){ $directory = "/home/username/public_html/files/"; $max_file_size = "26214400"; $allowedfile[] = "video/x-ms-wmv"; $allowedfile[] = "video/x-msvideo"; $allowedfile[] = "video/mpeg"; $allowedfile[] = "video/quicktime"; if (is_uploaded_file($_FILES["file"]["tmp_name"])) { if($_FILES["file"]["size"]>$max_file_size) { $is_uploaded = "failed"; echo 'Sorry, this file is too large. The maximum filesize is '.$max_file_size.' bytes, although your file is '.$_FILES["file"]["size"].'. '; exit(); } if(!in_array($_FILES["file"]["type"],$allowedfile)) { $is_uploaded = "failed"; echo 'Sorry, wrong file type, "'.$_FILES["file"]["type"].'" is not allowed. '; exit(); } if(file_exists($directory.$_FILES["file"]["name"])) { $is_uploaded = "failed"; echo 'Sorry, this file already exists. '; exit(); if($is_uploaded!="failed") { $replace = array("$","%","#","@","!","&","^","*","(",")","-"); $new = str_replace($replace,"",$_FILES["file"]["name"]); $fileName = str_replace(" " , "_" , $new); if(! is_dir($directory)){ mkdir($directory,0777); } if (move_uploaded_file($_FILES["file"]["tmp_name"], $directory.$fileName)) { echo "Your file, ". $fileName ." has successfully been uploaded! Click <a href=\"".$directory.$fileName."\">Here</a> to view your file."; } else { echo 'Sorry, your file has not uploaded.'; exit(); } } } else { echo 'There has been an unknown error while uploading'; exit(); } } ?>[/code]
-
ok thanks for the help
-
ok i was wondering which comes first in my upload script HTML [code] <form enctype="multipart/form-data" action="file:///C|/Documents and Settings/Jordan/My Documents/Photoshop/gameingvideos/fileproc.php" method="POST"> <p> <input name="file" type="file" /> <br /> By uploading you file you agree to the <a href="Terms Of Service.php" class="style1 style1">Terms Of Service</a> <input type="submit" value="Submit" /> [/code] or the PHP [code] <?PHP if($_POST['submit']){ $directory = "/home/username/public_html/files/"; $max_file_size = "1000000"; $allowedfile[] = "video/x-ms-wmv"; $allowedfile[] = "video/x-msvideo"; $allowedfile[] = "video/mpeg"; $allowedfile[] = "video/quicktime"; if (is_uploaded_file($_FILES["file"]["tmp_name"])) { if($_FILES["file"]["size"]>$max_file_size) { $is_uploaded = "failed"; echo 'Sorry, this file is too large. The maximum filesize is '.$max_file_size.' bytes, although your file is '.$_FILES["file"]["size"].'. '; exit(); } if(!in_array($_FILES["file"]["type"],$allowedfile)) { $is_uploaded = "failed"; echo 'Sorry, wrong file type, "'.$_FILES["file"]["type"].'" is not allowed. '; exit(); } if(file_exists($directory.$_FILES["file"]["name"])) { $is_uploaded = "failed"; echo 'Sorry, this file already exists. '; exit(); if($is_uploaded!="failed") { $replace = array("$","%","#","@","!","&","^","*","(",")","-"); $new = str_replace($replace,"",$_FILES["file"]["name"]); $fileName = str_replace(" " , "_" , $new); if(! is_dir($directory)){ mkdir($directory,0777); } if (move_uploaded_file($_FILES["file"]["tmp_name"], $directory.$fileName)) { echo "Your file, ". $fileName ." has successfully been uploaded! Click <a href=\"".$directory.$fileName."\">Here</a> to view your file."; } else { echo 'Sorry, your file has not uploaded.'; exit(); } } } else { echo 'There has been an unknown error while uploading'; exit(); } } ?>[/code]
-
can anyone help me??????