LiamProductions
-
Posts
496 -
Joined
-
Last visited
Never
Posts posted by LiamProductions
-
-
What kind of question is this?
-
I do not own nor affliate with this site but i host with it:
Its cheap, Why not?
-
Where are you including the mysql connection?
-
make it search the DB for there IP then if it matches don't do anything and if it doesnt match any run the script to log.
-
Maybe its some sort of comment like # ;p
-
thanks guys.
-
Hey.
Im kind of stuck.
Well... If im getting like a subject title from a database. How would i get the first 10 chars and then have like 3 dots after it?
What functions should i be using or could someone post an example.
Cheers, Liam.
-
SMTP = Simple Mail Transfer Protocol.
Maybe the IP is for the login page or something
-
Wrong board to post this in.
But, PHP Designer 2007.
-
Nope, Donate to http://www.phpfreaks.com if you can.
EDIT: The link is wrong above: Use http://www.php.net/mkdir
-
-
So what should I do to make it better?
Take off the validation sign, When you have 23 Errors!
-
Fixed!
-
Table 'system.system' doesn't exist
The database is called system and the table with users in is called members.
-
Hey.
Heres the error:
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\wamp\www\MySystem\members.php on line 11
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\MySystem\members.php on line 12
There was a critical error. Matching your data.
And heres the code:
<?php if(isset($_POST['submit'])) { if(isset($_POST['user'])) { if(isset($_POST['pass'])) { include('mysql.php'); $user = mysql_real_escape_string($_POST['user']); $result = mysql_query("SELECT * FROM `system` WHERE `members`.`user` = '$user'"); $user = mysql_fetch_assoc($result); if(mysql_num_rows($result) == 0) { echo "There was a critical error. Matching your data."; } else { $enteredPassword = md5($_POST['pass']); $pass = ($_POST['pass']); if($enteredPassword == $pass) { $userC = $_POST['user']; setcookie("User", $userC, time()+3600); } else { echo "There was a critical error. Matching your data."; } } } else { echo "There was a critical error with you <b>Password</b>."; } } else { echo "There was a critical error with your <b>Username</b>."; } } else { echo "There was a critical error."; } ?>
Its a login file. Can you find the error because i can't.
-
Do alot of hosts use RoR?
-
Is RoR free or do you have to pay for it like ASP
-
http://miniurl.us.to/8267926.php
Get a better host.
and even if only you use the admin panel you should still make the pass field type password
-
Heres a simple version of how you should do it
Form.html
<form method="post" action="file.php"> <input type="text" name=\"name\"> <input type="message" name="message"> <input type="submit">
file.php
<?php $to = "Myemail@phpfreaks.com"; $name = $_POST['name']; $message = $_POST['message']; $subject = "Mail form"; mail($to, $subject, $message); ?>
If you have a STMP server that should work also i hope it gives you an idea
Take a look at http://php.net/mail
-
-
Hotmail normally blocks any emails that you don't have on ur contacts or you have not asked for safe view on it.
Try making a hotmail and use that to email hotmail users and include no images and it might work.
-
All I know about ports is that Bittorrents send how much data the have uploaded and downloaded to the tracker .
Are'nt they Packages
-
Im not sure about ports but i know they go into thousands my friend said.
-
try:
Otherwise, I don't think there is a program that will do it for you inless you use something like Danosoft
first step for php
in Miscellaneous
Posted
What is ORKUT