Jump to content

Caligo

Members
  • Posts

    96
  • Joined

  • Last visited

Posts posted by Caligo

  1. ok I found and a function to ping a ip and came up with this
    <?php$startTime = time();$hostip = "xxx.xxx.xxx.xxx";$result = gethostbyaddr($hostip);$finishTime = time();print ($result); //if prints the ip then ping failed, if prints the hostname it was successful?>

    You can use $startTime and $finishTime to do some calcualtions to see how long it took to ping the ip and determine what connection speed. you will have to test the cod eon multiple connections to get a good idea of how long each type of connection takes.HTH

    awesome, thanks, ill mess around with next week sometime. Dont have any time right now, kinda just surf the forums as I work :)
  2. Maybe, maybe not lol. I have absolutely no knowledge of the canvas tag, but I can try to help you with redirection.
    I have some stuff made up in photoshop to show what I want some stuff to look like if you'd like to take a look at that. I know how to make it do what I want in flash for the most part, but I don't know any javascript. Actually, the menu portion you might be able to help me with.If youd like me to give you links to the pictures and an explaination of what I want done let me know and ill give that stuff to you.
  3. oh, you can. They had this crazy cool maze thing posted on here earlier. They used the javascript canvas tag and it was pretty much like a flash maze but it was reallly slow in high detail. Worked great though!
    Would you be willing to help me out then?
  4. Maybe javascript? Im sure there some sort of function to check the speed. But who wants to use a flash version? Flash sucks for websites!P.S. Cron, why did you spam that random post?
    I want to use flash....I personally like it, a pain it is to create, but I still like it. Besides, I am just starting to get into web design, going to college for it, and want to know how to do different things. Plus you cant do everything with javascript and stuff...or can you??
  5. What language would I use if I wanted to find out what someone's connection speed is, if it is above a certain speed then if they have flash enabled and redirect based on the results?so basicallyif (connectionSpeed <= x) then (redirect to xhtml/css version)elseif (connectionSpeed > x) then (check if flash is enabled) if (flash is enabled) then (redirect to flash version)not nicely written, I know, but I figure it will get my point across.

  6. What would the actionscript be if I wanted to do a next and previous button, where the next button would be likeon (press) { gotoAndStop (+1);}where the '+1' means go to the next frame, or in the case of previous, '-1'and how would I make it so it would loop, or would it do it automatically?

  7. do you have php installed on your PC or do you use a host? If it is on your pc then it is in the PHP folder you installed, most likely C:\php\php.iniIf you are using a host you will have to ask them about those settings.
    Oh, I see. I'd have to ask the host. Alright, thanks for the help.
  8. i don't know much about this stuff. i am not following where the ini file is...i've never done anything like this before. I am just getting used to xhtml and css. i did very little php a while back, it was basically the "hello world" thing and some form thing, but nothing to send, just posting.

  9. I do not know much about PHP mail() but in ASP.Net if you do not specify what SMTP server to use then it looks to the server (the PC you are running hte code on) for the STMP settings. If these are not setup on your PC that could be why they are not sending. Just a guess. Is there a way to specify the SMTP server with mail()?EDIT: I found this
    Thanks for the help. I still am not too sure what to do yet, but I'm going to keep looking and trying. I want to learn PHP anyways, why not learn some now right? :)
  10. it should send...can you post your modified code
    the only thing that I changed was what email it was sent to.ill give you my code for the whole page.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html><head><link rel="stylesheet" type="text/css" href="css/style.css" /><link rel="shortcut icon" href="images/icon.ico" type="image/x-icon" /><title>lucidSTYLE</title><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /></head><body><div class="center">	<div class="header">		<a href="index.html">||<span>HOME</span>|||||||||||</a>|||||<br />		<a href="about.html">||<span>ABOUT ME</span>||||</a>||<br />		<a href="portfolio.html">||<span>PORTFOLIO</span>||</a>||||<br />		<a href="contact.html">||<span>CONTACT</span>|||||</a><span>|||||||||||</span><span>  Contact information</span>		<br />	</div>		<div class="container">				<div class="right_head">		</div>				<div class="background">				<div class="content_a">		<h1>//contact</h1>				<?php			if (isset($_REQUEST['email']))			//if "email" is filled out, send email 			{ 			//send email 			$email = $_REQUEST['email'];  			$subject = $_REQUEST['subject']; 			$message = $_REQUEST['message']; 			mail( "info@lucidstyle.net", "Subject: $subject", 			$message, "From: $email" );			}			else			//if "email" is not filled out, display the form 			{ 			echo "<form method='post' action=''>			  Email: <br /><input name='email' type='text' /><br /><br />			  Subject: <br /><input name='subject' type='text' /><br /><br />			  Message:<br />			  <textarea name='message'>			  </textarea><br /><br />			  <input type='submit' value="Send " />			  </form>";			  }		?>				<br /><br />				<h5>*all fields must be filled to send</h5>				</form>				</div>				</div>			</div>		<div class="footer">				<div class="left">		 Copyright © 2006 Andrew Terpening  		</div>				<div class="right">		  check the site validation: <a title="xhtml" href="http://validator.w3.org/check?uri=referer">xhtml</a> <a title="css" href="http://jigsaw.w3.org/css-validator/validator-uri.html">css</a> 		</div>			 </div>	</div></body></html>

  11. I just grabbed the form from the tutorials. I tested it out, changed the email to what mine would be, but it doesn't actually submit. Could someone explain to me how to get it to work? I understand the what each part does for the most part, but don't know how to get it to actually send the email.Below is the original from the tutorial.

    <?phpif (isset($_REQUEST['email']))//if "email" is filled out, send email  {  //send email  $email = $_REQUEST['email'];   $subject = $_REQUEST['subject'];  $message = $_REQUEST['message'];  mail( "someone@example.com", "Subject: $subject",  $message, "From: $email" );  echo "Thank you for using our mail form";  }else//if "email" is not filled out, display the form  {  echo "<form method='post' action='mailform.php'>  Email: <input name='email' type='text' /><br />  Subject: <input name='subject' type='text' /><br />  Message:<br />  <textarea name='message' rows='15' cols='40'>  </textarea><br />  <input type='submit' />  </form>";  }?>

  12. That may work... I was Ctrl+Clicking on the layer in the layer table but not actually on the thumbnail. I'll try that also. I wouldn't believe they would take that out.
    I know how you feel. I used CS2 when it first came out..I don't like it as much as CS1, they changed some of the stuff, just little things like that, but to some, like myself, it isn't exactly a little thing. I use that a lot.
  13. When I do Ctrl+A this will create a marquee around the layer?If it does then it's the same thing and I can then create a blur effect only on that selected area :)
    Ctrl+A will select the whole image I believe, you want to select just what is on the current layer, at least that is how I understand it. To do that I think that you have to Ctrl+Click on the thumbnail of the layer, not the text or anything, just the thumbnail... I think that is what you were asking.
  14. Well, Vista, IE or whatever else Microsoft can make/break....it doesn't matter, it's still really funny that myspace went down cause of one dude...with style at that :)though, i must admit, vista does look pretty cool, now to wait and see if they can make it work right

  15. Is there a way to vertically align div layers. i know you can with tables, but i want to use divs. is this one of the things that didnt really get done for css yet?

×
×
  • Create New...