[PHP] File handling

2002-11-28 Thread Jeff
Quick one, how do i read a file for a key word, say "TEXt", and the delete the rest of the remaining file? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File handling

2002-11-29 Thread Jeff
I've got this coed but it still don't do the business: $MESSAGE_FILE="foobar.txt"; $handle=fopen("$MESSAGE_FILE","w"); $sizez= sizeof($handle); $string= 'foo'; while ( fgets($handle,$sisez) { fputs($handle,$sizez); if (strstr($handle,$st

[PHP] Re: Can't recover data in php posted with a form tag.

2002-11-29 Thread Jeff
try that jeff "Luc Roettgers" <[EMAIL PROTECTED]> wrote in message 002401c29782$8300de10$3b09c881@rolxp">news:002401c29782$8300de10$3b09c881@rolxp... I have 2 files runQuery.php and doSQL.php, where the first one is posting data entered by the user to the second page a

[PHP] Browser Language

2002-12-17 Thread Jeff
Does anybody know how to get what language (en, fr, it, etc.) the users browser is using? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Where am I?

2002-12-17 Thread Jeff
I'm using PHP 4.0.6. I am developing on Win98SE, and deployed on an Apache server. I need to find the actual path of the root directory. Windows: C:/Inetpub/wwwroot/ Apache: /home/dcent/public_html/ I've tried dirname(), basename(), etc. I just can't figure it out. Help.

Re: [PHP] Browser Language

2002-12-17 Thread Jeff
Thanks Johannes, I guess it throu me because it is a server var, not a remote var. Jeff "Johannes Schlueter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tuesday 17 December 2002 18:51, Jeff wrote: > Does anybody know how to ge

Re: [PHP] Where am I?

2002-12-17 Thread Jeff
No, I've been looking all day. I can get the information is I run the script from the root, but what if I am in a sub-dir? Jeff "Martin Towell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > try doing a phpinfo() , somewhere in

Re: [PHP] Where am I?

2002-12-17 Thread Jeff
. DOC_ROOT gives me /root/about. This can go down 'x' number of levels. How do I /root/ dir from anywhere in my site? Jeff "Martin Towell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Doing a quick scan through the output

[PHP] Re: repeat region

2002-12-18 Thread Jeff
$idx=1; echo() while(fetch_rows) { printf("%s, ID); if($idx%7=0) {echo(''} ++$idx; } "Bruce Levick" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi php'ers, I have learnt alot in the last week in regards to php and listing the rows of a table set. I nee

[PHP] Re: One php returning several htmls

2002-12-19 Thread Jeff
Go to page 1 "John Hinton" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'll go into index.php and return a portion of the html code, upon > clicking a link, I'll return another portion of the html code. > > My question is what seems to be the best/cleanest/f

[PHP] Re: Win32 php : MS Access support (odbc support)

2002-12-20 Thread Jeff
Why not connect to MDB via ODBC? "Robert Mena" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > I will have to retrieve data stored in a MDB (MS > Access) "database". > > Since this MDB file be hosted in a Windows machine I'd > like to have a CGI version

[PHP] Re: Problem with functions

2002-12-21 Thread Jeff
Whenever I have had similar errors, it usually was a syntax error in or before the function code. Just a thought. Jeff "Beauford.2002" <[EMAIL PROTECTED]> wrote in message 003601c2a840$41278ec0$6401a8c0@p1">news:003601c2a840$41278ec0$6401a8c0@p1... > Hi, > > I

[PHP] need PHP programmer

2003-02-27 Thread Jeff
s you feel appropriate. I'd like to find someone in Los Angeles area if possible but not essential. Thanks in advance, Jeff [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] backtick operator and zombie processes

2003-07-21 Thread jeff
When using the backtick operator: $rsh = split("\n", `rsh 10.0.0.2 sysstat -c 5 -xs 5 2>&1 /dev/null 2>&1 nagios1484 0.7 1.2 6416 3176 ?S15:44 0:00 \_ /usr/local/bin/php /home/jeff/at.php nagios1537 0.0 0.3 1952 848 ?

[PHP] Text field comparison

2003-12-03 Thread Jeff
I have created a few forms using post. There are certain fields that must match (i.e. username/password) before submission. Can this be accomplished using PHP? If not, an alternative would be nice. Thanks. Jeff Hunnicutt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] array question

2001-02-23 Thread Jeff
Is there better performance/speed instantiating an array with a specified size and then adding elements versus adding elements to an array with no size? Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] try catch in php?

2001-02-26 Thread Jeff
Is there any equivalent java try catch syntax in php ? 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]

Re: [PHP] Compiling Scripts

2001-02-28 Thread Jeff
Use the zend optimizer, www.zend.com . Of course it requires the people who use the script to have the optimizer as well, but at least they can't see the source. Jeff Johnny Withers wrote: > [I'm not on this list, please CC me in reply] > > Is there any way to compile a .

[PHP] server side cookies

2001-03-02 Thread Jeff
Does anyone know how to set server side cookies in php? Or can you point me to a link on how to do this. Please note that I am not asking how to set client side cookies. Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] max array size question..

2001-03-04 Thread Jeff
e" ] = array( "zip code", "state", "city", "lat", "long" ) $ZIPS[ $tempArray[ 0 ] ] = $tempArray; } Thanks in advance. 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] site root variable (for Generic Unix and Windows)

2001-03-19 Thread Jeff
se it for you: e.g. is better than than etc. A nice side effect is that you can start with static holding .html pages and transparently substitute them, a page at a time to smarter .php as you get the coding done. Of course, you need a decent web server... Regards Jeff -Ori

[PHP] PHP vs Coldfusion and ADO vd API

2001-05-07 Thread Jeff
the performance gain by using an API vs database abstraction layers, like ADO? 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] PHP vs Perl security

2001-05-15 Thread Jeff
Hi. Are there any known/posssible security issues with PHP using SSL? I'm trying to figure out if it would be better to user Perl or PHP based on their security features/flaws. I'm sure there's holes in both, but which one has the bigger hole...? Thanks, Jeff -- PHP Gener

Re: [PHP] PHP Pros/Cons, Case Examples, PHP vs Servlets

2001-05-17 Thread Jeff
Look at www.rit.edu for php examples. Right now the site has a lot of different stuff. But some key areas use php, like SIS, which allowa students to register for classes, get grade reports, etc. are all done via php Jeff Phillip Bow wrote: > Well from my experience development time with

[PHP] PGP with MySQL

2001-05-17 Thread Jeff
the their computer. Any comments or different ideas on this system? 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] rename a directory

2001-07-24 Thread Jeff
Does anyone know how to rename a directory? There is rename() for files but I couldn't find anything for directories... Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac

Re: [PHP] rename a directory

2001-07-24 Thread Jeff
Thanks! Next time I won't assume it won't work... Jeff Tom Carter wrote: > on unix I think it should work for both.. can't say I know on windows.. > > also, why not try exec or system and just run the normal system command for > it? > - Original Messag

[PHP] register_globals and passing variables

2007-03-14 Thread Jeff
Ok, all I am new to PHP & MySQL. (please don't let this scare you off) I had my site hosted with Gisol.com and due to their very poor service and tech support I left them for Lunarpages.com who so far have a better service and their tech support is excellent!! But my pages won't pass variables a

[PHP] Passing Variables

2007-03-14 Thread Jeff
Ok, all I am new to PHP & MySQL. (please don't let this scare you off) I had my site hosted with Gisol.com and due to their very poor service and tech support I left them for Lunarpages.com who so far have a better service and their tech support is excellent!! But my pages won't pass variables any

[PHP] Getting last record ID created from DB

2007-03-16 Thread Jeff
Is there a way to get the last Record # created by the DB. Example: User_ID = auto_increment f_name = varchar l_name = varchar e-mail = varchar b_date = varchar pic = varchar Since user_id is an auto_inc field I submit it as a NULL, also I haven't started the code for a picture yet either so I

[PHP] Passing variables

2007-03-21 Thread Jeff
I want to thank you all for clearing me up on setting the register_globals to ON issue!! I have refrained from doing so and my code is running great with the $_GET. I am having NO trouble passing my "single" variable to the next page using.. echo "Edit"; as when the next page that load actuall

Re: [PHP] Passing variables

2007-03-21 Thread Jeff
Thank you Chris! "Chris" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jeff wrote: >> I want to thank you all for clearing me up on setting the >> register_globals to ON issue!! I have refrained from doing so and my code >> is running great

[PHP] Intermittent PHP operation

2004-06-17 Thread Jeff
Hello all... I am new to php and the news group so sorry if I don't provide all of the info you need. Just ask and I will post more. My question is this... it appears like my php is operating intermittently when connecting to mysql. I have the die statements in my connection code... but the string

[PHP] Why is PHP Segmentation Faulting?!?!?!?

2004-06-19 Thread Jeff
Hey all Total PHP newbie here. I posted a day ago about php working 'intermittently'. I was told to check my apache logs which was a good hint cause php is seg faulting. I've broken it down to my connection script to my database and I ran it in gdb to see if it would tell me anything. Since I

[PHP] Why is PHP Segmentation Faulting?!?!?!? --- ANOTHER HINT

2004-06-19 Thread Jeff
I don't know if this helps... but when I comment out all of the print functions it seg faults at a totally different spot... SCRIPT!!! GDB RUN!!! (gdb) run dbConnect.php The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /usr/bin/ph

[PHP] Background Image

2007-08-28 Thread Jeff
is how I am displaying my background image. This is creating problems for different screen resolutions. What would be the appropriate way to display this code so the image would not scroll, resize to the users current screen resolutions and just the page content would scroll? TYIA! -- PHP

[PHP] Text Color

2008-02-28 Thread Jeff
Please, can anyone tell me how to produce colored text? For instance if I wanted to following code to be printed as red text what would I need to add to they code? Thanks in advance. echo "".$myrow["char_name"]."".$myrow["char_level"]."".$class["class"]."".$myrow["kara"]."".$myrow["karateam"]."

[PHP] Coding...

2006-11-18 Thread Jeff
if it was user_name, and the default (Main) database is username .. That I Have to rename all the php files that have user_name to simply username. If anyone is willing to help out with the project I'm working on with another programmer? Hopefully being very cost effective .. or free :) :)

[PHP] GD, and GD JPEG

2006-11-25 Thread Jeff
Hi there. I installed a script but it requires GD and GD JPEG I downloaded GD, and GD JPEG But how the heck do I install it? Thanks guys -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] GD.. con't

2006-11-25 Thread Jeff
Do I have to compile it with a C program? What programs do people suggest I use to make PHP Files? Is there a simple C program that will create basically whatever you want to do, without knowing the language? I recall studying it in school, vaguely recalling the code... Thanks, Jeff

[PHP] Creating a unique index ID

2006-03-13 Thread Jeff
ave conflicts due to replication of the database servers. Anyone have any techique they use for creating unique ID field entries in a db table? I was thinking maybe using a random 3 digit number and a unix timestamp? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

RE: [PHP] Creating a unique index ID

2006-03-13 Thread Jeff
> -Original Message- > From: Jared Williams [mailto:[EMAIL PROTECTED] > Sent: Monday, March 13, 2006 10:16 > To: 'Jeff'; php-general@lists.php.net > Subject: RE: [PHP] Creating a unique index ID > > > > > > Hey all, > > > > I&

[PHP] Strange math results

2006-03-28 Thread Jeff
I've got a strange problem here. I'm subtacting one variable from another, both of type "double" and if they are the same, instead of getting a result of 0, I get something like -9.99200722163E-016 Is this a bug or am I doing something wrong here? Thanks, Jeff -- PHP

RE: [PHP] Strange math results

2006-03-28 Thread Jeff
> -Original Message- > From: Satyam [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 28, 2006 17:23 > To: [EMAIL PROTECTED]; Jay Blanchard > Cc: Jeff; php-general@lists.php.net > Subject: Re: [PHP] Strange math results > > > Indeed, when doing floating point

[PHP] PHP CLI not present

2006-04-19 Thread Jeff
Hey all, I'm running PHP Ver 4.4.1 on a redhat ES3 system. It appears that the CLI is not running or not present. I thought it was installed by default in versions >= 4.3.x. If I run /usr/local/bin/php -v at the command line I get nothing. How do I get the PHP CLI working? Thank

RE: [PHP] PHP CLI not present [SOLVED]

2006-04-19 Thread Jeff
> -Original Message- > From: Jeff [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 19, 2006 16:02 > To: php-general@lists.php.net > Subject: [PHP] PHP CLI not present > > > Hey all, > > I'm running PHP Ver 4.4.1 on a redhat ES3 system. It appear

[PHP] Preg_match() regex

2006-04-21 Thread Jeff
Hey all, Regex pattern question here. I need to match on "Foo-F00", "Foo-foo", "foo-Foo". I know in perl you can use the /i to specify "case insensitive" matching. Is there any such switch that can be used in preg_match() in PHP? Thanks, Jeff -- PHP

[PHP] Avoiding user refresh of pages with forms

2006-05-03 Thread Jeff
didn't read it. In any event, I need to make this more user proof. Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] "!" in front of a variable?

2006-02-17 Thread Jeff
nput: function($var1,$var2,!$var2,$var3->cc,$var3->bcc); The question I have is on the 3rd input variable, what does the "!" in front of $var2 do to that variable? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] What does a "?" represent

2006-02-17 Thread Jeff
> -Original Message- > From: Shaunak Kashyap [mailto:[EMAIL PROTECTED] > Sent: Friday, February 17, 2006 15:22 > To: php-general@lists.php.net > Subject: RE: [PHP] What does a "?" represent > > > I'm not sure if these completely answer your question but > they might get you started: >

[PHP] Does this If statement make sense?

2006-02-21 Thread Jeff
ebpath."ticket.php?id=".$ticket->id; if ($reply->comment) { $condition=" AND followups.employee<>'$reply->employee'"; } Thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] phplib phplib-7.2b is severely inconsistent

2001-02-06 Thread Jeff
rd, "password="); $this->Link_ID=pg_pconnect($cstr); if (!$this->Link_ID) { $this->halt("Link-ID == false, pconnect failed"); } } } // ! WHERE IS THE DAMN RETURN VALUE???! //-

[PHP] php vs perl

2001-02-14 Thread Jeff
Is there any reason why php is better than perl for shopping carts and/or product catalogs? 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

[PHP] automatic php execution

2001-02-14 Thread Jeff
Is there any way to get a php script to automatically run, say every night at 2am? 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

[PHP] Parsing XML files, logic involved...

2002-11-27 Thread Jeff Lewis
I have to write a script to parse XML files we receive daily. The XML files are all individual stories but there is an index page that comes with each batch that contains blocks of information for each story as follows (below). I need to run through this index file and for each story I need to g

RE: [PHP] File handling

2002-11-29 Thread Jeff RingRose
Justin, Option b. delete all AFTER "foo", I.E. truncate the file directly after "foo". Leaving "foo" and all the data before "foo" untouched. Jeff -Original Message- From: Justin French [mailto:[EMAIL PROTECTED]] Sent: 29 November 2002 04:29 To: J

[PHP] formating numbers & date

2002-12-03 Thread Jeff Bluemel
I'm curious how I change the number of decimal places displayed, and also changing the date / time structures before displaying them with an echo command. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] formating numbers & date

2002-12-03 Thread Jeff Bluemel
ok - I've been looking through this... the number_format is working great (actually I finally found that function right before I read your response), but the date format doesn't seem to allow me to pass it a date. Jeff "Kevin Stone" <[EMAIL PROTECTED]> wrote in mes

Re: [PHP] formating numbers & date

2002-12-04 Thread Jeff Bluemel
I'm displaying a date that I get from a informix database query - the date format is as follows; 2002-12-04 23:21:49 I want it to display as 12/4/2002 11:21:49 PM Jeff "Jason Wong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... &g

Re: [PHP] formating numbers & date

2002-12-04 Thread Jeff Bluemel
thanks... I will play with this, and let ya know if I have a problem... looks easy enough. Jeff "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > on 05/12/02 11:15 AM, Justin French ([EMAIL PROTECTED]) wrote: > &g

Re: [PHP] formating numbers & date

2002-12-04 Thread Jeff Bluemel
worked great... the other method may be a little quicker, but this code is easier for me to understand, and although it is used in a loop there really is no visible difference in how quickly it displays. thanks, Jeff "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL

[PHP] Allowed memory size exhausted

2002-12-06 Thread Jeff Schwartz
I can't replace the variable with a smaller version of itself. So, if I can't write out the whole thing and can't section it either, what can I do? Jeff - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

[PHP] imap_open with port other than 110

2002-12-11 Thread Jeff Schwartz
ode worked fine with port 110 but now it can't open a stream. I've tried it with "INBOX", putting the port next to the mailserver, etc. but nothing works when the port isn't 110. I'd appreciate any ideas. Thanks, Jeff - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

[PHP] problems with jsp & php

2002-12-11 Thread Jeff Bluemel
I cannot figure out where my problem is with the following script. I know I've used this syntax successfuly in the past. when I take out the variables, and just set link to something without using php then this works. know when I click on the form that activated the button it does nothing. funct

[PHP] Re: Problems connecting to a MySQL database

2002-12-12 Thread Jeff Bluemel
have you tried connected to the mysql database from a prompt before using php??? "Eric" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Greetings! > > I have a script which attempts to connect to the database in three different > segments of code. > > I'm using

[PHP] Re: problems with jsp & php

2002-12-12 Thread Jeff Bluemel
somebody has to have an answer to this... "Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I cannot figure out where my problem is with the following script. I know > I've used this syntax successful

Re: [PHP] Re: problems with jsp & php

2002-12-12 Thread Jeff Bluemel
yes this is javascript - for some reason I thought jsp was another term for javascript so I apologize. Let me try these code changes, and see how this shakes out. Jeff "Chris Wesley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I&

[PHP] is there php equiv left() and right() functions?

2002-12-18 Thread Jeff Bluemel
I have a string that will look like the following; data1|data2 now - I need to put data1 in a variable, and data2 in another variable. I've found the functions strlen, and strpos, but I can't figure how to grab this data. thanks, Jeff -- PHP General Mailing List (http://www.ph

[PHP] Re: is there php equiv left() and right() functions?

2002-12-18 Thread Jeff Bluemel
thanks... Jeff "Matthew Gray" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Jeff Bluemel wrote: > > > I have a string that will look like the following; > > > > data1|data2 > > > > now - I ne

Re: [PHP] is there php equiv left() and right() functions?

2002-12-18 Thread Jeff Bluemel
works great thanks, Jeff "Philip Olson" <[EMAIL PROTECTED]> wrote in message Pine.BSF.4.10.10212190240490.68100-10@localhost">news:Pine.BSF.4.10.10212190240490.68100-10@localhost... > > You want explode(), something like: > > list($a, $b) =

Re: [PHP] forum?

2002-12-24 Thread Jeff Lewis
http://www.yabbse.org - Original Message - From: "Fatih Üstündað" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTECTED]> Sent: Tuesday, December 24, 2002 9:51 AM Subject: [PHP] forum? > do you know freeware forum in php I can easly use? > > thanks. > fatih ustundag > > -- > PHP Gener

[PHP] Problems getting PHP to work (IIS5/XP Pro)

2002-12-31 Thread Jeff Lewis
ve tried some of the suggested methods of fixing this but have not been able to solve it. Does anyone have a link or some info on how to fix this? Jeff

[PHP] way to insert timer / pause?

2003-01-02 Thread Jeff Bluemel
if there a command, or a way I can put say a 5 second, or a 10 second pause which will make it so it will output x amount of html, and then continue? or if I can pause it will it not display any of the html until the entire script has ran? -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] way to insert timer / pause?

2003-01-02 Thread Jeff Bluemel
s assign the output to a variable and echo the variable in the end of the script. Regards, Sumarlidi E. Dadason SED - Graphic Design _ Tel: 896-0376, 461-5501 E-mail: [EMAIL PROTECTED] website: www.sed.is -Original Message- From: Jeff Bluemel [mailto:[EMAIL PRO

Re: [PHP] way to insert timer / pause?

2003-01-02 Thread Jeff Bluemel
thanks for the reply Mike... Jeff "Michael J. Pawlowsky" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I'm not sure I totally understand... but... > > to pause... sleep(10); i.e. 10 second pause Everything sto

Re: [PHP] way to insert timer / pause?

2003-01-02 Thread Jeff Bluemel
in highlighted text instead (and flashing if I can figure that out). Jeff "Andrew Brampton" <[EMAIL PROTECTED]> wrote in message 002b01c2b2d6$37fba7a0$4fc40650@andrew">news:002b01c2b2d6$37fba7a0$4fc40650@andrew... > I beleive you can use output buffering to stop anything f

Re: [PHP] way to insert timer / pause?

2003-01-02 Thread Jeff Bluemel
s inserted... > so someone would open a tag and not close it to make the whole page blink. > > Anyways... the way I would do it today is to make an animated gif with the text blinking and just load that. > > Mike > > > > > *** REPLY SEPARATOR *** >

[PHP] PEAR extension (mailparse) not working

2003-01-03 Thread Jeff Schwartz
I've just upgraded to PHP 4.3.0 and am unable to get the PEAR extension mailparse to work. I've installed mailparse via PEAR but PHP doesn't seem to see it. It doesn't show up in phpinfo(). What do I need to do to activate it? Thanks, Jeff --

[PHP] query join 2 databases? or match up arrays?

2003-01-03 Thread Jeff Bluemel
ok - here's my problem. I have some data in mysql, and other data in informix. here is my application. this is for distributors of prepaid phone cards. prepaid phone cards have 3 numbers they can be identified by pin number (which is unique), or by batch & serial number. the batch number is bas

[PHP] Re: query join 2 databases? or match up arrays?

2003-01-03 Thread Jeff Bluemel
't be too frequent. hoping there's another solution I'm not aware of, or over looked. Jeff "Philip Hallstrom" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Any chance you can do a somewhat frequent export from inform

[PHP] Re: query join 2 databases? or match up arrays?

2003-01-03 Thread Jeff Bluemel
#x27;m thinking about is just not giving the distributors access to this information, but restricting it to users with permissions to the entire batch only. thanks, Jeff "Philip Hallstrom" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > H

[PHP] Re: query join 2 databases? or match up arrays?

2003-01-03 Thread Jeff Bluemel
is, or make both options selectable. this isn't a released product so if they didn't get the access to this feature it wouldn't be the end of the world. they are already getting a ton more features with this product then they would otherwise have, which is nothing. Jeff "Philip Hal

[PHP] Bit of a logical question (what values to use for a graph)

2003-01-03 Thread Jeff Lewis
loads. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Function to catch all mySQL errors?

2003-01-04 Thread Jeff Lewis
exit; } I'd like to be able to call a function that does this instead of adding this if statement after all my queries...so...anyone do something similar? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] anyway to do a 'whos online' from session variable?

2003-01-07 Thread Jeff Bluemel
use? it would be useful to be able to know who's currently online. this is a website that will not be published, and is used for a VERY limited number of people. Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] anyway to do a 'whos online' from session variable?

2003-01-07 Thread Jeff Bluemel
ot perfect) a file > then read in a serialised array and update then write out and unlock. > > > > HiTCHO has Spoken! > Timothy Hitchens (HiTCHO) > [EMAIL PROTECTED] > > > -Original Message- > > From: Jeff Bluemel [mailto:[EMAIL PROTECTED]] > > Sent:

Re: [PHP] anyway to do a 'whos online' from session variable?

2003-01-07 Thread Jeff Bluemel
o cleaned up via the garbage collection system > controlled via php.ini > > > > HiTCHO has Spoken! > Timothy Hitchens (HiTCHO) > [EMAIL PROTECTED] > > > -Original Message- > > From: Jeff Bluemel [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, 8 January 20

[PHP] Looping through directories?

2003-01-08 Thread Jeff Lewis
e loop to whip through each directory. Would I do a foreach on the array I just created? Any help would be greatly appreciated. I need to be able to access both the directory name and index name. Jeff

Re: [PHP] anyway to do a 'whos online' from session variable?

2003-01-08 Thread Jeff Bluemel
IL PROTECTED] > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, 8 January 2003 1:11 PM > > To: Timothy Hitchens (HiTCHO) > > Cc: 'Jeff Bluemel'; [EMAIL PROTECTED] > > Subject: RE: [PHP] anyway to d

[PHP] Suggestions on FAQ application?

2003-01-10 Thread Jeff Lewis
I've checked Hotscripts and I can't findanything relatively new or that suits my needs. I was wondering if anyone uses a FAQ program that they could suggest? Jeff

Re: [PHP] Suggestions on FAQ application?

2003-01-10 Thread Jeff Lewis
em to run rampant on here lately... Jeff - Original Message - From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]> To: "'Jeff Lewis'" <[EMAIL PROTECTED]>; "'php-gen'" <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 9:39

[PHP] imap_open failure

2003-01-13 Thread Jeff Schwartz
e tried. imap_last_error() returns: Can not authenticate to POP3 server Has anyone else run into this? Is there a way to see more about the interaction between imap_open and the pop server? Jeff - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Re: [PHP] Windows PHP vs Linux PHP

2003-01-15 Thread Jeff Lewis
Set your php.ini file and error reporting as such: error_reporting = E_ALL & ~E_NOTICE See if that helps with the undefined notice. jeff - Original Message - From: "Beauford.2002" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent:

[PHP] Curl Problem

2003-01-17 Thread Jeff Hatcher
How do you retrieve a session cookie with curl? How do you trick a page to make it think that it was submit from within the domain? www.domainname.com/index.php -> www.domainname.com/logincheck.php (validates the from address) Any help would be greatly appreciate. -- PHP General Mailing List (ht

[PHP] Warning: ifx_connect: E [SQLSTATE=IX 001 SQLCODE=-1829]

2003-01-20 Thread Jeff Bluemel
I get this error on reboot, and I keep getting this error unless I restart apache. now, I've tried putting pauses in to make apache wait to start (using scripts & sleep commands), but I keep having this problem unless I log into the system & restart it. does anybody know the possible cause to thi

[PHP] Re: Warning: ifx_connect: E [SQLSTATE=IX 001 SQLCODE=-1829]

2003-01-20 Thread Jeff Bluemel
/odbc.ini export INFORMIXSERVER=m_srv "Jeff Bluemel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I get this error on reboot, and I keep getting this error unless I restart > apache. now, I've tried putting pauses in to

[PHP] Comparing two objects

2003-01-21 Thread Jeff Moore
I'm trying to compare two objects with == and === and getting the following error message: Fatal error: Nesting level too deep - recursive dependency? The object has several child objects which hold a reference to the parent in them. I want to check the reference in the child object to make su

[PHP] mail() function not working in PHP 4.2.3

2003-01-23 Thread Jeff Pauls
Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path = If the server that I'm working on is using QMAIL for it's email do I have to change a setting somewhere? Or does mail() not work in version 4.2.3? Any help would be great. Thanks, Jeff

Re: [PHP] Good way to organize code using classes???

2003-01-28 Thread Jeff Warrington
dynamic multiple inheritence. You can look here for info: http://www.php.net/manual/en/ref.objaggregation.php Jeff > "@ Nilaab" <[EMAIL PROTECTED]> wrote... : > >> Hello everyone, >> >> I want to be able to use objects to create my future pages. My

Re: [PHP] Get command line output

2003-01-28 Thread Jeff Warrington
On Thu, 23 Jan 2003 00:14:07 +0800, Jason Wong wrote: either use PHP to parse out the entirety of the output or make your command pipe its output to other commands such as sed & awk before it gets to PHP. > w | tail +3 | awk '{print $1,$3,$5}' Jeff > On Thursday 23 Janu

  1   2   3   4   5   6   7   8   9   10   >