[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:[EMAIL PROTECTED]... hi guys , could

Re: [PHP] Brain dead - need help!

2001-12-15 Thread Gaylen Fraley
s places to get your data... btw, php does have the $HTTP_GET_VARS that'll have what you want... jack Gaylen Fraley wrote: I know that I know the answer - it's just buried in the recesses of my mind .. PHP has the various $HTTP_*_VARS arrays. Is there one to get the formliter

[PHP] Opinions, please

2001-12-15 Thread Gaylen Fraley
A security question, concerning PHP and overall best practice. I have an application that is used by users that have no control over what version of PHP is on their server. Some versions do not support sessions. So, I am attempting to modify the code to accommodate this and minimize, if not

[PHP] Brain dead - need help!

2001-12-15 Thread Gaylen Fraley
I know that I know the answer - it's just buried in the recesses of my mind .. PHP has the various $HTTP_*_VARS arrays. Is there one to get the formliteral pairs from the hyperlinks, as in a href=somepage.php?var1=test? I want to extract the $var1 value pair. I know I can do this through

[PHP] Help with permissions/ownership

2001-12-22 Thread Gaylen Fraley
I'll try to be both concise and precise with this. I have some PHP code like this: if (!rename($path_to_file,$path_to_file_BACKUP)) die($unable_to_access_file_msg $path_to_file_BACKUP); $buffersize = round(filesize($path_to_file_BACKUP)*1.5); $fp_in = fopen($path_to_file_BACKUP,r) or

[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]">news:[EMAIL PROTECTED]... Does

[PHP] PHP and permissions/ownership

2001-12-24 Thread Gaylen Fraley
I'll try to be both concise and precise with this. I have some PHP code like this: if (!rename($path_to_file,$path_to_file_BACKUP)) die($unable_to_access_file_msg $path_to_file_BACKUP); $buffersize = round(filesize($path_to_file_BACKUP)*1.5); $fp_in = fopen($path_to_file_BACKUP,r) or

[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 Book

[PHP] Including images from Internet

2001-12-30 Thread Gaylen Fraley
Obviously, including an image from another page can be accomplished with an HTML tag. However, it seems that there are some inherent issues with doing this. How do you keep someone from linking a hi-res image and causing your browser to take forever to return, if you're on a dial-up? Is there

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

2001-12-30 Thread Gaylen Fraley
I have released version 3.0 of my KISGB. KISGB is a PHP guestbook program that does not require sessions, cookies, or an rdbms. Can be Public or Private through HTTP Authentication. Automated install script, fully customizable, clean, and fast. Separate multiple logging capabilty for tracking

[PHP] A compress function?

2002-01-04 Thread Gaylen Fraley
With all the wonderful String functions in PHP, I haven't been able to find a str_compress(). Is there such an animal? Let's say I have a string like this: $myString = First_word 30 spaces second_word 10 spaces etc... I need to do one of two things. Either compress the multiple spaces to

[PHP] Re: A compress function?

2002-01-04 Thread Gaylen Fraley
X-Playin - Professional Web Design www.x-playin.f2s.com Gaylen Fraley [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... With all the wonderful String functions in PHP, I haven't been able to find a str_compress(). Is there such an animal? Let's say I hav

[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
PROTECTED] wrote in message 20020105042749.GK17616@ganymede">news:20020105042749.GK17616@ganymede... * Gaylen Fraley ([EMAIL PROTECTED]) [Jan 04. 2002 21:26]: Is there any work around for using HTTP Authentication and PHP installed as CGI? I know how to make the detection, I'm hoping (

Re: [PHP] CGI and HTTP Authentication

2002-01-04 Thread Gaylen Fraley
Guest Book http://www.gaylenandmargie.com/phpwebsite/ Gaylen Fraley [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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

Re: [PHP] CGI and HTTP Authentication

2002-01-04 Thread Gaylen Fraley
05061814.GL17616@ganymede... * Gaylen Fraley ([EMAIL PROTECTED]) [Jan 05. 2002 00:22]: 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? Yes, stick ?php phpinfo(); ? into a .php file and load it into your browser

[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

[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

[PHP] Re: preg_replace help

2002-01-12 Thread Gaylen Fraley
? Gaylen Fraley [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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, b

[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

[PHP] Mysterious /

2002-01-18 Thread Gaylen Fraley
For some (yet) unknown reason, when some text is being entered into a form, a mysterious / is being appended. It's almost as if some XML functionality is bein added w/o my intention. For example, I might echo br and the html source will show br /. I might have an end anchor tag /a that comes

Re: [PHP] Mysterious /

2002-01-18 Thread Gaylen Fraley
/ isn't correct at all :) Thanks, James Cox -- James Cox :: [EMAIL PROTECTED] Please CC me when replying to my messages on lists. Was I helpful? http://www.amazon.co.uk/exec/obidos/wishlist/23IVGHQ61RJGO/ -Original Message- From: Gaylen Fraley [mailto:[EMAIL PROTECTED]] Sent

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 br /. 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/ Gaylen Fraley [EMAIL

[PHP] Variable referencing/substitution

2002-01-19 Thread Gaylen Fraley
How can this be done? If I have the name of a variable that is stored in an array, how do I use the stored value to represent the actual variable? Example: $variable = old value; $vNames[1] = '$variable'; //literal $variable I want to say $vNames[1] = new value; /and have $variable actually

[PHP] Checkboxe problem

2002-02-05 Thread Gaylen Fraley
I have a form with 1 checkbox and have coded it like this: input type=checkbox name=private When the form is submitted, $HTTP_POST_VARS[private] only exists IF checkbox is checked. It doesn't exist otherwise, which is causing a problem because there are several other elements before and after.

[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
The following code returns a 404 error on a friends host site The environment is Apache/1323 (Unix) mod_layout/304 PHP/411 rus/PL3011 running under FreeBSD as2centreru 42-RELEASE FreeBSD 42-RELEASE #0: ?php header(WWW-Authenticate: Basic realm=myRealm); header(HTTP/10 401 Unauthorized); ?

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 copy the

[PHP] Threads and PHP

2002-03-02 Thread Gaylen Fraley
Is it possible to use threads to perform an operation while another takes place with PHP? I have a situation where a process calls the mail() function and then must wait until that completes before going on to the next step What I would like to happen is that the mail() function is handled by

[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: script document.forms[0].text_box_name.focus(); /script -- Gaylen PHP KISGB v4.0.1 Guest Book http://www.gaylenandmargie.com/phpwebsite/ Ralph Jarvis [EMAIL PROTECTED] wrote in

[PHP] Re: cursor focus

2002-03-03 Thread Gaylen Fraley
script I am having problems with has several decision points and includes which I think is confusing the placement of the cursor Gaylen Fraley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]; This is not a php question. It is a JavaScript issue. You need to add this code

[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. TDinput type=text/td -- 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$dd246980$[EMAIL

[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 lacks a border entirely, check out

[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:

[PHP] Re: Search a flat file.

2002-06-07 Thread Gaylen Fraley
Use the explode() function based on the colon. Then parse the 2nd array element for the username that you want. If matched, display all elements in that array row. Conversely you could use the implode() to reassemble the array row. (Assume $file_row is the row name that you have assigned) /*

[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
ROTECTED]... $result=`ls -R | grep 'expression' ./`; HTH Chris Jason Wong wrote: On Sunday 09 June 2002 17:17, Austin Marshall wrote: Gaylen Fraley wrote: I am in need of a function/script that will take a directory and search all filenames, recursively down, for a given file. Ca

[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] 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 the /? Thanks. -- Gaylen PHP KISGB

Re: [PHP] nimda, etc.

2001-09-21 Thread Gaylen Fraley
Are you sure about that? I am trying his script and I just had an attack and I watched the traffic through my firewall software. It dropped off immediately, i.e. showed no activity. I was expecting to see somekind of a persistant connection, but It doesn't seem to be there. I tested it myself

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

[PHP] Re: Checking if session has been started

2001-09-22 Thread Gaylen Fraley
Why not populate a session variable, in the page that starts the session, like : session_start(); session_register(valid_session); $valid_session = true; Then in the page that you need to check, like: if ($session_valid) { // Do something since a session is already running } --

[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

[PHP] Why this error to this newsgroup?

2001-09-22 Thread Gaylen Fraley
Every message that I post to news.php.net gets posted, but I receive this email: This is the Postfix program at host mail.aaz-netmarketing.com. I'm sorry to have to inform you that the message returned below could not be delivered to one or more destinations. For

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. script parent.resultsframe.location = javascript:'document.write(loading...');; // then start your search code here /script -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB

[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]... Hi, I was wondering does

[PHP] KISGB - PHP Guestbook

2001-09-22 Thread Gaylen Fraley
Since I originally announced this guestbook app here and so many have downloaded it (thanks!), I need to let you know that I recommend getting the latest copy. I have done quite a bit of work, even up to the sending of this. There were a couple of warning messages that were appearing and there

[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

[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

[PHP] Re: Javascript document variable names for complex forms

2001-09-24 Thread Gaylen Fraley
Try var myvar = opener.parent.top.document.form.var.value -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v1.2 Guestbook http://www.gaylenandmargie.com/publicscripts M [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello people. First ,

[PHP] Re: Windows question

2001-09-24 Thread Gaylen Fraley
http://www.php.net/manual/en/ref.exec.php -- Gaylen [EMAIL PROTECTED] http://www.gaylenandmargie.com PHP KISGB v1.2 Guestbook http://www.gaylenandmargie.com/publicscripts Clint Tredway [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Can PHP kick off an exe or

[PHP] Session control issue

2001-10-22 Thread Gaylen Fraley
I am experiencing a problem of trying to run several variants of the same code and keep the sessions separate. Here is the scenario. I am launching all of this from a CMS. So, the CMS displays a page that has 3 links on it. Link 1 is version A of an application, Link 2 version B, etc. The

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

2001-10-24 Thread Gaylen Fraley
I've been running Apache on 98SE (I agree - DON'T ASK!) for most of this year without ny issues at all. Win98needs reboots a few times a week, but it's not Apache's problem. I also run PHP4.0.6 and 4.0.8-dev and MySQL 3.23.43 and they all work and play well together. Just to keep my sanity, I

[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 ? if (isset($userid)||isset($password)) { if ($userid == somename $password == somepassword) { echo YAY! You did it!; exit; } header(Location: index.php); exit; } ? html body

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

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

2001-11-01 Thread Gaylen Fraley
Message - From: Gaylen Fraley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 01, 2001 3:16 PM Subject: [PHP] Where is my php.ini? 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 curiou

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

2001-11-01 Thread Gaylen Fraley
958.fep2@there... On Friday 02 November 2001 01:16, Gaylen Fraley wrote: 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, bu

[PHP] Recompiling under new kernel

2001-11-10 Thread Gaylen Fraley
I've updated the linux kernel and just noticed that phpinfo (obviously) still only knows about the system info under the previous kernel. In order to bring the information up to date, do I have to recompile from scratch, or is there an easier way? I seem to remember reading that if I don't want

[PHP] Controlling length of table data

2001-11-14 Thread Gaylen Fraley
This is really a combination html/php question, I believe. The problem is that I have a table that displays a field of text that can be several hundred bytes long. If, however, someone holds down a key and produces 500 letter 'x' the table data then distorts the table! Since the length of the

[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. -- Gaylen [EMAIL PROTECTED] Home

[PHP] Need regular match help - possibly

2001-11-21 Thread Gaylen Fraley
I need a routine that will allow me to trap multiple br 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

[PHP] Re: Need regular match help - possibly

2001-11-22 Thread Gaylen Fraley
;>news:[EMAIL PROTECTED]... Hello Gaylen, try this: $string = preg_replace(/\n{3,}/, \n\n\n, $string); James Gaylen Fraley [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I need a routine that will allow me to trap multiple br and/or

[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.gaylenandmargie.com/phpwebsite Mitja Pagon

[PHP] session woes

2001-12-08 Thread Gaylen Fraley
I have a friend who is using an ISP that uses php4.0.3pl1 . It appears that session_register is not working between pages. In script A, the session var gets registered and shows registered using session_is_registered('testvar'); However, when script B is called, a session-start is issued and

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

2001-12-09 Thread Gaylen Fraley
Version 2.6 of my Guest book is released! Description: A PHP (version 4.x) guestbook program that does not require an rdbms. Can be Public or Private through HTTP Authentication. Automated install script, fully customizable, clean, and fast. Separate multiple logging capabilty for tracking

[PHP] Which dyndns?

2001-12-11 Thread Gaylen Fraley
I'm having to switch from static IP to dynamic :). I've finally gotten the Earthlink DSL (dynamic IP) up and running. Now I need to get the service to keep my domain name in sync with my dynamic ip. On the short list are: TZO EasyDNS DNS2Go DynDNS Is there a better choice? I will need ports

[PHP] Re: session woes

2001-12-11 Thread Gaylen Fraley
PROTECTED]">news:[EMAIL PROTECTED]... Gaylen Fraley wrote: I have a friend who is using an ISP that uses php4.0.3pl1 . It appears that session_register is not working between pages. In script A, the session var gets registered and shows registered using session_is_registered(

[PHP] PHPWebSite software broken after 4.1.0 install?

2001-12-11 Thread Gaylen Fraley
Is anyone else experiencing this? Login to admin.php. PHPWS accespts the login and password. However, when I click on any link, like Edit Web Page, it kicks up a blank screen where it should be the web page data. If I try to edit a main page announcement, it just kicks me back to the admin

[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 that I haven't been able to find

Re: [PHP] Re: Simple Question

2001-12-12 Thread Gaylen Fraley
is prob right - I didn't check me syntax :( -Original Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 3:11 PM To: Gaylen Fraley Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Simple Question oh no, Iv'e gotten two answers... stripslashes() and strip

[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. ? $pic_dir = _uimages; $picture = $pic_dir/mypic.jpg; $size = GetImageSize($picture); $width = round($size[0]/4); $height = round($size[1]/4);

[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, Karl

[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 and maintenance. Anybody have any

[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 resized

[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

[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 later. So I haven't been able to try

[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 pages... Something like a

[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 linux, am not sure where is my LD_LIBRARY_PATH

[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:

[PHP] New PHP Guest Book Program

2001-09-13 Thread Gaylen Fraley
** I asked a few of the regulars here and found no objections to this posting ** I am making available a Guest Book program that I have written. My KISGB (Keep It Simple Guest Book) is a guest book program that does not require an rdbms. Fully customizable, clean, and fast. Includes

[PHP] Probem with Rename() and linux

2001-09-16 Thread Gaylen Fraley
I am attempting to use the rename() function and am receiving the following error: Warning: Rename failed (Permission denied) in /usr/local/apache/htdocs/mydir/myfile.php on line 7 The files all have a mod of 777 . My application can update the same file w/o any problem, it's only when

[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 htmlh1Hello\nWorld/h1/html; will not work. You must use br instead. Also, be sure that you are using double quotes instead of single quotes. Single quoted text is literally interpreted. -- Gaylen

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

2001-09-16 Thread Gaylen Fraley
working with should be chown'ed to www.www Remember not to 'adduser' to accomplish this, you dont want anyone actually logging in as www :) Hope this helped a little. From: Gaylen Fraley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, September 16, 2001 2:07 PM Subject: [PHP] Re:

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

2001-09-16 Thread Gaylen Fraley
h should be chown'ed to www.www Remember not to 'adduser' to accomplish this, you dont want anyone actually logging in as www :) Hope this helped a little. From: Gaylen Fraley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, September 16, 2001 2:07 PM Subject: [PHP] Re: Problem with Rename() a

[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 List

[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! -- Gaylen [EMAIL

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

2001-07-14 Thread Gaylen Fraley
Ok. I've been in this industry for 32 years. I've loved O/S2, hated windoz and been intrigued with *nix. So, I have a successful web site and server under windoz/php/mysql and I decide to venture into RedHat Linux because I have heard some great things about it. I get 7.0 and install it,

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

[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]... [EMAIL PROTECTED] (Gaylen Fraley) wrote: I