[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

[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.. For

[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

[PHP] Paypal instant payment notification

2001-08-09 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] 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

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

2001-04-27 Thread Erica Douglass
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 PROTECTED

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

[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: IMG ALT=Tools BORDER=0 HEIGHT=55 SRC=images/headers/tools.gif WIDTH=455 I tried this,

[PHP] PHP 4.0.4 / phpMyAdmin

2001-01-10 Thread Erica Douglass
this db is accessible $cfgServers[1]['verbose'] = ''; Any help would be greatly appreciated. Erica Douglass Server Appliance Business Unit Sun Microsystems (Cobalt Networks) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

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 message 93indu$enk$[EMAIL PRO