Re: [PHP] PHP binary file

2002-02-19 Thread Jeff Sheltren
Hi, mine is located here: /usr/bin/php I don't recall telling it where to put the binary (if such an option exists) so I assume that is the default location. Jeff At 09:28 AM 2/19/2002 -0500, Hunter, Ray wrote: Has anyone compiled php on linux and found the binary executable file? Ray Hunter

Re: [PHP] Weather Scripts

2002-02-19 Thread Jeff Sheltren
Hi, it sounds like it shouldn't be too bad, but you didn't say where you plan on getting the information from... At 11:43 AM 2/20/2002 +1030, Shannon Doyle wrote: Hi People, I have been looking around the web lately and have noted a number of sites are running what appears to be php scripts

[PHP] Pass Cookie? (Snoopy)

2002-02-17 Thread Jeff Oien
to use Snoopy? Thanks for any help. Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] building dynamic pdf files?

2002-02-17 Thread Jeff D. Hamann
with. I've been generating html code using php, and would like to directly generate pdf files as they look much better. Is there software out there that I can import an html file into, or excel, or word and spit out the pdf code, or something usable? Thanks, Jeff. -- Jeff D. Hamann Hamann, Donald

RE: [PHP] What Do You Think?

2002-02-15 Thread Jeff Sheltren
to me! Jeff At 04:08 PM 2/15/2002 -0600, Gonzalez, Zara E wrote: I'd love a site like this. Let's do it quick before I go off traveling in May (so I can find some great pubs to visit ;) Seriously though, I haven't done much with GD (nor do I have a great deal of freetime) but I'd be willing to help

Re: [PHP] Novice: Problems getting data from forms to PHP scripts.

2002-02-14 Thread Jeff Sheltren
Hi, for starters, I think you need to change your html... it should read something like this: Name: input type=text name=dateidbr Jeff At 03:50 PM 2/14/2002 +, Sean Connelly wrote: Hi, I've just started to learn php. I can't seem to get any data from an HTML form to a php script. I've

RE: [PHP] Anyway to open a PHP file and view its code in the browser?

2002-02-14 Thread Jeff Sheltren
A symbolic link is like a pointer to a file. It is like a shortcut on windows OS's... Jeff At 03:44 PM 2/14/2002 -0700, Kevin Stone wrote: I did a net wide search on Symbolic links to learn what they are and how to use them. Wouldn't you know everyone's talking about them but no one explains

Re: [PHP] mysql_select_db() problem

2002-02-09 Thread Jeff Sheltren
Occured. Unable to find the database $dbname on the MySQL server.); Hope that helps. Jeff At 09:24 PM 2/9/2002 +0100, Nick Wilson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I just can't see what could possibly be wrong with my php here: $sel_db=mysql_select_db(mydb) or die

Re: [PHP] escaping ?

2002-02-08 Thread Jeff Sheltren
Hi, try this: str_replace(?xml version=\1.0\? Jeff At 03:45 PM 2/8/2002 -0600, Steven Jarvis wrote: I'm trying to do some string replaces on XML files to import them into a prprietary db that doesn't understand XML. I need to strip the XML tags out of the file. However, when I use

Re: [PHP] force refresh?

2002-02-08 Thread Jeff D. Hamann
i'll give it a try... jeff. Sam Masiello [EMAIL PROTECTED] wrote in message 002001c1affa$9aa56560$6300fa0a@dev">news:002001c1affa$9aa56560$6300fa0a@dev... You can force the browser to refresh using a meta tag: meta HTTP-EQUIV=Refresh content=180 This will cause the page to refre

[PHP] force refresh?

2002-02-07 Thread Jeff D. Hamann
can i force a browser to refresh using php. jeff. -- Jeff D. Hamann Hamann, Donald Associates, Inc. PO Box 1421 Corvallis, Oregon USA 97339-1421 Bus. 541-753-7333 Cell. 541-740-5988 [EMAIL PROTECTED] www.hamanndonald.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Preventing Identical Form Fields

2002-02-07 Thread Jeff Sheltren
++) { for($j = 0; $j $numelements; $j++) { if($j != $i) { if($fieldarray[$i] == $fieldarray[$j]) { sendbackwitherrors(); } } } } Hope that helps. Jeff At 11:42 AM 2/7/2002 -0500, Dave Rosenberg wrote: Thanks Chris, but I have about

Re: [PHP] Checking for plus signs?

2002-02-07 Thread Jeff Sheltren
The plus is a special character for regular expressions. You need to escape it in order to search for a literal + Try this: eregi(\\+, $variable) Jeff At 08:40 PM 2/7/2002 -0500, you wrote: I'm trying if(eregi(+,$variable)){, but it gives me an error. What do I do? -- PHP General

Re: [PHP] keyword search help

2002-02-07 Thread Jeff Sheltren
for the keyword table be both of the fields, and then you'll be able to have as many keywords for each cd as you like. Next time maybe ask on a database list though... Jeff At 02:28 AM 2/8/2002 +, Arun K.V wrote: hello sir, we are creating a cdrom database in postgresql wherein we have cd rom

Re: [PHP] Caching in php?

2002-02-06 Thread Jeff Bearer
eCards with Yahoo! Greetings! http://greetings.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re: Newbie: Question about filesize()

2002-02-06 Thread Jeff Sheltren
))) right? -Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File Uploads

2002-02-06 Thread Jeff Sheltren
The username will be the same username that apache is running as, which you can specify in your httpd.conf file. -Jeff At 10:32 AM 2/6/2002 -0500, Ben Crawford wrote: I apoligize if this question has already been asked but I am looking to upload files to my server. I use a form and can

Re: [PHP] Check if var is a domain name

2002-02-05 Thread Jeff Sheltren
this (foobar.co.uk) for example, but it should work with the values you specified. if (ereg(^[a-zA-Z]+\\.[a-z]{2,3}$, $var)) { // valid domain } else{ // not valid } Jeff At 07:59 AM 2/5/2002 -0800, Brandon Orther wrote: Hello, Does anyone know a function or how I could make

Re: [PHP] Dynamic Dropdown menu question.

2002-02-05 Thread Jeff Sheltren
? Jeff At 05:23 PM 2/5/2002 -0700, Michael O'Neal wrote: Hi. I'm working on an edit page where the pull down menu is populated from a database. I can't figure out how to print selected when that particular record is the one associated with the current ID. Can anyone help? Here's my current code

Re: [PHP] Reading log files.

2002-02-04 Thread Jeff Sheltren
Well, the first thing that comes to mind would be using the UNIX tail command. Of course, this does you no good if you're on windows, but I'm not sure if that is the case. if $n is the number of lines specified by the user, then the code would be like: System(tail -$n logfile); Jeff At 12

Re: [PHP] Problem...header already sent by

2002-02-04 Thread Jeff Sheltren
You can't send anything before you send headers... the html tag is messing you up I believe. Jeff At 08:24 PM 2/4/2002 -0800, Peter Run wrote: Hi, I get the warning message (see below), whenever I try anything with authentication/session with PHP. This is tried under Windows (PHPTriad

Re: [PHP] crypt/Password

2002-02-03 Thread Jeff Sheltren
What you could do is send a newly generated password to them, and then allow them to change the password on your site to something easier to remember... Jeff At 11:56 PM 2/3/2002 +0800, Phil wrote: Hi there, I'm creating a user/password table that will use either Mysql Password or PHP Crypt

Re: [PHP] Displaying a please wait while doing a file upload?

2002-02-03 Thread Jeff Sheltren
content=5;URL='targetpage.php' titlePlease Wait/title /head body Please wait... /body /html This example would wait 5 seconds before loading targetpage.php. Jeff At 10:00 PM 2/3/2002 +0100, Andy wrote: Hi guys, I would like to display something like: please wait, uploading while I am doing

Re: [PHP] Adding 6 digits to a str?

2002-02-02 Thread Jeff Sheltren
Why is it that you want to represent an int with leading 0's? Is it just to print it out that way? If that is the case, then you can use the printf function for formatted printing. Jeff At 10:53 AM 2/2/2002 +0100, Andy wrote: Hi guys, I am trying to force a int to be 8 digits

Re: [PHP] Securite problem

2002-02-02 Thread Jeff Sheltren
I believe that require() and require_once() have a problem with relative paths. See here for more info: http://www.php.net/manual/en/function.require-once.php Jeff At 01:24 AM 2/3/2002 +0100, Roebie wrote: Dear all, I have a index.php3 file in a password protected directory (on Windows) which

Re: [PHP] Upload script with user admin

2002-02-01 Thread Jeff Sheltren
You may want to check into some of these: http://www.hotscripts.com/PHP/Scripts_and_Programs/File_Manipulation/Upload_Systems/ Jeff At 05:34 PM 2/1/2002 +0100, ArtistHotel wrote: Hi, I need an upload script that lets predefined users log in and upload files. Does such a script exist? Regards

Re: [PHP] variable function call (Re: [PHP] unset a function?)

2002-01-31 Thread Jeff Van Campen
Hey Bas, BVBut i would prefer something like BV$temp=make_$wat($this); I think you might want something along these lines: eval(make_$wat($this);); HTH -jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] ereg et all

2002-01-31 Thread Jeff Sheltren
I'm not sure why you wanted the last word tHis to be changed to That (with a capital)... can you explain further? Jeff At 10:52 PM 1/31/2002 +0100, Edward van Bilderbeek - Bean IT wrote: that is not what I meant... I want the cases to remain... - Original Message - From: Rick Emery

Re: [PHP] ereg et all

2002-01-31 Thread Jeff Sheltren
Ahhh, ok makes more sense now. Although, I don't think that there is an easy way to do what you are asking. I think that in order to accomplish that, you will have to specify all possible cases of a string, and have a ereg_replace() statement for each of them. Jeff At 11:01 PM 1/31/2002

Re: [PHP] Accessing piped data in PHP shell script

2002-01-31 Thread Jeff Sheltren
Have you tried running the program from your php script? Something like: $stuff = System(cat foo.txt); I have done something similar, but I don't recall exactly how I did it. Jeff At 04:30 PM 1/31/2002 -0800, David Yee wrote: How can I access data/parameters piped into a PHP shell script

Re: [PHP] mysql_pconnect mysql_connect

2002-01-30 Thread Jeff Sheltren
://www.php.net/manual/en/function.mysql-pconnect.php -Jeff -- 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]

Re: [PHP] mysql_pconnect mysql_connect

2002-01-30 Thread Jeff Sheltren
called 'persistent'. Note: Note, that these kind of links only work if you are using a module version of PHP. See the Persistent Database Connections section for more information. -Jeff (not Jim) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Possible to measure CPU and Ram used with PHP?

2002-01-29 Thread Jeff Lewis
Is it possible to measure the amount of RAM or CPU power used to process a particular file written in PHP? Can the values be grabbed and displayed with PHP? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] Sendmail

2002-01-28 Thread Jeff Van Campen
The system have to send mail automatically to the username stored in mysql table.I am having the details of usermailid,date.By using php script how do i go about with this To send the mail, use the mail function: http://www.php.net/manual/en/function.mail.php -- PHP General Mailing List

Re: [PHP] Mysql / PostgreSQL with PHP

2002-01-28 Thread Jeff Van Campen
Do you know where I can find a recent and objective study comparing both with PHP to connect to it. http://phpbuilder.com/columns/tim2705.php3 HTH -jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] How do I use a confirm box to confirm before deletion from a database

2002-01-28 Thread Jeff Van Campen
and a javascript funtion I've done something similar. Here is the code that I used: ?php echo a href=\web_clients.php?type=deleteidClient=$idClient\ onclick=\return confirm('Are you sure that you want to delete this client?')\delete/a ? HTH -jeff -- PHP General Mailing List (http

Re: [PHP] Help with Logical 'OR'

2002-01-28 Thread Jeff Sheltren
is FALSE, then the second condition will be checked. If you are wanting both $name and $text to be true in order for the first block of code to be executed, then you will want to use an AND () statement. I hope that answers your question. Jeff At 02:04 PM 1/28/2002 -0600, jv wrote: It seems

Re: [PHP] Ouch that hurts

2002-01-27 Thread Jeff Sheltren
It seems that you are running the script on a windows machine... Yet, I think that your php.ini must be trying to store session files in /tmp (which does not exist on windows). Perhaps if you change the session path in the php.ini file it will fix the problem... Jeff At 01:50 PM 1/28/2002

Re: [PHP] One error after another.

2002-01-27 Thread Jeff Sheltren
Can you paste the code please? You must send the cookie before you send anything else. Jeff At 02:20 PM 1/28/2002 +1300, Philip J. Newman wrote: Warning: Cannot send session cookie - headers already sent by (output started at d:\website\myphp\fitness\index.php:7) in d:\website\myphp\fitness

Re: [PHP] Re: Calculate Directory Size

2002-01-26 Thread Jeff Sheltren
this can get cpu/hdd intense if you are using it for lots of users. My advice would be to run your script when there is a low load on the server. I hope that helps get you started. Jeff Simon H [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On advice, I'

Re: [PHP] Changeing Dates.

2002-01-26 Thread Jeff Sheltren
this helps. Jeff - Original Message - From: Philip J. Newman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, January 26, 2002 8:35 AM Subject: [PHP] Changeing Dates. I have had no luck changing: 20020124020555 into 24 01 2002 @ 0205h 55s Can anyone put some light on this, I'm

Re: [PHP] PHP and XHTML

2002-01-26 Thread Jeff Sheltren
Hi. Have you tried something like: ? echo(? xml version=\1.0\ ?\n); ? I've not tried using xml php, but that may work... Jeff - Original Message - From: Frans Englich [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, January 26, 2002 2:53 PM Subject: [PHP] PHP and XHTML When

Re: [PHP] dynamic variables in sq?l

2002-01-25 Thread Jeff Sheltren
Can you show how your mysql table is set up? Otherwise I am not quite sure what you are trying to do with your SQL statement. Jeff And then I am trying to get the price out of a table in my database with this code: $sql = mysql_query(SELECT '$car' FROM varetabell where carid='$carid

Re: [PHP] Problem in mysql connection

2002-01-25 Thread Jeff Sheltren
What was the error message given? Are you sure that mysql is running and working properly? Jeff Hello, I have installed php4 rpm in my machine.while connecting php with mysql it is giving fatal error.I have given like this mysql_connect($servername,$username,$password); Why

Re: [PHP] Passing objects

2002-01-25 Thread Jeff Sheltren
/tutorial that may help you out: http://www.devshed.com/Server_Side/PHP/Sessions/page1.html Jeff I'm pretty new to PHP. If anyone can elaborate a little on this I would appreciate it greatly. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] delete a file from the server

2002-01-24 Thread Jeff Van Campen
How can i delete a file from the server in PHP unlink(/file/path/filename.txt); http://www.php.net/manual/en/function.unlink.php -- 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

Re: [PHP] Help with regular expressions

2002-01-24 Thread Jeff Sheltren
I think your problem is you are not including whitespace. Also, remember that . (dot) means any character except newline, so why not try this as your reg ex: //.* Hope that helps. -Jeff - Original Message - From: José Daniel Ramos Wey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Re: [PHP] Help with regular expressions

2002-01-24 Thread Jeff Sheltren
Sorry, I forgot the newline at the end... your reg ex should look like: //.*\n making your command be: ereg_replace(//.*\n,,$string) Try that ;) Jeff I think your problem is you are not including whitespace. Also, remember that . (dot) means any character except newline, so why not try

Re: [PHP] Archive of this is. Is there a URL?

2002-01-24 Thread Jeff Sheltren
Yes there is. http://marc.theaimsgroup.com/?l=php-general - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 24, 2002 6:38 PM Subject: [PHP] Archive of this is. Is there a URL? Please advise. Thanks, Robin -- PHP General Mailing

Re: [PHP] Re: Resalution Dection

2002-01-24 Thread Jeff Sheltren
Yes, you can use javascript to get the user's resolution: screen.width screen.colorDepth are two variables that you can access through javascript, which you might find helpful. Jeff Try Javascript. I dont recall offhand but there are some properties you can use in Javascript to detect

[PHP] More Fun With Sessions!

2002-01-23 Thread Jeff Sheltren
. Sorry for the long message! Any help would be greatly appreciated. Jeff -- 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]

RE: [PHP] More Fun With Sessions!

2002-01-23 Thread Jeff Sheltren
, but it works... and after this project php/apache will not be used on that server anyway, so I guess that having an older version is not the worst thing to do =) -Jeff Your code works fine on my FreeBSD box running php 4.0.4pl1 but not one running php 4.0.6 ... May explain your linux issues? i.e

Re: [PHP] Q: while loop on an array

2002-01-23 Thread Jeff Bearer
-- 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] -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com -- PHP General Mailing List (http

[PHP] How should I cache database data for php?

2002-01-21 Thread Jeff Bearer
that the application connects to just like the database, and it manages chaches and querying the database for data in the module. -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: [PHP] How should I cache database data for php?

2002-01-21 Thread Jeff Bearer
experienced this first hand with APC. At first I thought it would cache the entire PHP output, which would include the data, not just the execution instructions. But I was wrong. -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] How should I cache database data for php?

2002-01-21 Thread Jeff Bearer
-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] How should I cache database data for php?

2002-01-21 Thread Jeff Bearer
device - and thus his concern? - or perhaps if there are other apps needing to 'compete' with the web server to gain access to the db concurrently? -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] Opening more than one database at a time?

2002-01-20 Thread Jeff Lewis
have Insert into new database this is where I want to take some of the information from the source and insert into the new database (which uses a different user name and password as well). Any help would be greatly appreciated :) Jeff -- PHP General Mailing List (http://www.php.net

Re: [PHP] Opening more than one database at a time?

2002-01-20 Thread Jeff Lewis
Not sure, the tables are in different databases with different users and passwords. I will look into it but the answer I got this afternoon satisfied me :) Jeff - Original Message - From: Miles Thompson [EMAIL PROTECTED] To: Jeff Lewis [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday

Re: [PHP] command line are -c doesn't work on win2k?

2002-01-18 Thread Jeff D. Hamann
nope. no difference. jeff. Mike Cullerton [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... on 1/18/02 12:00 AM, Jeff D. Hamann at [EMAIL PROTECTED] wrote: I've been trying to figure out what was wrong with my script... ? mail([EMAIL PROTECTED],

[PHP] Re: [PHP-WIN] command line are -c doesn't work on win2k?

2002-01-18 Thread Jeff D. Hamann
the path to php is already in the PATH variable... I'm not doing anything different that http://bugs.php.net/bug.php?id=6742 ,but for some reason the -c doesn't make a difference... Jeff. Dl Neil [EMAIL PROTECTED] wrote in message 0d4f01c1a00e$87036ee0$2916100a@jrbrown">news:0d4f

Re: [PHP] command line are -c doesn't work on win2k?

2002-01-18 Thread Jeff D. Hamann
don't see how this could be a config problem. The emails I have been sending state that the script works *fine* from the same dir as php.exe. The problem arises when I attempt to run the script from another directory... Jeff. - Original Message - From: DL Neil [EMAIL PROTECTED] To: mike

Re: [PHP] command line are -c doesn't work on win2k?

2002-01-18 Thread Jeff D. Hamann
:\Program Files\Apache Group\Apache\htdocs Hope this helps... Jeff. - Original Message - From: DL Neil [EMAIL PROTECTED] To: Jeff D. Hamann [EMAIL PROTECTED]; mike cullerton [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, January 18, 2002 9:53 AM Subject: Re: [PHP] command line are -c

Re: [PHP] command line are -c doesn't work on win2k?

2002-01-18 Thread Jeff D. Hamann
do you have an ini, not the exe, file in c:\winnt\system32 ? jeff. - Original Message - From: DL Neil [EMAIL PROTECTED] To: Jeff D. Hamann [EMAIL PROTECTED]; mike cullerton [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, January 18, 2002 9:53 AM Subject: Re: [PHP] command line are -c

[PHP] command line are -c doesn't work on win2k?

2002-01-17 Thread Jeff D. Hamann
the script into the same dir as php.exe and it worked fine. The problem is that I need to run the script from the normal path and not from c:\php... Does the -c switch actually work? How can I run this script from another dir? Is this a bug? Thanks, Jeff. -- Jeff D. Hamann Hamann, Donald

[PHP] Re: DOM XML?

2002-01-04 Thread Jeff Warrington
in the other XML PHP functions, especially if you utilize the XPath search functionality. Jeff You are right about this. But please use it and report bugs if you find one. The more users, it will be more stable quickly. Please also try latest snapshot for experimental modules/functions. http

[PHP] SSL fsockopen()

2002-01-03 Thread Jeff Rossi
Is there a way to make an SSL connection between to servers with fsockopen()? I'm using PHP 3.0.13 and don't have cURL support. -- Data Driven Design 1506 Tuscaloosa Ave Holly Hill, Florida 32117 Phone : (386) 226-8979 http://www.datadrivendesign.com Websites That WORK For You -- PHP

[PHP] surepay without curl?

2002-01-02 Thread Jeff Rossi
Hi list, I haven't been reading the list for a while but ran into a problem that I don't know if I can solve on my own. I'm working on a server running PHP 3.0.13 without curl support. Am I out of luck? -- Data Driven Design 1506 Tuscaloosa Ave Holly Hill, Florida 32117 Phone : (386)

Re: [PHP] phpbb and ikonboard forum scripts

2001-12-25 Thread Jeff Lewis
Never thought I'd see this pop on here :) As mentined before, Ikonboard is in fact Perl and up until recently was only flatfile. Another you may want to try is http://www.yabb.info (PHP/mySQL combo) Jeff - Original Message - From: Indera [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Re: [PHP] array_walk() + class methods

2001-12-22 Thread Jeff Levy
Much obliged, that did the trick. On Fri, 21 Dec 2001 05:48:31 -0500, Papp Gyozo wrote: array_walk($ar, array($object, 'methodname')); - Original Message - From: Jeff Levy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 13, 2001 1:17 PM Subject: [PHP] array_walk

Re: [PHP] PHP / SSL

2001-12-21 Thread Jeff Gilchrist
with PHP. If you only have the choice between 40bit SSL or 56bit SSL, then go for the 56bit version. Your traffic will not be securely protected but it is much more work to break DES than it is 40bit RC5 in SSL. Regards, Jeff. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

[PHP] array_walk() + class methods

2001-12-19 Thread Jeff Levy
I'd like to call a class method with array_walk(). Is this possible? class widget { function sicballs($arg){ print $arg; } } $x = new widget(); $ar = array('my','values'); array_walk($ar, ???) ... the only way I've been able to get this (simplified) code to work the way I want it

[PHP] Re: How do I do this

2001-12-13 Thread Jeff Warrington
); //$str = ereg_replace((\[[A-Z]+\]),br\\1,$str); print($str); ? Jeff Warrington I've got the following possible (example) strings: [hi] there, this is me [HI] there, this is me [ho] there, that is you [HO] there, that is you [hey] there, where are you [HEY] there, where are you and so

[PHP] Using @file

2001-12-10 Thread Jeff Lewis
would be causing this error? It works on some machines but not others? Jeff

Re: [PHP] Using @file

2001-12-10 Thread Jeff Lewis
Sorry that was a typo, it is a period, I mistyped into the email. If it cant resolve the name, what would cause that problem? Jeff - Original Message - From: Darren Gamble [EMAIL PROTECTED] To: 'Jeff Lewis' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, December 10, 2001 3:19 PM

Re: [PHP] Using @file

2001-12-10 Thread Jeff Lewis
Again, this works on some servers and othes not. Does IIS support this particular function? Jeff - Original Message - From: Darren Gamble [EMAIL PROTECTED] To: 'Jeff Lewis' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, December 10, 2001 3:32 PM Subject: RE: [PHP] Using @file

[PHP] Qukc days to time() conversion?

2001-12-05 Thread Jeff Lewis
a difference conversion between the two timestamps but don't have it to that I can find the timestamp to search on... Jeff

Re: [PHP] md5 decrypt

2001-12-05 Thread Jeff Lewis
I'm pretty sure you can't. You would have to set up an area where they can have their password reset and the new password emailed to their email address. Jeff - Original Message - From: Dan McCullough [EMAIL PROTECTED] To: PHP General List [EMAIL PROTECTED] Sent: Wednesday, December 05

[PHP] Updating parts of files without rewriting them

2001-12-01 Thread Jeff Lewis
I have a file that contains settings and there are a lot of comments in there and a lot of variables. An excerpt of the file looks like below. My question is, is it possible to change only certain variables? For example, I want to set just the db variables, is it possible for me to input the

[PHP] Question regarding mysql_connect/pconnect

2001-11-29 Thread Jeff Lewis
, there are over 100 of the threads open yet not being used. Has anyone had this or know how to combat it? Jeff -- 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

Re: [PHP] Re: AddType x-httpd-php to Root Dir ...Solution

2001-11-21 Thread Jeff Hill
, what is everyone using to authenticate access? -- especially for larger sites (I have 70K+ pages). Regards, Jeff Hill Richard Lynch wrote: Jeff Hill wrote: AddType application/x-httpd-php html All users who enter any subdirectory with a .htaccess authentication requirement get

Re: [PHP] Re: Authentication Options: Was AddType x-httpd-php ...

2001-11-21 Thread Jeff Hill
with session management, but it seems like your setup would add a heavy load? Currently, only a small portion of our pages are PHP -- those linking into databases and covering the front end negotiation. Again, your the expert, so I'll just have to do some research. Thanks for the suggestion. Jeff Fred

[PHP] Regular Expressions.

2001-11-20 Thread Jeff Lewis
~\[white\](.*?)\[/white\]~font color=FF$1/font~isg; How can I accomplish the same in PHP? $message = preg_match (\[color=([\w#]+)\](.*?)\[/color\], font color=$1$2/font) I was thinking that is how it would be done but I am getting errors. Jeff

[PHP] AddType x-httpd-php to Root Directory Fouls Authentication

2001-11-20 Thread Jeff Hill
to PHP files, so this is most likely a problem on my end, but I'm at a loss where to look. Any suggestions? Thanks for any assist. Regards, Jeff Hill -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP] Address Standardization

2001-11-20 Thread Jeff Lacy
Hello, Does anyone have a good function or ideas about address standardization? I need some form of it in a web-app I am trying to write, but I don't know where to begin. Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Newbie Question about a counter

2001-11-19 Thread Jeff Williamson
suggestion some categories that would help in my search, that would be great too. Thanks, Jeff -- 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] Version Contol for PHP site

2001-11-19 Thread Jeff Bearer
the VNC idea that I just came up with? -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.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]

Re: [PHP] Question on variable variables

2001-11-17 Thread Jeff Lewis
(/yabb\s+$tags[1]/,${$tags[1]},$curline); Jeff - Original Message - From: Jason G. [EMAIL PROTECTED] To: Jeff Lewis [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, November 17, 2001 7:02 AM Subject: Re: [PHP] Question on variable variables It seems to me that the use of a temp variable

Re: [PHP] problem with image

2001-11-17 Thread Jeff Lewis
I would think it's an HTML problem, try: echo img src=\image.gif\; or echo 'img src=image.gif'; Jeff - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 17, 2001 11:20 AM Subject: [PHP] problem with image when i want to put an image like

[PHP] Difference of queries in PHP/mySQL?

2001-11-17 Thread Jeff Lewis
membergroups WHERE 1 ORDER BY ID_GROUP); Jeff -- 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] Converting dates?

2001-11-17 Thread Jeff Lewis
if todays month and day are the same as their birthdate in the database. Jeff -- 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]

Re: [PHP] Converting dates?

2001-11-17 Thread Jeff Lewis
= floor($DIS / (60*60)); $DIS -= $hours * (60*60); $mins = floor($DIS / 60); $DIS -= $mins * 60; $diffstr= $days Days, $hours Hours, $mins Minutes, $secs Seconds; return $days; } - Original Message - From: Jack Dempsey [EMAIL PROTECTED] To: Jeff Lewis [EMAIL PROTECTED]; PHP is not a drug

Re: [PHP] Re: Fatal error: Call to undefined function: imagecreate()

2001-11-16 Thread Jeff Bearer
(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] -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] Equivilant of exit;

2001-11-16 Thread Jeff Lewis
Oh geez, do I ever feel dumb...I can NOT believe I overlooked that in the manual :( My apologies to the list. Jeff - Original Message - From: Brian Clark [EMAIL PROTECTED] To: PHP is not a drug. [EMAIL PROTECTED] Sent: Friday, November 16, 2001 6:41 PM Subject: Re: [PHP] Equivilant

[PHP] Question on variable variables

2001-11-16 Thread Jeff Lewis
I have a set of variables that are named $MYdog, $MYcat etc. and I need to do $a = dog ${MY$a} being the same as $MYdog Can this be done, and if so - how? I can't get it to work. Jeff

Re: [PHP] Question on variable variables

2001-11-16 Thread Jeff Lewis
Yes trying to get this to work: $curline = preg_replace(/yabb\s+(\w+)/,$$1,$curline); So for the current line I am looking for something like yabb copyright I want to replace that with the contents of $copyright. Can variable variables be used in regular expressions? Jeff - Original

[PHP] Fatal error: Call to undefined function: imagecreate()

2001-11-15 Thread Jeff Bearer
the configure messages let me know. -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.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]

Re: [PHP] Setting variables from a text file

2001-11-14 Thread Jeff Lewis
Someone may have a better way but you can read each line (assuming the file uses \n for a new record) and use: arrayname = explode(|,$variable_holding_line_from_file); Then you can do assign the variables as such: $name = $arrayname[0]; etc Could be a better way from the list :) Jeff

[PHP] Re: PHP/XSLT questions

2001-11-09 Thread Jeff Warrington
,XSLT_ERROR_LOG); error_log(getNiceTime().XSLT Error FILE: {$errors['URI']}\n,3,XSLT_ERROR_LOG); error_log(getNiceTime().XSLT Error LINE: {$errors['line']}\n,3,XSLT_ERROR_LOG); error_log(getNiceTime().XSLT Error: {$errors['msg']}\n,3,XSLT_ERROR_LOG); } } Jeff Hi all, I

Re: [PHP] how to echo data in a textarea

2001-11-08 Thread Jeff Gannaway
No problem: TEXTAREA NAME=Note ROWS=4 COLS=40 Here is the default text that will appear in the text box. /TEXTAREA Later, Jeff At 06:40 PM 11/8/01 -0500, Scott wrote: Could someone please show me how to echo data into a textarea field of a form? e.g. I have used the following in text fields

<    3   4   5   6   7   8   9   10   11   >