Ask a Question related to PHP Development, Design and Development.
-
chris #1
I think i am going crazy
i have made a file called blah.php containing
<?php print "<b>this is a test " ?>
i open the page in a browser and i see a blank page
i view the source of the page in the browser and i see
<?php print "<b>this is a test " ?>
this shouldnt be happening
i have got php installed on the server and other php aplications are working
fine - am i loosing the plot ??
TIA
chris Guest
-
slideshow crazy
Please check out www.minneapolis.edu.. If you have flash 8 player installed it works just fine. If you dont have it upgraded yet, my slideshow goes... -
crazy
guys: this is a highly simplified version of the helloVid app from the oreilly book: in the fla: stop(); myID = ""; nc = new... -
crazy behaviour
Hi, I'm thring to get a form to respond to slections made in a select control. I'm not going mad it just feels like it - but my form just... -
Crazy PNG files...
I have a Publisher file that was created with Publisher 2000. It is a website and contains a variety of text files and pictures. When I loaded it... -
IE 5.0 make me crazy...
Hi, I have an aspx page with a Graph (teechart) and a button (export). The page is automatically updated by <META HTTP-EQUIV="Refresh"... -
Marcel #2
Re: I think i am going crazy
"chris" <asda@godknows.com> schreef in bericht
news:3f7401d6$1@funnel.arach.net.au...working> i have made a file called blah.php containing
>
> <?php print "<b>this is a test " ?>
>
>
> i open the page in a browser and i see a blank page
>
> i view the source of the page in the browser and i see
>
> <?php print "<b>this is a test " ?>
>
>
> this shouldnt be happening
>
> i have got php installed on the server and other php aplications areAlthough your code isn't wellformed, it works at my server however so i> fine - am i loosing the plot ??
>
> TIA
>
>
think the must be a malconfiguration of PHP somewehere.
<?php print "<b>this is a test</b>"; ?>
Marcel
Marcel Guest
-
Benjamin Morel #3
Re: I think i am going crazy
Maybe your server is configured to consider only .php3 files as PHP files.
Check it.
"Marcel" <neegeenspam@hotentottententententoonstellingen.nl > a écrit dans le
message de news:3f74167c$0$5772$edd6591c@news.versatel.net...>
> "chris" <asda@godknows.com> schreef in bericht
> news:3f7401d6$1@funnel.arach.net.au...> working> > i have made a file called blah.php containing
> >
> > <?php print "<b>this is a test " ?>
> >
> >
> > i open the page in a browser and i see a blank page
> >
> > i view the source of the page in the browser and i see
> >
> > <?php print "<b>this is a test " ?>
> >
> >
> > this shouldnt be happening
> >
> > i have got php installed on the server and other php aplications are>> > fine - am i loosing the plot ??
> >
> > TIA
> >
> >
> Although your code isn't wellformed, it works at my server however so i
> think the must be a malconfiguration of PHP somewehere.
>
> <?php print "<b>this is a test</b>"; ?>
>
> Marcel
>
>
Benjamin Morel Guest
-
PhilM #4
Re: I think i am going crazy
"Benjamin Morel" <virtua@nerim.fr> wrote in message
news:bl1u13$2qlm$1@biggoron.nerim.net...le> Maybe your server is configured to consider only .php3 files as PHP files.
> Check it.
>
> "Marcel" <neegeenspam@hotentottententententoonstellingen.nl > a écrit dansAlso check to make sure you have correct setting for short tags.> message de news:3f74167c$0$5772$edd6591c@news.versatel.net...> >
> > "chris" <asda@godknows.com> schreef in bericht
> > news:3f7401d6$1@funnel.arach.net.au...> > working> > > i have made a file called blah.php containing
> > >
> > > <?php print "<b>this is a test " ?>
> > >
> > >
> > > i open the page in a browser and i see a blank page
> > >
> > > i view the source of the page in the browser and i see
> > >
> > > <?php print "<b>this is a test " ?>
> > >
> > >
> > > this shouldnt be happening
> > >
> > > i have got php installed on the server and other php aplications are> >> > > fine - am i loosing the plot ??
> > >
> > > TIA
> > >
> > >
> > Although your code isn't wellformed, it works at my server however so i
> > think the must be a malconfiguration of PHP somewehere.
> >
> > <?php print "<b>this is a test</b>"; ?>
> >
> > Marcel
> >
ie <? as opposed to <?php
(if short tags option is set, long tags will be ignored. If you change this
setting, short tags will be parsed, but all the shorthand will throw errors.
That is unless something has changed recently)
PhilM
PhilM Guest
-
John Dunlop #5
Re: I think i am going crazy
PhilM wrote:
I can't see anything syntactically incorrect with the PHP. And> > Marcel wrote:
> >> > > chris wrote:
> > >
> > > > <?php print "<b>this is a test " ?>
> > >
> > > Although your code isn't wellformed
indeed, full error reporting notifies us that there are no
syntactical mistakes.
No. The character sequence "<?php" is recognised as starting a> (if short tags option is set, long tags will be ignored. [...]
block of code, regardless of the short_open_tag setting. See:
[url]http://www.php.net/manual/en/language.basic-syntax.php[/url]
In a nutshell: avoid short tags.
--
Jock
John Dunlop Guest



Reply With Quote

