Something Wrong With This Script? - Unexpected T_SRING

free web hosting
Free Web Hosting > Computers & Tech > Programming > Scripting > PHP

Something Wrong With This Script? - Unexpected T_SRING

FirefoxRocks
Here is the code that I have:
CODE
<?php
$con = mysql_connect("localhost","user","password");
if (!$con)
  {die('<p>Could not connect: ' . mysql_error() . '</p>');}
mysql_select_db("database", $con);
$ip=$_SERVER['REMOTE_ADDR'];
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[date]','$_POST[user]','$_POST[victim]','$_POST[turns]','$_POST[side]','$_POST[gold]','$_POST[lost]','$_POST[killed]','$_POST[mxp]','$_POST[points_b]','$_POST[points_a]','$_POST[battle]','$_POST[power]','$ip');
echo "<h3>Your MXP information record has been added to the database.</h3>";
?>


Here is the error I am receiving:
QUOTE
Parse error: syntax error, unexpected T_STRING in /home/portal/public_html/xkingdom/post_mxp.php on line 13


Is there a semicolon I missed somewhere? What is wrong?

 

 

 


Reply

Sten
ok well first, im not what youd call any good at php and i dont no anything about mysql... but... there isnt 13 lines of code, lol

but, just looking at it with the semicolons, do you need to put a semicolon after the bracket where it ends with "ip)"

does a semicolon need to go there maybe possibly probably not? LOL

just thought id say, although i can guarantee im wrong biggrin.gif

Reply

Habble
CODE
<?php
$con = mysql_connect("localhost","user","password");
if (!$con)
{
  die('<p>Could not connect: ' . mysql_error() . '</p>');
}
mysql_select_db("database", $con);
$ip = $_SERVER['REMOTE_ADDR'];
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[date]','$_POST[user]','$_POST[victim]','$_POST[turns]','$_POST[side]','$_POST[gold]','$_POST[lost]','$_POST[killed]','$_POST[mxp]','$_POST[points_b]','$_POST[points_a]','$_POST[battle]','$_POST[power]','$ip');");
echo "<h3>Your MXP information record has been added to the database.</h3>";
?>



Try That. You'd forgotten to put quotation marks around the query, and had forgotten to end the parentheses (You only ended the VALUES set)

 

 

 


Reply

TavoxPeru
QUOTE(FirefoxRocks @ Sep 21 2007, 11:28 PM) *
Here is the code that I have:
CODE
<?php
$con = mysql_connect("localhost","user","password");
if (!$con)
  {die('<p>Could not connect: ' . mysql_error() . '</p>');}
mysql_select_db("database", $con);
$ip=$_SERVER['REMOTE_ADDR'];
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[date]','$_POST[user]','$_POST[victim]','$_POST[turns]','$_POST[side]','$_POST[gold]','$_POST[lost]','$_POST[killed]','$_POST[mxp]','$_POST[points_b]','$_POST[points_a]','$_POST[battle]','$_POST[power]','$ip');
echo "<h3>Your MXP information record has been added to the database.</h3>";
?>


Here is the error I am receiving:
Is there a semicolon I missed somewhere? What is wrong?

You forgot the quotation marks in your query and i recommend to cast your data to the correct type of your table columns.

Best regards,

Reply

FirefoxRocks
QUOTE(TavoxPeru @ Sep 22 2007, 06:18 AM) *
You forgot the quotation marks in your query and i recommend to cast your data to the correct type of your table columns.

Best regards,


Cast the data to the correct type of your table columns? What does that mean?

Reply

TavoxPeru
QUOTE(FirefoxRocks @ Sep 22 2007, 11:28 AM) *
Cast the data to the correct type of your table columns? What does that mean?

This mean to force a variable to be evaluated as a certain type, for example, if one of your table column is an integer -tinyint, smallint, int, longint- you can force that your submited data evaluates as an integer by casting it:

CODE
<?php
$integer_value = (int) $_POST["integer_value"];
?>

The casts allowed are:
  • (int), (integer) - cast to integer
  • (bool), (boolean) - cast to boolean
  • (float), (double), (real) - cast to float
  • (string) - cast to string
  • (array) - cast to array
  • (object) - cast to object
For string variables you can achieve the same behavior simply by enclosing it in double quotes, and also is recommended that you use the mysql_real_escape_string for security reasons.

For a complete explanation check the Type Casting and the mysql_real_escape_string() sections of the manual at the php website.

Best regards,

Reply

pyost
As I am not sure what will happen if you try to cast a non-numeric string into an integer (i.e. whether it will produce an error or return zero), I would advise you to use intval instead. It will always return an integer - number zero if the input is invalid wink.gif

Reply

vujsa
Yeah, these are difficult query strings to get working. Anytime your values are from an array (in this case, the $_POST superglobal) and you use a non-numeric key, you'll have trouble since you'll have so many quotes that'll be impossible to escaped.

Here is how I usually get it to work:
CODE
mysql_query ("INSERT INTO mxp ("
        . "\n 'date',"
        . "\n 'user',"
        . "\n 'victim',"
        . "\n 'turns',"
        . "\n 'side',"
        . "\n 'gold',"
        . "\n 'lost',"
        . "\n 'killed',"
        . "\n 'mxp',"
        . "\n 'points_b',"
        . "\n 'points_a',"
        . "\n 'type',"
        . "\n 'power',"
        . "\n 'ip',"
        . "\n ) VALUES ("
        . "\n '". $_POST['date'] . "',"
        . "\n '". $_POST['user'] . "',"
        . "\n '". $_POST['victim'] . "',"
        . "\n '". $_POST['turns'] . "',"
        . "\n '". $_POST['side'] . "',"
        . "\n '". $_POST['gold'] . "',"
        . "\n '". $_POST['lost'] . "',"
        . "\n '". $_POST['killed'] . "',"
        . "\n '". $_POST['mxp'] . "',"
        . "\n '". $_POST['points_b'] . "',"
        . "\n '". $_POST['points_a'] . "',"
        . "\n '". $_POST['battle'] . "',"
        . "\n '". $_POST['power'] . "',"
        . "\n '$ip'"
        . "\n  ) ");

That is how I usually write such queries but I guess you could do it linear like this:
CODE
mysql_query ("INSERT INTO mxp ( 'date', 'user', 'victim', 'turns', 'side', 'gold', 'lost', 'killed', 'mxp', 'points_b', 'points_a', 'type', 'power', 'ip', ) VALUES ( '". $_POST['date'] . "', '". $_POST['user'] . "', '". $_POST['victim'] . "', '". $_POST['turns'] . "', '". $_POST['side'] . "', '". $_POST['gold'] . "', '". $_POST['lost'] . "', '". $_POST['killed'] . "', '". $_POST['mxp'] . "', '". $_POST['points_b'] . "', '". $_POST['points_a'] . "', '". $_POST['battle'] . "', '". $_POST['power'] . "', '$ip'  ) ");


I prefer the column form since it is easier to see everything at once.

Notice how I used the concatenation character "period" to put string and non-string values together. There is also a concatenation function in MySQL that you can use.

Remember, there are three quotes you can use in queries:
(`)(')(")
The slanted single quote is good inside of MySQL queries but don't affect PHP so you could, I believe, also do it like this:
CODE
mysql_query (
    "INSERT INTO mxp ("
        . "\n `date`,"
        . "\n `user`,"
        . "\n `victim`,"
        . "\n `turns`,"
        . "\n `side`,"
        . "\n `gold`,"
        . "\n `lost`,"
        . "\n `killed`,"
        . "\n `mxp`,"
        . "\n `points_b`,"
        . "\n `points_a`,"
        . "\n `type`,"
        . "\n `power`,"
        . "\n `ip`,"
        . "\n ) VALUES ("
        . "\n `$_POST['date']`,"
        . "\n `$_POST['user']`,"
        . "\n `$_POST['victim']`,"
        . "\n `$_POST['turns']`,"
        . "\n `$_POST['side']`,"
        . "\n `$_POST['gold']`,"
        . "\n `$_POST['lost']`,"
        . "\n `$_POST['killed']`,"
        . "\n `$_POST['mxp']`,"
        . "\n `$_POST['points_b']`,"
        . "\n `$_POST['points_a']`,"
        . "\n `$_POST['battle']`,"
        . "\n `$_POST['power']`,"
        . "\n `$ip`"
    . "\n )"
);


Or in linear form:
CODE
mysql_query (     "INSERT INTO mxp ( `date`, `user`, `victim`, `turns`, `side`, `gold`, `lost`, `killed`, `mxp`, `points_b`, `points_a`, `type`, `power`, `ip`, ) VALUES ( `$_POST['date']`, `$_POST['user']`, `$_POST['victim']`, `$_POST['turns']`, `$_POST['side']`, `$_POST['gold']`, `$_POST['lost']`, `$_POST['killed']`, `$_POST['mxp']`, `$_POST['points_b']`, `$_POST['points_a']`, `$_POST['battle']`, `$_POST['power']`, `$ip`)" );


Just remember, you should use the single quotes around your array key name if it isn't a numeric value. You can't escape the single quotes that you use for the array key either. You can, I suppose, escape the single quote used in the query since PHP would as a result ignore it but it would then be available for MySQL to see. like so:
CODE
mysql_query (     "INSERT INTO mxp ( \'date\', \'user\', \'victim\', \'turns\', \'side\', \'gold\', \'lost\', \'killed\', \'mxp\', \'points_b\', \'points_a\', \'type\', \'power\', \'ip`, ) VALUES ( \'$_POST['date']\', \'$_POST['user']\', \'$_POST['victim']\', \'$_POST['turns']\', \'$_POST['side']\', \'$_POST['gold']\', \'$_POST['lost']\', \'$_POST['killed']\', \'$_POST['mxp']\', \'$_POST['points_b']\', \'$_POST['points_a']\', \'$_POST['battle']\', \'$_POST['power']\', \'$ip\')" );


The only method I am sure will work, is the first one I showed you. You might give the others a try sometime. I don't feel like writing a whole script just to test each option.

However, I do have another concern with your script!
Your script is attempting to directly input any data from your form to your database. This is not a very good method. If the user has a malicious intent, they could inject code into your database creating a serious security risk to your website. Prior to insertion into the database, you really should screen the data.

For example, you could convert HTML Entities into something a little less problematic if it contains malicious code:
CODE
$date = htmlentities($_POST['date']);
$user = htmlentities($_POST['user']);
$victim = htmlentities($_POST['victim']);
$turns = htmlentities($_POST['turns']);
$side = htmlentities($_POST['side']);
$gold = htmlentities($_POST['gold']);
$lost = htmlentities($_POST['lost']);
$killed = htmlentities($_POST['killed']);
$mxp = htmlentities($_POST['mxp']);
$points_b = htmlentities($_POST['points_b']);
$points_a = htmlentities($_POST['points_a']);
$battle = htmlentities($_POST['battle']);
$power = htmlentities($_POST['power']);


In your case, this suggestion actually makes your query a lot easier to write.

Hope this helps,
vujsa

Reply

FirefoxRocks
So if I use the variables in the script immediately above, what will happen to the HTML entities when they are inserted into the MySQL database?


Reply

vujsa
QUOTE(FirefoxRocks @ Sep 23 2007, 10:44 PM) *
So if I use the variables in the script immediately above, what will happen to the HTML entities when they are inserted into the MySQL database?

Basically, < and > become &lt; and &gt;

You can use html_entity_decode() to revert back to actual HTML tags. It is something to consider doing I think.
But, if you are expecting HTML in one of the input fields, then you could skip the htmlentities() function and just insert the data. But, you should investigate some security protocols for this as well. What hackers tend to do is use the eval() function along with a long string which is actually an include(), require, or file_get_contents() command to load script from their server to manipulate your database or file system.
This usually results in an upload to your website where they can show their hacker friends what they did but they could run a database query to add an Admin account for their username, add a file system program to you system which allows them to browse and manipulate your files which could result in total deletion or replacement.

they usually look something like this:
CODE
eval(char(118)char(117)char(106)char(115)char(97))

In this case, it just says vujsa but it could have been malicious.

vujsa

Reply


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*

Similar Topics

Keywords : wrong, script, unexpected, t, sring

  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. Writing And Testing My Own Login Script [solved]
    (20)
    i have this error QUOTE Warning: 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 Race 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 =='race') { $asa=$_POST ; if(!isset($asa)) { echo 'You
    didn\'t select an....
  6. 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"....
  7. 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....
  8. 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 =....
  9. Password Recovery Script
    (6)
    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....
  10. 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,....
  11. 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....
  12. 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....
  13. 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 ....
  14. 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....
  15. Unexpected Error
    Undefined variable??? (2)
    Is this script correct? index.php : CODE     if (isset($_COOKIE ))           $_GET =
    $_COOKIE ;     else         setcookie("disp_name", Anonymous, date()+99); ?>              
    Display Name - DZN                                                                   
                    Dislpay Name: name="name" />                                                
         proccess.php : CODE      Proccessing Request...           Please wait...
        setcookie("disp_name", $_GET , date()+99); ?> main.php : CODE     function customErr....
  16. 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....
  17. 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....
  18. 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....
  19. 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....
  20. 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: /* ********************************************....
  21. 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.....
  22. 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....
  23. 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....
  24. Blog Script?
    (5)
    Hi, Can someone help me to find an easy and free Blogscript? I'm also looking for great
    templateheaders special for blogs. It doesn't matter if it is in php, cgi or another
    programming, as long as it is free: ) Thanx!....
  25. Xgrid With Php
    Creating a script to post a blender file to Xgrid using PHP (0)
    I am doing pre planning for the blenderxgrid.com script. I was originally going to do this with
    PERL, but elected against it. Eventually I'll be moving the site off astahost and replacing it
    with a website hosted on the same machine as the xgrid controller. I am setting up a test version
    on my latop using OSX's apache server, MySQL, and PHP on a localhost config. Here is my step
    list for the script: ------------------------------------- Form: (within Xoops CMS, so user will
    have to be logged in) Username Password (where they can upload the .blend file....
  26. Auto Responder Script
    (6)
    Anyone knows a free autoresponder script (preferably PHP) that enables to send a series of emails
    according to a specific time interval? If customizable fields can be included, it's better. And
    also a tracking script which lets me track the click throughs of links like .com/tracking-word"
    target="_blank">http://www. .com/tracking-word and a handy Tell-A-Friend script. I really
    appreciate your input. Thank you.....
  27. 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....
  28. 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....
  29. Php Script To Download File From Another Site
    (9)
    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....
  30. 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' border='0' style='vertical-align:middle'
    alt='smile.gif' /> ....

    1. Looking for wrong, script, unexpected, t, sring






*SIMILAR VIDEOS*
Searching Video's for wrong, script, unexpected, t, sring
Similar
Php Script Organizer
Myspacetv Download Php Script Help
Php Login Script
Make A Script Run Even If No User Is Online
Writing And Testing My Own Login Script [solved]
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
Unexpected Error - Undefined variable???
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
Blog Script?
Xgrid With Php - Creating a script to post a blender file to Xgrid using PHP
Auto Responder Script
What Would Make A Good Registration Script?
Need Help With A PHP - MySQL Registration Script - Wont INSERT into the database
Php Script To Download File From Another Site
Trainable Anti-spam Filter Script - Any clues howto write one/get one ?
advertisement




Something Wrong With This Script? - Unexpected T_SRING