[PHP] get XSLT on server without Sablotron

2005-12-09 Thread Gerben
Is there a way to get some sort of XSLT working on my server? safe-mode is off run under apache (php_sapi_mode=apache) dl() is enabled I only have FTP access server runs under linux Can I download "sablotron.so" somewhere an load it using dl() ??? Is there some PHP code that can transform XML usi

[PHP] Re: Database engine in PHP

2005-03-05 Thread Gerben
Thanks Manuel. That's excactly what I was looking for. This will save me a lot of time. Thanks a lot. greeting Gerben "Manuel Lemos" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > > on 03/04/2005 03:45 PM Gerben said the following: &

[PHP] Database engine in PHP

2005-03-04 Thread Gerben
Hi, I have already asked this question, but I think I wasn't clear enough of my intentions (thanks for all your responses anyway) I was wondering if there is any DBMS, like MySQL, which is (fully) implemented in php. That is a database engine written in PHP. I know this is not the most effecient

Re: [PHP] php DBMS

2005-03-02 Thread Gerben
t want a way to store simple data and I thought this SQL would be a nice interface. Since it could be easelly ported to mysql. "John Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Gerben wrote: >> I'm wondering if there is any DBMS, like MySQ

[PHP] php DBMS

2005-02-28 Thread Gerben
Hi, I'm wondering if there is any DBMS, like MySQL, which is (fully) implemented in php. This so you don't have to buy a MySQL database. I'm currently trying to put something together, but this would be a waste of time if it already exists. greetings Gerben Holland -- PHP Gener

[PHP] GD

2004-10-09 Thread Gerben
how can i find out in PHP which version of GD is installed. I tried checking for function-existence of imagecreatetruecolor and imagecopyresampled, but these functions exist in older GD versions, but aren't implemented. I want to know if I can use the functions imagecreatetruecolor() and imageco

[PHP] Re: stand alone php

2004-10-02 Thread Gerben
search the history. questions about compiling are already asked before, so search for it. I wouldn's know. "Mag" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > Is there any app that converts php to a stand alone > version? > > like a windows .exe program. > > > Just curious.

[PHP] custom 404 page

2004-09-21 Thread Gerben
I would like to know which headers I have to send on my own 404page? I read somewhere I have to send the header "HTTP 302 Found" I also want to know which header I have to send when I redirect from my 404page? do I need "HTTP 201"? -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] Re: CSS not picked up

2004-09-13 Thread Gerben
probably a caching problem, but try looking for spelling errors (use W3C checker) PS this is a PHP list not CSS "Jeff Swanberg" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I have the following in my CSS (loaded on the main site page): > > /* FOOTER */ > > .footer { >f

[PHP] Re: installing PHP on winXP

2004-09-05 Thread Gerben
I finially found the solution to my problem (see also http://www.sitepoint.com/forums/showthread.php?t=92314). I downloaded the php4apache dll from http://www.kromann.info/php4.php and it's now working like a charm. thanks "Gerben" <[EMAIL PROTECTED]> wrote in message

[PHP] Re: installing PHP on winXP

2004-09-05 Thread Gerben
my install-paths are still the same. the real problem (I think) is that I'm missing the php4apache dll for some peculiar reason ||:-| Thanks anyway. I'll try downloading the zip file and doing it manually. "Chris Martin" <[EMAIL PROTECTED]> wrote in message news:

[PHP] installing PHP on winXP

2004-09-04 Thread Gerben
hi there I have a problem with installing PHP on my winXp with apache server using the installer. I'm missing the sapi directory ("c:/progra~1/php/sapi/") with in it the php4apache.dll file which apache misses. The weird thing is that I've succesfully installed php and apache on this same machi

Re: [PHP] Print page without images

2004-07-20 Thread Gerben
css: img{display:none;} "John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > francesco[AT]automationsoft[DOT]biz wrote: > > > I know that it is a simple and maybe elementary > > question, but there is in PHP a function, like print > > or echo, that print only the text of

[PHP] Re: Database Driven Links

2004-07-06 Thread Gerben
I think the function eval is what you are looking for. http://php.net/eval "Shaun" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I am modifying my site so that links for each page are held in a database to > make my site more portable. However if I have link such as > edit

[PHP] Re: Two Sites - One Backend

2004-07-06 Thread Gerben
Are you using 2 different servers or just one? if only one then how would URL X and URL Y look? Since X and Y will refer to a different file, my suggestion is to change the include('X-header') to inlcude('Y-header') in the Y version. Some more info whould be nice "Shaun" <[EMAIL PROTECTED]> wrote

[PHP] Re: Dissappering Tables Server wide

2004-07-05 Thread Gerben
Do you want all tables to dissapear or did this happen (unwanted)? "Chris" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi All. > > What would cause all the tables in all the databases to be deleted all at > once? > > TIA -- PHP General Mailing List (http://www.php.net/) To unsu

Re: [PHP] .htaccess file

2004-07-05 Thread Gerben
You will have to chmod these .htaccess files "John" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] what are the files permissons? of these are set wrong it could cause your problem On Mon, 05 Jul 2004 10:58:54 +0200, Václav Slovácek <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a

Re: [PHP] Protecting database passwords

2004-07-01 Thread Gerben
I think he is talking about the password that is written inside the script in the mysql_connect statement. I think he is worried that someone could access it's code and find out the DB password. One solution is to make the database only accessible from localhost (you could create a new user/pass f

[PHP] Re: Date Select

2004-06-25 Thread Gerben
select * from table where TO_DAYS(date_field) > ( TO_DAYS(NOW()) -7 ) this will give the entries of the last 7 days (and the ones that are in the future) "Tom Chubb" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > How can I query a MySQL table to get the latest results from a date f

[PHP] Re: printing out messages while processing a file

2004-06-23 Thread Gerben
just use the flush() method. this will send all text that is already pinted see the documentation for more info example: print "hello"; flush(); sleep(1000); print " world"; gr GB "Merlin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi there, > > I am writing a backup_restore f

[PHP] Mysql fetch_row()

2004-06-20 Thread Gerben
when I call mysql_fetch_row() I get an array, but this Array doesn't have the fieldnames as array-keys. I've seen several codes from others where they use something like print $row['key']; This doesn't work on my server. Is this because my server-software is too old or am I using the wrong functi

[PHP] Re: Auth_User

2004-06-20 Thread Gerben
This var means something else when you write the following code: Header("WWW-Authenticate: Basic realm=\"Enter username and password\""); Header("HTTP/1.0 401 Unauthorized"); Your browser will produce a popup requesting a username an password This it what you get returned when using $_SERV

[PHP] src="test.php"

2004-06-16 Thread Gerben
I wondering how browsers handle the following html-codes: and are there any browser that will choke in it because the files don't have the appropriate (.css and .js) extension? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: update count

2004-06-16 Thread Gerben
LIMIT 1 "Bob Lockie" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > What is the best way to only do an update if it going to update only one > row? > I want to protect my code so that it won't accidentally update more than > one row. > I can do a select first but there must be an e

[PHP] Re: PHP en XML een vraag waard

2004-06-15 Thread Gerben
Try asking your question in english. since this is an engelish newsgroup oftewel stel je vraag in het engels "De Saedeleer Yves" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Gegroet, > Hoi > > Ik ben reeds een tijdje bezig met PHP en hier en daar lukt er al eens iets > :=)) > >

Re: [PHP] mkdir after mkdir

2004-06-06 Thread Gerben
creating 2 nested folders. Thanks anyway "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Gerben wrote: > > Hello, > > > > I have a problem with the mkdir function. > > I'm trying to make a seperate folder every photoa

Re: [PHP] mkdir after mkdir

2004-06-06 Thread Gerben
I have those rights since the first dir is created. the problem is that the 2nd is not created "Daniel Clark" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I think PHP and mkdir() is using the web servers rights. So the web server would need rights to create directories. > > >>He

[PHP] mkdir after mkdir

2004-06-06 Thread Gerben
Hello, I have a problem with the mkdir function. I'm trying to make a seperate folder every photoalbum. inside I want to create another folder ('.../thumbnails/') for, you can guess, the thumbnails. At first it didn't work at all: >Warning: mkdir() failed (Permission denied) in /home/virtual/sit

[PHP] Re: nl2br problem

2004-05-28 Thread Gerben
my indentation is screwed up when I use nl2br(); "Justin Patrin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Gerben wrote: > > > If have some problems with the nl2br function. It f*cks up my layout. > > does anyone know how to create a

[PHP] nl2br problem

2004-05-28 Thread Gerben
much and I don't know if nl2br produces "\r"-s Greetings, Gerben Holland -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: protecting web page

2004-05-05 Thread Gerben
The best I can do is the following which would protects from printing, but you should check cause not all browsers support css the way they should. body{display:none;} greetings <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > i'm designing a we

[PHP] Re: Javascript help

2004-04-13 Thread Gerben
to open window: window.open ('test.html','winname') to close window: window.open ('','winname').close() "Brent Clark" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi all I know this is not a Javascript mailing list, and I do apologies. I have this problem where in my php and I k

Re: [PHP] Re: Hiding email address from Robots ??

2004-04-09 Thread Gerben
n the html-code like this: var nospam = 'mail' mail@domain.com the weakest link is now the part between the an "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Gerben ([EMAIL PROTECTED]): > > just google for it.

[PHP] Re: Hiding email address from Robots ??

2004-04-08 Thread Gerben
just google for it. there are several PHP classes that do that for you. try something like: mail@domain.com (I didn't check it) I hope you can read it. "News" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Looking for opinions before I start using this to hide the email address on

[PHP] Re: saving as .XLS

2004-03-26 Thread Gerben
just save as an csv-file (comma seperated values) "Jon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, I am looking for some information about the way of saving the result of > my php script (html table) with .XLS (ms excel) format. Do you know where > could I get info about thi

[PHP] Re: SimpleXML node detection.

2004-03-24 Thread Gerben
couldn't you use something like. It's a bit more neat ~ ~foo ~foo ~ "William Bailey" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Morning all, > > Hopefully a quick quest

[PHP] Re: login scripts not secure?? help!

2004-03-23 Thread Gerben
try using $HTTP_SESSION_VARS[] by the way. if hacks can find out the user-pass combination they can just use the normal way of logging in ;-) "Andy B" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] hi in an attempt to create a login system for site administrators on a website i come

[PHP] Re: php and email

2004-03-23 Thread Gerben
try using ' instead of " "Steven Mac Intye" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > Im wondering if anyone can help me with this "problem" > > I have a form with the following line of code; > > $message .= " href=\"http://127.0.0.1/devsite/activate.php?member=$r

[PHP] Re: Constants

2004-03-23 Thread Gerben
this is probably because Foo is an interface instead of a class. interfaces can't contain any data as far as I know. "Jakes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The bug server looks like its down, so I will just post the bug here, and > hopefully someone > will spot it >

[PHP] Re: too much trimming

2004-03-20 Thread Gerben
you need to add an space after "?>" for to output the newline after it. "Ivan Sergio Borgonovo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I've simple code like this: > > -- begin -- > #!/usr/bin/php -q > $pippo='goofy' > ?> > > hey my name is > and > I feel good > -- end --

[PHP] Re: too much trimming

2004-03-20 Thread Gerben
you need to add an space after "?>" for to output the newline after it. "Ivan Sergio Borgonovo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I've simple code like this: > > -- begin -- > #!/usr/bin/php -q > $pippo='goofy' > ?> > > hey my name is > and > I feel good > -- end --