Afficher un message
Vieux 20/06/2008, 18h50   #11
Michael Fesser
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: get a pdf file from server

..oO(Captain Paralytic)

>However, if I assume that you have made a copy'n'paste error and teh
>output actually shows:
>./uploads/files/
>then you should look at why you are getting nothing output by your
>echo statement, which is most likely because there is nothng in the
>variable $pdf.


First thing to check is the local php.ini for correct error settings:

display_errors = on
error_reporting = E_ALL|E_STRICT

PHP might show a notice in this case. Then some error handling in the
database part might be useful as well.

>Since you do not tell us how $pdf is supposed to get populated, there
>is not much more we can tell you.
>
>BTW, <?php echo $pdf ?> should really say <?php echo $pdf; ?>


Both work. In PHP the semicolon is a statement separator, not a
terminator.

Micha
  Réponse avec citation
 
Page generated in 0,04816 seconds with 9 queries