[PHP] display errors for developers only?

2002-05-20 Thread Jeff Bearer
In the php.ini file I have display_errors = Off, how would I configure the server, or the application to display the errors for specific hosts, the developers? -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com 2002 EPpy Award, Best Online U.S. Newspaper -- PHP General Mailing List (http

[PHP] Using the pdf tags.

2002-05-22 Thread Jeff Hatcher
Does anyone know of a way to rotate text in a pdf? I can rotate an image and rotate a page but can not seen to rotate text. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ini_set('display_errors',1) not working.

2002-05-22 Thread Jeff Bearer
and writes it to the log. Does anybody have any ideas on why this isn't working? -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com 2002 EPpy Award, Best Online U.S. Newspaper -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Using the pdf tags.

2002-05-22 Thread Jeff Hatcher
om: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 1:39 PM To: Jeff Hatcher Cc: PHP-General Subject: Re: [PHP] Using the pdf tags. On Wed, 22 May 2002, Jeff Hatcher wrote: > Does anyone know of a way to rotate text in a pdf? > I can rotate an image and rotate a page but

RE: [PHP] Using the pdf tags.

2002-05-22 Thread Jeff Hatcher
ts of attributes like the current color, scale, skew, rotation, etc. So you can call that, then make any changes, draw anything that needs to be affected by those changes, then call PDF_restore, and you're back to normal. You can nest those as much as necessary, too. miguel On Wed, 22 May 2002, Je

Re: [PHP] ini_set('display_errors',1) not working.

2002-05-22 Thread Jeff Bearer
Update, I can see the errors if I make a fatal error. but not if it's a parse error. in the php.ini I'm using the default error_reporting: E_ALL & ~E_NOTICE I sill have no explanation as to why. On Wed, 2002-05-22 at 11:24, Jeff Bearer wrote: > I have the following i

[PHP] specifying a different php.ini at webserver start

2002-05-23 Thread Jeff Bearer
How do you tell apache/php module to use a different php.ini file? I want to start a second instance of apache with a different php configuration. -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com 2002 EPpy Award, Best Online U.S. Newspaper -- PHP General Mailing List (http://www.php.net

Re: [PHP] specifying a different php.ini at webserver start

2002-05-23 Thread Jeff Bearer
solved, that doesn't appear possible, so I used a virtual host with different php_flag and php_value options. On Thu, 2002-05-23 at 10:02, Jeff Bearer wrote: > How do you tell apache/php module to use a different php.ini file? > > I want to start a second instance of apache wi

[PHP] matching two form fields function?

2002-05-23 Thread Jeff Field
{ $err_text[] = "$name must match."; } return $str1; } ----- Any help is appreciated! Thanks! Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] using array to declare globals in function?

2002-05-24 Thread Jeff Field
Anyone know how to declare globals in a function from an array? The following doesn't seem to work: foreach($_POST as $key => $value) global $form_var[$key]; Thanks for any help! Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 4.2.1 Vars

2002-05-25 Thread Jeff Lewis
) > 0) { extract($arr, EXTR_OVERWRITE); } } Somebody else posted this a few weeks back and it has worked for me until I can convert everything over... Jeff - Original Message - From: "Kurth Bemis (List Monkey)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTE

[PHP] regex help

2002-05-26 Thread Jeff Field
for TLD's that operate within other root servers (there's always sumthin'). Anyways, Any help with the above is certainly appreciated! Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Intermediate "Searching..." screen.

2002-05-28 Thread Jeff Bearer
termediate "Searching..." screen. I don't have a good idea on how to do this and I'm looking for some ideas or directions. How do I show one thing while the search is running and another when the search is complete and also not loose the returned record set? -- Jeff Bearer, RHC

[PHP] Failed opening '' for inclusion...

2002-05-30 Thread Jeff Lewis
, when I run my scripts I get this error: 2: Failed opening '' for inclusion (include_path='.;c:\php4\pear') I can NOT find anywhere that this php4\pear is set! Would appreciate any help that could be offered. Jeff -- PHP General Mailing List (http://www.php.net/) To unsu

Re: [PHP] Failed opening '' for inclusion...

2002-05-30 Thread Jeff Lewis
Yes and that isn't in there (php4\pear). I looked in the php.ini in windows and in php folders... Jeff - Original Message - From: "Martin Towell" <[EMAIL PROTECTED]> To: "'Jeff Lewis'" <[EMAIL PROTECTED]>; "PHP General" <[EMAIL

Re: [PHP] Failed opening '' for inclusion...

2002-05-30 Thread Jeff Lewis
ff to update the scripts! Jeff - Original Message - From: "Martin Towell" <[EMAIL PROTECTED]> To: "'Jeff Lewis'" <[EMAIL PROTECTED]>; "PHP General" <[EMAIL PROTECTED]> Sent: Thursday, May 30, 2002 8:33 PM Subject: RE: [PHP] Failed o

Re: [PHP] timestamp confusion

2002-02-20 Thread Jeff Sheltren
Well, what you are missing is that those are the number of seconds *on that machine* since 1970... so actually, if both of your clocks were set correctly, you should be getting the *same* number returned by time(). Hope that clears it up a little. Jeff At 03:18 PM 2/21/2002 +1100, Justin

Re: [PHP] bbcode

2002-02-22 Thread Jeff Sheltren
Why not download a forum, such as phpbb (www.phpbb.com) and check out their code? =) Jeff At 03:41 PM 2/22/2002 -0500, Leif K-Brooks wrote: >I'm planning to make a forum built into my site. I know all of the forums >have bbcode, and I doubt they all programmed it themselves

[PHP] Date Question: finding 1st Monday of sept.

2002-02-22 Thread Jeff Bearer
y") Is there a syntax that I'm missing or is there a way of fooling the function to thinking it is September 1st so when I ask for next Monday it will give me the correct date? -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com 2002 EPpy Award, Best Online U.S. Newspaper -- PHP General M

[PHP] Re: Date Question: finding 1st Monday of sept.

2002-02-22 Thread Jeff Bearer
Nevermind, I figured it out, didn't see that you could pass a timestamp to strtotime. Thanks. On Fri, 2002-02-22 at 14:22, Jeff Bearer wrote: > Hello, > > I'm trying to find out how to calculate some dates, and the part I'm > having problems with is finding the

[PHP] problem while loop.

2002-02-24 Thread Jeff Bearer
quot;; /* omitted code that finds the next $event_date */ } -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com 2002 EPpy Award, Best Online U.S. Newspaper -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: ? re phpwebhosting.com - still in business??

2002-02-24 Thread Jeff Lewis
They are very questionable. Have had heard many complaints from clients and associates about these guys shutting down sites without warning, anything that starts to get a few hits seems to be an issue with them... Again, you get what you pay for people :) Jeff - Original Message - From

Re: [PHP] problem while loop.

2002-02-24 Thread Jeff Bearer
t comparing the same expression as the while loop works properly? On Sun, 2002-02-24 at 13:09, Steven Walker wrote: > Jeff, > > The problem is most likely with incrementing $event_data. It's hard to > say without seeing the rest of the code. > > Steven J. Walker > Walker Effe

Re: [PHP] problem while loop.

2002-02-24 Thread Jeff Bearer
Well, I found the problem. it wasn't happening where I thought it was. which brings up another question I'll have to ask in a new subject about output buffering. On Sun, 2002-02-24 at 18:00, Jeff Bearer wrote: > It's all returning proper dates and the proper timestamps when I c

[PHP] using a mysql temporary table.

2002-02-25 Thread Jeff Bearer
vent_title FROM tmp_events ORDER BY event_title; But I get an error like: 1064: You have an error in your SQL syntax near '; INSERT INTO tmp_events' If I echo my SQL statement and paste it into mySQL the query works fine. Any suggestions that you can offer would be great. -- Jeff B

Re: [PHP] using a mysql temporary table.

2002-02-25 Thread Jeff Bearer
DOH, I always figure it out after I post to the mailing list, the user didn't have create table privileges, that's why it didn't persist in my first attempt to do this with separate queries. On Mon, 2002-02-25 at 10:34, Jeff Bearer wrote: > Hello, > > I'm tryin

[PHP] Freeing up locked table?

2002-02-25 Thread Jeff Lewis
Sometimes when using PHP/mySQL I have encountered a locked table. I have no idea why it occurs, I am not explicitly locking the tables but sometimes in phpmyadmin it says "in use". Is there a way to "unlock" this table using PHP? Jeff -- PHP General Mailing List (htt

Re: [PHP] elseif without else

2002-02-28 Thread Jeff Sheltren
"legitimate", ie. there is no reason you *have* to have an else statement. Jeff At 07:32 PM 2/28/2002 -0500, Erik Price wrote: >For any of you PHP legal eagles: > >I rtfm'd, but the "elseif" page doesn't say -- is it okay to have > >if ($x) { >// do someth

Re: [PHP] Upgrading PHP

2002-02-28 Thread Jeff Bearer
-virus system (http://www.grisoft.com). > Version: 6.0.325 / Virus Database: 182 - Release Date: 2/19/2002 > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Jeff Bearer, RHCE Webmaster PittsburghLIVE.com 2

Re: [PHP] How to decompress .bz2 file

2002-02-28 Thread Jeff Sheltren
Search on google! Here's the bzip2 homepage with links to download a windows executable: http://www.digistar.com/bzip2/ Jeff At 10:55 AM 3/1/2002 +0530, dharmavatar wrote: >Hi, >Can any one tell me how to decompress .bz2 file,I am using WINDOWS-2000 so >what are the steps? >

Re: [PHP] hmm.. more trouble with telnet.

2002-03-01 Thread Jeff Sheltren
x27;find' (type 'man find') for more info, or you can email your host and just ask them :) Jeff At 10:27 AM 3/1/2002 -0700, you wrote: >Hello, > >When I type in 'whereis mysql' it says 'mysql:' so what does that mean? > >-Sean -- PHP General M

[PHP] Problem with global variables?

2002-03-01 Thread Jeff Lewis
ed on several sites... Did anyone have the same thing or has anyone ever heard of this happening? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP - Tutorial

2002-03-02 Thread Jeff Oien
I have a site here that may be helpful: http://www.webdesigns1.com/php/ Jeff Oien > Hello all, > I am a beginner of php/mysql and am looking for good books for beginners > and mostly good online php tutorials. Anybody have any suggestions? > > > -- > PHP Gener

Re: [PHP] CheckBoxes....

2002-03-02 Thread Jeff Sheltren
"c", and "d", and submit a form with "a" and "c" checked, then the values of $a and $c will be "on", and $b and $d will have no values. It's sometimes good to use the isset() function on checkbox items. In this case, isset($a) would retur

[PHP] PHP returns this error... (1030: Got error 28 from table handler)

2002-03-05 Thread Jeff Lewis
corrupt so i have repaired the tables. Has anyone else received this error? If so, how did you solve it? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP returns this error... (1030: Got error 28 from table handler)

2002-03-05 Thread Jeff Lewis
More digging has turned up that the disk space is low or running out...so I will look into that. However, if anyone has any tips I'd greatly listen :) Jeff - Original Message - From: "Jeff Lewis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, Mar

Re: [PHP] accessing data from classes

2002-03-13 Thread Jeff Warrington
storing the query results and then access that variable from outside. so, class foo { var $results; function bar($query) { while { $this->results[] = $row; } } } Then, from outside the class, you can access the variable. $bar = new foo()

[PHP] rand()

2002-03-13 Thread Jeff Sittler
I am wanting to use rand() to generate a number between 33-90 OR 125-146. Is there a way to do this? I don't want any numbers before 33 or between 91-124 or after 146. Could someone point me in the direction I need to look to accomplish this. Thanks, Jeff -- PHP General Mailing List

Re: [PHP] rand()

2002-03-13 Thread Jeff Sittler
the min and max would work if I wanted the number between 33 and 146, but I am wanting to specify two ranges, not just one. Please RTFP Jeff "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > On Thursday 14 March 2002 13:31, Jeff Sittler wrote: >

[PHP] Re: Connecting Form result to PHP query?

2002-03-13 Thread Jeff Sittler
submits the first page. On the results page you can reference the value of "subject1" as $subject1 Hope that helps. Jeff "Phplist" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On first page, there is a form where >

[PHP] header("Location:") problem with Netscape

2002-03-14 Thread Jeff Bearer
compression in output buffering, maybe there is a situation where Netscape 4 & 6 may not use the gzip compression, hence causing the output buffering not to work correctly? But if that was the case I should see the error about headers already been written. Any suggestions would be great, thanks

[PHP] Populating Dropdown with MYSQL data

2002-03-15 Thread Jeff Dale
I want to have a dropdown list populated with data from my MySql server. Any examples or websites that could help is appreciated. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mktime on W2K?

2002-03-16 Thread Jeff Oien
I use this on a Unix server to get yesterday's date if it's a Saturday: if ($day == '6') { $today1 = date("Y:m:d", mktime(0,0,0,$month,$day-1,$year)); } But on my Windows 2000 machine it thinks it's 1999:12:05. How can I do this on Windows? Thanks. Jeff Oien

Re: [PHP] Phpfx, what is it?

2002-03-20 Thread Jeff Lewis
You can also give YaBB SE a shot http://www.yabb.info - Original Message - From: "Chuck "PUP" Payne" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Wednesday, March 20, 2002 7:11 PM Subject: [PHP] Phpfx, what is it? > Hi, > > I was sourgeforge.net looking at the PHP st

[PHP] Array in a Loop Question

2002-03-26 Thread Jeff Hatcher
I have a form that gets repeated depending on number of members in a group(1 form surrounds all members). I separate the entries by assigning a count value to the names of the inputs (Ex. ). Does anyone know how I can pull the values back out of the $_POST[]? Example of ideal scenario that does n

RE: [PHP] Array in a Loop Question

2002-03-26 Thread Jeff Hatcher
for ($i=0;$i<$_POST[count];$i++) { echo $_POST['address' . $i] . ''; } Concanate array key 'address' with $i This works fine and I also can do the address[] but my ultimate result is to put this in the database. So address='$_POST['address' . $i]' fails and address='$_POST[address][$i]' f

[PHP] Mystery Binary Characters in My Files

2002-04-06 Thread Jeff Levy
or "How I Learned To Stop Breathing and Oxygenate By Osmosis"... Hello, I'm having a problem, hopefully the experts in this group can help me around it. I read in the contents of an old mysql database, and made XML files out of the data contained in it. The total job came out to about 6800 file

Re: [PHP] Mystery Binary Characters in My Files

2002-04-06 Thread Jeff Levy
I already do an htmlentities/specialchars on input data, but some of these characters are still creeping in... is there any way, on fread(), to strip out these boolsh*t chars? On Sat, 06 Apr 2002 10:04:11 -0500, heinisch wrote: > At 06.04.2002 08:36, you wrote: > >>I read in the contents of a

[PHP] Besy way to "ban" a user?

2002-04-08 Thread Jeff Lewis
this method or does anyone already use a pretty solid method? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] simple function question.

2002-04-10 Thread Jeff Bearer
7;s possible I'd like to do it with one line something that I'd think it would be like this. my_function($bob,if($a=='H') return 'Y'; ); I know that return doesn't work, and echo wouldn't work either, can you even put a if statement inside a function cal

[PHP] RPM apache+php v. source apache+php

2002-04-11 Thread Jeff Bearer
This is a tough question to ask because I know there will be a fare share of people who just want to flame Red Hat, but this just might start a healthy discussion. What is your opinion of using Red Hat's Apache and PHP binaries instead of compiling from source? If Red hat is too specific for thi

Re: [PHP] pages compressed with zlib

2002-04-11 Thread Jeff Bearer
r. Does anybody know of pros & cons of using this > configuration? Which browsers support zlib compression? > > Thanks, > Levy > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Jeff Bearer, RHCE Webmast

Re: [PHP] chechking to see if a directory already exists

2002-04-11 Thread Jeff Bearer
Hosting * Internet & Intranet Applications Development * > > /* > No one wants war. > -- Kirk, "Errand of Mercy", stardate 3201.7 > */ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php &

Re: [PHP] IMPORTANT question for anyone using XSLT

2002-04-12 Thread Jeff Levy
Have you considered using sablotron's Excellent Named Buffer support? I do this all the time. ie: $addl_buffers['MySecondBuffer'] = "Blah" $addl_buffers['MyThirdArbitraryBuffer'] = ... etc etc etc... then, in stylesheet, for instance: etc, etc. On Mon, 01 Apr 2002 11:08:12 -0500, Erik P

[PHP] Logic/method question...

2001-10-22 Thread Jeff Lewis
like: if $selection="Merchandise" then { select all ads where code="2" AND code="5" AND code="123" AND code="567" etc etc } Jeff

[PHP] Making "Setup" Files Through A Web-Based Form

2001-10-25 Thread Jeff Gannaway
data. Problems: That seems like A LOT of MySQL queries to run. Would it be a noticeable resource hog?? Thanks for your advice! -Jeff Gannaway ___ Save 15% on 2002 Calendars and Holiday Cards! http://www.AvantGifts.com Discount Code: hoppe

[PHP] MKDIR Permission Denied

2001-10-25 Thread Jeff Gannaway
Results in... MkDir failed (Permission denied) Any thoughts? -Jeff Gannaway ___ Save 15% on 2002 Calendars and Holiday Cards! http://www.AvantGifts.com Discount Code: hopper22ct Offer Good Through October 31, 2001

Re: [PHP] MKDIR Permission Denied

2001-10-25 Thread Jeff Gannaway
How do I set permissions for a certain user (ie nobody) for a directory? If I do this, won't anyone on teh server be able to write to that directory? Thanks, Jeff At 10:39 AM 10/25/01 -0700, Kurt Lieber wrote: >On Thursday 25 October 2001 10:08, you wrote: >> > $Galle

[PHP] Setting A MySQL Column to NO DUPLICATES

2001-10-25 Thread Jeff Gannaway
success. I wish their site was a good as PHP.net. Later, Jeff Ganaway ___ Save 15% on 2002 Calendars and Holiday Cards! http://www.AvantGifts.com Discount Code: hopper22ct Offer Good Through Octobe

[PHP] Setting Up Secure Pages with PHP

2001-10-26 Thread Jeff Sharpe
links or info on how I can learn how to do this, I would really appreciate it. Thanks, Jeff _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] Excel to MySQL

2001-10-27 Thread Jeff Gannaway
-+ You see, when MySQL runs the LOAD DATA, new records are indicated by a NEW LINE. You'll want to check your ACCESS table for new lines before creating the export file. Later, Jeff Gannaway ___ S

[PHP] FTP or Telnet files/directories with PHP?

2001-10-27 Thread Jeff Gannaway
ermissions too. Would this work? Where do I start? Thanks! -Jeff Gannaway ___ Save 15% on 2002 Calendars and Holiday Cards! http://www.AvantGifts.com Discount Code: hopper22ct Offer Good Through October 31, 2001 _

[PHP] How Do I Re-Compile PHP4

2001-10-28 Thread Jeff Gannaway
'm using a Linux/Apache system. How do I re-compile??? I assume it's fairly easy since I read so many messages that say "just recompile PHP with --with-blah-blah-blah". Thanks! -Jeff Gannaway ___ Save 15% on 2002 Calen

[PHP] Problem writing to file, can't find the error

2001-11-01 Thread Jeff Lewis
I have this code in my program but I fail to find the error, does anyone see it after a quick glance?

[PHP] 2 Forms On 1 Page

2001-11-03 Thread Jeff Oien
If I have two forms on one page that both use the same script how do I get only the fields on one of the forms to be submitted? If that makes any sense. Jeff Oien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: [PHP] 2 Forms On 1 Page

2001-11-03 Thread Jeff Oien
> On Saturday 03 November 2001 11:28 am, you wrote: > > If I have two forms on one page that both use the same script how > > do I get only the fields on one of the forms to be submitted? If that > > makes any sense. > > Jeff Oien > > as long as you enclose

[PHP] Number_Format Question

2001-11-03 Thread Jeff Oien
I have a number like this 0.51 and I would like it to display without the leading 0. How can I do this? Thanks. Jeff Oien -- 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] how to echo data in a textarea

2001-11-08 Thread Jeff Gannaway
No problem: Here is the default text that will appear in the text box. 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: >" size=3 maxlength=3>

[PHP] Re: PHP/XSLT questions

2001-11-09 Thread Jeff Warrington
quot;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 am working with the XSLT functions in PHP 4.0.6. I'm trying to trap >

Re: [PHP] using mail

2001-11-12 Thread Jeff Lewis
I COULD be wrong but wasn't Kurt the guy who posted frequent questions like this when he was starting off? :) Jeff - Original Message - From: "Kurt Lieber" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 12, 2001 5:55 PM Subject: Re: [PHP]

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 lis

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

2001-11-15 Thread Jeff Bearer
anybody wants to see 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] Re: Fatal error: Call to undefined function: imagecreate()

2001-11-16 Thread Jeff Bearer
gt; Regards, > Johan > > -- > 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 Pi

[PHP] Equivilant of exit;

2001-11-16 Thread Jeff Lewis
Is there an equivilant to Perls exit function? I am calling a fatal error function in PHP and I want it to end the script, just want to end the whole program if this is called. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

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

[PHP] Question on variable variables

2001-11-16 Thread Jeff Lewis
constant prefix. So 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("//","$$1",$curline); So for the current line I am looking for something like I want to replace that with the contents of $copyright. Can variable variables be used in regular expressions? Jeff - Origina

Re: [PHP] Question on variable variables

2001-11-17 Thread Jeff Lewis
ce("//",${$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 variable

Re: [PHP] problem with image

2001-11-17 Thread Jeff Lewis
I would think it's an HTML problem, try: echo ""; or echo ''; 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 ima

[PHP] Difference of queries in PHP/mySQL?

2001-11-17 Thread Jeff Lewis
group FROM 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 Lewi

[PHP] Cache Control

2001-11-18 Thread Jeff Sittler
;) . " GMT"); header ("Cache-Control: no-cache, must-revalidate"); header ("Pragma: no-cache"); I don't see an option where I can tell it to cache for say 5 minutes. Any help would be appreciated. Jeff -- PHP General Mailing List (http://www.php.net/)

[PHP] Newbie Question about a counter

2001-11-19 Thread Jeff Williamson
ies. If you can 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
t. And what do you think about 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]

[PHP] Regular Expressions.

2001-11-20 Thread Jeff Lewis
can I accomplish the same in PHP? $message = preg_match ("\[color=([\w#]+)\](.*?)\[/color\]", "$2") 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
x27;ve seen others with 404 redirects 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 addi

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

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

2001-11-21 Thread Jeff Hill
, as seems to be the case, 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 a

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

2001-11-21 Thread Jeff Hill
iar enough 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 sug

[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

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

[PHP] Qukc days to time() conversion?

2001-12-05 Thread Jeff Lewis
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"

[PHP] Using @file

2001-12-10 Thread Jeff Lewis
dmin.php ln 43) What 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

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, De

[PHP] Re: How do I do this

2001-12-13 Thread Jeff Warrington
In <[EMAIL PROTECTED]>, Chris Boget wrote: Either of these should work: $str = preg_replace("/(\[[A-Z]+\])/","\\1",$str); $str = ereg_replace("(\[[A-Z]+\])","\\1",$str); e.g.: \\1",$str); //$str = ereg_replace("(\[[A-Z]+\])",&quo

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

Re: [PHP] PHP / SSL

2001-12-21 Thread Jeff Gilchrist
nd work great 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.ne

<    2   3   4   5   6   7   8   9   10   11   >