Re: [PHP] link problem

2006-07-31 Thread Drew Butler
Try something like realpath( dirname(__FILE__)."../" ); __FILE__ should give you the full path of the file being run, dirname() will break the directory path from it and ../ will drop it down one dir ... real path will give you a solid final path. ~Drew On 7/31/06, Ross <[EM

[PHP] PEAR DB nextId() sequences

2006-05-04 Thread Drew Butler
this system. I would much rather see something like a `pear_sequences` table then an extra 4 dozen tables. Thanks. ~Drew

Re: [PHP] PHP4 vs PHP5

2006-01-07 Thread Drew Butler
A simplified version of this would be: $glb_http_ref = isset( $_SERVER['HTTP_REFERER'] ) ? $_SERVER['HTTP_REFERER'] : ""; or just: $glb_http_ref = @$_SERVER['HTTP_REFERER']; The latter will suppress the error message and return a null (or a blank as far as PHP is concerned. Not the cleanest route

Re: [PHP] php / mysql / js search result question

2005-12-31 Thread Drew Butler
You're right when you say this has nothing to do with PHP. Well, mostly right. I don't believe he is looking for a select box solution. I believe what is being looked for is a Google Suggest style input box auto-complete solution. Now you were right to say this is heavily dependant on JavaScript or

[PHP] How to set paper size for PDF?

2002-10-31 Thread Drew Kime
paper, but I can't find an option for it. Drew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTML Post

2002-10-30 Thread Drew Kime
aders retrieved from the POST operation are displayed on the page. Is this because of how I have my server configured? Or is there some run-tim way to tell the server to *not* generate headers, but simply send the specified text (including the headers) to the browser? Drew Kime -- PHP G

Re: [PHP] How to pass data without headers

2002-10-28 Thread Drew Kime
it seems there are some server-config-specific issues. In your example, the server sets a "base href" tag before the doctype tag. In my case, there is a special character before the doctype tag, and another after the end of the page data. Thanks for the tip. Drew -- PHP G

[PHP] How to pass data without headers

2002-10-28 Thread Drew Kime
os the contents of '$buf' which includes another set of headers, which get displayed to the page. Is this a configuration issue, or am I missing a step? Thanks for any help Drew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem with regular expressions

2002-06-25 Thread Drew
When I run the following script it returns String Okay! when it should say Invalid Characters Found. I've tried the script substituting $ for other characters, such as j, and it works just fine. What do I need to do? Thanks, Drew -- PHP General Mailing List (http://www.php.net

[PHP] Re: Cannot add header infomation

2002-05-28 Thread Drew Boillot
I got it working.. Thanks to everyone that helped "Drew Boillot" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, Anyone in the mood to help someone who doesn't really know what they > are doing when it comes to PHP?

[PHP] Cannot add header infomation

2002-05-28 Thread Drew Boillot
der.php on line 3 I am useing PHP 4.2.1 If you need any more infomation, let me know.. As I said i'm new at this.. Drew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Anybody have a function to encode a string?

2002-03-19 Thread Drew Lopucki
ption.) OpenSSL, on the other hand, is available on virtuall all systems since it is required for https servers. -Original Message- From: Alexander Skwar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 2:52 PM To: Drew Lopucki Cc: Leif K-Brooks; [EMAIL PROTECTED] Subject: Re:

RE: [PHP] sessions not so secure..solution?

2002-03-19 Thread Drew Lopucki
essary (wants to put something in it) the https starts. (?) Drew Lopucki [EMAIL PROTECTED] -Original Message- From: Steve Clay [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 7:13 AM To: PHP-GENERAL Subject: [PHP] sessions not so secure..solution? Hello, I'm building an e

RE: [PHP] Anybody have a function to encode a string?

2002-03-19 Thread Drew Lopucki
and decryption of an arbitrary string. Hope I've been helpful, Drew Lopucki Mrdrew.com [EMAIL PROTECTED] -Original Message- From: Leif K-Brooks [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 2:19 AM To: [EMAIL PROTECTED] Subject: [PHP] Anybody have a function to encode a strin

RE: [PHP] How to get the IP of a visitor

2002-03-18 Thread Drew Lopucki
use . you'll see all the variable in the http request header. -Original Message- From: Ulrik Witschass [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 11:57 AM To: [EMAIL PROTECTED] Subject: [PHP] How to get the IP of a visitor Hi, I am new to this list and to PHP, so please ex

RE: [PHP] 3rd include

2001-08-08 Thread Drew P. Vogel
Ok. That is it. Sorry for the confusion and thank you for the help. --Drew Vogel On Wed, 8 Aug 2001, Mark Roedel wrote: >> -Original Message- >> From: Drew P. Vogel [mailto:[EMAIL PROTECTED]] >> Sent: Wednesday, August 08, 2001 3:14 PM >> To: Mark Roedel

RE: [PHP] 3rd include

2001-08-08 Thread Drew P. Vogel
If a file is included from within a function, this would limit the variable cope of this file, correct? --Drew Vogel On Wed, 8 Aug 2001, Mark Roedel wrote: >> -Original Message- >> From: Drew P. Vogel [mailto:[EMAIL PROTECTED]] >> Sent: Wednesday, August 08, 2001 2

RE: [PHP] 3rd include

2001-08-08 Thread Drew P. Vogel
print nothing. Am I mis understanding something? --Drew Vogel On Wed, 8 Aug 2001, Mark Roedel wrote: >I don't see anything in the annotations for include() about losing >variable definitions...the notes that I see that look remotely relevant >are those regarding what PHP considers to

RE: [PHP] 3rd include

2001-08-08 Thread Drew P. Vogel
I searched the database and did not find anything. I was not sure if the bug could possibly be entered under a different title, though. It is discussed in the manual errata for the include() function, so I would assume the developers at least know of it. --Drew Vogel On Wed, 8 Aug 2001, Mark

[PHP] 3rd include

2001-08-07 Thread Drew P. Vogel
Has the "3rd include" bug (where variable definitions ar "lost" at the 3rd include), been fixed yet? --Drew Vogel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] imap ssl on port 993

2001-04-22 Thread Drew Adams
t is not working for me. ssl > $link = imap_open ("{mail.whatever.com:993}", "username", "password"); Drew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]