Re: [PHP] Hosting provider...

2002-01-01 Thread Kurt Lieber
On Tuesday 01 January 2002 04:19 pm, Matt Moreton wrote: Can anyone here suggest a good provider that meets the above criteria? Asked and answered about 4 billion times in the archives. Might check there. --kurt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] oscommerce / Exchange project

2001-12-21 Thread Kurt Lieber
On Friday 21 December 2001 08:56 pm, Daniel Guerrier wrote: Does anyone have any experience using this thing. I installed it and it seems to work, but it's very buggy. Yes, I've used it fairly extensively. I haven't found it to be nearly as buggy as your message implies. It's not perfect,

Re: [PHP] deleting file contents

2001-12-11 Thread Kurt Lieber
On Tuesday 11 December 2001 09:00 am, DigitalKoala wrote: What i want to do is then delete the contents of the file, but not the file itself...can you tell me the best way to do this? Well, you can read the contents of the original file into a PHP variable using fopen(). Then, use something

Re: [PHP] Dynamic Document Creation

2001-12-07 Thread Kurt Lieber
On Friday 07 December 2001 09:43 am, you wrote: Does anyone have any scripts or know a location to point me to where I can dynamically create Microsoft Word documents using PHP. You said you wanted to create some nicely formatted forms -- what's wrong with HTML and style sheets? Assuming

Re: [PHP] PHP Installed in CGI for IIS 5(microsoft)

2001-12-06 Thread Kurt Lieber
On Thursday 06 December 2001 11:23 am, pong-TC wrote: Has anyone installed and used PHP in CGI (not ISAPI) for IIS 5? Is it running good? I mean you got a full capability as PHP has, and there is no serious harm to the webserver(IIS 5). I am also using ASP. I don't know installing PHP on

Re: [PHP] Dumped OK, Restore NOT

2001-12-05 Thread Kurt Lieber
On Wednesday 05 December 2001 08:02 am, you wrote: Little problem with MySQL 3.23.46 under Windows ME. I This would be an excellent question for the MySQL mailing list. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] possible to override session.auto_start in php.ini

2001-12-05 Thread Kurt Lieber
I've read the manual notes for ini_set, so I have a feeling the answer to my question is no, but I'd like to make sure. I have no control over my ISP's php.ini file, but the fact that they have session.auto_start set to 1 in php.ini is causing me problems. Is there any way to override this?

Re: [PHP] possible to override session.auto_start in php.ini

2001-12-05 Thread Kurt Lieber
That worked! Thanks! For those who may be interested, I added the following lines to my .htaccess file: # change some php.ini settings IfModule mod_php4.c php_flag session.auto_start off /IfModule Also, this obviously only works with Apache with PHP running as a module. Not sure if there's

Re: [PHP] How do I pass variables from a PHP script to an HTML document?

2001-12-05 Thread Kurt Lieber
On Wednesday 05 December 2001 10:00 am, you wrote: Alternatively, is there another way to pass variables from a PHP script to a HTML form where I won't run into this limit? I'm not seeing why you have to redirect the user just to get a custom response. If you can instead use an include();

[PHP] session question: session.auto_start vs. session_register.

2001-12-05 Thread Kurt Lieber
I am working on an open source e-commerce package and have hit a wall with sessions. If I have session.auto_start turned on, I get the following error message: Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class

Re: [PHP] PHP shopping cart packages

2001-12-05 Thread Kurt Lieber
On Wednesday 05 December 2001 02:05 pm, you wrote: Your thoughts appreciated! Check out The Exchange Project. http://www.theexchangeproject.org/ I've been using it for a few months now. My biggest complaint is there doesn't seem to be a clear sense of direction in the development process.

Re: [PHP] Newbie question on Tutorials?

2001-12-05 Thread Kurt Lieber
On Wednesday 05 December 2001 05:16 pm, Geoff E wrote: Okay, probably been asked zillions of times already, Yep but I couldn't find reference to it in the last 5 minutes. :) Didja try the archives? http://marc.theaimsgroup.com/?l=php-general -- PHP General Mailing List

Re: [PHP] BEST Book for Learning PHP/MySQL

2001-12-03 Thread Kurt Lieber
There's dozens upon dozens of messages in the archive about this topic, which comes up at least once per month. I believe there's also a blurb or two about PHP books on the PHP web site, php.net. Please check those resources. --kurt On Monday 03 December 2001 08:35 pm, Monty wrote: I'm a

Re: [PHP] BEST Book for Learning PHP/MySQL

2001-12-03 Thread Kurt Lieber
] (Kurt Lieber) Reply-To: [EMAIL PROTECTED] Newsgroups: php.general Date: Mon, 3 Dec 2001 20:50:29 -0800 To: [EMAIL PROTECTED] Subject: Re: [PHP] BEST Book for Learning PHP/MySQL There's dozens upon dozens of messages in the archive about this topic, which comes up at least once per month

Re: [PHP] Getting the filesize of an image?

2001-11-30 Thread Kurt Lieber
Yes -- RTFM. http://php.net/getimagesize --kurt On Friday 30 November 2001 04:04 pm, Uchendu Nwachukwu wrote: Is there any easy way to get the filesize of an image on a remote server? Please tell me there is! TIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] PHP 4.1 out?

2001-11-28 Thread Kurt Lieber
On Wednesday 28 November 2001 01:03 pm, Mike Eheler wrote: I'll hold off, but people will still try stuff like that. I'm not trying to tell ya what to do, but I've found it best never to put files with release-names in their primary download spots, regardless of how hidden they may seem,

Re: [PHP] Updating Timestamps

2001-11-26 Thread Kurt Lieber
This is more of a MySQL question than a PHP question, but... The TIMESTAMP format in MySQL isn't a read-only field -- you can update the data with your own timestamp information just like you can any other normal database field. So, simply create a timestamp using PHP and insert that into

Re: [PHP] User access rights..

2001-11-25 Thread Kurt Lieber
On Sunday 25 November 2001 03:30 pm, you wrote: The problem is... using PHP, they can open any file that is readable to nobody account (Apache user).. So it can read and even edit other users' files.. Consquently, the users should be able to access only and only their home directories.

Re: [PHP] PHP SECURITY

2001-11-24 Thread Kurt Lieber
On Saturday 24 November 2001 04:24 am, [EMAIL PROTECTED] wrote: But when any of our user use readdir and other commands for manipulating with directories - this user can read scripts of others. Do you know what to do ? 1) Read the PHP manual chapter on security:

Re: [PHP] MS Exchange

2001-11-19 Thread Kurt Lieber
On Monday 19 November 2001 10:19 pm, Benj Arriola wrote: On the php.ini, if there is no SMTP server and MS Exchange is used, what changes are needed to be done on the php.ini file? MS Exchange has supported SMTP since (at least) version 4.0 and possibly even since the old MS Mail days.

Re: [PHP] Newsgroup?

2001-11-15 Thread Kurt Lieber
On Thursday 15 November 2001 07:41 am, Christopher Raymond wrote: Is this newsgroup still functional? Yep -- I just checked and it's working fine for me. I'm using news.php.net connecting on port 119 (default NNTP port) --kurt -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] FTP Clients

2001-11-14 Thread Kurt Lieber
Look -- if you're going to post OT messages, at least put [OT] in the subject line so those of us who get pissy about OT messages (such as myself) can filter them out. As for a good, free windows FTP utility, you have one: Open up a command prompt and type ftp. --kurt On Wednesday 14

Re: [PHP] using mail

2001-11-12 Thread Kurt Lieber
Did you RTFM? http://www.php.net/manual/en/function.mail.php Just create a variable and input it as an extra header. $from = from: [EMAIL PROTECTED]\r\n ; mail($to,$subject,$message,$from); On Monday 12 November 2001 02:41 pm, you wrote: Hello, I am using the mail() function right now to

Re: [PHP] Why no one helps?

2001-11-10 Thread Kurt Lieber
On Saturday 10 November 2001 08:42 am, Christian Dechery wrote: Why doesn't anyone say something about my messages probelms with sessions and SSI? This list gets 2000 - 3000 messages per month and you find it surprising that not all messages get a response? My suggestion regarding SSI and

Re: [PHP] global variable for all scripts

2001-11-10 Thread Kurt Lieber
On Saturday 10 November 2001 01:29 pm, you wrote: if i like to move my scripts to /www/my_newdir i habe to change the include() function in every script A few options: 1. Don't use absolute paths -- use relative paths. Then you don't have to worry about it as long as the overall structure

Re: [PHP] Eval()??? A variables contents?

2001-11-09 Thread Kurt Lieber
On Friday 09 November 2001 11:51 am, Christopher Raymond wrote: Let's say I have: $content = ?PHP Query_Database( $category );?; If I use ?PHP echo $content; ?, it doesn't evaluate that content. What am I doing wrong here? What you're doing doesn't make any sense. If it were to work, it

Re: [PHP] Server redirection

2001-11-09 Thread Kurt Lieber
On Friday 09 November 2001 07:46 pm, Ernesto wrote: How do I do server-side redirection? I want to redirect the user to another URL without using javascript. RTFM. http://php.net/header Or, check the archives of the mailing list. http://marc.theaimsgroup.com/?l=php-general This question

Re: [PHP] email receipt confirmation

2001-11-08 Thread Kurt Lieber
Using standard internet mail, no. You can *request* that a read receipt be sent when the email is opened by the recipient, but there is no guarantee that that person will allow the receipt to be sent. Read receipts also often annoy the recipient and can be perceived as rude and intrusive.

Re: [PHP] Want to remove some special from text

2001-11-08 Thread Kurt Lieber
http://www.php.net/manual/en/function.strip-tags.php On Thursday 08 November 2001 08:01 pm, you wrote: I want to remove all html related tags, such as html/htmlbody/bodytable... etc But want to keep the rest data as it is. Just want to remove those tags. Any idea how to do it ? -- PHP

Re: [PHP] 2 Forms On 1 Page

2001-11-03 Thread Kurt Lieber
On Saturday 03 November 2001 11:28 am, you wrote: If I have two forms on one page that both use the same script how do I get only the fields on one of the forms to be submitted? If that makes any sense. Jeff Oien as long as you enclose each form within it's own set of form.../form tags and

Re: [PHP] Incoming mail to PHP as Apache module

2001-11-03 Thread Kurt Lieber
On Saturday 03 November 2001 02:08 pm, Ross wrote: Maybe I should be posting this on the Procmail list but someone here might have a non-Procmail solution. I'm trying to get a PHP script to process incoming email. I'm sure it can be done with PHP, but my first thought was why would you want

Re: [PHP] PHP+MySQL=Help(?)

2001-10-31 Thread Kurt Lieber
On Wednesday 31 October 2001 02:32 am, you wrote: So, I'd recommend giving that a try. From my understanding (limited) of MySQL, use = in the case of $id=2, and LIKE in the case of firstName LIKE justin. Um...you *can* do that, but I don't think you want to. Using LIKE means that MySQL has

Re: [PHP] PHP+MySQL=Help(?)

2001-10-31 Thread Kurt Lieber
On Wednesday 31 October 2001 07:45 am, turtle wrote: img src=? echo $imglocation ? ? echo $size[3]; ? Glad we could help. Also, you can re-write the above so you don't have to define two sets of ?php ? tags by doing the following: ?php print img src=\$imglocation\ $size[3]; ? Not a big

Re: [PHP] defending PHP mail function

2001-10-31 Thread Kurt Lieber
On Wednesday 31 October 2001 08:16 am, you wrote: The addresses I know about are clients that are already a little peeved with me so I can't send them out for testing but I have found at least 4 addresses that will not work (no error message, just dead air) with Mail(). It is something

Re: [PHP] defending PHP mail function

2001-10-31 Thread Kurt Lieber
On Wednesday 31 October 2001 08:40 am, you wrote: for now it's PHP that's in question AFAIK, this is the first I've ever heard of probelms with mail() not sending to perfectly valid email addresses. Scalability issues and other performance problems, sure, but that's a different animal.

Re: [PHP] defending PHP mail function

2001-10-31 Thread Kurt Lieber
On Wednesday 31 October 2001 09:08 am, you wrote: It doesn't do much good to test on a nix box because what I'm looking for is a solution to a PHP/SMTP problem. Really? No good at all, huh? I would think that would answer the question right there if it was an SMTP problem or a problem that

Re: [PHP] PHP+MySQL=Help(?)

2001-10-30 Thread Kurt Lieber
On Tuesday 30 October 2001 10:13 am, turtle wrote: ? $link = mysql_connect('localhost')or die (Could not connect); mysql_select_db('img760')or die (Could not select database); $query = select ('imglocation','height','width') from img where imgname=$getimg; $imglocation = 'imglocation';

Re: [PHP] need coments...

2001-10-30 Thread Kurt Lieber
Well, my first comment would be to not send attachments to mailing lists. --kurt On Tuesday 30 October 2001 11:40 am, Galkov Vladimir wrote: Good day! I try to wrote Web-interface for DNS. Only simple test version now. I'd like to listen your comets to make real good and useful thing.

Re: [PHP] PHP+MySQL=Help(?)

2001-10-30 Thread Kurt Lieber
On Tuesday 30 October 2001 11:58 am, turtle wrote: No reading that section of the manual did me no good. I do not understand other than I cannot store the results as a variable. yes, you can. Is there any of what I have done that is usable? yes, there is. see below. It's probably not

Re: [PHP] Mail Handling Question

2001-10-30 Thread Kurt Lieber
On Tuesday 30 October 2001 01:56 pm, Reggie White wrote: Now here's where I'm stuck. When the user is finished previewing the html letter, I want two things to happen: When the user submits, I want the page itself (with the variable in it) to be emailed to a specified recipient. I also want a

Re: [PHP] PHP+MySQL=Help(?)

2001-10-30 Thread Kurt Lieber
On Tuesday 30 October 2001 02:53 pm, you wrote: It is starting to make sense. I see the correlation between the manual example and the code you show. Surprisingly (and equally confusing) the book I have also uses a while loop with mysql_fetch_array to display a list. You would use a while

Re: [PHP] Where does mysql keep the records data

2001-10-29 Thread Kurt Lieber
On Monday 29 October 2001 07:51 am, you wrote: I needed to start over with the work on publish so I deleted the publish directory. #rm -R /var/db/mysql/publish. Um, not that it's PHP-related, but... You should use drop database instead of manually removing the file. mysql drop database

Re: [PHP] protecting files

2001-10-29 Thread Kurt Lieber
On Monday 29 October 2001 07:37 am, you wrote: what is the script that was mentioned a while back that you use to allow apache access to a directory that has all world/group access turned off. I php-cgiwrap. --kurt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] User Authentication against remote authentication server

2001-10-29 Thread Kurt Lieber
However, if the authentication server is not the web server, instead, it is a remote independent server. How can we manage the user authentications at the web server side? Use LDAP. http://www.php.net/manual/en/ref.ldap.php -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] How do I prevent remote loading of jpegs from my site

2001-10-28 Thread Kurt Lieber
On Sunday 28 October 2001 10:26 am, you wrote: So, the question is, how do I prevent this remoting loading from happening. Well, since the users are linking directly to your image, then you can't use PHP commands to prevent it. (since that would requuire the user loading a PHP page that

Re: [PHP] One last kick at the cat

2001-10-28 Thread Kurt Lieber
On Sunday 28 October 2001 12:57 pm, you wrote: It seems that when I try to connect to my database inside function Table_Title(), my function cannot read the values of $server, $user, $pass, $db or $table ??? you need to declare the variables as global. See below and also see the manual to

Re: [PHP] Problem appending data in a file with fopen(ftp://...,a)

2001-10-28 Thread Kurt Lieber
On Sunday 28 October 2001 06:41 pm, you wrote: Is it possible to solve this problem or it's a feature in PHP? If I understand your problem, you are trying to open the same file twice. I'm not sure why you would want to do that, but assuming you have a good reason, you need to make sure you

Re: [PHP] feature sugestion

2001-10-28 Thread Kurt Lieber
On Sunday 28 October 2001 06:10 pm, Ray Todd Stevens wrote: How about making the php engine ignore these to.  That is any string like !-- or //-- is treated as white space. Um...maybe I don't understand your statement but php already has commenting built in. Anything between /* and */ is

Re: [PHP] Problem appending data in a file with fopen(ftp://...,a)

2001-10-28 Thread Kurt Lieber
On Sunday 28 October 2001 07:29 pm, you wrote: I only fopen my file once... My program checks if there is a specific session cookie. If not (it's a new user that browse the site) I set a cookie and try to store the unique ID of this user (other cookie) in a file with a timestamp to track

Re: [PHP] Excel to MySQL

2001-10-27 Thread Kurt Lieber
On Saturday 27 October 2001 17:11, Daniel Harik wrote: You see i have huge(for me) 100 000 record access table, i wanted to convert it to mysql, i thought of making php convertor that uses odbc and mysql, but maybe there is faster way? Your subject says excel but above, you say access. If,

[PHP] function for hashing URL strings to check integrity?

2001-10-27 Thread Kurt Lieber
Does anyone know of a function that assists with checking URL strings to make sure they haven't been monkeyed with? Ideally something that calculates the md5 hash of a string and then automatically verifies it when a user clicks a link. I've checked the usual places (hotscripts, devshed,

Re: [PHP] Best [non-PHP] way to redirect a browser

2001-10-26 Thread Kurt Lieber
On Friday 26 October 2001 10:25, you wrote: What is the most reliable, browser-safe way to redirect the browser from a default index.html to, say, index.php? The I'm doing it now is with the following javascript: The most reliable, browser-safe, non-PHP way to redirect mail is to do it

[PHP] PHP redirects (was Re: [PHP] Advanced. Trapped in architecture.)

2001-10-26 Thread Kurt Lieber
AFAIK, ASP does output buffering by default (meaning it doesn't send the code to the browser until the page is fully parsed and ready to send to the client) That's what allows it to response.redirects after headers have been generated. Cold Fusion is the same way. However, once the actual

Re: [PHP] Setting Up Secure Pages with PHP

2001-10-26 Thread Kurt Lieber
On Friday 26 October 2001 16:55, Martín Marqués wrote: You need https, and that comes with the web server (i.e.: Apache). actually, SSL (aka https) has little, if anything, to do with user authentication -- it's used mainly for data encryption. If you're looking for user authentication, then

Re: [PHP] MKDIR Permission Denied

2001-10-25 Thread Kurt Lieber
On Thursday 25 October 2001 10:08, you wrote: ? $GalleryPHPName = Pins; mkdir (../$GalleryPHPName, 0775); ? Results in... MkDir failed (Permission denied) When you use a file-related command (fopen, mkdir, etc.) you're executing that command under the same user-context that apache runs

Re: [PHP] MKDIR Permission Denied

2001-10-25 Thread Kurt Lieber
On Thursday 25 October 2001 11:41, you wrote: How do I set permissions for a certain user (ie nobody) for a directory? If I do this, won't anyone on teh server be able to write to that directory? If you're going to start messing around with *nix permissions, you really, really need to have a

[PHP] while() looping over query results twice?

2001-10-25 Thread Kurt Lieber
I'm executing a query that returns some a UID and a company name. I'm using the following code to loop over that query result set: $result = mysql_query($myQuery) //$myQuery gets defined earlier $resultCount = mysql_num_rows($result); $companyID = array();

Re: [PHP] while() looping over query results twice?

2001-10-25 Thread Kurt Lieber
OK, so I defined the variables before using them and that solved the problem. (Thanks!) I'm still curious as to why not defining them ahead of time would cause the data within each string to get duplicated. In other words, if the query results are a,b,c,d, then by not defining the variable

Re: [PHP] while() looping over query results twice?

2001-10-25 Thread Kurt Lieber
I don't think so, but if I have to suspect my code or a bug in php, I'll suspect my code. :) I did a quick if (isset($companyID_string)) { print true; } else { print false;} and that didn't turn up anything, but I didn't spend a whole lot of effort on it. Like I said, I'm pretty sure I

[PHP] account for missing/optional arguments in functions?

2001-10-25 Thread Kurt Lieber
Is it possible to account/trap missing arguments in functions? For instance, say I have a function foo: function foo($arg1,$arg2) { blah } If someone calls that function as: foo($arg1); Can I somehow code around the fact that $arg2 is missing? I've tried: function foo($arg1,$arg2) { if

Re: [PHP] editor for working with php

2001-10-25 Thread Kurt Lieber
Oh please please please check the archives. This thread has been thrashed around and beat until it's nothing more than a bloody mass of quivering flesh... http://marc.theaimsgroup.com/?l=php-general On Thursday 25 October 2001 21:10, Ray Todd Stevens wrote: I ahve been using go-live (4.0)

Re: [PHP] How to protect MySQL password

2001-10-24 Thread Kurt Lieber
On Wednesday 24 October 2001 00:30, you wrote: What we really need is an expert here to give us the low-down on the best way to accomplish the best security given regular tools. There isn't a way to solve it within the constraints you've mentioned (shared server at a hosting provider,

Re: [PHP] web base mail client???

2001-10-23 Thread Kurt Lieber
I would say this comes in a close second as the most oft-asked question on php-general, with the first, of course, being What's a good text editor for PHP? So, couple of suggestions: 1. Search the archives. You'll find a ton of information there. 2. Check out squirrelmail.org --kurt On

Re: [PHP] How to protect MySQL password

2001-10-23 Thread Kurt Lieber
On Tuesday 23 October 2001 11:13, Andy wrote: Problem is, that I cannot see any solution to protect the value of $sDBpsw. Of course I wont set the value of $sDBpsw in the same PHP script. I do that including a file pa/pa.php (protected area) but this file also has to have read access to all

Re: [PHP] How to protect MySQL password

2001-10-23 Thread Kurt Lieber
On Tuesday 23 October 2001 11:20, Matt Williams wrote: Move it outside the document root or put a .htaccess file inside the dir to deny access. This will still allow system access but will prevent other fopen. Either solution still allows anyone with shell access to the machine to read your

Re: [PHP] How to protect MySQL password

2001-10-23 Thread Kurt Lieber
On Tuesday 23 October 2001 12:29, Chris Lee wrote: I use proftpd, I can setup a chroot for the user that logs in, chroot them to their vhosts dir, move the mysql passwd file out of that dir. now anyone that ftp's in can not read the passwd. as for telnet (shell) access, its rare a user needs

Re: [PHP] *** I want a swanky icon in the address bar, like major sites (e.g. php.net, google.com)...

2001-10-22 Thread Kurt Lieber
Um...this isn't php related and I already get a ton of emailcould we keep things on-topic? that said, check out www.favicon.com -- it should have the info you need. --kurt On Monday 22 October 2001 11:37, you wrote: Anyone out there know how to set the icon that is shown in the address

RE: [PHP] Getting an Email into a PHP/pl script

2001-10-04 Thread Kurt Lieber
Check out hotscripts.com -- there's a bunch of PHP scripts that do various things. One in particular that at least may point you in the right direction is PHPEmailArchiver: http://www.hotscripts.com/Detailed/12104.html hth --kurt -Original Message- From: Chris Aitken [mailto:[EMAIL

RE: [PHP] PHP - Nuke 5.2

2001-10-02 Thread Kurt Lieber
Actaully, I recommend you take a look at PostNuke. It's a fork of PHP-Nuke 5.0 that's designed to be more open, better architected, less buggy and just an all-around more mature, stable product. http://www.postnuke.com and the vision:

RE: [PHP] Mail function

2001-09-30 Thread Kurt Lieber
use qmail. php is a powerful language -- and with any powerful language, stupid people can wreak havoc by using it improperly. There are literally dozens of PHP mailing list managers out there that bypass the mail() function and use sockets directly. Perhaps you can recommend those to your

[PHP] Review of PHP-based content management systems? (Nuke, et al)

2001-09-30 Thread Kurt Lieber
Does anyone know of a good, solid review of the top 5 or so PHP-based content management systems? Or, at least which are considered the most popular/widely-used? I'm familiar with PHP-Nuke, but am looking for sites that review/compare other systems as well. --kurt -- PHP General Mailing

RE: [PHP] Get current date and time

2001-09-29 Thread Kurt Lieber
How about one of the mirrors closer to you: http://php.nederland.net/ http://nl2.php.net/ http://nl.php.net/ Or are they all down, too? Regarding your specific question, you can find the answer either in the mySQL manual, as originally suggested, or even in the PHP manual as the second person

[PHP] updating several lines in a text file while leaving rest of file untouched

2001-09-10 Thread Kurt Lieber
I have a configuration file that I use to store several variables and would like to provide a web-based interface to update this form. I'm having some trouble replacing part of the file while leaving the rest of it intact. An example of the config file is: $eventInfo[1][1] = First Event Title;

RE: [PHP] updating several lines in a text file while leaving rest of file untouched

2001-09-10 Thread Kurt Lieber
To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] updating several lines in a text file while leaving rest of file untouched On Mon, 10 Sep 2001 14:15:36 -0700, Kurt Lieber wrote: I have a configuration file that I use to store several variables and would like to provide a web

[PHP] using eregi_replace to replace only substrings -- not the entire string.

2001-08-13 Thread Kurt Lieber
I'm trying to update a number in a text file using eregi_replace. The original line is: $registrationLimit = 100; and I'd like to change it to: $registrationLimit = 300; now, 100 appears multiple times throughout the file, so I have to match on the whole string, not just 100. I used the

RE: [PHP] Is there a debugger ???

2001-08-08 Thread Kurt Lieber
http://www.php.net/manual/en/debugger.php -Original Message- From: Peter Dowie [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 9:48 AM To: [EMAIL PROTECTED] Subject: [PHP] Is there a debugger ??? Hi, I noticed in php.ini there was a setion for debugger, I tried

RE: [PHP] web hosting

2001-08-05 Thread Kurt Lieber
Check out Pair.com. Very stable and powerul. You can compile any version of PHP4 (cgi) to your heart's content. www.pair.com -Original Message- From: Damiano Ferrari [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 04, 2001 9:27 PM To: [EMAIL PROTECTED] Subject: [PHP] web

RE: [PHP] What would you want in a PHP web host?

2001-08-02 Thread Kurt Lieber
OK, this bugs me. Jeff -- you're obviously getting a kickback for any business you refer to them -- why not mention that in your email so we all know you have some financial interest in the company? --kurt -Original Message- From: Jeff Pearson [mailto:[EMAIL PROTECTED]] Sent:

[PHP] question about PHP manual and ImageCopyMerge() function

2001-08-02 Thread Kurt Lieber
For the ImageCopyMerge() function in the PHP manual (http://php.net/manual/en/function.imagecopymerge.php) it states at the top that (PHP 4 = 4.0.1) is required in order to use it. However, farther down the page, it says Note: This function was added in PHP 4.0.6 Am I mis-reading something?

RE: [PHP] Good Tutorial

2001-07-31 Thread Kurt Lieber
The book discussion has been beat to death on this list -- check the archives (www.php.net) and you'll find a long list of opinions on various books. As for tutorials, the best way I've found to learn PHP is to come up with a project and simply do it. For instance, I created a PHP-based

RE: [PHP] Question about PHP.net Web site and e-mail lists

2001-07-28 Thread Kurt Lieber
You do know that you can see the source of any page on PHP.net's site, right? Just click on the show source link in the bottom navigation bar on any page. For instance, the source to the page you mention is at: http://www.php.net/source.php?url=/support.php hth --kurt -Original

RE: [PHP] A Basic Question!

2001-07-27 Thread Kurt Lieber
If it's set up according to defaults, a file named .php will be processed by php4 and one named .php3 will be processed by php3. You can test this out by creating two files, one with a .php extension and one with a .php3 extension. Then, just place an echo phpInfo(); in the file and you'll see

RE: [PHP] Install

2001-07-26 Thread Kurt Lieber
um... this is a PHP list, not a Perl list. go to www.perl.org for perl info. -Original Message- From: Roman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 25, 2001 10:50 PM To: Php-General Subject: [PHP] Install Hello ! I want to install perl under apache in windows,

RE: [PHP] PHP/Cold Fusion questions:

2001-07-25 Thread Kurt Lieber
AFAIK, there are no web servers out there that will allow you to pass a single file through two separate parsing engines (i.e. PHP and CF) Apache won't and I don't believe IIS will do it either. So, from a web server standpoint, the server will either send a web page through the PHP parsing

RE: [PHP] PHP_GD PNG Format

2001-07-24 Thread Kurt Lieber
IE 4.0b1 and above, Netscape 4.04 and above and Mozilla can all view PNGs, I believe. The PNG home page (http://www.libpng.org/pub/png/) has more information, but it appears to be down right now. --kurt -Original Message- From: Bernie Kruger [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] Trouble with getimagesize

2001-07-24 Thread Kurt Lieber
What does $UPLOADFILE resolve to? getImageSize() didn't support URLs until 4.0.5, so if you're trying to use a URL in PHP3, it won't work. --kurt -Original Message- From: Patrick J. Militzer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 24, 2001 9:39 AM To: Php3 Subject: [PHP]

RE: [PHP] error using imagecreate function

2001-07-24 Thread Kurt Lieber
It would help if you can post the code you're using, rather than just the error message. -Original Message- From: venomous [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 24, 2001 5:17 PM To: [EMAIL PROTECTED] Subject: [PHP] error using imagecreate function Can some one help me

[PHP] REPOST: Image color quality problems

2001-07-23 Thread Kurt Lieber
I need to learn to stop posting things over the weekend since they rarely get a response. Can anyone help with the below?: I have the following code that takes an existing image, creates a new one from it and writes some white text on top of that image: ?php header(Content-type: image/png);

[PHP] Image color quality problems

2001-07-21 Thread Kurt Lieber
I have the following code that takes an existing image, creates a new one from it and writes some white text on top of that image: ?php header(Content-type: image/png); $startingImage = leftphoto_01.png; $image = imageCreateFromPNG($startingImage); //$white = imageColorAt($image, 30, 215);

RE: [PHP] Image color quality problems

2001-07-21 Thread Kurt Lieber
To: [EMAIL PROTECTED] Subject: RE: [PHP] Image color quality problems Not an answer I'm afraid but does PHP has the ability to do this with JPEGs? Would be VERY useful to me if it does! - seb -Original Message- From: Kurt Lieber [mailto:[EMAIL PROTECTED]] Sent: 21 July 2001 23:27

RE: [PHP] Image color quality problems

2001-07-21 Thread Kurt Lieber
version of the same extension. Maybe if you simply named it something different -- gd-1.8.3.so, for example. Can anyone confirm whether this would work or not? -Original Message- From: Seb Frost [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 21, 2001 4:30 PM To: Kurt Lieber; [EMAIL

[PHP] sample code snippets writing text to images?

2001-07-20 Thread Kurt Lieber
I'm learning how to work with images in PHP and specifically learning how to write text dynamically to an existing image. Does anyone have any sample code and/or pointers that might help me out? I work best from examples, rather than muddling through the manual (though that's what I'm doing

RE: [PHP] sample code snippets writing text to images?

2001-07-20 Thread Kurt Lieber
Thanks for the example, Thiago. This raises another question, however. I noticed that the code below sends the header after the HTML tag, which (if I understand correctly) requires a special setting in the php.ini file. Assuming I don't have access to that file, is there a way to work around

[PHP] php hosting provider that supports libswf module?

2001-07-19 Thread Kurt Lieber
Does anyone know of a reputable PHP web hosting company that also supports the libswf (i.e. Flash) module? And, specifically, does anyone know if Pair.com does/doesn't? (yes, I'm going to ask them directly as well) Thanks. --kurt

FW: [PHP] php hosting provider that supports libswf module? OR MING!!

2001-07-19 Thread Kurt Lieber
Sorry -- I should have said supports either libswf or ming Thanks. --kurt -Original Message- From: Kurt Lieber [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 9:37 PM To: [EMAIL PROTECTED] Subject: [PHP] php hosting provider that supports libswf module? Does anyone

[PHP] REPOST: converting multiple URL values for the same variable into an array

2001-07-16 Thread Kurt Lieber
I posted this late on Sunday afternoon, so it may have been overlooked. I haven't figured it out yet, so I'm reposting in the hopes someone can help. Thanks. --- I'm modifying some code for ampache (ampache.kveton.com) and have run into a snag that I'm not sure I

RE: [PHP] REPOST: converting multiple URL values for the same variable into an array

2001-07-16 Thread Kurt Lieber
Sorry -- I should have clarified that .pls has been added as a php file type in httpd.conf. -Original Message- From: Jason Murray [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 2001 8:06 PM To: 'Kurt Lieber'; 'PHP General List (E-mail)' Subject: RE: [PHP] REPOST: converting

[PHP] Can anyone explain what this does?

2001-07-15 Thread Kurt Lieber
I'm sure this is a simple one, but I've never seen it before: $this-file = $file; I'm specifically confused about the - operator and what that does. I looked in the online documentation under operators, but didn't find anything. Ideally, if someone can point me to the location in the

[PHP] converting multiple URL values for the same variable into an array

2001-07-15 Thread Kurt Lieber
I'm modifying some code for ampache (ampache.kveton.com) and have run into a snag that I'm not sure I understand completely. Part of the code produces a URL similar to the following: http://myhost/playlist.pls?song=100song=101song=102 and $song then gets passed to this function: function

RE: [PHP] converting multiple URL values for the same variable into an array

2001-07-15 Thread Kurt Lieber
I should also clarify that .pls is set up as a PHP extension and the page is being interpreted by the PHP engine. --kurt -Original Message- From: Kurt Lieber [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 15, 2001 4:03 PM To: [EMAIL PROTECTED] Subject: [PHP] converting multiple URL

  1   2   >