943,948 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 1001
  • PHP RSS
Sep 14th, 2007
0

Need help!! Error message :Parse error T_String...

Expand Post »
Hello,

I noticed that there are many threads on forum regarding this issue/error but I still couldnt find solution for my problem, so I am sorry, I had to make new thread, i just cant find right solution.

Here is the problem, whenever I open this page on my site ( http://www.centralni-servis.co.ba/test2.php ) I receive next error message:

"Parse error: parse error, unexpected T_STRING in http://www.centralni-servis.co.ba/shop/index.php on line 1"

This is beginig of the code in index.php :

PHP Syntax (Toggle Plain Text)
  1. <?php
  2. /*
  3. * Quick.Cart by OpenSolution.org
  4. * www.opensolution.org
  5. */
  6. extract( $_GET );
  7. session_start( );
  8.  
  9. if( !isset( $_SESSION['iCustomer'] ) )
  10. $_SESSION['iCustomer'] = time( ).rand( 100, 999 );
  11.  
  12. define( 'CUSTOMER_PAGE', true );


As you can see first line of code is "<?php" and I am little confused whats problem??

Any help is appreciated.

Cheers
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
MCMdizajn is offline Offline
20 posts
since Sep 2007
Sep 14th, 2007
0

Need help!! Error message :Parse error T_String...

I forgot to mention that I am trying to install e-commerce solution Quick.Cart http://opensolution.org/?p=Quick.Cart .

Script works very good as you can see on next link:

http://www.centralni-servis.co.ba/shop/

but when I try to include this script in test2.php with this line of code:

PHP Syntax (Toggle Plain Text)
  1. <? include ("http://www.centralni-servis.co.ba/shop/index.php"); ?>

I receive Parse error


All suggustions are wellcome regarding this problem!

thanks!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
MCMdizajn is offline Offline
20 posts
since Sep 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Problem querying number of topics in a forum
Next Thread in PHP Forum Timeline: Parse error, unexpected T_STRING, expecting T_CASE





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC