Jump to content

Alfa9

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

About Alfa9

  • Birthday 12/23/1994

Contact Methods

Profile Information

  • Gender
    Male
  • Location
    Algeria

Alfa9's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. that's ok, thanks I got it to work
  2. hey guys I'am currenlty creating a chat application! But I javing some kind of problem ! So I have this buch of emotions, that I want to, on click add a code to the text field, just like on PhpBB (or in this forum for instance) ! like whene you click on an smiley, it adds a code, like for the smile emotion, it adds ' '. I tried the append and its not working ! Can anyone help me please !! thanks in advance
  3. Use Javascript With php : echo "<a href='#' onclick="javascript:history.back();">Go Back</a>";
  4. Yes, thank's alot But I have another question : How can I install them ??
  5. Hey guys I googled for it and I found some cool stuff(it's because I need to autentificate with username and password to my SMTP server !) But the problem is evry time I find An Article about that, with some code suplied too : For example I found this on some website : function mymail($username, $user_email, $subject, $message, $from, $host, $port, $username, $user_password) { // This is the Mail.php file from PEAR. include("Mail.php"); $recipients = $username; $headers["From"] = $from; $headers["To"] = $user_email; $headers["Subject"] = $subject; $body = $message; $params["host"] = $host; $params["port"] = $port; $params["auth"] = true; $params["username"] = $username; $params["password"] = $user_password; // Create the mail object using the Mail::factory method $mail_object =& Mail::factory("smtp", $params); $mail_object->send($recipients, $headers, $body); } I need to know where do they get the php.net from PEAR ?? I really need some help here
  6. Well I don't thing that the error comes from the doctype ! try the html validator and have it correct your html automaticly http://validator.w3.org/#validate_by_uri+with_options
  7. That's okey, apreciate the help too
  8. Well, I didn't ! Thank's alot dude, I apreciated
  9. This is just basic, you're gonna have to change it a bit if(isset($_GET['ref'])){ // if the ref variable is set $ref = $_GET['ref']; $query = mysql_query("UPDATE `table` SET `credit` = `credit` + 10 WHERE `ref` = '$ref'"); if (mysql_num_rows($query) !== false){ //ok, done, now display the register form off yours }else{ echo 'An error Has just eccured, try again later '; } } Like I said earlier, this is just a basic example and non secure you'll have to make some changes
  10. Hey guys I want to know how can I get the image dimentions whene it's uploaded, J just don't want it to be bigger then 100px width and 100px height Please Help, or rather just put me in the right direction It will be much apreciated
  11. Thank's a lot man I sure I will be learning from u guys to !! I just 16, So the road is still Big !
  12. Hi guys, well actually Freaks I'am Alfa9 Still a beginner with php (I'll always will be learning )
×
×
  • 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.