Re: [PHP] replacing Carriage Return

2001-12-11 Thread Paul Warner
\r\n is - Original Message - From: "Kevin Stone" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 11, 2001 3:53 PM Subject: Re: [PHP] replacing Carriage Return > Could be "\r"? I'm not sure about this becuase I haven't tried it. I know > that \r is used as the retu

Re: [PHP] php without the php.ini

2001-11-30 Thread Paul Warner
> Hi, > How can PHP work without the php.ini file? I have tried to find the php.ini > file on a RAQ3, to no success. Looking at the php info and then looking at > the system directories doesnt yield anything. > The same goes with a server running the Plesk control panel. > > Any ideas on how this

Re: [PHP] chown/chgrp not working

2001-11-30 Thread Paul Warner
Ahh, it is not running with root priv., so this is the problem. Sounds like a good time to look for another way to skin this cat... Thanks! -- Paul - Original Message - From: "Darren Gamble" <[EMAIL PROTECTED]> To: "'Paul Warner'" <[EMAIL PROTEC

[PHP] Re: [PHP-DB] PHP/Mysql

2001-11-30 Thread Paul Warner
> > Hello, > > I've got cobalt raq4 with php(work) and mysql(work) but when I try to > > connect via mysql_connect() this error happens: > > Fatal error: Call to undefined function: mysql_connect() > > This is my php.ini: > > I thing that it's all ok but it doesn't work. > > Any Ideas? > >

[PHP] Re: [PHP-DB] PHP/Mysql

2001-11-30 Thread Paul Warner
> > Hello, > > I've got cobalt raq4 with php(work) and mysql(work) but when I try to > > connect via mysql_connect() this error happens: > > Fatal error: Call to undefined function: mysql_connect() > > This is my php.ini: > > I thing that it's all ok but it doesn't work. > > Any Ideas? > >

[PHP] chown/chgrp not working

2001-11-30 Thread Paul Warner
I have a client that I made a image uploader/thumbnailer for that insists on using FrontPage. In order to make FP happy, I need to set the owner to 'nobody' and the group to 'site3' which are uid 99 and gid 117. The uploaded file is set as httpd/root and the thumbnail created by the script comes

Re: [PHP] Download textfile

2001-11-20 Thread Paul Warner
"Arno" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > When I link a textfile, the textfile is opened in the browser. I want the > SaveAs box to be shown. Is this possible and if so how to do that? I apologize for not having a complete answer, but I do have an

Re: [PHP] Anyone running their own Servers & DNS versus renting space/services from an ISP or Hosting??

2001-03-14 Thread Paul Warner
Why not lease a dedicated machine in your favourite flavour. That way you have the reliability of a hosting company that monitors 24-hrs, provides generators, UPS, etc. but will have full control over site, configuration, etc. There are many dedicated servers available in NT/2000/Linux/Cobalt Ra

Re: [PHP] Script returns an image?

2001-03-14 Thread Paul Warner
Thanks, I knew I didn't want to create or modify an image, so the html seemed the only way to retrieve it...I guess I didn't know I could retrieve a binary file in this manner. -- P - Original Message - From: "Christian Reiniger" <[EMAIL PROTECTED]> Subject: Re: [PHP] Script returns an i

Re: [PHP] Script returns an image?

2001-03-14 Thread Paul Warner
ubject: Re: [PHP] Script returns an image? > Did you read this page? > http://www.php.net/manual/en/features.images.php > > What is your php code looks like? if you read this page already. > > Yasuo Ohgaki > > ----- Original Message - > From: "Paul Warner" &

[PHP] Script returns an image?

2001-03-14 Thread Paul Warner
I am trying to make a call from one page (pure HTML) that would include a tag as follows: http://mydomain.com/returnimage.php?var1=value1&var2=value2 width="100" height="50" alt="Description"> My question is how to get the php script to return the proper headers as well as the image to the clien

[PHP] REDIRECT_SCRIPT_URL What/How'd I do this?

2001-03-12 Thread Paul Warner
OK, seems I have created some unintended results in PHP. A few weeks ago I was trying to split some common code out into an include file. I was running into problems with an image when the calling file was not in the root of the web directory and was experimenting with various ways to ensure tha

[PHP] REDIRECT_SCRIPT_URI What/How'd I do this?

2001-03-09 Thread Paul Warner
OK, seems I have created some unintended results in PHP. A few weeks ago I was trying to split some common code out into an include file. I was running into problems with an image when the calling file was not in the root of the web directory and was experimenting with various ways to ensure tha

Re: [PHP] pop textarea field w/ text incl. quotes

2001-02-21 Thread Paul Warner
re mods as it will allow for less-HTML literate users to easily build their links. Thanks a bunch! -- Paul - Original Message - From: "Simon Garner" <[EMAIL PROTECTED]> To: "John Monfort" <[EMAIL PROTECTED]>; "Paul Warner" <[EMAIL PROTECTED

Re: [PHP] pop textarea field w/ text incl. quotes

2001-02-21 Thread Paul Warner
text area within the same string. I updated my code to be more like yours and arrived at: '?>" . htmlspecialchars($linkurl) . "\n"?> which seems to make the parser behave as I intended. Anyway...thanks! -- Paul - Original Message - From: "Simon Garner&

[PHP] pop textarea field w/ text incl. quotes

2001-02-21 Thread Paul Warner
I seem to be stuck on a very simple (to me) issue. I am trying to build a database of links for a site. A user inputs an HTML link into a text box which is stored in a SQL db. This works fine. I need to display this data on pages, and retrieving it into the page displays fine as well. The pro