Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


{help please}Macromedia DreamWeaver
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Darkness1230
I post too much
Reputation: 0

Joined: 23 Nov 2006
Posts: 2816

PostPosted: Mon May 26, 2008 3:21 pm    Post subject: {help please}Macromedia DreamWeaver Reply with quote

This may sound silly but, I'm having trouble with making a back to top page button. I'm making a website for an assignment. So i need to know how to make a back to top button.
Thanks for helping!
Back to top
View user's profile Send private message
HalfPrime
Grandmaster Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 532
Location: Right there...On your monitor

PostPosted: Mon May 26, 2008 3:28 pm    Post subject: Reply with quote

You want to look up anchors.
Code:
<a name="TopOfThePage" id="TopOfThePage"></a>

Put that at the top of the page
Code:
<a href="#TopOfThePage">Go to the top</a>

_________________
Back to top
View user's profile Send private message
Darkness1230
I post too much
Reputation: 0

Joined: 23 Nov 2006
Posts: 2816

PostPosted: Mon May 26, 2008 3:38 pm    Post subject: Reply with quote

Thank you very much..
To not spam a lot of topics....
Can i ask for more answers?
Next i was wondering how you make a text form for email. So when you click it, you automaticly open outlook and email. As in for contact information page.

THANKS AGAIN!
Back to top
View user's profile Send private message
HalfPrime
Grandmaster Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 532
Location: Right there...On your monitor

PostPosted: Mon May 26, 2008 3:43 pm    Post subject: Reply with quote

Code:
<a href="mailto:[email protected]">mail</a>

_________________
Back to top
View user's profile Send private message
Darkness1230
I post too much
Reputation: 0

Joined: 23 Nov 2006
Posts: 2816

PostPosted: Mon May 26, 2008 3:47 pm    Post subject: Reply with quote

Thanks again!
I very appreciate you taking your time to help me out. If i have any other questions later on, i'll post them here. Thanks again!
Back to top
View user's profile Send private message
thephoneguy
Grandmaster Cheater
Reputation: 1

Joined: 17 Mar 2007
Posts: 873

PostPosted: Tue May 27, 2008 4:01 am    Post subject: Reply with quote

add me on msn. [email protected]
that way of contact is way outdated lemme give you a little php code that makes it way better Very Happy.


Save as contact.php
Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>

</head>

                    <form method="post" action="sendmail.php">

<?php
$ipi = getenv("REMOTE_ADDR");
$httprefi = getenv ("HTTP_REFERER");
$httpagenti = getenv ("HTTP_USER_AGENT");
?>

<input type="hidden" name="ip" value="<?php echo $ipi ?>" />
<input type="hidden" name="httpref" value="<?php echo $httprefi ?>" />
<input type="hidden" name="httpagent" value="<?php echo $httpagenti ?>" />


                    Your Name: <br />
<input type="text" name="visitor" size="35" />
<br />
                    Your Email:<br />
<input type="text" name="visitormail" size="35" class="style17" />
<br /> <br />
<br />
                    Attention:<br />
<select name="attn" size="1">
<option value=" Sales n Billing ">Sales</option>
<option value=" Sales n Billing ">Billing </option>
<option value=" General Support ">General Support </option>
<option value=" Technical Support ">Technical Support </option>
<option value=" Webmaster ">Webmaster </option>

</select>
<br /><br />
                    Mail Message:
</span>
<br />
<textarea name="notes" rows="4" cols="40"></textarea>
<br />
<input type="submit" value="Send Mail" />
<br />
</form>&nbsp;</td>
            </tr>
</table>
</body>
</html>



save as sendmail.php
Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sendemail Script</title>
</head>
<body>

<?php

$ip = $_POST['ip'];
$httpref = $_POST['httpref'];
$httpagent = $_POST['httpagent'];
$visitor = $_POST['visitor'];
$visitormail = $_POST['visitormail'];
$notes = $_POST['notes'];
$attn = $_POST['attn'];


if (eregi('http:', $notes)) {
die ("Do NOT try that! ! ");
}
if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,".")))
{
echo "<h2>Use Back - Enter valid e-mail</h2>\n";
$badinput = "<h2>Feedback was NOT submitted</h2>\n";
echo $badinput;
die ("Go back! ! ");
}

if(empty($visitor) || empty($visitormail) || empty($notes )) {
echo "<h2>Use Back - fill in all fields</h2>\n";
die ("Use back! ! ");
}

$todayis = date("l, F j, Y, g:i a") ;

$attn = $attn ;
$subject = $attn;

$notes = stripcslashes($notes);

$message = " $todayis [EST] \n
Attention: $attn \n
Message: $notes \n
From: $visitor ($visitormail)\n
Additional Info : IP = $ip \n
Browser Info: $httpagent \n
Referral : $httpref \n
";

$from = "From: $visitormail\r\n";


//mail("YOUR EMAIL", $subject, $message, $from);

?>

<p align="center">
Date: <?php echo $todayis ?>
<br />
Thank You : <?php echo $visitor ?> ( <?php echo $visitormail ?> )
<br />

Attention: <?php echo $attn ?>
<br />
Message:<br />
<?php $notesout = str_replace("z\r", "<br/>", $notes);
echo $notesout; ?>
<br />

<br /><br />
//<a href="YOUR WEBSITE"> Home </a>
</p>

</body>
</html>


i have commented out the code you need to change Very Happy

_________________
If you see me posting referring to an earlier conversation 9/10 times it was in the chatbox at baby Very Happy.
Back to top
View user's profile Send private message
SXGuy
I post too much
Reputation: 0

Joined: 19 Sep 2006
Posts: 3551

PostPosted: Tue May 27, 2008 4:54 am    Post subject: Reply with quote

[quote="HalfPrime"][code]<a href="mailto:[email protected]">mail</a>[/code][/quote]

If you want to add a subject line to it just add a small mod.

<a href="mailto:[email protected]" subject:CEF Rules>mail</a>

Im sure thats it, from what i can remember, havent written html for years!
Back to top
View user's profile Send private message
Overload
Master Cheater
Reputation: 0

Joined: 08 Feb 2008
Posts: 293

PostPosted: Sat May 31, 2008 6:32 pm    Post subject: Reply with quote

ThePhoneGuy wrote:
add me on msn. [email protected]
that way of contact is way outdated lemme give you a little php code that makes it way better Very Happy.


Save as contact.php
Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>

</head>

                    <form method="post" action="sendmail.php">

<?php
$ipi = getenv("REMOTE_ADDR");
$httprefi = getenv ("HTTP_REFERER");
$httpagenti = getenv ("HTTP_USER_AGENT");
?>

<input type="hidden" name="ip" value="<?php echo $ipi ?>" />
<input type="hidden" name="httpref" value="<?php echo $httprefi ?>" />
<input type="hidden" name="httpagent" value="<?php echo $httpagenti ?>" />


                    Your Name: <br />
<input type="text" name="visitor" size="35" />
<br />
                    Your Email:<br />
<input type="text" name="visitormail" size="35" class="style17" />
<br /> <br />
<br />
                    Attention:<br />
<select name="attn" size="1">
<option value=" Sales n Billing ">Sales</option>
<option value=" Sales n Billing ">Billing </option>
<option value=" General Support ">General Support </option>
<option value=" Technical Support ">Technical Support </option>
<option value=" Webmaster ">Webmaster </option>

</select>
<br /><br />
                    Mail Message:
</span>
<br />
<textarea name="notes" rows="4" cols="40"></textarea>
<br />
<input type="submit" value="Send Mail" />
<br />
</form>&nbsp;</td>
            </tr>
</table>
</body>
</html>



save as sendmail.php
Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Sendemail Script</title>
</head>
<body>

<?php

$ip = $_POST['ip'];
$httpref = $_POST['httpref'];
$httpagent = $_POST['httpagent'];
$visitor = $_POST['visitor'];
$visitormail = $_POST['visitormail'];
$notes = $_POST['notes'];
$attn = $_POST['attn'];


if (eregi('http:', $notes)) {
die ("Do NOT try that! ! ");
}
if(!$visitormail == "" && (!strstr($visitormail,"@") || !strstr($visitormail,".")))
{
echo "<h2>Use Back - Enter valid e-mail</h2>\n";
$badinput = "<h2>Feedback was NOT submitted</h2>\n";
echo $badinput;
die ("Go back! ! ");
}

if(empty($visitor) || empty($visitormail) || empty($notes )) {
echo "<h2>Use Back - fill in all fields</h2>\n";
die ("Use back! ! ");
}

$todayis = date("l, F j, Y, g:i a") ;

$attn = $attn ;
$subject = $attn;

$notes = stripcslashes($notes);

$message = " $todayis [EST] \n
Attention: $attn \n
Message: $notes \n
From: $visitor ($visitormail)\n
Additional Info : IP = $ip \n
Browser Info: $httpagent \n
Referral : $httpref \n
";

$from = "From: $visitormail\r\n";


//mail("YOUR EMAIL", $subject, $message, $from);

?>

<p align="center">
Date: <?php echo $todayis ?>
<br />
Thank You : <?php echo $visitor ?> ( <?php echo $visitormail ?> )
<br />

Attention: <?php echo $attn ?>
<br />
Message:<br />
<?php $notesout = str_replace("z\r", "<br/>", $notes);
echo $notesout; ?>
<br />

<br /><br />
//<a href="YOUR WEBSITE"> Home </a>
</p>

</body>
</html>




i have commented out the code you need to change Very Happy


sorry for the bump, but you didn't write that you tool. i can give you guys the link to the site if you want.
Back to top
View user's profile Send private message MSN Messenger
thephoneguy
Grandmaster Cheater
Reputation: 1

Joined: 17 Mar 2007
Posts: 873

PostPosted: Sat May 31, 2008 7:57 pm    Post subject: Reply with quote

it was a thing on the net yeah but i made some changes. i forget where i got it. sorry forgot to give cedits. and please tell me where i said i wrote it?
stop bein a dick. now i have made a few more changes to it btw. (auto redirects to the home page after 5 seconds(of completing)).

_________________
If you see me posting referring to an earlier conversation 9/10 times it was in the chatbox at baby Very Happy.
Back to top
View user's profile Send private message
Overload
Master Cheater
Reputation: 0

Joined: 08 Feb 2008
Posts: 293

PostPosted: Sat May 31, 2008 8:13 pm    Post subject: Reply with quote

ThePhoneGuy wrote:
it was a thing on the net yeah but i made some changes. i forget where i got it. sorry forgot to give cedits. and please tell me where i said i wrote it?
stop bein a dick. now i have made a few more changes to it btw. (auto redirects to the home page after 5 seconds(of completing)).


you said you made the comments all throughout the code telling him what he needs to change. you didn't. You didn't say it was yours, but you didn't say it was someone elses Wink
Back to top
View user's profile Send private message MSN Messenger
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sat May 31, 2008 8:15 pm    Post subject: Reply with quote

So. You don't have to give credits for a snippet. I mean it's not like a rule, but I mean really. And do you need to say it's someone else's. He said he commented where he needs to change things...he didn't say he wrote it. He even changed it, stop being a dick, seriously.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Overload
Master Cheater
Reputation: 0

Joined: 08 Feb 2008
Posts: 293

PostPosted: Sat May 31, 2008 8:25 pm    Post subject: Reply with quote

oib111 wrote:
So. You don't have to give credits for a snippet. I mean it's not like a rule, but I mean really. And do you need to say it's someone else's. He said he commented where he needs to change things...he didn't say he wrote it. He even changed it, stop being a dick, seriously.


listen, all i am saying is he didn't really do what he said he did. So thats it. Sorry if it seemed dick-ish, but i didn't mean it that way Confused
Back to top
View user's profile Send private message MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8585
Location: 127.0.0.1

PostPosted: Sat May 31, 2008 8:48 pm    Post subject: Reply with quote

oib111 wrote:
So. You don't have to give credits for a snippet. I mean it's not like a rule, but I mean really. And do you need to say it's someone else's. He said he commented where he needs to change things...he didn't say he wrote it. He even changed it, stop being a dick, seriously.


http://forum.cheatengine.org/viewtopic.php?t=223453

Rule 6. Just because it's a snippet, doesn't mean it's yours.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
torpin005
Master Cheater
Reputation: 0

Joined: 19 Nov 2007
Posts: 255

PostPosted: Sat May 31, 2008 9:39 pm    Post subject: Reply with quote

SXGuy wrote:
HalfPrime wrote:
Code:
<a href="mailto:[email protected]">mail</a>


If you want to add a subject line to it just add a small mod.

<a href="mailto:[email protected]" subject:CEF Rules>mail</a>

Im sure thats it, from what i can remember, havent written html for years!


thats close, but it would be
Code:
<a href="mailto:[email protected]" subject="CEF Rules">mail</a>

_________________


Go check it out. Good Hacks
Back to top
View user's profile Send private message AIM Address
thephoneguy
Grandmaster Cheater
Reputation: 1

Joined: 17 Mar 2007
Posts: 873

PostPosted: Sat May 31, 2008 9:50 pm    Post subject: Reply with quote

it was one of those you fill in the params and it auto generates your code. so it wasnt specifically written by someone else. thats like saying you need to give credits to (insert random IDE here) for every (insert random pre generated code snippet here) because you didnt "write" the code yourself. but yeah i am sorry for not saying it wasnt mine. but in my defense i was just trying to be helpful Razz


btw with the mailto command in html it auto opens the users default email client. most likely outlook. it is truly outdated and very annoying the php is way simpler. trust me when i say i went way out of my way to find an alternative around mailto.

i am still very new to web development so please give me a break at times Razz

_________________
If you see me posting referring to an earlier conversation 9/10 times it was in the chatbox at baby Very Happy.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites