Re: [PHP] mini CMS

2005-04-28 Thread Richard Lynch
On Thu, April 28, 2005 2:45 pm, Sebastian said: > im looking for a small tutorial/cms script without all the fluff. > something to create pages (static preferably) doesn't even need an > admin/user interface. > > i could write my own, but don't have the time at the moment. > if anyone knows of such

Re: [PHP] Skipping function arguments!

2005-04-28 Thread Richard Lynch
On Thu, April 28, 2005 6:43 am, Vedanta Barooah said: > resource ldap_search ( resource link_identifier, string base_dn, > string filter [, array attributes [, int attrsonly [, int sizelimit [, > int timelimit [, int deref]) > > if you look at the 4th and the 6th arguments to the function > att

Re: [PHP] Retrieving query from MSSQL Table

2005-04-28 Thread Richard Lynch
On Thu, April 28, 2005 5:51 am, Mike Smith said: > On 4/28/05, Richard Lynch <[EMAIL PROTECTED]> wrote: >> I'm betting dollars to doughnuts that you've got a newline at the end of >> $sql1 which is messing you up. > > You're right! Give that man a doughnut! When I tested the query in > Query Analyz

Re: [PHP] php/pear question

2005-04-28 Thread Richard Lynch
On Thu, April 28, 2005 1:23 pm, Kelly Meeks said: > I can run pear from the shell, install new modules (pager, > html_quickform,...) but when ever I try using any pear code in a php > script > with the appropriate includes/require (require_once 'DB.php';) nothing in > the php block of the script ge

Re: [PHP] Is it possible to save a file with UTF-8 encoding and noBOM using PHP?

2005-04-28 Thread Richard Lynch
On Thu, April 28, 2005 4:14 am, Jon M. said: > No matter what I do to the strings to encode them in whatever format > before > using "fwrite", it ALWAYS seems to end up writing the actual file in > "iso-8859-1". How do you know? What are you using to determine the format of the file? We are cont

Re: [PHP] Retrieving query from MSSQL Table

2005-04-28 Thread Mike Smith
Thanks Richard, That did the trick. That and one query was in another database, that my users didn't have rights to...Doh! Works well. Thanks, Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Templating engines

2005-04-28 Thread Evert | Rooftop Solutions
Hi Ryan, The XML basics are really simple and can be learned in 15 minutes, so I suppose you already know this. I personally think www.xml.com has some good resources, and they don't just keep it with theory and translate the stuff to practical situations. Also google for stuff like namespaces

Re: [PHP] php/pear question

2005-04-28 Thread Matthew Weier O'Phinney
* Richard Lynch <[EMAIL PROTECTED]>: > On Thu, April 28, 2005 1:23 pm, Kelly Meeks said: > > I can run pear from the shell, install new modules (pager, > > html_quickform,...) but when ever I try using any pear code in a php > > script with the appropriate includes/require (require_once > > 'DB.php

Re: [PHP] anchr tag replace

2005-04-28 Thread Philip Hallstrom
I'm just lazy... and this is easier than changing them all by hand :) http://www.oreilly.com/catalog/regex/ I've skimmed parts of it... makes my head hurt :) On Thu, 28 Apr 2005, php wrote: Thanks SOO much. It works flawlessly. I find it scary that there are people out there who do regular express

Re: [PHP] Re: Templating engines

2005-04-28 Thread Evert | Rooftop Solutions
Jason Barnett wrote: Evert | Rooftop Solutions wrote: Yes, and that's how I read this reply =) About the subject, I'm working on a xml-based templating system, which caches all the steps it does, so it overcomes the slowness =) And ofcource because I like xml and all the neith things you can do w

Re: [PHP] Re: Templating engines

2005-04-28 Thread Evert | Rooftop Solutions
Jason Barnett wrote: Evert | Rooftop Solutions wrote: Yes, and that's how I read this reply =) About the subject, I'm working on a xml-based templating system, which caches all the steps it does, so it overcomes the slowness =) And ofcource because I like xml and all the neith things you can do w

[PHP] passing a variable through 2 required files embedded in Javascript

2005-04-28 Thread Mark Cain
What a mess this has turned out to be -- But perhaps you can help me. I have a dynamic site that pulls headers, navigation, and footers from text files. The content for the pages is pulled from mySQL. On each page I have a JavaScript rotating banner that displays "Upcoming Events." The banner

[PHP] help wanted for project

2005-04-28 Thread Mr R H
We have a web site and we need added functionality. We need a form developed which based on answers to three questions tells the patient which test he needs to buy. The purchast takes place via paypal code (already in place) and then another form is available for the patient to fill in a more detai

[PHP] __autoLoad php5 callback is being triggered for every class ?

2005-04-28 Thread php
I'm experiencing some issues with autoLoad with pear packages. DB_Error is contained within the DB.php, but my autoload method is trying to split the underscores with forward slashes and then load. Supressing errors with @ still doesnt work, its triggering a php error. Any ideas ? -- PHP General

Re: [PHP] Templating engines

2005-04-28 Thread Mattias Thorslund
(On the subject of templating engines, again.) I wonder what you folks think of the following: http://www.massassi.com/php/articles/template_engines/ I've been using the template class in the example of the article. I think it's easy to use and very flexible, since it uses PHP as the actual templ

[PHP] temp table : solution

2005-04-28 Thread Cima
hi, thanx for your input. i noticed that the last part of the create table query was the part that was causing the 'problem'. the on commit delete rows was deleting the values i inserted after executing the query therefore i couldnt select anything from it. i did try Richard Lynch's code and it

Re: [PHP] User Logout system advice needed...

2005-04-28 Thread William Stokes
OK. How about preventing access by hitting the browsers back button after the user has logged out? -Will "Petar Nedyalkov" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and Ajax?

2005-04-28 Thread Hidayet Dogan
Try SAJAX at http://www.modernmethod.com/sajax Hidayet Dogan [EMAIL PROTECTED] Pleksus Bilisim Teknolojileri D.T.O. A.S. -- caldiran sok. 14/6 06420 kolej ankara * ww

<    1   2