Waraxe IT Security Portal
Login or Register
May 3, 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: 1184
Members: 0
Total: 1184
Full disclosure
ESP-RFID-Tool v2 PRO — Full Public Disclosure
Re: SEC Consult SA-20260427-0 :: Missing TLS Certificate Validation leading to RCE in DeskTime Time Tracking App
SEC Consult SA-20260427-0 :: Missing TLS Certificate Validation leading to RCE in DeskTime Time Tracking App
SEC Consult SA-20260423-0 :: DLL Hijacking in EfficientLab Controlio (cloud-based employee monitoring service)
SEC Consult SA-20260421-0 :: Broken Access Control in Config Endpoint in LiteLLM
SEC Consult SA-20260415-0 :: Exposed Private Key of X.509 Certificate in SAP HANA Cockpit & SAP HANA Database Explorer
APPLE-SA-04-22-2026-2 iOS 18.7.8 and iPadOS 18.7.8
APPLE-SA-04-22-2026-1 iOS 26.4.2 and iPadOS 26.4.2
Research: When Trusted Tools Become Attack Primitives
[KIS-2026-08] SocialEngine <= 7.8.0 (get-memberall) SQLInjection Vulnerability
[KIS-2026-07] SocialEngine <= 7.8.0 Blind Server-Side RequestForgery Vulnerability
Trojan-Spy.Win32.Small / Remote Command Execution
[IWCC 2026] CfP: 15th International Workshop on Cyber Crime - Linköping, Sweden, Aug 24-27, 2026
[SBA-ADV-20251120-01] CVE-2026-0972: GoAnywhere MFT Email HTML Injection
CyberDanube Security Research 20260408-1 | Multiple Vulnerabilities in Siemens SICAM A8000
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.048 Seconds