You are here: Re: Can't submit data to db, but can read it. « All PHP « IT news, forums, messages
Re: Can't submit data to db, but can read it.

Posted by ZeldorBlat on 08/03/06 16:43

bennett@snet.net wrote:
> The code is available at the link I posted earlier as checkbook.php
> http://eltonwilson.com/scripts/checkbook/
>
> Also it doesn't appear to be a problem with his script since it runs on
> his site, but I'll try to ask him for info as well.
>
> Thanks
>
> Flamer wrote:
> > bennett@snet.net wrote:
> >
> > > Hi list,
> > >
> > > I'm a noob to php. I'm trying to get a very simple checkbook script
> > > working that is available here.
> > >
> > > http://eltonwilson.com/scripts/checkbook/
> > >
> > > I'm thinking I must have some type of server config issues, because
> > > this works as a demo on the same site. I'm running SuSE 10 with php
> > > 4.4, mysql 4.1 and apache 2.0.54.
> > >
> > > I can see whatever is in the db, but when I try to add/modify/delete
> > > anything the page just seems to refresh without applying any of the
> > > changes. On the demo, the pages change appropriately.
> > >
> > > I'm am able to run phpmyadmin and I can change the db as the checkbook
> > > app would using the sql and these changes then appear in the checkbook
> > > app itself.
> > >
> > > The page doesn't give any errors and I don't see any in the mysqld.log
> > > file either. Is there something I could use to try an find out why the
> > > writes aren't getting processed. I've screwed around with the
> > > permissions (even 777) for everything in that directory and nothing
> > > seems to change it other than the obvious lack of web server perms.
> > >
> > > Thanks,
> > >
> > > PB
> >
> > Why don't you ask the php developer that wrote the script? if you want
> > help from me I need to see the code.
> >
> > Flamer.

It runs on his site because his site has register_globals enabled and
that particular script requires register_globals to be enabled (both
are bad). Either enable it on your website or find a script that has
been properly written.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация