Re: [PHP] phpinfo() question

2002-01-06 Thread Gaylen
Thanks. That was it! Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v3.02 Guest Book http://www.gaylenandmargie.com/phpwebsite/ - Original Message - From: "Jason Murray" <[EMAIL PROTECTED]> To: "'Gaylen Fraley'" <[EMAI

Re: [PHP] Re: Simple Question

2001-12-12 Thread Gaylen
ame :). I then grabbed the Docs and saw it didn't have the underscore. Am I vindicated? Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite - Original Message - From: Martin Towell To: 'Gay

[PHP] setcookie question

2002-07-27 Thread Gaylen Fraley
I need to create a cookie that is accessible from more than 1 application, but on the same server. What would be the proper syntax? What I tried was setcookie ("myCookie","$cookie_value",$timeToExpire,'/'); Right or wrong or impossible? Should I not have used th

[PHP] PHP scirpt needed

2002-06-07 Thread Gaylen Fraley
selecting and subsequent processing. Thanks. -- Gaylen PHP KISGB v4.0.5 Guest Book http://www.gaylenandmargie.com/phpwebsite/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Search a flat file.

2002-06-07 Thread Gaylen Fraley
) /* your code to loop through the file goes here */ $your_array = explode(":",$file_row); /* remember that arrays start with element 0 */ if ($your_array[1]) == "some name" { /* routine to display entire row */ } /* continue processing loop */ -- Gaylen PHP KISGB v4

[PHP] Function needed

2002-06-08 Thread Gaylen Fraley
I am in need of a function/script that will take a directory and search all filenames, recursively down, for a given file. Can anyone point me to a source? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Function needed

2002-06-09 Thread Gaylen Fraley
This resricts to *nix and can be disallowed due to security constraints, but thanks anyway. I just wrote my own PHP routine. -- Gaylen PHP KISGB v4.0.5 Guest Book http://www.gaylenandmargie.com/phpwebsite/ "Chris Hewitt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECT

[PHP] KISGB (PHP Guest Book) for PHPNuke!

2002-07-11 Thread Gaylen Fraley
Just a short announcement for those that have been requesting a port of KISGB to PHPNuke. I have a beta up and running at http://gaylenandmargie.com/nuke/html (A work in progress). Thanks! -- Gaylen PHP KISGB v4.0.5 Guest Book http://www.gaylenandmargie.com/phpwebsite/ -- PHP General

[PHP] Including images from Internet

2001-12-30 Thread Gaylen Fraley
n icon that links to their picture. Since there may be several different ones on a page, I would expect that you'd have to pre-assemble your page and use PHP to determine size, validity, etc., if that is possible? Is this possible or do the pictures need to exist on the server? Thanks, -- G

[PHP] PHP GuestBook - KISGB (Keep It Simple Guestbook) Version 3.0 Released

2001-12-30 Thread Gaylen Fraley
, etc. Language support for Dutch, English, French, German, Polish, Portuguese, Spanish, and Surinam. -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v3.0 Guest Book http://www.gaylenandmargie.com/phpwebsite/ -- PHP General Mailing List (http://www.php.net/) To

[PHP] A compress function?

2002-01-04 Thread Gaylen Fraley
ss the multiple spaces to one and then use explode to break the string on a single space, or can someone explain another way to break $myString into only those pieces that contain usable text w/o spaces? Thanks! -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB

[PHP] Re: A compress function?

2002-01-04 Thread Gaylen Fraley
Not even close. I'm after a function to compress multiples of the same character to one instance, as in my stated example, 30 spaces to 1 space, not compressing the string. Emil offered a good substitute. -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v3.02

[PHP] CGI and HTTP Authentication

2002-01-04 Thread Gaylen Fraley
Is there any work around for using HTTP Authentication and PHP installed as CGI? I know how to make the detection, I'm hoping (probably in vain) that there is some way to make the two work. Thanks. -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v3.02 Guest Book

Re: [PHP] CGI and HTTP Authentication

2002-01-04 Thread Gaylen Fraley
Thanks :). I thought I had figured out a way to determine if it was a CGI or module. But it didn't work. Is there a reliable way? -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v3.02 Guest Book http://www.gaylenandmargie.com/phpwebsite/ "Brian Clar

Re: [PHP] CGI and HTTP Authentication

2002-01-04 Thread Gaylen Fraley
Just for curiosity, can HTTP Authentication be disabled in any other way, if PHP is installed as a module? In other words, is there any other reason why the authentication might not work (under *nix), not IIS? -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v3.02

Re: [PHP] CGI and HTTP Authentication

2002-01-04 Thread Gaylen Fraley
But is there a PHP variable that holds the Server API? -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v3.02 Guest Book http://www.gaylenandmargie.com/phpwebsite/ "Brian Clark" <[EMAIL PROTECTED]> wrote in message 20020105061814.GL17616@ganymede"

[PHP] phpinfo() question

2002-01-06 Thread Gaylen Fraley
When you run phpinfo(), the first line of detail has the OS version. What variable produces this? -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v3.02 Guest Book http://www.gaylenandmargie.com/phpwebsite/ -- PHP General Mailing List (http://www.php.net/) To

[PHP] Another php data gathering question

2002-01-06 Thread Gaylen Fraley
Is there any way, through PHP, to get the: server uptime processor type number of cpu's I'm trying to find a compatable solution for both win32 and *nix. Thanks! -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v3.02 Guest Book http://www.gaylenand

[PHP] preg_replace help

2002-01-11 Thread Gaylen Fraley
I have need to be able to replace text within a string to turn it into a link. In other words, I might have a phrase lik: "blah, blah, blah, please visit my site at www.mysite.com. blah, blah,blah". I need to have the string converted to "blah, blah, blah, please visit my site at http://www.my

[PHP] Re: preg_replace help

2002-01-12 Thread Gaylen Fraley
ch for an anchor tag because there can be several in the text. Example: $myLink = "http://www.mytest.com\"; target=\"_n\">Testing"; echo makeLink($myLink); Creates $msg = http://www.mytest.com"; target="_blank">http://www.mytest.com" targe

[PHP] KISGB Version 3.1 Released - PHP Guest Book

2002-01-15 Thread Gaylen Fraley
Version 3.1 of my Keep It Simple Guest Book (KISGB) has just been released. Many major and minor enhancements. Please visit my web site for details! -- Gaylen [EMAIL PROTECTED] PHP KISGB v3.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/ -- PHP General Mailing List (http

[PHP] Mysterious />

2002-01-18 Thread Gaylen Fraley
ag that comes out />. Any clues? -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v3.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: [PHP] Mysterious />

2002-01-18 Thread Gaylen Fraley
ck, I will post it. -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v3.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/ "James Cox" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > can you give a

Re: [PHP] Mysterious />

2002-01-18 Thread Gaylen Fraley
Solved a part of this. The nl2br (which I am using) converts "\n" to XHTML compliancy . I'm still trying to replicate the other. -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v3.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/ "Ga

[PHP] Variable referencing/substitution

2002-01-19 Thread Gaylen Fraley
ue"; /and have $variable actually change. How? -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v3.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

[PHP] Re: Date & time

2002-01-29 Thread Gaylen Fraley
To correct the time, try this: "; $time = $time + (7*60*60); echo "adjusted time = ".date("Y/m/d H:i:s",$time).""; ?> -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v3.22 Guest Book http://www.gaylenandmargie.com/phpwebsit

[PHP] Checkboxe problem

2002-02-05 Thread Gaylen Fraley
when the value is not checked? TIA, -- Gaylen PHP KISGB v3.22 Guest Book http://www.gaylenandmargie.com/phpwebsite/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Patch 4.0.6 to 4.1.1

2002-02-12 Thread Gaylen Fraley
I was just getting ready to upgrade to 4.1.1 when I saw the patch that will do this. I have never applied one of these before and I was hoping for an explanation as to how you do this? Thanks. -- Gaylen PHP KISGB v4.00 Guest Book http://www.gaylenandmargie.com/phpwebsite/ -- PHP General

[PHP] Header calling HTTP Authenticate issue

2002-02-28 Thread Gaylen Fraley
installed and working. Has anyone else had an issue like this? If so, what could be the problem? Thanks. -- Gaylen PHP KISGB v4.0.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Fixing the PHP security hole

2002-03-01 Thread Gaylen Fraley
Just for my own edification and understanding, do you (technically) have to do the configure since you haven't changed the configuration? "Girish Nath" <[EMAIL PROTECTED]> wrote in message 002901c1c115$c4608b60$0a0a@AERIS...">news:002901c1c115$c4608b60$0a0a@AERIS...; > Hi > > Unpack and

[PHP] Threads and PHP

2002-03-02 Thread Gaylen Fraley
its own thread and the next screen refreshes immediately as the next screen is not dependent on the success/failure of the mail() call. Possible? -- Gaylen PHP KISGB v4.0.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: cursor focus

2002-03-02 Thread Gaylen Fraley
This is not a php question. It is a JavaScript issue. You need to add this code to the bottom of your page: document.forms[0].text_box_name.focus(); -- Gaylen PHP KISGB v4.0.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/ "Ralph Jarvis" <[EMAIL PROTECTED]> wrote

[PHP] Re: cursor focus

2002-03-03 Thread Gaylen Fraley
Well, unless you've disabled JavaScript in your browser, you are running it. -- Gaylen PHP KISGB v4.0.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/ "Ralph Jarvis" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED].; > I am not running Javascript

[PHP] Re: Hi can we write a form inside td element of a table?

2002-03-20 Thread Gaylen Fraley
This is an HTML question and not a php question. The answer is yes. -- Gaylen PHP KISGB v4.0.2 Guest Book http://www.gaylenandmargie.com/phpwebsite/ "Balaji Ankem" <[EMAIL PROTECTED]> wrote in message 000201c1c98c$dd246980$[EMAIL PROTECTED]">news:000201c1c98c$d

[PHP] Re: Making a simple borderless pop up window with a "Close" button

2002-03-20 Thread Gaylen Fraley
As noted before and on their website, it only works in IE. -- Gaylen PHP KISGB v4.0.2 Guest Book http://www.gaylenandmargie.com/phpwebsite/ "Qartis" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > If you want a popup window that lac

[PHP] Version 4.2 changes

2002-03-23 Thread Gaylen Fraley
Where can I find the changes coming in 4.2? -- Gaylen PHP KISGB v4.0.2 Guest Book http://www.gaylenandmargie.com/phpwebsite/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] KISGB Version 4.0.4 Released - PHP Guestbook

2002-04-02 Thread Gaylen Fraley
Version 4.0.4 of my Keep It Simple Guest Book (KISGB) has been released. Please refer to the history docs for changes. -- Gaylen PHP KISGB v4.0.4 Guest Book http://www.gaylenandmargie.com/phpwebsite/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Session control issue

2001-10-22 Thread Gaylen Fraley
an independent pool (session). I have tried to unregister, destroy, unset, to no avail. Is there a way, or am I out of luck? Hard coding is not an option, as the code has to be standard across all platforms and releases. -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v2.1

Re: [PHP] I NEED HELP WITH PWS AND W98

2001-10-24 Thread Gaylen Fraley
to keep my sanity, I also run a linux server too :). It helps me knowing that computers aren't supposed to have to be rebooted to keep them stable! -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v2.1 Guestbook http://www.gaylenandmargie.com/phpwebsite "Richard

[PHP] Re: authentication help

2001-10-25 Thread Gaylen Fraley
Here would be one of many ways. This assumes that login.php and index.php are in the same directory. login.php User Password -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v2.1 Guestbook http://www.gaylenandmargie.com/phpwebsite "Norman Zhang&quo

[PHP] Where is my php.ini?

2001-11-01 Thread Gaylen Fraley
Ok. I've installed php on linux and all is well! Been running for weeks now. Problem is, I never had to set up my php.ini . Got curious and am wondering where it is. Locate php.ini yields one in the pear/tests directory, but that's not it. Suggestions? -- Gaylen [EMAIL PROTECTED]

Re: [PHP] Where is my php.ini?

2001-11-01 Thread Gaylen Fraley
7.2 and I compiled PHP 4.0.6 myself. When I run phpinfo, it shows the configuration file path = /usr/local/lib/php.ini . there is no php.ini in the file. -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com PHP KISGB v2.21 Guestbook http://64.133.20.82/phpwebsite "Jim

Re: [PHP] Where is my php.ini? - FORGET IT!

2001-11-01 Thread Gaylen Fraley
Sorry! I had a senior moment.! I have it. -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com PHP KISGB v2.21 Guestbook http://64.133.20.82/phpwebsite "Meir Kriheli" <[EMAIL PROTECTED]> wrote in message 20011101233857.HRNC958.fep2@there">news:200111012

[PHP] Recompiling under new kernel

2001-11-10 Thread Gaylen Fraley
x27;t want to change any configuration options that I can short step the ./configure command. Can anyone shed some light on this? -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com PHP KISGB v2.22 Guestbook http://www.gaylenandmargie.com/phpwebsite -- PHP General Mailing

[PHP] Controlling length of table data

2001-11-14 Thread Gaylen Fraley
gic to test the length? -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com PHP KISGB v2.22 Guestbook http://www.gaylenandmargie.com/phpwebsite -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

[PHP] Re: Reading a web page as a text string

2001-11-15 Thread Gaylen Fraley
You could do something like this: $ip = "10.030.88.24"; //example $url = "http://www.arin.net/cgi-bin/whois.pl?queryinput=$ip";; $fp = @fopen($url, 'r') or die("Cannot Open"); Then, parse the $fp with fgets, or something to find the string you are after.

[PHP] Need regular match help - possibly

2001-11-21 Thread Gaylen Fraley
I need a routine that will allow me to trap multiple and/or line feed characters and convert them to a constant number. As an example, let's say that you have text that has 10 carriage returns and/or line feeds. I want to limit this to 3. So, I need to be able to parse the line to detect the m

[PHP] Re: Need regular match help - possibly

2001-11-22 Thread Gaylen Fraley
Thanks. According to the manual, the is for XHTML compliance. This changed in 4.0.5. -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com PHP KISGB v2.3 Guestbook http://www.gaylenandmargie.com/phpwebsite "Liljim" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECT

[PHP] Re: relative paths

2001-11-17 Thread Gaylen Fraley
You've answered your own question. If document-root is set to /usr/web/htdocs then require("/somefile") will expect to find "somefile" in document-root. -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com PHP KISGB v2.22 Guestbook http://www.gaylenandmarg

[PHP] session woes

2001-12-08 Thread Gaylen Fraley
issued and testvar is not registered. Running the identical code, but not with his ISP, under 4.06, it works perfectly. Are there known issues? -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com PHP KISGB v2.5 Guest Book http://www.gaylenandmargie.com/phpwebsite -- PHP General Ma

[PHP] KISGB (Keep It Simple Guest Book) v2.6 released

2001-12-09 Thread Gaylen Fraley
. Language support for Dutch, English, French, German, Polish, Portuguese, Spanish, and Surinam. -- Gaylen [EMAIL PROTECTED] PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Which dyndns?

2001-12-11 Thread Gaylen Fraley
need ports 21,22,23, and 80 for sure. Possibly others. 1 linux box and 1 windoze box. What would be the best choice and what kind of fee would I be needing? Your experiences please! Please reply directly to me as I can't get newsgroups at work. Thanks! -- Gaylen [EMAIL PROTE

[PHP] Re: session woes

2001-12-11 Thread Gaylen Fraley
No, it still doesn't work. I believe it's a documented issue with that release. it was fixed in 4.0.4dev. -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite "Yasuo Ohgaki" <[EMAIL PROTE

[PHP] PHPWebSite software broken after 4.1.0 install?

2001-12-11 Thread Gaylen Fraley
login screens. Am I alone, or are others experiencing this? -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] Need PHP 4.0.3pl1

2001-12-12 Thread Gaylen Fraley
This build is not on php.net. I need both the linux source and the windows binary for testing. Does anyone know where I can obtain these? -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite -- PHP General

[PHP] Re: Simple Question

2001-12-12 Thread Gaylen Fraley
strip_slashes() -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite "Tom Ray" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a quick question

Re: [PHP] Re: Simple Question

2001-12-12 Thread Gaylen Fraley
Nope. fatfingered :) stripslashes() is correct! -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite "Martin Towell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL P

[PHP] Re: php4apache.dll please !!!!

2001-12-14 Thread Gaylen Fraley
Assuming your php folder is php, /php/sapi -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite/ "Rick" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMA

Re: [PHP] Brain dead - need help!

2001-12-15 Thread Gaylen Fraley
responding! -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite/ "Jack Dempsey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > use a phpinfo() in one of

[PHP] Opinions, please

2001-12-15 Thread Gaylen Fraley
can pass the user/pass via a hidden field on the form of pageC, but that exposes it. Philosophically, this may not be a problem, since the user has to go through pageC to get to the other ones anyway. Use referer? That seems like that could easily be forged. Your thoughts? -- Gaylen [EMAIL

[PHP] Brain dead - need help!

2001-12-15 Thread Gaylen Fraley
want somepage.php to parse and use the variable/value. If there is not an array, then what is the simplest way? Thanks! -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite/ -- PHP General Mailing List (http://www.ph

[PHP] Help with permissions/ownership

2001-12-22 Thread Gaylen Fraley
program cannot write to the new file. I'm hoping that I'm overlooking some minor/major factor here, that someone will/can point out. How does PHP, or is it the server, get ownership? I hope this make sense. Thanks! -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.co

[PHP] Re: $GLOBALS array

2001-12-23 Thread Gaylen Fraley
Why aren't you using the $_POST or $HTTP_POST_VARS array? -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite/ "Philip Maciver" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]&q

[PHP] PHP and permissions/ownership

2001-12-24 Thread Gaylen Fraley
program cannot write to the new file. I'm hoping that I'm overlooking some minor/major factor here, that someone will/can point out. How does PHP, or is it the server, get ownership? I hope this make sense. Thanks! -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com

[PHP] Re: Sessions

2001-12-24 Thread Gaylen Fraley
By design. Try accessing $HTTP_SESSION_VARS instead. That should work. In other words, if you were accessing a session variable by $session_var, now use $HTTP_SESSION_VARS['session_var']. -- Gaylen [EMAIL PROTECTED] Home http://www.gaylenandmargie.com/ PHP KISGB v2.6 Guest

[PHP] PHP installed - MySql Server can't connect

2001-07-12 Thread Gaylen Fraley
PHP install went perfectly. phpinfo shows MySql installed. But, when I try to start Mysql, I get: ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) What and why? Please reply to my e-mail address if you can help. Thanks! -

[PHP] RPM Install #6 still doesn't work

2001-07-14 Thread Gaylen Fraley
how to fix that too :) Regards, -- Gaylen [EMAIL PROTECTED] -- 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]

[PHP] phpinfo - mysql - windows

2001-07-25 Thread Gaylen Fraley
I've just installed mysql 3.23.39 binary under windows. However, when I run phpinfo it shows 3.23.32 . When I run mysqladmin version, it shows 3.23.39 . Why the conflict? Thanks. -- Gaylen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Re: phpinfo - mysql - windows

2001-07-25 Thread Gaylen Fraley
That's what I figured. Problem is I don't use the compiled version in windoz. I compile my own under Linux, but not windows. BUMMER! -- Gaylen "Henrik Hansen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > [E

[PHP] Why no color in graphic?

2001-07-30 Thread Gaylen Fraley
I'm simply trying to resize an image, which is working - sortof. It resizes properly, but it loses it's color. Why, and how do I correct it? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

[PHP] Re: Readline and/or split by line break

2001-07-31 Thread Gaylen Fraley
http://www.php.net/manual/en/function.file.php "Karl J. Stubsjoen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > GlacierHello, > I'm reading a file into memory and I'd like to split each of the individual > lines into an array. How would I do this? > Thanks,

[PHP] Re: Content Management Systems

2001-07-31 Thread Gaylen Fraley
Have you tried http://www.hotscripts.com/PHP/Scripts_and_Programs/Content_Management/ -- Gaylen "Ralph Guzman" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I am looking for new alternatives in web development an

[PHP] Re: Any good gif/jpg processing tool for PHP??

2001-08-06 Thread Gaylen Fraley
PHP does exactly that. Look in the manual for the Image functions. -- "Diego Fulgueira Pastor" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am sure many of you have had this same problem. I want all uploaded images > to my site (gifs and jpg) to be resi

Re: [PHP] I HAVE A PROBLEM HERE...

2001-08-06 Thread Gaylen Fraley
There is a maximum length that a link with variable pairs can pass. It escapes me right now, but it isn't too large. Are you passing more than just this one variable? If so, just as a test, try only passing php_self and see if it makes it. -- "Joshman" <[EMAIL PROTECTED]> wrote in message [EM

[PHP] php and java

2001-08-14 Thread Gaylen Fraley
I'm trying to get java support working with php and the jvm loads the first time and then I have to start and stop the server to get it to load again. In other words it's erring out and saying it can't load the jvm. I have followed the instructions at www.phpbuilder.com exactly and can't seem to

[PHP] Extract email address from string

2001-08-18 Thread Gaylen Fraley
I need to parse a string and extract only the email address. What is the best way to do this? i.e. $string = "Please send all email to [EMAIL PROTECTED] with a subject line of Test."; $email_addr would be equal to [EMAIL PROTECTED] . Thanks. -- PHP General Mailing List (http://www.php.ne

[PHP] Re: ImageCopyResampled() versus ImageCopyResized()

2001-09-05 Thread Gaylen Fraley
I use it all the time and it is MUCH better. -- Gaylen "Dgoddard" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Has anyone out there used ImageCopyResampled()? This function was added in > PHP 4.0.6 and requires GD 2.0.1 or

[PHP] Re: Load testing

2001-09-05 Thread Gaylen Fraley
LoadRunner is excellent. -- Gaylen "Andrew Brampton" <[EMAIL PROTECTED]> wrote in message 077301c13558$f62c5820$0100a8c0@andrew">news:077301c13558$f62c5820$0100a8c0@andrew... Hi, I'm looking for a app that I can run across my network that will load test my webserver

[PHP] Re: newbie ? :)

2001-09-07 Thread Gaylen Fraley
Have you contacted Mercury yet? Try them or try the linux.redhat.misc newsgroup. -- Gaylen "Caleb Carvalho" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hello all, > > i am trying to install Loadrunner for in l

[PHP] Re: include problem

2001-09-08 Thread Gaylen Fraley
Provide an absolute path to the file, like /path/path1/incl.txt instead of a URL. <[EMAIL PROTECTED]> wrote in message 003701c13854$50ecf780$0100a8c0@pentium333">news:003701c13854$50ecf780$0100a8c0@pentium333... Hi I have a little Problem with include.I want to include a txt file in every php f

[PHP] Re: Seperating a textarea into 3 different variables

2001-09-08 Thread Gaylen Fraley
Is this under Windows? If so, it's probably passing \r\n : carriage return/line feed. Check for both. -- Gaylen "Richard Kurth" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a problem I am trying to set up a credi

[PHP] Is it acceptable to post GPL software releases here?

2001-09-13 Thread Gaylen Fraley
Is it acceptable to post announcements of software (PHP scripts) that one wishes to make public here? -- 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: [EMA

[PHP] New PHP Guest Book Program

2001-09-13 Thread Gaylen Fraley
/publicscripts Thanks, -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com -- 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]

[PHP] Probem with Rename() and linux

2001-09-16 Thread Gaylen Fraley
when attempting to use rename. Is there something else I need to do? It's as if delete is not allowed by httpd, although as root I can. This does work in windows, so I know the syntax is correct. Thanks. -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v1.01 Gues

[PHP] Re: \n not working

2001-09-16 Thread Gaylen Fraley
If you are trying to use \n for a new line in HTML code, it will not work. In other words echo "Hello\nWorld instead. Also, be sure that you are using double quotes instead of single quotes. Single quoted text is literally interpreted. -- Gaylen [EMAIL PROTECTED]

[PHP] Re: Problem with Rename() and linux - update

2001-09-16 Thread Gaylen Fraley
rights to that user? Alternatively I could do a copy and truncate to accomplish the same task, but this seems too laborious. Thoughts? -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v1.01 Guestbook http://www.gaylenandmargie.com/publicscripts "Gaylen Fraley&quo

[PHP] Re: PHP windows version DLLs ...

2001-09-16 Thread Gaylen Fraley
Look in your php\extensions directory. There should be a php_gd.dll . -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v1.01 Guestbook http://www.gaylenandmargie.com/publicscripts "Nico_oreka" <[EMAIL PROTECTED]> wrote in message 00f401c13ef3$80ed60a0$0100

Re: [PHP] Re: Problem with Rename() and linux - update

2001-09-16 Thread Gaylen Fraley
That's what I suspected and yes, that does work. However, it causes problems with session handling variables since 'www' doesn't own the 'tmp' file, etc. Thanks though for confirming what I suspected. Any other thoughts from anyone? -- Gaylen [EMAIL PROTECTED]

[PHP] Problem with Rename() and linux - SOLVED but....

2001-09-16 Thread Gaylen Fraley
I figured out another way to solve this. But, I need to know the downside, if any. I chmod the directory to 2777 and leave Apache as is. Obviously this opens the directory up to danger if someone hacks in. Comments? -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v1.01

[PHP] Applying the memory-limit patch

2001-09-17 Thread Gaylen Fraley
I've looked for instructions on this but have been unable to find them. How do you apply the memory-limit patch for 4.0.6 on Windows? -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v1.1 Guestbook http://www.gaylenandmargie.com/publicscripts -- PHP General Mailing

Re: [PHP] nimda, etc.

2001-09-21 Thread Gaylen Fraley
e. I tested it myself and got the same results. My browser just sat there spinning, but there was no traffic in and out of my site. -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v1.2 Guestbook http://www.gaylenandmargie.com/publicscripts "Sean Straw / Pse" <[EMAIL

[PHP] Re: Sort Question (Again)

2001-09-21 Thread Gaylen Fraley
When you do $list = sort($list) you are assigning a boolean true/false to the success/failure of the sort to $list (on the left hand side of the equals sign). What I think you really want is: $list = file('list_main.txt'); sort($list); Regards, -- Gaylen [EMAIL PROTE

[PHP] Re: Checking if session has been started

2001-09-22 Thread Gaylen Fraley
dy running } -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v1.2 Guestbook http://www.gaylenandmargie.com/publicscripts "Alexander Skwar" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi I need to run some code if a session

[PHP] Re: Script for a private mail system

2001-09-22 Thread Gaylen Fraley
Try http://www.hotscripts.com/PHP/Scripts_and_Programs/Email_Systems/ . -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v1.2 Guestbook http://www.gaylenandmargie.com/publicscripts "Tom Nickels" <[EMAIL PROTECTED]> wrote in message 005401c14383$59de4440$149

[PHP] Why this error to this newsgroup?

2001-09-22 Thread Gaylen Fraley
t;/var/spool/mail/dtt" -- This just started, I believe, this week. Is there some kind of an auto-responder that isn't working correctly? -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v1.2 Guestbook http://www.gaylenandmargie.com/pu

Re: [PHP] Search in Progress

2001-09-22 Thread Gaylen Fraley
You don't need layers. Just have a js routine that sends 2 different location statements, i.e. parent.resultsframe.location = "javascript:'document.write(loading...');"; // then start your search code here -- Gaylen [EMAIL PROTECTED] http://www.gaylenand

[PHP] Re: error message

2001-09-22 Thread Gaylen Fraley
You forgit the $ sign. Should be if(!$submit) -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v1.2 Guestbook http://www.gaylenandmargie.com/publicscripts "Peter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... &

[PHP] KISGB - PHP Guestbook

2001-09-22 Thread Gaylen Fraley
have been some Netscape display issues (browser wars!). In any event, I will not flood the ng with more announcements, but this really was the easiest way as opposed to sending out dozens of e-mails. Thanks for your indulgence and your support! -- Gaylen [EMAIL PROTECTED] http

[PHP] Re: NONE

2001-09-23 Thread Gaylen Fraley
Why not just use the PHP function array_multisort ? -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v1.2 Guestbook http://www.gaylenandmargie.com/publicscripts "Tero Tielinen" <[EMAIL PROTECTED]> wrote in message 1103_1001260674@hunajapuristin"

[PHP] Language translation

2001-09-23 Thread Gaylen Fraley
What is the most accepted method for translating an application from one language to another? Is it done by a table that does a search and replace, i.e. one-to-one translation? Or does one actually translate the code verbatim? Is there a white paper somewhere? Thanks, -- Gaylen [EMAIL

  1   2   >