Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 07-16-2005, 09:00 AM Why won't this work.
nixies78@yahoo.'s Avatar
Extreme Talker

Posts: 222
Trades: 0
Hi, I am trying to get a script to run on a website it work on other website but not this one:

http://www.antiquecar.com/

Now I have been trying everything out I can , the odd thing is the site is written in php yet even this script doesn't seem to work. If you look in the source of the page you will see it in their:

<?php echo "TEST"; ?>

I can't fgure out what wrong, Please help.

Nixies
__________________
Beware Dyslexic!
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
nixies78@yahoo. is offline
Reply With Quote
View Public Profile Visit nixies78@yahoo.'s homepage!
 
 
Register now for full access!
Old 07-16-2005, 09:06 AM
Experienced Talker

Posts: 47
Trades: 0
PHP is most likely not installed on the server.
Try doing a plain php file and do
PHP Code:
<? phpinfo(); ?>
If PHP is installed correctly it will give you a printout of all the settings and variables. Otherwise you will need to get PHP installed on the server.
Synchronize is offline
Reply With Quote
View Public Profile
 
Old 07-16-2005, 10:02 AM
fancymoustache's Avatar
Ultra Talker

Posts: 316
Location: Michigan
Trades: 0
First of all... This is an HTML page. you need to save it as index.php, rather than index.html. Second, "<?php echo "TEST"; ?>" is in the head. If you want it to show up, you need to have a *.php page and put your code in the "<body>" of the document.

Micah
fancymoustache is offline
Reply With Quote
View Public Profile
 
Old 07-16-2005, 01:46 PM
Novice Talker

Posts: 6
Trades: 0
the php echo will display anywhere on the page as long as your host is php enabled and you save the page with a php extension. i generally use mod_rewrite if i want it to appear as .htm
pcarlow is offline
Reply With Quote
View Public Profile Visit pcarlow's homepage!
 
Old 07-17-2005, 09:07 AM
nixies78@yahoo.'s Avatar
Extreme Talker

Posts: 222
Trades: 0
Hmm, not surewhat is happening the, I don't think it is a html page: try this URL

http://www.antiquecar.com/index.php

The extension is .php

It still doens't work.

I will work on getting a <? phpinfo(); ?> read oput, thanks for the help. Nixies
__________________
Beware Dyslexic!
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
nixies78@yahoo. is offline
Reply With Quote
View Public Profile Visit nixies78@yahoo.'s homepage!
 
Old 07-17-2005, 10:24 AM
pushedtomb's Avatar
Super Talker

Posts: 100
Name: Nathen
Location: Casnewydd, De Cymru, UK
Trades: 0
you have got <> on the left handside of your logo on your resources page
__________________

Please login or register to view this content. Registration is FREE


Quote:
- "I've often wondered how MS can say that other software "isn't compatible" with MS when MS stuff isn't even compatible with other MS stuff" - quote from Daily Thing.com
pushedtomb is offline
Reply With Quote
View Public Profile
 
Old 07-17-2005, 07:26 PM
nixies78@yahoo.'s Avatar
Extreme Talker

Posts: 222
Trades: 0
Is that whats causing the problem pushedtomb?
__________________
Beware Dyslexic!
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
nixies78@yahoo. is offline
Reply With Quote
View Public Profile Visit nixies78@yahoo.'s homepage!
 
Old 07-17-2005, 08:26 PM
fancymoustache's Avatar
Ultra Talker

Posts: 316
Location: Michigan
Trades: 0
No. That has nothing to do with your problem. This is the code that is doing that:
HTML Code:
&lt;<cssstylesheet>&gt;
fancymoustache is offline
Reply With Quote
View Public Profile
 
Old 07-18-2005, 01:34 PM
asm
Extreme Talker

Posts: 217
Location: UK.Lancashire(true)
Trades: 0
<?php
//it may be th "
echo 'TEST';
// note the single
?>
asm is offline
Reply With Quote
View Public Profile Visit asm's homepage!
 
Reply     « Reply to Why won't this work.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.32411 seconds with 12 queries