[PHP] Re: Sendmail

2002-02-23 Thread Erica Douglass
Do you have a specific reason for calling Sendmail directly? If not, try http://www.php.net/manual/en/function.mail.php Erica "Uma Shankari T." <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > Hello, > > > Can anyone help me in solving this problem..

[PHP] REDIRECT_QUERY_STRING weirdness ... redirecting from one file to another

2002-02-23 Thread Erica Douglass
Hi, I would like any file under the root of a certain domain name to redirect to a PHP template file. For instance, I would like a request for /services/ to redirect to http://myhost/index.php?path=/services/ . This is similar to what PHP.Net does with their function lookup shortcut (where you c

[PHP] RANT: Why doesn't PHP have built-in support for dynamic image generation?

2002-02-02 Thread Erica Douglass
Forgive my grumpiness, but I've spent the last several hours trying to install GD, etc. Let's be honest. PHP needs built-in support for creating dynamic images. JSP already has this. Heck, you could even make it a configure option. As it stands now, you have to do the following: -- Install GD --

[PHP] Encrypted pages/email with PHP?

2001-12-10 Thread Erica Douglass
(posting again because it looks like the first one didn't go through) Hi, I've sniffed around on Google and PHPBuilder, but I can't seem to find any information on creatnig encrypted pages with PHP. Here is what I am looking for. I have a client who owns a retail store. Thus, he has a manual cr

[PHP] Paypal & instant payment notification

2001-08-08 Thread Erica Douglass
Hello, I have a customer who wants to implement Paypal instant payment notification on his website. Basically, he wants a script that emails a custom message once a customer purchases an item. Instant Payment Notification has the ability to do this. However, I have a couple of questions: -- Is

Re: [PHP] Where is php.ini located by default?

2001-04-27 Thread Erica Douglass
If I'm not mistaken, the "locate" command uses a cache which is only updated every 24 hours or so. You can either recreate locate's cache by reading locate's man pages, or you can actually search the filesystem by using the following commands: cd / (go to the root directory) find . -name php.ini

[PHP] Find and Replace script: Content Stripper; recursive subdirectories; ereg_replace, preg_replace

2001-04-27 Thread Erica Douglass
et me know where you are using this file, however. Please send any suggestions regarding this file to [EMAIL PROTECTED] Thanks to all who helped me write the regular expressions -- I sincerely appreciate your help. -- -- erica douglass -- -- [EMAIL PROT

Re: [PHP] include whole directories?

2001-04-27 Thread Erica Douglass
Sure. Use an array, as suggested in the example on the include manual page, but put all files in a specific directory in that array. To do that, use code like the following: # load files into array # assign $directory to your variable, or replace $directory in the below line with the directory yo

[PHP] ereg_replace: Help!

2001-04-23 Thread Erica Douglass
I have one ereg_replace problem that I cannot seem to fix. I need to delete an IMG tag. The only thing I know about this tag is that it will contain SRC="images/headers in the string. Here is an example: I tried this, but it didn't work: $contents = ereg_replace ("", "", $contents); Can s

[PHP] ereg_replace: Replacing only first occurrence

2001-04-23 Thread Erica Douglass
I want to only replace the first occurrence of a string in a file using ereg_replace. Should I use a loop to do this? Any suggestions? Please email me at [EMAIL PROTECTED] with suggestions. Thanks, Erica -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE

Re: [PHP] PHP 4.0.4 / phpMyAdmin

2001-01-10 Thread Erica Douglass
Clarification: A quotation mark got left out after ['host'] = 'localhost in my original email. It is in the config.inc.php file and makes no difference in the error messages. The fix is below. Erica ""Erica Douglass"" <[EMAIL PROTECTED]> wrote in m

[PHP] PHP 4.0.4 / phpMyAdmin

2001-01-10 Thread Erica Douglass
// MySQL password (only needed with basic auth) $cfgServers[1]['only_db'] = ''; // If set to a db-name, only this db is accessible $cfgServers[1]['verbose'] = ''; Any help would be greatly appreciated. Erica Douglass Server Appliance B