•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 456,472 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,795 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 590 | Replies: 1
![]() |
•
•
Join Date: Sep 2007
Posts: 7
Reputation:
Rep Power: 0
Solved Threads: 0
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 :
As you can see first line of code is "<?php" and I am little confused whats problem??
Any help is appreciated.
Cheers
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 /* * Quick.Cart by OpenSolution.org * www.opensolution.org */ extract( $_GET ); session_start( ); if( !isset( $_SESSION['iCustomer'] ) ) $_SESSION['iCustomer'] = time( ).rand( 100, 999 ); 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
•
•
Join Date: Sep 2007
Posts: 7
Reputation:
Rep Power: 0
Solved Threads: 0
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:
I receive Parse error
All suggustions are wellcome regarding this problem!
thanks!
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:
<? include ("http://www.centralni-servis.co.ba/shop/index.php"); ?> I receive Parse error
All suggustions are wellcome regarding this problem!
thanks!
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- error message--- 'flie:///c:/WINDOWS/privacy_danger/index.htm'. (Viruses, Spyware and other Nasties)
- Unexpected error that doesn't exist (PHP)
- Why atof causes a C0000005 exeption? (C++)
- Hijack Log, What To Delete? Please Help (Viruses, Spyware and other Nasties)
- PHP parsing error, unexpected '<' (PHP)
- Parse Error T_STRING - Help Please (PHP)
- Parse error: parse error, unexpected T_STRING (PHP)
- Parse error: parse error, unexpected T_STRING in /home/thei2k9/public_html/includes/f (PHP)
- Parse error: (PHP)
Other Threads in the PHP Forum
- Previous Thread: Problem querying number of topics in a forum
- Next Thread: Parse error, unexpected T_STRING, expecting T_CASE


Linear Mode