RE: [PHP-WIN] Setting up MySQL for PHP

2001-10-05 Thread Mark Hope

http://www.net-language.com/workshops/Default.asp?workshop=21

This helped me step by step - and I'm 'only a designer'

I did have some trouble with php 4.06 on win2000, but reverting to 4.04
worked fine.

Mark


> > > I've been looking to and fro for a "setting up MySQL to work with
> PHP"
> > > article.  I can't seem to find one though.  Could someone point me
> to one.
> > > I'm trying to set up PHPGroupware and I'm installing MySQL for the
> first
> > > time...

--
PHP Windows 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-WIN] Large File Uploads

2001-10-05 Thread Mark Hope

I did this and now the admin page is returning a parse error?

Has anybody been able to upload images via phpnuke?

> --
> From: Leon
> Sent: Friday, October 5, 2001 10:26 AM
> Cc:   '[EMAIL PROTECTED]'
> Subject:  Re: [PHP-WIN] Large File Uploads
> 
> Hi all
> 
> If any of you have php-nuke running somewhere:
> Please edit the admin.php file
> 
> Do the following
> Search for if($upload) {
> and replace it with
> if($upload) && ($admintest) {
> 
> There is a serious security issue with admin.php - so bad that I have
> decided to rewrite all of the php.
> 
> Cheers
> Leon

--
PHP Windows 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-WIN] email list manager

2001-10-25 Thread Mark Hope

Can anyone suggest an existing script/product to manage a simple email
based newsletter?

Our web server has php/mysql.


Requirements:
Name and Email field
Confirmation of subscription by reply email
Unsubscribe option by email.


The simpler to set up the better.

Mark Hope


--
PHP Windows 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-WIN] text formatting in database article

2001-10-12 Thread Mark Hope

I am currently creating a website that pulls news articles from a mysql
database into a php page. The article is stored as a TEXT function in
the database, and is inserted by a single form field. What do I need to
do in order for the article to be displayed with the proper paragraph
breaks instead of a the continuous text it is now.


Mark

--
PHP Windows 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-WIN] text formatting in database article

2001-10-12 Thread Mark Hope

Thanks for everybodies replies - we've used the nl2br() function and its
working just fine.

Mark
> --
> ---
> Oliver Robillo replied:
> 
> You could try using the replace function of mysql within your query.
> For example: 
> 
> $res=mysql_query("SELECT REPLACE(paragraph_field,CHAR(10),'')
> FROM some_table"); 
> 
> What I do is store the article's body with line breaks after each
> individual paragraph. Then when I pull it out of the database table, I
> convert the line breaks into html paragraphs.
> 


-
> > 
> > I am currently creating a website that pulls news articles 
> > from a mysql database into a php page. The article is stored 
> > as a TEXT function in the database, and is inserted by a 
> > single form field. What do I need to do in order for the 
> > article to be displayed with the proper paragraph breaks 
> > instead of a the continuous text it is now. 
> 

--
PHP Windows 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-WIN] Plug-in detection.

2001-12-10 Thread Mark Hope

I'm looking for a way to detect the flash plug-in, writing a suitable
include file for those that have the plug-in, and another include for
those that don't.

Can anybody point me in the right direction.

Mark Hope


--
PHP Windows 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]