[PHP] Replacing Unicode characters

2003-04-04 Thread Jeff Bearer
for it always gave me the same decimal, 195. So that idea wasn't going to work either. I'm out of ideas, any input would be appriciated. Thanks. -- Jeff Bearer, RHCE Webmaster, PittsburghLIVE.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] HTML mail being sent with mail() not working for some people

2003-03-27 Thread Jeff Lewis
in Outlook comes across just fine, perhaps it's the anti abuse headers causing the issue? Has anyone heard or had experience with this? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTML mail being sent with mail() not working for some people

2003-03-27 Thread Jeff Lewis
A bit more information on this...here is the code being used: $headers = MIME-Version: 1.0\r\n; $headers .= Content-type: text/html; charset=iso-8859-1\r\n; /* additional headers */ $headers .= From: Jeff [EMAIL PROTECTED]\r\n; $message = test; mail ('[EMAIL PROTECTED]', 'Quote of the Week

[PHP] Selecting date range from database

2003-03-26 Thread Jeff Lewis
the following query: SELECT * FROM members WHERE member_date = '01-Mar-03' AND member_date = '26-Mar-03' ORDER BY member_date; Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cookbook/recipes sites?

2003-03-24 Thread Jeff D. Hamann
that contains cookbook turn up all kinds of code repositories... Jeff. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Hidden new line markers?

2003-03-24 Thread Jeff Lewis
. However, when I import it into Excel, it keeps treating the br / as a nl. Am I missing something? I tried removing \r and \n with str_replace and I have used trim but it still doesn't work how I'm expecting it to. Does anyone have any ideas on this? Jeff

Re: [PHP] Hidden new line markers?

2003-03-24 Thread Jeff Lewis
it down to what was causing the issue. Jeff - Original Message - From: CPT John W. Holmes [EMAIL PROTECTED] To: Jeff Lewis [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, March 24, 2003 3:03 PM Subject: Re: [PHP] Hidden new line markers? nl2br() doesn't remove the newlines, it simply adds

Re: [PHP] Hidden new line markers?

2003-03-24 Thread Jeff Lewis
Ah! That did it, it's all on Windows and when I tried removing things I tried at one point removing the \r as i thought the nl2br changed the \n to br / Thanks a lot John :) Jeff - Original Message - From: CPT John W. Holmes [EMAIL PROTECTED] To: Jeff Lewis [EMAIL PROTECTED]; [EMAIL

[PHP] Parsing help needed, regular expression perhaps?

2003-03-12 Thread Jeff Lewis
I am grabbing this page and trying to grab the stats on the page: http://slam.canoe.ca/StatsHKN/BC-HKN-STAT-TORONTOSTAX-R.html The code I had worked just fine before but now that there are players that have multiple lines, it's not working as I'd like it to. Below is the code that worked and I

RE: [PHP] Re: PHP NNTP w/o IMAP?

2003-03-05 Thread Jeff Hatcher
pear.php.net search for nntp. There are some problems with the code in certain secure newsgroup but overall seems to work well. It will definitely let you see how it is done. Thanks, Jeff -Original Message- From: Philip Hallstrom [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 4

[PHP] Debugging fsockopen errno 0?

2003-03-04 Thread Jeff Lewis
I've been trying to use fsockopen and it fails to get by if (!fp) and returns an errno of 0. In the documentation it says that indicates an error initializing the socket. Is there anyway I can debug this or find out what is going wrong? Jeff

[PHP] PHP scripts and the GPL/other licenses

2003-03-01 Thread Jeff Lewis
it as something else. So I am wondering what people here prefer to use for a license, is there anyway to combat these kinds of people, etc. Why do I ask now? Because it has happened again, only this time, the person is actively marketing this new script. Jeff -- PHP General Mailing List (http

Re: [PHP] PHP scripts and the GPL/other licenses

2003-03-01 Thread Jeff Lewis
And they aren't, that is our main issue... So with the GPL, someone can change say...10 lines and rename the scripts and distribute it as their own? Jeff - Original Message - From: Leif K-Brooks [EMAIL PROTECTED] To: Jeff Lewis [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday

[PHP] Redirecting STDOUT to a file pointer

2003-02-28 Thread Jeff Bearer
with an fputs. Can this be done in PHP? -- Jeff Bearer, RHCE Webmaster, PittsburghLIVE.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Redirecting STDOUT to a file pointer

2003-02-28 Thread Jeff Bearer
Argh, I was thinking about the problem backwards, redirect the fp to stdout is the way to do it. if(!$argv[1]) $argv[1] = php://stdout; $fp = fopen($argv[1], w); fputs($fp,blah\n); fclose($fp); On Fri, 2003-02-28 at 15:11, Jeff Bearer wrote: I'm working on a shell script in php. The script has

[PHP] need PHP programmer

2003-02-27 Thread Jeff
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] Auto Incrementing a Variable name?

2003-02-25 Thread Jeff Pauls
='2; $result_update2 = mysql_query($query_update2) or die(Query failed); $query_update3 = UPDATE table SET name=' $name3', WHERE person_id='3; $result_update3 = mysql_query($query_update3) or die(Query failed); etc. Anybody? There has to be a way of doing this... Thanks, Jeff

Re: [PHP] Auto Incrementing a Variable name?

2003-02-25 Thread Jeff Pauls
$name_3_ff neither of these work. $name_$i_ff $name_.$i._ff Having something after causing more of a problem. First of all PHP can't find the value of $name_ and _ff just breaks it more. Jeff - Original Message - From: Rick Emery [EMAIL PROTECTED] To: Jeff Pauls [EMAIL PROTECTED

Re: [PHP] Auto Incrementing a Variable name?

2003-02-25 Thread Jeff Pauls
: Jimmy Janis Joe Now I can do something like this for all my updates for ($i = 1; $i = 3; $i++) { $query_update = UPDATE table SET name='${$arr_name[$i]}' WHERE name_id='$i'; $result_update = mysql_query($query_update) or die(Query failed); } Thanks for all the help! Jeff

[PHP] SMS messages and the From field...

2003-02-22 Thread Jeff Lewis
I have also tried to set this before and then after the mail() call: ini_set(sendmail_from, $from_email); ini_restore(sendmail_from); Has anyone experienced this same thing? If so, did you manage to get it fixed? Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] MAC address user recognition?

2003-02-21 Thread Jeff Lewis
So how are most people handling the situation you mentioned below? After getting verfified in a https, how is the session information being passed back to the http? Jeff - Original Message - From: Ernest E Vogelsinger [EMAIL PROTECTED] To: Jason Sheets [EMAIL PROTECTED] Cc: Leo Spalteholz

Re: [PHP] processing status page

2003-02-17 Thread Jeff Schwartz
it via the URL. Or, you can store the info in a database table and have the results page access it from there. Hope this helps, Jeff - Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day

[PHP] imap_append

2003-02-14 Thread Jeff Schwartz
I'm unable to append using imap_append. I can access the account without a problem but the append fails. Any ideas? ?php $mailserver = supercalendar.com; $port = 120; if ($stream = imap_open({.$mailserver./pop3:$port/notls},$login,$password)): if

[PHP] Exotic Assign operators what do they do.

2003-02-13 Thread Jeff Bearer
The PHP manual neglects to tell us what these assignment operators are, can somebody point me to what they mean? = |= ^= ~= = = just curious that's all -- Jeff Bearer, RHCE Webmaster, PittsburghLIVE.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] php javascript drop down menu???

2003-02-12 Thread Jeff Bluemel
thanks Jason, between this the other suggestions I was emailed I believe I can make this all work like I need to. Jeff Jason Wong [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wednesday 12 February 2003 08:47, Jeff Bluemel wrote: OK... I have a

Re: [PHP] Directory size

2003-02-11 Thread Jeff Pauls
)) $size += dirsize($path); elseif (is_file($path)) $size += filesize($path); } closedir($dh); $formated_size = $size /1000; return $formated_size; } $getFolderSize = dirsize(/files/personal); Jeff - Original Message - From: Marek Kilimajer

[PHP] php javascript drop down menu???

2003-02-11 Thread Jeff Bluemel
OK... I have a dynamic menu system, and I have to maintain a dynamic menu. however, the amount of content I need in my menu is going to be rapidly outgrown. I believe my only solution is to deploy a javascript drop down menu (users have to be javascript compatible anyway for some other issues in

[PHP] fopen problem

2003-02-08 Thread Jeff Schwartz
I'm having trouble with a basic file write and can't figure out why. It must have something to do with the program the code is in because if I run that same code as a separate program, as the same user, and on the same directory, it works fine. The program is listening on a port with:

[PHP] mail() vs sockets

2003-02-07 Thread Jeff Busby
would be appreciated. Cheers, Jeff.

[PHP] odbc_prepare

2003-02-07 Thread Jeff Hatcher
I am using MSSQL. I need to speed up a page. I have 3 count queries and one data query that gets loop through by the # of items * # of weeks that I need to return. Basically 460 as a general idea. I thought about using the prepare statement, something I have notice in pear. But its not support

[PHP] more efficient alternative to mail()

2003-02-07 Thread Jeff Busby
would be appreciated. Cheers, Jeff.

[PHP] more efficient alternative to mail()

2003-02-07 Thread Jeff Busby
would be appreciated. Cheers, Jeff.

[PHP] Efficient alternative to mail()

2003-02-07 Thread Jeff Busby
be appreciated. Cheers, Jeff. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail() vs sockets

2003-02-07 Thread Jeff Busby
- From: Paul Roberts [EMAIL PROTECTED] To: Jeff Busby [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, February 07, 2003 5:34 PM Subject: Re: [PHP] mail() vs sockets just post once - Original Message - From: Jeff Busby [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February

Re: [PHP] mail() vs sockets

2003-02-07 Thread Jeff Busby
medon't...but don't lecture me about proper form on the news group plz. - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 07, 2003 9:38 PM Subject: Re: [PHP] mail() vs sockets On Saturday 08 February 2003 06:39, Jeff Busby wrote

Re: [PHP] Html forms

2003-02-03 Thread Jeff Pauls
I wouldn't break it up into 3 lines of code. try: print Input type=\text\ name=\foo\ value=\$Foo\; or echo 'input type=text name=foo value='.$Foo.''; Jeff - Original Message - From: Todd Barr [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 8:59 AM Subject

[PHP] fread vs fgets

2003-02-02 Thread Jeff Schwartz
. What's the best way to get this data? Thanks, Jeff - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

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

2003-01-28 Thread Jeff Warrington
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 goal is to use methods of classes to make the original front

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 January 2003 00:10, Greg

[PHP] Re: Good XML/XSLT mailing list?

2003-01-28 Thread Jeff Warrington
On Wed, 22 Jan 2003 10:21:36 -0600, Chris Boget wrote: This is a good QA site: http://www.dpawson.co.uk/xsl/sect2/sect21.html and XSLT-list here: http://www.dpawson.co.uk/xsl/list.html Jeff Sorry for the OT post but I know many of you use the above. I subscribed the the PHP-XML mailing

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

2003-01-23 Thread Jeff Pauls
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

[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

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

[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 make apache wait to start (using

[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

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: Wednesday, January 15, 2003 12:52 PM Subject: [PHP

[PHP] imap_open failure

2003-01-13 Thread Jeff Schwartz
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

[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
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 PM Subject: RE: [PHP] Suggestions on FAQ application? It is a 30 minute write... not that hard

[PHP] Looping through directories?

2003-01-08 Thread Jeff Lewis
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
o:[EMAIL PROTECTED]] Sent: Wednesday, 8 January 2003 1:11 PM To: Timothy Hitchens (HiTCHO) Cc: 'Jeff Bluemel'; [EMAIL PROTECTED] Subject: RE: [PHP] anyway to do a 'whos online' from session variable? On Wed, 8 Jan 2003, Timothy Hitchens (HiTCHO) wrote: Hmm... yes you coul

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

2003-01-07 Thread Jeff Bluemel
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
d update then write out and unlock. HiTCHO has Spoken! Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] -Original Message- From: Jeff Bluemel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 8 January 2003 9:08 AM To: [EMAIL PROTECTED] Subject: [PHP] anyway to do a 'whos online' from

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

2003-01-07 Thread Jeff Bluemel
lled via php.ini HiTCHO has Spoken! Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] -Original Message- From: Jeff Bluemel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 8 January 2003 10:04 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] anyway to do a 'whos online' from session

[PHP] Function to catch all mySQL errors?

2003-01-04 Thread Jeff Lewis
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] 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 - Do you Yahoo

[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

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

2003-01-03 Thread Jeff Bluemel
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 informix into mysql or the other way around so all yo

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

2003-01-03 Thread Jeff Bluemel
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]... Hmm... what about querying the informix

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

2003-01-03 Thread Jeff Bluemel
. 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 Hallstrom [EMAIL PROTECTED] wrote in message [EMAIL

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

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

2003-01-02 Thread Jeff Bluemel
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 PROTECTED]] Sent: 3

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 stops... not just output you can buffer ev

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

2003-01-02 Thread Jeff Bluemel
it 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 from being displaye

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

2003-01-02 Thread Jeff Bluemel
ot 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 *** On 02/01/2003 at 9:52 PM Jeff Bluemel wrote: highlighted text instead (and flashing if I ca

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

2002-12-31 Thread Jeff Lewis
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] php app frameworks?

2002-12-27 Thread Jeff D. Hamann
What application frameworks are avail for 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

[PHP] monster form and compression?

2002-12-27 Thread Jeff D. Hamann
sent, or any method to ensure the page will display correctly? 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

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 General Mailing

[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 keep getting errors in my script t

[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 of PHP with

[PHP] Re: One php returning several htmls

2002-12-19 Thread Jeff
A HREF=index.php?PageID=1Go to page 1/A 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

[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.php.net

[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 need to put data1 in a variable, and data2 in another variable. I'

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) = explode('|', $string); Regards, Phil

[PHP] Re: repeat region

2002-12-18 Thread Jeff
$idx=1; echo(TR) while(fetch_rows) { printf(TD%s/TD, ID); if($idx%7=0) {echo('/TRTR'} ++$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

[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. Jeff -- PHP

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 get what language (en, fr,

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 there it'll tell you

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 of phpinfo() on my machine, I can

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

[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 successfuly in the past. when I take out the v

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'm pretty sure every

[PHP] imap_open with port other than 110

2002-12-11 Thread Jeff Schwartz
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.

[PHP] Allowed memory size exhausted

2002-12-06 Thread Jeff Schwartz
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

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]... On Wednesday 04 December

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: Hi, ? $date = '2002-12-

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

[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 message 01ff01c29b0b$381e2380

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: Jeff; [EMAIL PROTECTED] Subject: Re: [PHP] File

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,$string)){ break; } } Any ideas? Jeff Ringrose [EMAIL

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

2002-11-29 Thread Jeff
FORM action='doSQL.php' method='POST' 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 th

[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

[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

[PHP] how to pass multiple $_GET variables

2002-11-19 Thread Jeff Bluemel
I'm using the following syntax, but evidently it's not correct. HREF=action.html?action=deactivate?confirm=yes thanks, Jeff -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: mailing by SMTP

2002-11-19 Thread Jeff Bluemel
I used this link for sendmail on linux, and it works great... you'll have a very hard time beating it. Jeff Manuel Lemos [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, On 11/20/2002 08:18 AM, Siamak wrote: hi how can i send a mail by a smt

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