Dynadot โ€” .com Transfer

Ever tried to program a script...

SpaceshipSpaceship
Watch

adam_uk

Established Member
Impact
20
where u make a mistake but the server doesnt tell you actually what the mistake is?

eg
my server (soon be taking local flying lessons) wont output any errors what so every

ive got this code

<?
print()
?>

thats it no includes no nothing

it should say
error: undefinded call to function print() on line 1 or somthing like that but it doesnt

if i do this
<?
$gonna = "go"
echo "gonna $gonna mad"
?>
it wont tell me that ive missed the ; it will just stop and give me a blackpage

see for yourself
http://adamuk.serveftp.com/123.php

anyone got any ideas?

servers runnin willitwork 2000 server
ive attachted a copy of the php.ini file incase thats any help
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Hmm your phpinfo seems like it's set to show errors. Is it possible for you to provide a direct link to your phpinfo on adamuk.serveftp.com?

Also, you may try adding this at the top of your PHP script to see if it makes a difference:

ini_set('display_errors','1');
error_reporting (E_ALL);
 
0
•••
i added the error_reporting thingy bob to top of a script and it still did nothing, i guess it is something down to windows maybe because i checked the apache config and that all seemed fine

and i even copied a php.ini file from one of our servers at work and it still didnt do anything

must have been down to a dodgey windows file, darn thing

i tried for about 4 hours last nite to solve the problem and still didnt do anything,

i googled and found some bits but it didnt see to help me, so i took my server into work this morning and put willit work 2003 on and everything seems to work at the moment *touches would*

darn thing...

if anyone reads this and can let me know what went wrong i would like to know thanks :)
 
0
•••
if the code is not all on one line I believe you need this:

PHP:
<?php
print()
?>

I think if you don't use the php it has to be one line...

<? print() ?>
 
0
•••
I got this:

"No input file specified. "
 
0
•••
Appraise.net
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back