[PHP] Re: Include Remote Content as REMOTE_ADDR of Browser

2005-05-27 Thread Gary C. New
Ryan Grange wrote: Gary C. New wrote: Is there a quick and dirty way to include, file, or fsockopen content from a remote server and make it appear as though the request was straight from the browser's remote address? Thank you for your assistance. Respectfully, Gary I believ

[PHP] Compiling Phpcap

2005-05-27 Thread Gary C. New
I am trying to compile phpcap-0.2e with php-4.2.3 and get the following configure error: ./configure: line 52860: syntax error near unexpected token `PHP_NEW_EXTENSION(phpcap,' ./configure: line 52860: ` PHP_NEW_EXTENSION(phpcap, phpcap.c, $ext_shared)' The phpcap INSTALL file show php-4.3.

[PHP] Include Remote Content as REMOTE_ADDR of Browser

2005-05-27 Thread Gary C. New
Is there a quick and dirty way to include, file, or fsockopen content from a remote server and make it appear as though the request was straight from the browser's remote address? Thank you for your assistance. Respectfully, Gary -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Re: Missing $GLOBALS SCRIPT_URI

2005-02-19 Thread Gary C. New
It turns out that SCRIPT_URI is a mod_rewrite global. I simply had to turn the RewriteEngine On under the unencrypted (http) location and it worked perfectly. Thank you for the suggestions. Respectfully, Gary pete M wrote: try $_SERVER['SCRIPT_URI']; Gary C. New wrote: I am writing som

[PHP] Missing $GLOBALS SCRIPT_URI

2005-02-19 Thread Gary C. New
I am writing some php code that requires the $GLOBALS['SCRIPT_URI'] variable. When I access the code under its encrypted (https) location it is available without issue. However, when I try to access the code under its unencrypted (http) location it is not available. In fact, phpinfo() shows

[PHP] Missing $GLOBALS SCRIPT_URI

2005-02-19 Thread Gary C. New
I am writing some php code that requires the $GLOBALS['SCRIPT_URI'] variable. When I access the code under its encrypted (https) location it is available without issue. However, when I try to access the code under its unencrypted (http) location it is not available. In fact, phpinfo() shows that

[PHP] base32/62 mcrypted data

2005-02-14 Thread Gary C. New
I am currently storing mcrypted data as a base64 encoded string. I now need to store the mcrypted data as a base32 or base62 string, because of problems occurring due to the '+', '/', and '=' characters. It seems that there is only the base64_en/decode default function. Does anyone know of a meth

[PHP] Re: web-based and command line mcrypting and back again

2004-01-06 Thread Gary C. New
Tom, I appreciate the suggestion, but even after setting the iv to zero within the php code and including the --noiv option within the command line; it still does not produce the same base64 encoded string under both methods. I noticed that the command line was keying off of 2 passphrases and

[PHP] Re: PHP/MySQL with Microsoft Word

2004-01-06 Thread Gary C. New
Use MySQLODBC... I use it to manage my databases through MS Access. I haven't integrated it yet with Word, but it is my intention in the near future. Hope this helps. Respectfully, Gary Satch wrote: Is there any way to have a web page (PHP) that draws data from a database (MySQL) then popula

[PHP] web-based and command line mcrypting and back again

2004-01-06 Thread Gary C. New
I am trying to figure out how to encrypt data using the web-based php mcrypt function and then decrypt it using the command line (cli) mcrypt binary, and vica-versa. I cannot seem to get the same encrypted output for the same data, between the two methods. I've tried to ensure I am using the s

[PHP] Re: detaching and running php processes in the background

2004-01-06 Thread Gary C. New
$u && $p"); That's it! I know it sounds a bit complicated, but after you have all the right components functional it is quite easy. Hope this helps all those of you who have requested it. Respectfully, Gary Gary C. New wrote: What is the best way to detach and run a comm

[PHP] detaching and running php processes in the background

2003-11-21 Thread Gary C. New
What is the best way to detach and run a command line based php script in the background from a web-based php script, without the need for reporting? I have a web-based php script that gathers information and then passes it off to several functions, which execute several other php scripts. The