Jump to content

timgetback

Members
  • Posts

    39
  • Joined

  • Last visited

    Never

Everything posted by timgetback

  1. Yea..... it didnt extacly work.. heres what i wrote: [code]<style type= "text/css"> table table table table td:hover {filter:none; -moz-opacity:1.0; opacity:1.0; -khtml-opacity:1.0;} table table table table td {filter:alpha(opacity=60); -moz-opacity:0.6; opacity:0.6; -khtml-opacity:0.6;} </style>[/code] its filtering to 40% but its not unfiltering when i use th:hover
  2. Ok so it would look like...... [code]table table table table td:hover {filter:alpha(opacity=60); -moz-opacity:0.6; opacity:0.6; -khtml-opacity:0.6;) table table table table td {filter:alpha(opacity=60); -moz-opacity:0.6; opacity:0.6; -khtml-opacity:0.6;} [/code]
  3. I new with css.... right now im filtering my tables.. [code]table table table table td {filter:alpha(opacity=60); -moz-opacity:0.6; opacity:0.6; -khtml-opacity:0.6; } [/code] and i wanted to make it so when i mouse over the  table the filter changes to:[code]{filter:none; -moz-opacity:1.0; opacity:1.0; -khtml-opacity:1.0;}[/code] Please help..
  4. I wanted to change my table properties when hovering over it with a mouse...... like i have an alpha filter on my tables and i wanted the filter off when a user hovers over the tables... any help would be great sorry its not php...
  5. I would to say thank you all for all your help... My Project was a complete success.... and all you guys KICK ASS!!!!!!! cause i had no chance in hell of completeing my project in the one week that i did it in... And i hope all my dumbass questions will help other noObs....
  6. ok... cause i tried to include 'redirect.php'; at the end of my script it didnt wok.... so when i used [code]echo "<SCRIPT language= javascript>window.location="http://www.somesite.com</script>';[/code] I keep getting this messgae: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/getsam2/public_html/register3.php on line 36
  7. thanks.... but i was still hoping to figure out how i can redirect using header() or some other function at the end of my php script.....
  8. i was just wondering can i send an html link with php mail: [code]$message= "The information is that blah blah blah blah echo "<a href=http://www.somesit.com">Here</a> to see wat im talkin about."; mail("email@domain","Account INfo",$message,"from: forcsee.site"); ?>[/code] cause it gave me this error: Parse error: syntax error, unexpected '<' in /home/getsam2/public_html/register3.php on line 30
  9. [quote author=SharkBait link=topic=102866.msg408914#msg408914 date=1154617365] Depends on what else you want to do.. Just remember that you cannot send any output to the browser prior to the header() and anything after won't be seen because its not on that page anymore. As for it continuing execution of the script after the header() function, I am not sure if it does any of it.  I usually have exit() after my header() and then whatever else I need to do will be in the script that you're calling header with. [/quote] Ive gotten alot of conflicting messages.... like if i put ob_start(); and ob_flush(); in my code i can put the header() fuction anywhere.... unfortunately i tried n it didnt  work but it could be the way i did it.  i also tried echo ' script type="text/javascript> window.location = "http://somesit.com/index.php"; </script>'; but that didnt work... it didnt cause any errors but it didnt work.. so wats up?
  10. For some unexpected reason... neither the exho'script..........</script>'; works or even closing php... ?> and reopening works. Nothings seems to be redirecting my code... and i wanted to redirect after i was done with the output
  11. when i typed the code you gave me: [code]<script type="text/javascript> window.location = "http://somesite.com/page.php"; </script> [/code] It kept giving me this error: "Parse error: syntax error, unexpected '<' in /home/someplace/public_html/register3.php on line 31" line 31 happens to be the place where the above code started.
  12. so would i add that java script to my php file??? cause when i added [code]include 'redirect.php';[/code] at the end it didnt redirect the url......
  13. [quote author=wildteen88 link=topic=102866.msg409040#msg409040 date=1154626491] You can place header, sessiojn_start, mail, setcookie or any other function that changes the headers anywhere within your script, aslong as there is no output before the use of these functions. [/quote] what???? so i cant have all my php scripts before the header function? Cause if you check i have it at the very end.. which casused problems....
  14. im not familiar with java script... but heres my code: [code] <?php session_start(); include 'db2.php'; $username = $_POST['username']; $passwd = $_POST['password']; $username = stripslashes($username); $passwd = stripslashes($passwd); if ((!$username) || (!$password)) {     include("error.html");     exit; }   $info2 = htmlspecialchars($info); $sql = mysql_query("INSERT INTO users (username, password)         VALUES('$username', '$passwd')") or die (mysql_error()); $result = mysql_query($sql,$connection) or die (mysql_error()); header("location: http://www.domain.com");     exit;   ?>[/code] I was thinking of adding "include 'redirect.php'; " and having the header there instead.....
  15. thanks... also when i added the header function at the end of my php file.... it kept telling me that i have an error at line 47  which is the line that has "?>" i dont understand why theres an error there.   When i moved the header to the top of my php file and added "exit;" right after it it repeated the same error.
  16. i got another question i have this on my login page: [code]if ((!$username) || (!password)) {     include("error.html");     exit; }[/code] but every time i type in a username and password it still brings me to the error page regarless of whether or not i type in the correct information.
  17. so what it should look like: [code]<?php header("Location: http://www.example.com"); #then the rest of the code? cause i wanted more code there. ?> [/code]
  18. I want to create a php code that redirects a user to a different website. I searched through the forums so i wouldnt haveto posta new topic but i didnt find any thing if anyone could help it would be greatly appreciated.
  19. Thanks alot.... i ditched that hosting service and found another one thanks alot...
  20. Hey..... guys i know ive been a pain in da ass. but i got one more major quesion. I used the code: [code] <?php phpinfo() ?>  [/code] to figure out why my phpmailer wasnt working and why it kept changing mail() to array().. What i found is in the diable_fuctions section.. the mail function was listed. Also register globals are off. My questions is how do i turn register_globals on and how to i enable the mail() function.. im using a free hosting site called trap17.net its really good but back to the point i need to enable the mail() function cause its crucial to my site project.
  21. Ok i got another problem.... when i send my mailto.php file with the following code: [code]<?php $to = "email@domain.com"; $subject = "Email Info"; $info1 = $_POST['info1']; $info2 = $_POST['info2']; $body = "info1: $info1 ,info2: $info2"; if (mail($to, $subject, $body)) {   echo("<p>message successfully sent!</p>"); } else {   echo("<p>Error Try again...</p>"); } ?> [/code] It changes the mail function to an array function so it ends up like this when i load it: [code]<?php $to = "email@domain.com"; $subject = "Email Info"; $info1 = $_POST['info1']; $info2 = $_POST['info2']; $body = "info1: $info1 ,info2: $info2"; if (array($to, $subject, $body)) {   echo("<p>Message successfully sent!</p>"); } else {   echo("<p>Error Try again...</p>"); } ?> [/code] What should i do? cause when i leave the array function in, and add the mail function it also changes Before: [code]if (array($to, $subject, $body)) {   echo("<p>Login successfully sent!</p>")   mail($to, $subject, $body); } else {   echo("<p>Error Try again...</p>"); } ?> [/code] After: [code]if (array($to, $subject, $body)) {   echo("<p>Login successfully sent!</p>")   array($to, $subject, $body); } else {   echo("<p>Error Try again...</p>"); } ?> [/code]
  22. how do you turn that on??? im really new to this stuff. thanks it tells me that the message was succesfull but when i check my email theres nothing there.
  23. I want to send html variables that are using the post method via php mail to an account........ here is my mail.php file: <? $to = "mail@mailer.com"; $subject = "Email Info"; $info1 = $_POST['name'] $info2 = $_POST['age'] $body = "$info1 , $info2"; if (mail($to, $subject, $body)) {   echo("<p>message successfully sent!</p>"); } else {   echo("<p>Error Try again...</p>"); } ?> Ok... i used action= mail.php however it doesnt show whether or not the message was sent or not... allso the account is not recieving the message if anyone can deliever a straight forward answer it would be great.
  24. swatisonee  u been alot of help but it just dont work i cant seem to figure it out.
×
×
  • 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.