Waraxe IT Security Portal
Login or Register
December 22, 2024
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 104
Members: 0
Total: 104
Full disclosure
CyberDanube Security Research 20241219-0 | Authenticated Remote Code Execution in Ewon Flexy 205
Stored XSS with Filter Bypass - blogenginev3.3.8
[SYSS-2024-085]: Broadcom CA Client Automation - Improper Privilege Management (CWE-269)
[KIS-2024-07] GFI Kerio Control <= 9.4.5 Multiple HTTP Response Splitting Vulnerabilities
RansomLordNG - anti-ransomware exploit tool
APPLE-SA-12-11-2024-9 Safari 18.2
APPLE-SA-12-11-2024-8 visionOS 2.2
APPLE-SA-12-11-2024-7 tvOS 18.2
APPLE-SA-12-11-2024-6 watchOS 11.2
APPLE-SA-12-11-2024-5 macOS Ventura 13.7.2
APPLE-SA-12-11-2024-4 macOS Sonoma 14.7.2
APPLE-SA-12-11-2024-3 macOS Sequoia 15.2
APPLE-SA-12-11-2024-2 iPadOS 17.7.3
APPLE-SA-12-11-2024-1 iOS 18.2 and iPadOS 18.2
SEC Consult SA-20241211-0 :: Reflected Cross-Site Scripting in Numerix License Server Administration System Login
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> How to fix -> [syntax error], unexpected T_CONSTANT_ENCAPSED_ST
Post new topicReply to topic View previous topic :: View next topic
[syntax error], unexpected T_CONSTANT_ENCAPSED_ST
PostPosted: Fri Mar 22, 2013 4:59 am Reply with quote
sylvester
Beginner
Beginner
Joined: Mar 21, 2013
Posts: 4




Can't find the error..plz help..
Code:
<?php


session_start( );
include( "language.php" );
$empid = $_SESSION['emp_id'];
$js_id = $_SESSION['memid'];
$query = mysql_query( "select * from job_seeker where id='{$js_id}'" );
$queryselect_fetch = mysql_fetch_array( $query );
$uname = $queryselect_fetch['uname'];
$page = mysql_query( "select * from page where status='active' and position='topheader' or position='both'" );
$num_page = mysql_num_rows( $page );
$rs0 = mysql_fetch_array( mysql_query( "select * from zw_websetting" ) );
$page_name = basename( $_SERVER['PHP_SELF'] );
echo "<s";
echo "cript type=\"text/javascript\" src=\"language_change.js\"></script>\r\n\r\n<table width=\"1003px\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" id=\"htab\">\r\n <tr>\r\n\t\t\t<td width=\"36%\" align=\"left\" valign=\"top\" style=\"padding-left:10px; padding-top:5px;\">\r\n\t\t\t";
if ( isset( "js_id" ) == true )
{
echo "\t\t\t\t";
echo $label['hdr_welcom'];
echo " ";
echo "<s";
echo "pan class=\"bluetext\">";
echo $uname;
echo "</span> | <a href=\"jobseekers/logout.php\">";
echo $label['hdr_lgout'];
echo "</a>\r\n\t\t\t";
}
else
{
echo "\t\t\t<a href=\"jobseekers/jobseekerloginpage.php\">";
echo $label['hdr_sigin'];
echo "</a> | <a href=\"jobseekers/jobseeker_registration.php\">";
echo $label['hdr_reg'];
echo "</a>\r\n\t\t\t";
}
echo "</td>\r\n\t\t\t\r\n <td width=\"64%\" align=\"right\" valign=\"top\" style=\"padding-left:10px; padding-top:5px; padding-right:7px;\">";
if ( $rs0['frontend_lng'] == "yes" )
{
echo " ";
echo "<s";
echo "elect name=\"language\" id=\"language\" onchange=\"languages(this.value,'";
echo $page_name;
echo "')\">\r\n\t\t\t<option value=''>select language</option>\r\n\t\t\t\t\t ";
$lang_query = mysql_query( "select * from language order by langname asc" );
while ( $language_fetch = mysql_fetch_array( $lang_query ) )
{
echo " <option value=\"";
echo $language_fetch['langid'];
echo "\"";
if ( $_SESSION['langid'] == $language_fetch['langid'] )
{
echo "selected";
}
echo "> ";
echo $language_fetch['langname'];
echo "</option>\r\n\t\t\t\t\t";
}
echo " </select> | ";
}
echo "\t\t\t<a href=\"index.php\">";
echo $label['hdr_hom'];
echo "</a> | \r\n\t\t\t";
$j = 1;
while ( $page_fetch = mysql_fetch_array( $page ) )
{
echo "\t\t\t";
echo "<a href='aboutcompany-".$page_fetch[id]."-".urlconvert( $page_fetch[pagename] ).".html' class='alink'>{$page_fetch['pagename']}</a>";
if ( $j != $num_page )
{
echo " ;;|";
}
echo " \r\n\t\t\t";
++$j;
}
echo "\t\t\t| <a href=\"news_all.php\">";
echo $label['hdr_lat_news'];
echo "</a>\t</td>\r\n </tr>\r\n <tr>\r\n <td height=\"46\" align=\"left\" valign=\"top\" style=\"padding-top:12px; padding-bottom:-5px;\"><a href=\"index.php\"><img src=\"";
echo $rs0['adminfolder'];
echo "/";
echo $rs0['logo'];
echo "\" border=\"0\" /></a></td>\r\n <td colspan=\"2\" align=\"right\" valign=\"middle\" style=\"padding-right:2px; padding-top:12px; padding-bottom:5px;\"><div id=\"ReloadThis\">";
include( "top_banner.php" );
echo "</div></td>\r\n </tr>\r\n</table>\r\n";
include( "mainmenu.php" );
echo "\t\t";
?>
View user's profile Send private message
PostPosted: Fri Mar 22, 2013 9:56 am Reply with quote
pirate-sky
Advanced user
Advanced user
Joined: Dec 17, 2012
Posts: 75




Error is fixed: http://pastebin.com/CnVWHbBb
View user's profile Send private message
PostPosted: Sat Mar 23, 2013 4:19 am Reply with quote
sylvester
Beginner
Beginner
Joined: Mar 21, 2013
Posts: 4




Could you please tell me what was the error?
View user's profile Send private message
[syntax error], unexpected T_CONSTANT_ENCAPSED_ST
www.waraxe.us Forum Index -> How to fix
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT
Page 1 of 1

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.036 Seconds