Nov 20, 2009
Pages: 1, 2, 3

Writing And Testing My Own Login Script [solved]

free web hosting

Read Latest Entries..: (Post #20) by yordan on Feb 23 2008, 05:43 PM.
QUOTE(Eggie @ Feb 23 2008, 06:12 PM) so you can mark it [SOLVED]OK, I did it. By the way, you can olso do it by yourself : just click the "Edit" button on the topic stater post, and you can change the title ...Yordan
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Open Discussion & Free Web Hosting > Computers & Tech > Programming > Scripting > PHP

Writing And Testing My Own Login Script [solved]

Eggie
i have this error
QUOTE
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/eggie/public_html/race.php:2) in /home/eggie/public_html/race.php on line 5

in every page i have with session start...what's the problem??


CODE
<title>Race</title>
<?php
include("style.css");
include("config.php");
session_start();
if(!session_is_registered(myusername)){
echo 'Your Session has Expired!';
exit;}

//If you click race...
if ($_GET['action']=='race')
{
$asa=$_POST['bike'];

if(!isset($asa))
{
echo 'You didn\'t select any bike!';
?>
<br>click <a href=race.php> HERE</a> to go back
<?php
exit;
}

else{

$rand=mt_rand(1,2);
  
if ($_POST['bike']==1) $trub='Derbi Senda 50';
if ($_POST['bike']==2) $trub='Honda NS 50 R';
if ($_POST['bike']==3) $trub='Suzuki ZR 50';
if ($_POST['bike']==4) $trub='Yamaha DT 50 MX';
if ($_POST['bike']==5) $trub='Aprilia RS 50';

echo'You raced against:';
echo $trub;
$name=$_SESSION['views'];


$res = mysql_query("select * from members where username = '$name'");
$wins1 = mysql_fetch_array($res);
$points=$wins1['points'];
$wo=$wins1['wins'];
$lo=$wins1['lose'];

//If random number is equal to 1 than set win +1
if($rand==1){
?>
</br>
<?php
$wo++;
$points=$points+100;
mysql_query("update members set wins=$wo where username = '$name'");
mysql_query("update members set points=$points where username = '$name'");
echo '<br>You won 100 points!';
?>
</br>
<table border="1">
<?php
echo'You have total of: ' .$points. ' points!';
?>
</table>
</br>
<?php
}

//else lose +1
else {

echo'<br><br>You lost!';
?>
<table border="1"><td>
<?php

echo'You have total of: ' .$points. ' points!';


?>
</td></table>

<?php
$lo++;

mysql_query("update members set lose=$lo where username = '$name'");

?>
</br>
<?php
}

//How many times you won overall
echo 'Wins:';
echo $wo;
?>
</br>
<?php
echo'Losses:';
echo $lo;


//race form
?>
<form name="form3" method="post" action="race.php">

    <input type=submit value="Go back">  

</form>
<?php



exit;


}
}

if ($_GET['action']!='race'){?>
<html>
<head>
&lt;script type="text/javascript">
    function showpic(o) {
        o = parseInt(o);
        switch (o)
        {
        case 1:
            imgName='pictures/senda.jpg';break;
        case 2:
            imgName='pictures/ns.jpg';break;
        case 3:
            imgName='pictures/zr.jpg';break;
        case 4:
            imgName='pictures/dt.jpg';break;
        case 5:
            imgName='pictures/rs.jpg';break;
        }
        var DivImage = document.getElementById('DivImg');
        var DisplayImg = document.getElementById('IdImg');
        DisplayImg.src=imgName;
        DivImage.style.visibility="visible";
    }
</script>
</head>
<body>
<form name="form2" method="post" action="race.php?action=race">
<table border="1"><td>Who do you wanna race?<br>
<font size="1">Hint:You get 100 points for racing this class</font></td></table>
    <select size=5 name="bike" onchange="showpic(this.options[this.selectedIndex].value)">
    <option value="1">Derbi Senda 50</option>
    <option value="2">Honda NS 50 R</option>
    <option value="3">Suzuki ZR 50</option>
    <option value="4">Yamaha DT 50 R</option>
    <option value="5">Aprilia RS 50</option>
    </select><br>
    <input type=submit value=Race>  
    <div id="DivImg" style="position:relative;top:-90px;left:150px;z-index:20;width:25px;height:25px;visibility:hidden;text-align:center;"><img id="IdImg"></div>
</td>
</tr>
</form>

</body>
</html>

<?php
}
?>
<form method=post action='login_success.php'>
                         <input type=submit value='Go to main!'></form>

 

 

 


Comment/Reply (w/o sign-up)

Miles
I'm not sure, but judging from your code, this could be caused by not having the session_start() function at the top of the code. Put it to the top and post here with any more issues. Or, it could be that config.php has session_start() already in it and you're having it again, which causes warnings. If all else fails, it dosen't seem much more than a warning, so you could possibly have error_reporting(0); in it, which I believe stops warnings from coming up.

Comment/Reply (w/o sign-up)

Eggie
i put it up and it's ok...
now i have another problem...
this is my logout script...
CODE
<?
session_start();
session_destroy();
?>

and this is another part in other script(login_success)...
CODE
if(!session_is_registered(myusername)){
header("location:main_login.php");
}

when i go to my logout script and after that i go to the "login_success.php" script it just prints out just as i didnt go to my logout script.. what could cause the problem?

EDIT:btw this is my "login_check.php" script

CODE
<?php
include("style.css");
include("config.php");
// username and password sent from signup form
$myusername=$_POST['myusername'];
$mypassword=$_POST['mypassword'];

$sql="SELECT * FROM $tbl_name WHERE username='$myusername' and password='$mypassword'";
$result=mysql_query($sql);

// Mysql_num_row is counting table row
$count=mysql_num_rows($result);
// If result matched $myusername and $mypassword, table row must be 1 row

if($count==1){
// Register $myusername, $mypassword and redirect to file "login_success.php"
session_register("myusername");
session_register("mypassword");
header("location:login_success.php");
$_SESSION['views'] = $_POST['myusername'];
}
else {
echo "Wrong Username or Password";
}
?>

 

 

 


Comment/Reply (w/o sign-up)

Feelay
I think I know whats wrong.

You have registered a session in a way I've never used. But i checked the php manual, and according to that one, you must unregister registered sessions.

You can do that by typing something like this:
CODE
session_unregister("myusername");

You must include this code (and unregister mypassword), in the logout script. here is the link for the phpmanual:
session_unregister php manual

Comment/Reply (w/o sign-up)

Eggie
QUOTE(Feelay @ Feb 21 2008, 09:30 PM) *
I think I know whats wrong.

You have registered a session in a way I've never used. But i checked the php manual, and according to that one, you must unregister registered sessions.

You can do that by typing something like this:
CODE
session_unregister("myusername");

You must include this code (and unregister mypassword), in the logout script. here is the link for the phpmanual:
session_unregister php manual

how do you register sessions??can u put it here please??

EDIT:and unregister...please copy those codes here...

Comment/Reply (w/o sign-up)

Feelay
QUOTE
CODE
if($count==1){
// Register $myusername, $mypassword and redirect to file "login_success.php"
session_register("myusername");
session_register("mypassword");
header("location:login_success.php");
$_SESSION['views'] = $_POST['myusername'];
}
This is your code.. Look at this:

QUOTE
CODE
session_register("myusername");
session_register("mypassword");


This is were you have registered them. now in the logoutscript, you should unregister them.

Comment/Reply (w/o sign-up)

Eggie
QUOTE(Feelay @ Feb 21 2008, 09:41 PM) *
This is your code.. Look at this:
This is were you have registered them. now in the logoutscript, you should unregister them.

this is my logout script
CODE
<?
session_start();

session_unregister("myusername");
?>


Comment/Reply (w/o sign-up)

Feelay
You said this is your logout script:

QUOTE
CODE
<?
session_start();
session_destroy();
?>


And I said that you should try to change it to this wink.gif:

CODE
<?
session_start();
session_unregister("mypassword");
session_unregister("myusername");
session_unset();
session_destroy();
?>


But eggie. remember. as I told You.. I have NEVER ever used session_regiter and session_unregister, so I dont know if I am using session_unregister the right way..

Maybe it is:



CODE
<?
session_start();
session_unregister($mypassword);
session_unregister($myusername);
session_unset();
session_destroy();
?>

I don't know. try both.. but I know that the fault is from there.

Comment/Reply (w/o sign-up)

Eggie
QUOTE(Feelay @ Feb 21 2008, 09:51 PM) *
But eggie. remember. as I told You.. I have NEVER ever used session_regiter and session_unregister

thats why i asked u to copy that code where you register and unregister in ur scripts

Comment/Reply (w/o sign-up)

Feelay
I don't understand.. tongue.gif
did the code I gave you work, or didn't you try?

Comment/Reply (w/o sign-up)

Latest Entries

yordan
QUOTE(Eggie @ Feb 23 2008, 06:12 PM) *
so you can mark it [SOLVED]

OK, I did it. By the way, you can olso do it by yourself : just click the "Edit" button on the topic stater post, and you can change the title ...
Yordan

Comment/Reply (w/o sign-up)

Eggie
hey man...sorry i already solved it and it works fine...smile.gif
sorry for not posting so you can mark it [SOLVED]
if you wanna see the game i'm making go to MY GAME
i will put it on this server when i finish it smile.gif
thanx for the help feelay

Comment/Reply (w/o sign-up)

Feelay
Sorry. My fault. Try this code:

CODE
<?php
include("style.css");
include("config.php");
// username and password sent from signup form
$myusername=$_POST['myusername'];
$myusername=mysql_real_escape_string($myusername);//I added this to make your script a little more safe
$mypassword=$_POST['mypassword'];

$sql="SELECT * FROM $tbl_name WHERE username='$myusername' and password='$mypassword'";
$result=mysql_query($sql);

// Mysql_num_row is counting table row
$count=mysql_num_rows($result);
// If result matched $myusername and $mypassword, table row must be 1 row

if($count==1){
// Register $myusername, $mypassword and redirect to file "login_success.php"
$_SESSION['login'] =$myusername; //I added "=$myusername, so that the session can recognize you"
$_SESSION['views'] = $_POST['myusername'];
header("location:login_success.php");

}
else {
echo "Wrong Username or Password";
}
?>


Try it. It Should Work.

//Feelay

Comment/Reply (w/o sign-up)

yordan
By the way, I changed the topic title, the old one ("Login") was not clear enough. The new title should be more representative of the problem statement and the solutions found. rolleyes.gif

Comment/Reply (w/o sign-up)

mastercomputers
1:
You have <title>Race</title> before your PHP session/headers, this means the headers will already be sent and you were too late to start a session. Usually caching a page before it's sent can solve this, or just move the title below the PHP code.

2:
Including a CSS stylesheet, I don't know what's inside here, but if it's plain text use HTML to include the stylesheet or if it's PHP, give it a PHP extension, else it'll be treated just like plain text.

e.g. <link href="path/to/style.css" rel="stylesheet" type="text/css" />

3:
session_start() must appear before any other PHP operation unless page caching is done, but you should learn to always do it first.

4:
session_is_registered() takes a string, you are using a constant called myusername which may or may not be what you want, e.g. you might want to do if(!session_is_registered('myusername'))

5:
failed to check if $_GET['action'] is set before using it, you should do:

if(!empty($_GET['action']) && $_GET['action'] == 'race')

6:
failed to check if $_POST['bike'] exists, undefined variables can cause undesirable results, always insure they are set before using them.

if(!empty($_POST['bike'])) {
$asa = $_POST['bike'];
}
else {
echo '<p>You did not select a bike!</p><p>Click <a href="race.php">HERE</a> to go back</p>';
exit;
}

I know there will be more problems, but I don't have time to go through the whole thing at the moment so I'll leave it as this for now.


Cheers,

MC

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Pages: 1, 2, 3
Similar Topics

Keywords : writing, testing, login, script, solved,

  1. Php Script Organizer
    (3)
  2. Myspacetv Download Php Script Help
    (6)
    I was trying to make a php script that can view myspace videos with jw flv player and wont to know
    how to do so if i put in
    "http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=38105626" it show the video
    "http://cache01-videos02.myspacecdn.com/11/vid_e382054c036835500bacfef1ebb5157e.flv(its the flv
    video file from myspacetv), I cant see the similarity with the links please help, thanks for viewing
    this topic /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />....
  3. Php Login Script
    (0)
    login script click the link to get your free php login script installer just follow the
    instuctions the exe gives you and it will give you the script just place the code in the sever and
    open index.html and follow on from there. what it has: it has reg page, login protection code ect.
    it is simple to use and i think quite fun but im BORN TO BE WEIRD,you will need at least one working
    mysql data base /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif"
    /> hope you enjoy it. iknow i did from the alexmedia crew....
  4. Make A Script Run Even If No User Is Online
    (6)
    Hey! Is there any way to make a script run, even if no user is online. Because at the moment, my
    scripts run, only when a user is online. And another thing: How can i make the following: (this is
    just an example) mysql_query"SELECT maxhp FROM users WHERE username = 'allusers'"; How can I
    select all users maxhp, in the same query? Thanks //Feelay....
  5. Script Request
    script request (2)
    another script request i am looking for a file manger tutorial with edit delete search upload move
    copy and a WYSIWYG(What You See Is What You Get) editer like on on freewebs.com and css editor plz
    help! i need on badly vmkrightpoint Edit"i keep search google and msn and yahoo i can't find
    on!! lol"....
  6. Free Forum Hosting Type Script Help!
    Free forum hosting type script help!!! (2)
    i want to make something like http://invisionfree.com/ that makes an dir with your phpbb 3 forum
    in it with an admin CP plz help i really want to make something like it!! i was thinking of coding
    my own with file handling but i'm not good at some of it like "when u click submit to register
    a forums it will move the phpbb3 file that leads to the users dir then it will rename the dir to
    your username so like my.site.com/username it might work" with the admin username and pass and
    admin's email it will open the config.php then edit all the data but it will ke....
  7. Login Script
    (8)
    I have another question--- i downloaded script of a game and it worked until my server changed to
    newer version of php after which it didn't work... the most probable reason is that globals are
    not enabled... now i need someone who can tell me what to put instead of what to make it work...
    this is my login.php script CODE if (!$user || !$pass) {     include("head.php");     print
    "Please fill out all fields.";     include("foot.php");     exit; } include("head.php"); $password =
    md5($pass); $password2 = md5($password); $password3 = md5($password2); $password4 =....
  8. Password Recovery Script
    (7)
    While trying to make password recovery script for "bhupinunder" i run into a problem... i made this:
    CODE $dbh = mysql_connect('localhost','jaskaran_gc','gc') or die
    ("Cannot Connect: " . mysql_error()); mysql_select_db('jaskaran_gc',$dbh); ?> ";?>
    if ($recover=answer) print"$email"; ?> and it doesn't print anything...but if i put it
    like this CODE $dbh = mysql_connect('localhost','jaskaran_gc','gc') or
    die ("Cannot Connect: " . mysql_error()); mysql_select_db('jaskaran_gc',$dbh....
  9. Warning: Mysql_result(): Supplied Argument Is Not A Valid Mysql Result Resource In ...
    This Is for My attack Script. (4)
    Hey. I am making a "Version 2.0" For my attack script, but I can't make it work. This is the
    error I am gettin: Warning: mysql_result(): supplied argument is not a valid MySQL result resource
    in And here is the code: CODE $dbQueryHealth = mysql_query("SELECT temphealth FROM
    characters WHERE user =". $_POST ."");           $currentHealth = mysql_result($dbQueryHealth, 0);
            $dbQueryExp = mysql_query("SELECT exp FROM characters WHERE user = ".$_POST ."");  
            $currentExp = mysql_result($dbQueryExp, 0); I have checked the PHP Manual,....
  10. SQL Doesn't Connect In PHP Script
    I made some code updates now the script is broken. (19)
    i have created a website and it is not working properly... i have had a website on sphosting.com and
    everything worked fine till i got some errors(i got the errors because of the crappy host)...now the
    fun part starts...they said they solved the problem but i got another one..i said them to repair it
    again and they did...now i tried to login but as i entered the info it said the info isn't
    correct...i checked the SQL and everything seemed fine..i tried again and again the error came...i
    tried than to register,entered ALL info and when this was suppose to come out "Yo....
  11. Php Script Help
    help with scripting of php (1)
    Ok first a little back story of what happened and why I am asking for help. I have been playing text
    based rpgs and found that I really like them. Well I have also found that most programers don't
    want to listen to their clients in the sugestion box and when u make a content sughesstion they get
    rude or make fun of your idea. So I decided I would sart my own and make it where the users had say
    so in added content. Not saying all sugestions will get added but I will not make fun or get mad at
    them. Any who when I bought the script I was under the impression it was fu....
  12. Run A Script When Expires A Session
    (6)
    For example, when a user logins to a page -with a login form- and after validating and verifying
    it's credentials i store some information related to this user in session variables and a table
    with his state -connected- is updated, then i use it in other pages, etc. When this user logouts
    -by clicking a logout link- i release -unregister, destroy, etc- all the session variables stored
    and the same table is updated with his state -disconnected-. All of this funcionality works very
    well, the problem comes when the user do not click on the logout link and the session ....
  13. Automated Product Suggestion Script
    Compare user lists and suggest related items based on pattern matching (2)
    I recently got an idea for a project and one of the features I wanted the project to have was an
    automated suggestion service. If anyone has been to Amazon, it would work much like their
    recommended product feature. What I want to do is take several users lists of whatever but for this
    example, I'll use web links like from the browser history. I would want to suggest links to a
    user based on common links in many other users lists. User A: Amazon, Ebay, Excite, Google, Yahoo,
    MySpace, Walmart User B: Amazon, Ebay, Google, Yahoo, You Tube, MySpace, CVS User C: Amazo....
  14. Something Wrong With This Script?
    Unexpected T_SRING (9)
    Here is the code that I have: CODE $con = mysql_connect("localhost","user","password"); if
    (!$con)   {die(' Could not connect: ' . mysql_error() . ' ');}
    mysql_select_db("database", $con); $ip=$_SERVER ; echo "Adding MXP info..."; mysql_query (INSERT
    INTO mxp (date, user, victim, turns, side, gold, lost, killed, mxp, points_b, points_a, type, power,
    ip) VALUES ('$_POST ','$_POST ','$_POST ','$_POST ','$_POST
    ','$_POST ','$_POST ','$_POST ','$_POST ','$_POST
    ','$_POST ....
  15. Automatic/remote Php Script Execution
    (9)
    Hi, I was wondering, is it possible to execute a PHP script when a user isn't on the page with
    it? Say for example, have it so that a script checks that if a certain time has passed since a user
    was last active, it logs them off? So that if they've closed the window, it doesn't keep
    them marked as logged in. Also, is there any way, with PHP to alert a user when something changes,
    as soon as it happens? Say that if they recieve a new message, a box pops up telling them? You could
    do this with Ajax I suppose, but (correct me if I'm wrong) continually runni....
  16. Please Help (php Join Script)
    (5)
    Ok as you all know by now I have been working on a php based game
    to help me learn php. It has been going great and it is almost done. I got some very good help on is
    sues here and along with sites like php.net. However I am stuck and can not find a solution to a
    problem anywere. My Problem: I want users to join but I don't want some charicters to be in
    there name (example I dont want Disallowed Charicters: , ', " I would array like: CODE
    $string = array( , ', "); This for some reason does not work for. CODE if(strpos($name,
    $string)){ //error s....
  17. Login Script
    PHP Help #3 - Need help creating one (5)
    It turns out that the authentication script that I copied from
    http://www.php-mysql-tutorial.com/user-aut...on/database.php doesn't work even when it is left
    unchanged. What a crappy piece of code. Now I am trying to build by own login script from scratch.
    I already have a little knowledge on how to do this (connecting, echoing, retrieving) but I need
    some more examples and/or tips. I know what I need and maybe this could help you out: Note: Green
    items are fixed. No duplicate username in MySQL Database Authorized users only. I have to
    authorize each....
  18. Authentication Script
    PHP Help #2 -- I need help tweaking it - it won't work (1)
    Okay, my first issue about the MySQL echo problem has been solved, thank you to those who helped.
    /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Now I am focusing
    on the login portion of my site, and I have this so far: CODE // we must never forget to start
    the session session_start(); $errorMessage = ''; if (isset($_POST ) && isset($_POST ))
        {    $username = $_POST ;    $password = $_POST ; //Connect to database $con =
    mysql_connect("localhost","myDatabaseUsername","myDatabasePassword"); if (!$con)   {   die('Co....
  19. Automated File Structure Creation Script
    As Requested By Mark420 (3)
    While chatting with Mark420 today on the shoutbox, he mentioned that he was looking for a script to
    create his entire folder structure with just a click of a button. For example, he wanted the
    following folders created in his root folder by just clicking submit. /images /images/thumbs
    /images/icons /css /javascripts /content /content/articles /content/tutorials Presumably this
    would be used for some type of installation system or other quick server setup situation. Anyhow
    here is what I threw together for him: /* ********************************************....
  20. Online Multiplayer Chess Script
    Online multiplayer chess script (2)
    Do you have any script for this?or where can i find this script. I wait your replies. ok.....
  21. How To Delete File Using PHP Shell Script
    (3)
    i have this problem regarding file access seems that my admin host or the server system itself have
    locked up the acces to create new file, delete a file.. change file permissions and such controls
    to file.. someone told me to use php shell script.. can you help me out here? ******** i just
    need to find out how to use php shell script and add it to my php scripts to delete a file.. thanks....
  22. Installed A PR Checker Script - But Not Working Correctly
    (6)
    I'm new to PHP and still have much to learn. I came across a free script to check google PR.
    You place a file called pagerank.php and then have an includes. So I did this: CODE ?>
    Then I have my HTML (the page header and so forth), and added a form where they can input their URL.
    The form action is CODE " method="post" name="checkpr" id="checkpr"> First of all ... I
    seem to be missing something completely basic. My page isn't displaying at ALL as I expected.
    No graphic header and no form. It's actually showing all my HTML code in....
  23. What Would Make A Good Registration Script?
    (4)
    I see newbies all the time looking for either a login script or after a little querying you find
    they really would like to have a registration script. The first thing for such a script for a
    members area would of course be a form and being kind of old fashioned I still like to format my
    forms with a table but I do use inline CSS to make it a little nicer. I never did like forms that
    had an asterick * by a field and then a Note: Fields marked with * are required. So what I do
    instead is add a background color to those areas and then use a CSS background color statin....
  24. A Simple Checking & Validation PHP Script
    (8)
    Hi, there is sometimes that you need to password protect a directory in your site but you dont have
    access to a database or you dont need it because only a few users will access this directory, well
    the following script i develop will help in this situation. With only 2 files you can implement a
    basic security, the first file is a simple txt file where you store your users information and the
    second file is the php script. You can name the files whatever you want and can be used in any site
    with php support. The users.txt file: In this file simply put one line at the....
  25. PHP Script To Upload A File
    with password-protection. (15)
    Problem: Upload a file to the AstaHost account (that I have been granted here) throught the
    webpage I would like to know, how should I proceed on this particular problem. I know this has
    been done through cPanel, but I want to write a PHP functionality. The cPanel is accessed through
    the 2082 port, and most of the places I access internet from does not give me access through that
    port. I can access http://www.kmaheshbhat.astahost.com/ but not
    http://www.kmaheshbhat.astahost.com/cpanel or http://www.kmaheshbhat.astahost.com:2082/ . I need
    to go to one particu....
  26. Need Help With A PHP - MySQL Registration Script
    Wont INSERT into the database (13)
    hey well can some one helpme make this code work it won't INSERT INTO THE DATABSE CODE #
    register1.php # common include file to MySQL include("DB.PHP"); $Username=$_POST ; $Password=$_POST
    ; $Name=$_POST ; $Last=$_POST ; $Sex=$_POST ; $Month=$_POST ; $Day=$_POST ; $Year=$_POST ;
    $Adresse=$_POST ; $City=$_POST ; $State=$_POST ; $Zipcode=$_POST ; $Country=$_POST ; $Phone=$_POST ;
    $Email=$_POST ; $Father_Name=$_POST ; $Mother_Name=$_POST ; $Parent_Phone=$_POST ;
    $Parent_Email=$_POST ; $Level=$_POST ; $Academic=$_POST ; $Image_Link=$_POST ; $sql9="INSERT INTO
    U....
  27. How Do I Create And Write To Files?
    creating, writing, deleting files (4)
    Hi, Can someone please tell me how to create files and write to them in PHP. I just want to create
    a simple file containing text, and then be able to read it or update it. Thanks Alfie....
  28. Php Script To Download File From Another Site
    (11)
    hi i need a php or java script code for downloading files from other sites to my site for example:
    http://download.com/file.zip to http://mysite.com/file.zip thanks....
  29. Trainable Anti-spam Filter Script
    Any clues howto write one/get one ? (3)
    Hi all, Does anybody have ideas about writing trainable anti-spam mail filters - that you can
    add onto any web-mail script ? Looking for something written in perl/php that'll allow me to
    just check the checkboxes beside spam mails and click any button (say, "mark as spam") and the
    script studies the mail headers and creates its own list of originating spammer domains/ips & blocks
    out mails from 'em ? Thanks /smile.gif" style="vertical-align:middle" emoid=":)" border="0"
    alt="smile.gif" />....
  30. Tell-a-friend script
    Make a tell-a-friend script with php!! (6)
    Hi!! I'll show you how to make a simple tell-a-friend script using php. If you put this on
    your site, your visitors will be able to recommend your site to a friend. This can be good promotion
    for your site. It's quite easy to set up too. Just copy and past the script below. Put this
    where you want the form to appear: friendtell.php " method="get"> Tell a friend:
    Put this in the file friendtell.php Your friend has been told! $myname = $from;
    $myemail = $from; $contactemail = $to; $message = " Hi!! \nI wanted to tell y....

    1. Looking for writing, testing, login, script, solved,

See Also,

*SIMILAR VIDEOS*
Searching Video's for writing, testing, login, script, solved,
Similar
Php Script Organizer
Myspacetv Download Php Script Help
Php Login Script
Make A Script Run Even If No User Is Online
Script Request - script request
Free Forum Hosting Type Script Help! - Free forum hosting type script help!!!
Login Script
Password Recovery Script
Warning: Mysql_result(): Supplied Argument Is Not A Valid Mysql Result Resource In ... - This Is for My attack Script.
SQL Doesn't Connect In PHP Script - I made some code updates now the script is broken.
Php Script Help - help with scripting of php
Run A Script When Expires A Session
Automated Product Suggestion Script - Compare user lists and suggest related items based on pattern matching
Something Wrong With This Script? - Unexpected T_SRING
Automatic/remote Php Script Execution
Please Help (php Join Script)
Login Script - PHP Help #3 - Need help creating one
Authentication Script - PHP Help #2 -- I need help tweaking it - it won't work
Automated File Structure Creation Script - As Requested By Mark420
Online Multiplayer Chess Script - Online multiplayer chess script
How To Delete File Using PHP Shell Script
Installed A PR Checker Script - But Not Working Correctly
What Would Make A Good Registration Script?
A Simple Checking & Validation PHP Script
PHP Script To Upload A File - with password-protection.
Need Help With A PHP - MySQL Registration Script - Wont INSERT into the database
How Do I Create And Write To Files? - creating, writing, deleting files
Php Script To Download File From Another Site
Trainable Anti-spam Filter Script - Any clues howto write one/get one ?
Tell-a-friend script - Make a tell-a-friend script with php!!
advertisement



Writing And Testing My Own Login Script [solved]

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com