Re: Beginner PHP question



Daniel schrieb:
On Mon, 18 May 2009 17:51:27 -0700 (PDT), c_shah
<shah.chirag@xxxxxxxxxxx> wrote:

For some reason sample website I have displays PHP variables in the
web browser. Also, hyper link i have on the page is displays like

my.domain.com?page=$page&id=$codeno


But there are some part of code does works fine. May be anything
inside <?= tag is being displayed in the browser

I know that <?= is like response.write in ASP or <?echo etc. but I am
a newbie and looks like I am missing something

this stuff does not work in php;

Unfortunately it *does* if you enable short_tags in the php.ini (which is not recommened). Before PHP 5 it was on by default if I remeber correctly.

Johannes
.



Relevant Pages

  • Re: Beginner PHP question
    ... web browser. ... hyper link i have on the page is displays like ... Before PHP 5 it was on by default if I remeber ...
    (alt.php)
  • Re: Beginner PHP question
    ... web browser. ... hyper link i have on the page is displays like ... this stuff does not work in php; please see the syntax in the manual, ...
    (alt.php)
  • Re: The Inquirer
    ... >>I could write a compiler for an arbitrary language and put this to open ... > Now go to the url with whatever web browser your using. ... PHP is open source. ... that the actual source code that makes ...
    (comp.os.vms)
  • [Full-Disclosure] Re: Advanced XSS paper and semi-new attack
    ... * Many environments (PHP, Perl+CGI.pm) accept both POSTed and GETted data. ... browser start fetching a URL as soon as the web browser sees it, ... server but which immediately redirects to a mail sending script at your server. ...
    (Full-Disclosure)
  • Re: printing for dot matrix printers
    ... I'm looking a solutions dotmatrix printer solution for php. ... I need print a form or invoice to dotmatrix printer in browser. ... All major web browser know how to print a web page to ... If you want to ensure it prints in the way you want it to (as in an invoice), pdf is the way to go. ...
    (comp.lang.php)