LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-23-2011, 10:00 PM   #1
azura aziz
LQ Newbie
 
Registered: Jan 2011
Posts: 1

Rep: Reputation: 0
parse error problem in php coding


someone please help me.....
there is some error...

Parse error: parse error in C:\wamp\www\$_GET\newget.php on line 11

<?php

function create_hashing(){
$url = 'url';
// $urls = $_GET["url"];
$urls=$_GET["$url"];

if (isset($_GET[$urls]))
//Start MD5 Hash Generator\\
$pass2=$_GET["$urls"];
$pass3=md5["$pass2"]; //line 11 is here...help me..


$pass4=sha1($pass3);
}


create_hashing();

$anothash='another_hash';


if(isset($_GET['$anothash']))
{
$npass= ($_GET['$pass4']);

if ($npass == $_POST[" $anothash"])
{
echo "The hash match";
}
else{
echo "The hash do not match";
}
}
?>
 
Old 01-23-2011, 10:27 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Moved: This thread is more suitable in <PROGRAMMING> as it is about PHP coding under Windows, and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the meaning of "PHP Parse error: parse error, unexpected $ in..." frandalla Programming 23 03-04-2009 12:34 PM
PHP Error Parse error: parse error, unexpected $ in /home/content/S/k/i/SkinCare4U/h CowanServices Programming 2 12-09-2008 08:26 PM
PHP 4.4.0 Coding Error Phaux Linux - Software 1 12-30-2005 07:05 PM
PHP parse error in config.inc.php.in Confusedious Linux - Software 2 11-03-2005 05:08 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration