Re: PHP not posting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/24/07, Pieter du Toit <pieter@xxxxxxxxxxxxxxxxx> wrote:
In the php.ini?


Yes, short tags can be enabled in php.ini, and <?php is in your script ;)

Tijnema

ps. Please don't top-post

pps. When you reply to this list, add the PHP list in your Cc field.
Some mail clients have an  "Reply to all" button which does this
automatically:)

-----Original Message-----
From: Tijnema [mailto:tijnema@xxxxxxxxx]
Sent: Sunday, June 24, 2007 5:42 PM
To: Pieter du Toit
Cc: php-general@xxxxxxxxxxxxx
Subject: Re:  PHP not posting

On 6/24/07, Pieter du Toit <pieter@xxxxxxxxxxxxxxxxx> wrote:
> But why is the php code showing just like my code at the top when i right
> click the webpage and view source, i suspect this must be a php.ini
setting
> or sonmething

Yes, it might be.
That's why I asked you if you had short tags enabled or not, and that
you can better use <?php instead of <?.

Tijnema
> "Tijnema" <tijnema@xxxxxxxxx> wrote in message
> news:d8269d910706240800y1d91b01as72b339b4d2f56faa@xxxxxxxxxxxxxxxxx
> > On 6/24/07, Pieter du Toit <pieter@xxxxxxxxxxxxxxxxx> wrote:
> >> Nothing major here is the code:
> >>
> >> <?
> >   ^^ Do you have short tags enabled?, try <?php
> >
> >> if ($_POST['name']) {
> >
> > Not the right way to check, you should use:
> > if(isset($_POST['name']) {
> >
> >>
> >> echo "name posted";
> >>
> >> }
> >>
> >> ?>
> > <html code>
> >
> > If that still doesn't work, try a var_dump($_POST) at top of your
> > script, and see if there's anything inside.
> >
> > Tijnema
> >
> >>
> >> "Stut" <stuttle@xxxxxxxxx> wrote in message
> >> news:467E81F8.2050700@xxxxxxxxxxxx
> >> > Pieter du Toit wrote:
> >> >> I installed PHP5 on iis and i can see "hello world" and phpinfo.
> >> >>
> >> >> When i right click the webpage and view source, i can see the php
> >> >> code,
> >> >> and the form does not want to post the form details.
> >> >>
> >> >> Will appreciate any help.
> >> >
> >> > My amazing psychic abilities tell me that...
> >> >
> >> > ...you need to show us your code before we can have any chance of
> >> > helping.
> >> >
> >> > -Stut
> >> >
> >> > --
> >> > http://stut.net/
> >>
> >> --
> >> PHP General Mailing List (http://www.php.net/)
> >> To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >>
> >
> >
> > --
> > Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info





--
Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux