Re: [PHP] Pear Page2

2013-01-06 Thread Silvio Siefke
Hello, On Sun, 6 Jan 2013 11:36:39 -0500 Tedd Sperling wrote: > You said -- > > > 1.) All websites are created manually. (nano + html/css Tags) > > -- and I replied "Not mine". In other words, some of my web-sites are > NOT created manually. What do you mean I do realize. I'm just wondering

Re: [PHP] Pear Page2

2013-01-05 Thread Silvio Siefke
Hallo, On Sat, 5 Jan 2013 15:40:56 -0500 Tedd Sperling wrote: > Not mine. What should me say this two words? You not use nano, ok. Editors enough on earth. Or you not write manually? Then share the way! Or use a CMS? Thank you for help, Kind Regards Silvio -- PHP General Mailing List (http:

Re: [PHP] Pear Page2

2013-01-05 Thread Silvio Siefke
Hello, On Sat, 05 Jan 2013 20:36:12 + Ashley Sheridan wrote: > What I would start to do is break out common parts of pages to include > files. This would be stuff like headers, footers, sidebars, etc. > From there, you could use variables to set things like titles, > stylesheets, nav items

Re: [PHP] Pear Page2

2013-01-05 Thread Silvio Siefke
Hello, On Sat, 05 Jan 2013 17:21:05 + Ashley Sheridan wrote: > If the pages are already written, why do you want to start changing > the way they've been built? 1.) All websites are created manually. (nano + html/css Tags) 2.) The maintenance effort now is not enough. 3.) The programming (

Re: [PHP] Pear Page2

2013-01-05 Thread Silvio Siefke
Hello, On Sat, 05 Jan 2013 14:52:12 + Ashley Sheridan wrote: > I've just had a quick look at page2, and I can't say I see the point. > You'd end up having to write a lot more code that was harder to manage > by adding each element through a class like that if your site got even > moderately

Re: [PHP] Pear Page2

2013-01-05 Thread Silvio Siefke
Hello, On Sat, 05 Jan 2013 07:53:04 + Ashley Sheridan wrote: > I'm not sure quite what you'd expect such a module to do? Is this for > templating? page2 creates complete websites. Would be useful because I'm sitting at the website internationalization. Template engines seem complicated.

[PHP] Pear Page2

2013-01-04 Thread Silvio Siefke
Hello, Is there something similar to Pear/Page2 module, that can working with HTML5? Thanks for help, Greetings Silvio -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Internationalization

2012-12-28 Thread Silvio Siefke
Hello, i have found a good Tutorial about Internationalization from Websites with PHP. That's sounds intresting. Has someone Tutorials which go deeper in the subject. http://phpmaster.com/localizing-php-applications-1/ I has a website for that i need this in 3 languages. This sounds that were

[PHP] Question

2012-11-02 Thread Silvio Siefke
Hello, i have compile PHP 5.4.8 on my Debian System. I have before Version 5.4.7. I delete before all old Files from PHP and then run the commands: ./configure --sysconfdir=/usr/local/etc --with-pear --enable-bcmath --with-bz2=/usr --disable-calendar --enable-ctype --without-curl --without-cur

Re: [PHP] PDO

2012-10-22 Thread Silvio Siefke
Hello, i found the mistake, i have forgetten write the new path for the sqlite database. Thx Silvio -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PDO

2012-10-22 Thread Silvio Siefke
Hello, i have built php 5.4.7 on Ubuntu with the configure Arguments like on my Gentoo System. But on Gentoo run the website without Problems, under Ubuntu want not work. I become in error.log: [22-Oct-2012 21:15:00 UTC] PHP Fatal error: Call to a member function prepare() on a non-object in h

Re: [PHP] SqLite INSERT want not write

2012-04-19 Thread Silvio Siefke
On Thu, 19 Apr 2012 13:00:40 -0700 Tommy Pham wrote: > Technically, it's date('now') per [1] :) RTFM FTW! Yes its right, i have read it on sqlite.org. PS: Excuse me, what mean RTFM FTW? Regards Silvio -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] SqLite INSERT want not write

2012-04-19 Thread Silvio Siefke
Hello, On Thu, 19 Apr 2012 20:43:52 +0100 Stuart Dallas wrote: > On 19 Apr 2012, at 20:40, siefke_lis...@web.de wrote: > > > On Thu, 19 Apr 2012 15:17:06 -0400 > > "Steven Staples" wrote: > What does the script output? The only path through your script that doesn't > display something is if

Re: [PHP] SqLite INSERT want not write

2012-04-19 Thread Silvio Siefke
On Thu, 19 Apr 2012 14:57:04 -0400 "Steven Staples" wrote: > I think all you had to do was change this line: (line 27 in the original > paste) > $sql = 'INSERT INTO bloggen (date, autor, title, teaser, content) > VALUES ('' . date( 'Y-m-s H:i:s', time() ) . '', :autor, :title, > :teaser, :c

Re: [PHP] SqLite INSERT want not write

2012-04-19 Thread Silvio Siefke
Hello, On Thu, 19 Apr 2012 13:21:46 -0500 tamouse mailing lists wrote: > Maybe this will make the syntax errors stand out more: > > http://dl.dropbox.com/u/571329/Screenshots/Picture%209.png ok i have change it to the function date, but now i has the error message: PDOException: SQLSTATE[HY0

Re: [PHP] SqLite INSERT want not write

2012-04-19 Thread Silvio Siefke
Hello, On Thu, 19 Apr 2012 18:39:00 +0100 Stuart Dallas wrote: > The script has syntax errors in it. You won't see those errors because PHP > won't run a script with syntax errors, so it won't modify the error_reporting > and display_errors settings. > > You can run php -l script.php to see t

[PHP] SqLite INSERT want not write

2012-04-19 Thread Silvio Siefke
Hello, i have a script which should write articles in a Sqlite 0database. The script runs without errors, but nothing is written to the database. The Script: http://nopaste.info/09e68c7e37.html The db.php: http://nopaste.info/afd4dee47a.html The Database file has right 777. Has someone an idea

Re: [PHP] URL Rewriting

2011-06-22 Thread Silvio Siefke
On Wed, 22 Jun 2011 23:32:10 +0200 Fatih P. wrote: > try > > RewriteEngine on > RewriteRule ^theme([0-9]+).php$ /index.php?theme=$1 [L] That is rule for Apache i think. I have nginx, and there i have try much rules but nothing want work. And on the list from nginx the maintainer write, i should

Re: [PHP] URL Rewriting

2011-06-22 Thread Silvio Siefke
On Wed, 22 Jun 2011 17:50:49 -0400 Daniel P. Brown wrote: > > Has someone a Link with Tutorials or other Information? > > Not entirely sure what you're asking here, or how you (or the > nginx folks) expect it to relate to PHP. Do you mean that you want to > use PHP to have theme2.php act as i

[PHP] URL Rewriting

2011-06-22 Thread Silvio Siefke
Hello, is there a chance with php to use rewriting? Like Example: mysite.com/theme.php?id=1 to theme.php theme2.php etc. I have ask on the nginx list, but there they say i should use the power language php. When i search in google for Examples or Tutorials i only found mod_rewriting. Has

Re: [PHP] PHP want not write in Database

2011-05-16 Thread Silvio Siefke
Hello, On Mon, 16 May 2011 12:07:37 +0100 Stuart Dallas wrote: > Not all functions raise PHP errors when they fail, in fact most don't. Most > will return an error value, and a few throw exceptions. > > As the manual states, the execute method you're using will return true if it > succeeded or fa

Re: [PHP] PHP want not write in Database

2011-05-16 Thread Silvio Siefke
Hello, On Mon, 16 May 2011 11:06:17 +0100 Stuart Dallas wrote: > In order to avoid this problem in future I encourage you to check the return > value of every function call you make that might fail, i.e. every single > one! Had you done that here, and then pulled out the last error message from >

Re: [PHP] PHP want not write in Database

2011-05-16 Thread Silvio Siefke
Hello, On Mon, 16 May 2011 09:57:23 +0800 xianhua zhou wrote: > VALUES(:autor, :title, :teaser, :teaser, :content, :category, :bild) > > There are 2 ":teaser", try remove one. Yes thats it. Now it work well done! Thank you, im sorry sure was to long at the pc yesterday. Silvio -- PHP Gener

Re: [PHP] PHP want not write in Database

2011-05-16 Thread Silvio Siefke
Hello, On Mon, 16 May 2011 07:13:19 +0100 Ashley Sheridan wrote: > What is your code in the included db.html? You do realise that unless > you've told the server especially that it won't know to parse your HTML > files for PHP code as well. HTML is embedded in PHP, not the other way > around. If y

[PHP] PHP want not write in Database

2011-05-15 Thread Silvio Siefke
cute(); echo "Artikel ist eingetragen!"; } catch (PDOException $ex) { echo $ex->getMessage(); } } ?> The HTML Tags: Autor Title Teaser Content Kategorie Bild The Mysql Query Log: 110516 2:44:29 187

Re: [PHP] A Starter has prob in blog script

2011-04-14 Thread Silvio Siefke
Hello, i have it running now. For complete the thread, write here the code with it run. query($sql); foreach ($result as $var) { echo $var['content']; } $DB = null; } catch (PDOException $e) { echo "Fehler: " . $e->getMessage(); exit (); } ?> Regards Silvio -- PHP General Mailing List (http:

Re: [PHP] A Starter has prob in blog script

2011-04-13 Thread Silvio Siefke
Am 14.04.2011 01:35, schrieb Daniel Brown: > Good luck with the rest. You may want to just go back to the CMS, > or at least start with the basics. You may already be learning that > copying and pasting code doesn't always work but sometimes it can > be malicious code that, to an untraine

[PHP] A Starter has prob in blog script

2011-04-13 Thread Silvio Siefke
Hello, i has a CMS System, but want better write my website manually. Im started at first with PHP or write a Program. I really not know what i has to do, Google can not ask, i not know what should ask. Google with "mysql link php foreach pdo" help not really. I have for my blog two files, first

Re: [PHP] Newbi Question with calculate

2011-04-06 Thread Silvio Siefke
Hello, sorry i has not correct write. The example when is finish can see at http://silviosiefke.de/finance/stock/stock.php For this i not use a mysql Database, its normal not so much at data. I have write the source as Text Files: http://silviosiefke.de/finance/finished/txt/index.txt - That is

[PHP] Newbi Question with calculate

2011-04-06 Thread Silvio Siefke
Hello, i have write a script for my Stock portfolio and now im not really find something which can me help. In the table php calculate me the Present Value and the Percent with this code: >