[PHP] Line breaks...

2002-04-16 Thread Philip Jeffs

Hi,

I have a form inserting data into a database. I'm using nl2br to add  to the data 
enetered where appropriate.
The data is then pulled out of the database and inserted into text fields for editing.

Can anyone tell me how to remove the  tags while maintaining the line breaks in 
the text field?

Thanks,

Phil
-----
 
Philip Jeffs
 
The Tickle Group
The Gate House
Summerseat
Bury
Lancashire
BL9 5PE
United Kingdom
W: http://www.tickle.co.uk
T: 01706 823456
F: 01706 829500
E: [EMAIL PROTECTED] (daytime)
[EMAIL PROTECTED] (evening)
 
-




[PHP] Deleting directories...

2002-04-02 Thread Philip Jeffs

Hi,

I'm trying to delete non-empty directories. I'm using a windows 2000 server.
I have a script that seems to be trying to delete the directories as it should but it 
can't delete the directories because it does not have permission.
The script runs CHMOD on the direcory to make sure it has permission but it still 
doesn't work. 

Can anyone help?

Thanks in advance
-----
 
Philip Jeffs
 
The Tickle Group
The Gate House
Summerseat
Bury
Lancashire
BL9 5PE
United Kingdom
W: http://www.tickle.co.uk
T: 01706 823456
F: 01706 829500
E: [EMAIL PROTECTED] (daytime)
[EMAIL PROTECTED] (evening)
 
-




[PHP] Deleteing folders containing files...

2002-03-15 Thread Philip Jeffs

Hi,

Does anyone know of an 'easy' way to delete folders that contain files and sub-folders?

Thanks,

Phil
-----
 
Philip Jeffs
 
The Tickle Group
The Gate House
Summerseat
Bury
Lancashire
BL9 5PE
United Kingdom
W: http://www.tickle.co.uk
T: 01706 823456
F: 01706 829500
E: [EMAIL PROTECTED] (daytime)
[EMAIL PROTECTED] (evening)
 
-




[PHP] upload status...

2002-03-11 Thread Philip Jeffs

Hi,

I've got a script that uploads and resizes images. Is there a way to display a page 
while the images are being uploaded and then go somewhere else after the images have 
finished uploading? 
I don't need it to give status of how long it will take etc. It just needs to site 
there until the image has been uploaded and then go somewhere else once its finished.

Thanks in advance,

Phil
-----
 
Philip Jeffs
 
The Tickle Group
The Gate House
Summerseat
Bury
Lancashire
BL9 5PE
United Kingdom
W: http://www.tickle.co.uk
T: 01706 823456
F: 01706 829500
E: [EMAIL PROTECTED] (daytime)
[EMAIL PROTECTED] (evening)
 
-



[PHP] Javascript question...

2002-03-01 Thread Philip Jeffs

Hi,

I know this is a PHP list but i thought someone might be able to help me out.

I was looking at the Levi's website the other day and i noticed a cool script on there 
for opening pop-ups. They have managed to get rid of the usual window borders 
altogether and it looks really good.

They have managed to do it by opening the pop-up window in full screen mode and then 
making the window smaller and positioning it in a certain place on screen.

I've figured out how to open it, shrink it and position it but for some reason i the 
scroll bars are always there. The levi's site has no scroll bars.

Does anyone know how to get rid of the scroll bars?

Thanks in advance,

Phil



Re: [PHP] phpMyAdmin problem...

2002-01-16 Thread Philip Jeffs

I flushed the privileges and its worked! 

Thanks,

Phil


- Original Message - 
From: "Kees Hoekzema" <[EMAIL PROTECTED]>
To: "Philip Jeffs" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, January 16, 2002 2:04 PM
Subject: RE: [PHP] phpMyAdmin problem...


> A couple of things:
> does mysql accept remote locations?
> iow, is your host set?
> 
> further: always flush privileges :)
> 
> But first, add a user, host: webserver, user foo, pass bar (whatever ;))
> flush it and try again.
> 
> - Kees
> 
> > -Original Message-
> > From: Philip Jeffs [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, January 16, 2002 2:43 PM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP] phpMyAdmin problem...
> > 
> > 
> > Hi,
> > 
> > I've got a MySQL problem.
> > 
> > I'm running MySQL on my local machine and my web server (housed 
> > elsewhere).
> > I need to use phpMyAdmin to administer the databases on my local 
> > machine and my remote server.
> > 
> > I've set the config in phpMyAdmin to connect to both servers, but 
> > when i try to administer the remote server, i get an accessed 
> > denied message.
> > 
> > I've tried using my root username and password and i have also 
> > created a new user with full privileges. Neither of these 
> > user/pass combinations allows me to get in.
> > 
> > The remote machine is running 2000 server with IIS 5.
> > The local machine is windows 2000 with IIS 5.
> > 
> > Any help would be good.
> > 
> > Thanks,
> > 
> > Phil.
> > 
> > 
> > -
> > 
> > Philip Jeffs
> > 
> > The Tickle Group
> > The Gate House
> > Summerseat
> > Bury
> > Lancashire
> > BL9 5PE
> > United Kingdom
> > W: http://www.tickle.co.uk
> > T: 01706 823456
> > F: 01706 829500
> > E: [EMAIL PROTECTED] (daytime)
> > [EMAIL PROTECTED] (evening)
> > 
> > -
> > 
> > -
> > 
> > Philip Jeffs
> > 
> > The Tickle Group
> > The Gate House
> > Summerseat
> > Bury
> > Lancashire
> > BL9 5PE
> > United Kingdom
> > W: http://www.tickle.co.uk
> > T: 01706 823456
> > F: 01706 829500
> > E: [EMAIL PROTECTED] (daytime)
> > [EMAIL PROTECTED] (evening)
> > 
> > -
> > 
> > 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] phpMyAdmin problem...

2002-01-16 Thread Philip Jeffs

Hi,

I've got a MySQL problem.

I'm running MySQL on my local machine and my web server (housed elsewhere).
I need to use phpMyAdmin to administer the databases on my local machine and my remote 
server.

I've set the config in phpMyAdmin to connect to both servers, but when i try to 
administer the remote server, i get an accessed denied message.

I've tried using my root username and password and i have also created a new user with 
full privileges. Neither of these user/pass combinations allows me to get in.

The remote machine is running 2000 server with IIS 5.
The local machine is windows 2000 with IIS 5.

Any help would be good.

Thanks,

Phil.


---------

Philip Jeffs

The Tickle Group
The Gate House
Summerseat
Bury
Lancashire
BL9 5PE
United Kingdom
W: http://www.tickle.co.uk
T: 01706 823456
F: 01706 829500
E: [EMAIL PROTECTED] (daytime)
[EMAIL PROTECTED] (evening)

-

---------

Philip Jeffs

The Tickle Group
The Gate House
Summerseat
Bury
Lancashire
BL9 5PE
United Kingdom
W: http://www.tickle.co.uk
T: 01706 823456
F: 01706 829500
E: [EMAIL PROTECTED] (daytime)
[EMAIL PROTECTED] (evening)

-




Re: [PHP] Re: imap extensions..

2002-01-01 Thread Philip Jeffs

I just re-installed php from scratch.
It seems to have done the trick.

Thanks for the help!

- Original Message -
From: "LaserJetter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 01, 2002 8:59 PM
Subject: Re: [PHP] Re: imap extensions..


>
http://www.php.net/manual/en/install.windows.php#install.windows.extensions
>
> I'm not sure if this says you need an extra dll for just PHP3 though.
>
>
>
> "Philip Jeffs" <[EMAIL PROTECTED]> wrote in message
> 002501c19307$6824a250$01010101@PHIL">news:002501c19307$6824a250$01010101@PHIL...
> > I've looked around php.net and i can't find anything about extra dll's.
> >
> > Does anyone know where i can get an up to date version of php_imap.dll
> from?
> >
> > Maybe my version is old.
> >
> > Thanks
> >
> > Phil
> >
> > - Original Message -
> > From: "LaserJetter" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, January 01, 2002 8:32 PM
> > Subject: [PHP] Re: imap extensions..
> >
> >
> > > This sounds similar to the problem I had but with other extensions.
> > > Does the IMAP extenstion need any dlls from the c:\php\dlls folder to
> > work?
> > > (You can find out this somewhere on www.php.net). If it does then you
> need
> > > to copy these to your system folder. (system32 folder probably).
Better
> > > still, why not just copy the lot into that folder to save future
> hassle!!
> > > ;o)
> > >
> > > LJ
> > >
> > >
> > > "Philip Jeffs" <[EMAIL PROTECTED]> wrote in message
> > > 000a01c192fb$2d9153b0$01010101@PHIL">news:000a01c192fb$2d9153b0$01010101@PHIL...
> > > Hi,
> > >
> > > I'm having trouble getting the imap extensions to load. I'm running
> > > Windows2000 with IIS5.
> > >
> > > I've put 'php_imap.dll' in 'c:\php\' and i've checked that the
> extensions
> > > directory in php.ini is set to 'c:\php\'
> > >
> > > I still get told that php was 'unable to load dynamic library
> > > 'c:\php\php_imap.dll'
> > >
> > > Any help would be gratefully recieved.
> > >
> > > Thanks,
> > >
> > > Phil
> > > -
> > > Philip Jeffs
> > >
> > > The Tickle Group
> > > The Gate House
> > > Summerseat
> > > Bury
> > > Lancashire
> > > BL9 5PE
> > > United Kingdom
> > > W: http://www.tickle.co.uk
> > > T: 01706 823456
> > > F: 01706 829500
> > > E: [EMAIL PROTECTED] (daytime)
> > > [EMAIL PROTECTED] (evening)
> > > -
> > >
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail:
[EMAIL PROTECTED]
> > >
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: imap extensions..

2002-01-01 Thread Philip Jeffs

I've looked around php.net and i can't find anything about extra dll's.

Does anyone know where i can get an up to date version of php_imap.dll from?

Maybe my version is old.

Thanks

Phil

- Original Message -
From: "LaserJetter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 01, 2002 8:32 PM
Subject: [PHP] Re: imap extensions..


> This sounds similar to the problem I had but with other extensions.
> Does the IMAP extenstion need any dlls from the c:\php\dlls folder to
work?
> (You can find out this somewhere on www.php.net). If it does then you need
> to copy these to your system folder. (system32 folder probably). Better
> still, why not just copy the lot into that folder to save future hassle!!
> ;o)
>
> LJ
>
>
> "Philip Jeffs" <[EMAIL PROTECTED]> wrote in message
> 000a01c192fb$2d9153b0$01010101@PHIL">news:000a01c192fb$2d9153b0$01010101@PHIL...
> Hi,
>
> I'm having trouble getting the imap extensions to load. I'm running
> Windows2000 with IIS5.
>
> I've put 'php_imap.dll' in 'c:\php\' and i've checked that the extensions
> directory in php.ini is set to 'c:\php\'
>
> I still get told that php was 'unable to load dynamic library
> 'c:\php\php_imap.dll'
>
> Any help would be gratefully recieved.
>
> Thanks,
>
> Phil
> -
> Philip Jeffs
>
> The Tickle Group
> The Gate House
> Summerseat
> Bury
> Lancashire
> BL9 5PE
> United Kingdom
> W: http://www.tickle.co.uk
> T: 01706 823456
> F: 01706 829500
> E: [EMAIL PROTECTED] (daytime)
> [EMAIL PROTECTED] (evening)
> -
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] imap extensions..

2002-01-01 Thread Philip Jeffs

Hi,

I'm having trouble getting the imap extensions to load. I'm running Windows2000 with 
IIS5.

I've put 'php_imap.dll' in 'c:\php\' and i've checked that the extensions directory in 
php.ini is set to 'c:\php\'

I still get told that php was 'unable to load dynamic library 'c:\php\php_imap.dll'

Any help would be gratefully recieved.

Thanks,

Phil
-
Philip Jeffs

The Tickle Group
The Gate House
Summerseat
Bury
Lancashire
BL9 5PE
United Kingdom
W: http://www.tickle.co.uk
T: 01706 823456
F: 01706 829500
E: [EMAIL PROTECTED] (daytime)
[EMAIL PROTECTED] (evening)
-



[PHP] web mail clients?

2001-12-31 Thread Philip Jeffs

Hi,

I'm looking into setting up a web based mail client for personal use.

I've got most of it figured out (sending, recieving, forwarding etc..). 

I need to be able to use folders in the mail client to organise the messages. Whats 
the best way of moving messages around?

Do i need to store them as files / in a database or is there an easier way to do it?

Thanks.

-----
Philip Jeffs

The Tickle Group
The Gate House
Summerseat
Bury
Lancashire
BL9 5PE
United Kingdom
W: http://www.tickle.co.uk
T: 01706 823456
F: 01706 829500
E: [EMAIL PROTECTED] (daytime)
[EMAIL PROTECTED] (evening)
-