Waraxe IT Security Portal
Login or Register
June 26, 2026
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: 165
Members: 0
Total: 165
Full disclosure
OpenBSD mpls_do_error: Remote Kernel Stack Disclosure via MPLS Label Stack Over-read
OpenBSD sppp_pap_input: PAP authentication bypass
SEC Consult SA-20260618-0 :: Hardcoded Root Cloud Credentials in Application Binaries in Silver Leaf Technologies - Worksnaps.net Worksnaps
SEC Consult SA-20260617-1 :: Multiple Vulnerabilities in Quanos Content Solutions - SCHEMA ST4
SEC Consult SA-20260617-0 :: Multiple Critical Vulnerabilities in Sprecher Automation SPRECON-E-C/-E-P/-E-T3
SEC Consult SA-20260616-0 :: Broken Access Control in syracom AG Secure Login (2FA) for Atlassian Jira / Confluence / Bitbucket #CVE-2026-12225
APPLE-SA-06-16-2026-1 Beats Firmware Update 1B211
PHP 8.5.7 `levenshtein()` signed-integer overflow
PHP 8.5.7 `dom_xml_serialization_al gorithm()` stack-overflow
PHP 8.5.7 `mb_substr()` 'SJIS-mac' size_t underflow
PHP 8.5.7 `FILTER_SANITIZE_ENCODED` uninitialized read
CVE-2025-68624: Cross-Tenant Authentication Bypass by Spoofing in N-able Mail Assure
SEC Consult SA-20260615-1 :: Multiple Vulnerabilities in Wertheim SafeController Hardware for VAULT ROOMS (Safe Deposit Locker System – Microcontroller)
SEC Consult SA-20260615-0 :: Multiple Critical Vulnerabilities in Wertheim SafeController Software for VAULT ROOMS (Safe Deposit Locker System)
SEC Consult SA-20260610-0 :: Local Privilege Escalation in Slate Digital Connect (macOS)
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



PCWizardHub - Helping you fix, build, and optimize your PC life
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.035 Seconds