[PHP] Regex Masters: Please inspect this regex- Pulling urls out of page

2001-03-07 Thread Matt Friedman
I'm putting together a regex to pull all of the urls out of a web page. Not the href tag, but just the url part of that tag. Here's what I've come up with: preg_match_all('/<.*href\s*=\s*(\"|\')?(.*?)(\s|\"|\'|>)/i', $html, $matches); foreach($matches[2] as $m) print "$m\n"; All regex masters p

[PHP] to however designed PHP.NET - che.e.e.e.ers!

2001-03-07 Thread Maxim Maletsky
Hi over there! I have just started up my Opera browser and my lovely home page wasn't there, it has completely disappeared from it... I've seen some light - it was the new PHP.NET design!!! Whoever made it has done a great job, it was some time I wished this change, it became so speedy and the

Re: [PHP] test - can someone please reply?

2001-03-07 Thread [EMAIL PROTECTED]
okay I do reply here Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself" - Original Message - From: Maxim Maletsky <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, March 08, 2001 1:29 AM S

RE: [PHP] test - can someone please reply?

2001-03-07 Thread Maxim Maletsky
ha ha ha . Maxim Maletsky -Original Message- From: David Robley [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 08, 2001 3:13 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] test - can someone please reply? On Thu, 8 Mar 2001 16:32, [EMAIL PROTECTED] wrote: >

Re: [PHP] test - can someone please reply?

2001-03-07 Thread David Robley
On Thu, 8 Mar 2001 16:32, [EMAIL PROTECTED] wrote: > this is a test for echo. Heh. If you read this, Matt, your email address is wrong :-( His address responded with Hi. This is the qmail-send program at usaexpress.net. I'm afraid I wasn't able to deliver your message to the following address

Re: [PHP] test - can someone please reply?

2001-03-07 Thread David Robley
On Thu, 8 Mar 2001 16:32, [EMAIL PROTECTED] wrote: > this is a test for echo. this is a test for echo. .ohce rof tset a si siht -- David Robley| WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet

[PHP] test - can someone please reply?

2001-03-07 Thread matth
this is a test for echo. -- 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] last inserted record

2001-03-07 Thread John Meyer
Assuming that you do have a primary key, how can you grab the last record you inserted? Can you use @@IDENTITY, or something like that? "Christian Reiniger" <[EMAIL PROTECTED]> wrote in message 01030310383101.00589@chrisbig">news:01030310383101.00589@chrisbig... On Saturday 03 March 2001 05:16, y

[PHP] File uploads cease to function

2001-03-07 Thread Cody Caughlan
Hello, I have been using the PHP 4.0.3 file upload mechanism for about 9 months now. The other day it ceased to work. In the location where I copy the uploaded file too, a file is created with the appropriate name, but its file size is 0. All file functions, return true on it is_uploaded_file()

[PHP] Changing urls

2001-03-07 Thread Todd Heim
Trying to make a script that gets another and resends it. Begin proxy.php The script works great, as long as the line beginning $pagedata is commented out. But, I would like to use that line to convert all absolute links in the page to also go through the proxy.php Also, any ideas of how to p

Re: [PHP] News Server (news.php.net)

2001-03-07 Thread David Robley
On Thu, 8 Mar 2001 15:43, Yasuo Ohgaki wrote: > FYI > For those who do not know about news server. > (I didn't know there is a news server for mailing lists.) > > news://news.php.net > > I think it is better to be mentioned in www.php.net support or any > other appropriate places. > > Yasuo Ohgaki

Re: [PHP] News Server (news.php.net)

2001-03-07 Thread Philip Olson
Options are great! Btw, this information can be found here : http://www.php.net/support.php Regards, Philip On Thu, 8 Mar 2001, Yasuo Ohgaki wrote: > FYI > For those who do not know about news server. > (I didn't know there is a news server for mailing lists.) > > news://news.php.net >

[PHP] News Server (news.php.net)

2001-03-07 Thread Yasuo Ohgaki
FYI For those who do not know about news server. (I didn't know there is a news server for mailing lists.) news://news.php.net I think it is better to be mentioned in www.php.net support or any other appropriate places. Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubsc

[PHP] The coolest function in the world

2001-03-07 Thread Thomas Deliduka
I knew PHP was awesome, and I have seen some awesome functions. I've been doing PHP for a few years now and I didn't even know this existed: extract(): http://www.php.net/manual/en/function.extract.php This is SO COOL. I just had to share my joy. -- Thomas Deliduka IT Manager ---

[PHP] Twin Cities User Group

2001-03-07 Thread Chris Moewes-Bystrom
Please pardon the intrusion, but I wanted to drop a not eto the Twin Cities PHP User Group member to let them know that aloing with the move of PHPUserGroups.org to a hosting service, that mailin glist was moved also. Unfortuneately in the move, all the members addresses were lost. So please e

Re: [PHP] mysql_fetch_array()

2001-03-07 Thread David Robley
On Thu, 8 Mar 2001 14:03, Deependra B. Tandukar wrote: > Greetings! > > I am using PHP and MySQL in RedHat 6.0. > I have used mysql_fetch_array() to display the datas in web page but > all the columns are printed twice. What can be the wrong with my code: > $connection=mysql_connection(.

RE: [PHP] mysql_fetch_array()

2001-03-07 Thread Tyler Longren
"; while ($row=mysql_fetch_array($sql_result)) { print ""; foreach ($row as $field) print "$field"; print ""; print "Get it"; print ""; print ""; } print ""; ?> Try that, you tried to call $mysql_query, when you needed to call mysql_query. In your code, $m

RE: [PHP] new php.net look

2001-03-07 Thread Jason Murray
> The older look was neat to show off to people re: pop up menus, etc., > but this is a real speed demon, and will be much more useful for > searching around. I agree. Very smart, smooth and clean! Jason -- Jason Murray [EMAIL PROTECTED] Web Design Team, Melbourne IT Fetch the comfy chair! -

[PHP] Oracle CLOB and PHP

2001-03-07 Thread Bob Kakalec
Hello, I am trying to execute a simple SELECT from Oracle 8.1.6 in a php4.0.3pl1 page. $sql_get_info="SELECT ID, Title, CLOB FROM Employee WHERE ID=37"; if ($cursor = ora_do($connection, $sql_get_info)) { $valid_opp_title = ora_getcolumn($cursor, 0);//id

[PHP] mysql_fetch_array()

2001-03-07 Thread Deependra B. Tandukar
Greetings! I am using PHP and MySQL in RedHat 6.0. I have used mysql_fetch_array() to display the datas in web page but all the columns are printed twice. What can be the wrong with my code: "; while ($row=mysql_fetch_array($sql_result)) { print ""; foreach ($row as $field) pr

Re: [PHP] Auto Prepend/Append

2001-03-07 Thread chris
On Tue, Mar 06, 2001 at 12:28:33PM -0600, Boget, Chris wrote: > > >Is it possible to use the auto prepend/append directives to > > >prepend/append particular files only to files with a particular > > >extension? > > I don't believe you can do this directly with PHP but you > > probably can with >

[PHP] new php.net look

2001-03-07 Thread Michael Kimsal
To the PHP.net design person/people: THANK YOU! I'm tempted to send this as an HTML mail with THANK YOU in big bold flashing letters. :) The older look was neat to show off to people re: pop up menus, etc., but this is a real speed demon, and will be much more useful for searching around. Tha

[PHP] Error in www.php.net (To site admin)

2001-03-07 Thread Yasuo Ohgaki
There is a error on www.php.net http://www.php.net/manual/browse-errata.php Fatal error: Call to undefined function: spc() in /local/Web/sites/phpweb/manual/browse-errata.php on line 39 I don't know where to report I hope www.php.net admin read this post. Regards, Yasuo Ohgaki

[PHP] Announcement: Smarty template engine 1.3.1 released

2001-03-07 Thread Monte Ohrt
Homepage: http://www.phpinsider.com/php/code/Smarty/ ChangeLog for 1.3.1: - document first, last, index_prev, index_next (Monte) - added 'first' and 'last' section properties. (Andrei) - split out compiling code to separate class for faster template execution time (Monte) -

[PHP] Problems with dynamic HTML tables on large pages

2001-03-07 Thread Eric Nielsen
This is follow up to two earlier postings by me. I would have replied to the thread(s) but my digest does not seem to be arriving. The earlier links are http://marc.theaimsgroup.com/?l=php-general&m=98399367205538&w=2 http://marc.theaimsgroup.com/?l=php-general&m=98391734022011&w=2 I believe I

[PHP] php vs php3 weirdness

2001-03-07 Thread Darren Ward
Hi All, Can anyone think of a reason that php files would work but anything named php3 would attempt to download? Another wierd thing is that test.php3?mode=phpinfo works but test.php3 does not (but should) If you rename test.php3 to test.php it does work. httpd.conf section: AddType applicati

Re: [PHP] Microtime math and display

2001-03-07 Thread Chris Lee
start = mtime(); } function reset() { $all_vars = get_object_vars($this); foreach($all_vars as $pos => $val) if ($pos != 'error') unset($this->$pos); } function time($text = '') { $this->break = mtime(); $time = ($this->break - $this->start) / 10; echo

[PHP] ldap_search()

2001-03-07 Thread Mike Tuller
Sorry about this, but I don't know much about LDAP, and the book I have doesn't tell me much. I was shown the following script to grab information from an LDAP server and display the results in a phonebook type format. The problem I am running into I think is that I work for a school dist

Re: [PHP] String indexing with braces

2001-03-07 Thread php3
Addressed to: Toby Butzon <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Toby Butzon <[EMAIL PROTECTED]> Wed, 07 Mar 2001 18:07:29 -0500 > > Greetings, > > I know there's been some discussion of adding support for string > indexing (that would be exclusive to strings [

RE: [PHP] populate select box with contents of a file?

2001-03-07 Thread Sean R. Bright
Take a look at dir() and readdir(). Those along with echo() should help you out. Sean > -Original Message- > From: Jerry Lake [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 07, 2001 7:40 PM > To: Henrik Hansen; php general > Subject: [PHP] populate select box with contents of a fi

Re: [PHP] populate select box with contents of a file?

2001-03-07 Thread David Robley
On Thu, 8 Mar 2001 11:10, Jerry Lake wrote: > I would like to be able to populate > the options of a select box with the > contents of my images directory online > so I can select the image I want to > go with the form I am filling out. > what functions do I need to look into > to figure this one

Re: [PHP] populate select box with contents of a file?

2001-03-07 Thread Andrew Halliday
Check out XVI. Directory functions and XX. Filesystem functions of the PHP manual. - Original Message - From: "Jerry Lake" <[EMAIL PROTECTED]> To: "Henrik Hansen" <[EMAIL PROTECTED]>; "php general" <[EMAIL PROTECTED]> Sent: Thursday, March 08, 2001 11:10 AM Subject: [PHP] populate select

[PHP] populate select box with contents of a file?

2001-03-07 Thread Jerry Lake
I would like to be able to populate the options of a select box with the contents of my images directory online so I can select the image I want to go with the form I am filling out. what functions do I need to look into to figure this one out? Jerry Lake- [EMAIL PROTECTED] Web Desig

[PHP] Microtime math and display

2001-03-07 Thread Todd Cary
I want to check the time for queries. I have $starttime = getmicrotime(); $endtime = getmicrotime(); $delta = $endtime - $starttime; How do I display the seconds/milliseconds? Many thanks.. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://ww

Re: [PHP] exec as another user

2001-03-07 Thread Henrik Hansen
And be careful what you put a +s on, so it can't be exploited -- Henrik Hansen - Original Message - From: "Jon Snell" <[EMAIL PROTECTED]> To: "php general" <[EMAIL PROTECTED]> Sent: Thursday, March 08, 2001 12:44 AM Subject: RE: [PHP] exec as another user > It would be a much better idea

Re: [PHP] Dynamic Links..

2001-03-07 Thread Richard S. Crawford
At our company we solve this problem by including the second page in a frameset. That's what I would recommend for you. At 07:39 PM 3/7/01 -0400, Ashwin Kutty wrote: >No, not the URL and therefore not HTTP_REFERER.. > >This is how it is.. > >My_Script.php redirects to Someone_Elses_Dynamically

RE: [PHP] do..while(0) not staying true

2001-03-07 Thread ..s.c.o.t.t.. [gts]
or do .. while (0==0); > -Original Message- > From: Jim Winstead [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 07, 2001 2:23 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] do..while(0) not staying true > > > trick question, right? 0 is false. you want do { ... } while(1); > >

Re: [PHP] exec as another user

2001-03-07 Thread Jason Brooke
Or install the cgi version and use it in conjunction with suExec alongside the module version. jason - Original Message - From: "Jon Snell" <[EMAIL PROTECTED]> To: "php general" <[EMAIL PROTECTED]> Sent: Thursday, March 08, 2001 9:44 AM Subject: RE: [PHP] exec as another user > It wou

RE: [PHP] exec as another user

2001-03-07 Thread Jon Snell
It would be a much better idea to set the +s flag on the executable you are trying to run, and make sure it's owned by the other user. -Original Message- From: Henrik Hansen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 1:10 PM To: php general Subject: Re: [PHP] exec as anoth

[PHP] Dynamic Links..

2001-03-07 Thread Ashwin Kutty
No, not the URL and therefore not HTTP_REFERER.. This is how it is.. My_Script.php redirects to Someone_Elses_Dynamically_Generated_Page.html Someone_Elses_Dynamically_Generated_Page.html has 'link' to another Page. I want My_Script.php to grab the of the 'link' and redirect to it, right after

RE: [PHP] on the list yesterday regarding mysql time

2001-03-07 Thread Jerry Lake
Thanks, that worked great. Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -Original Message- From: John Huggins [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 2:49 PM To: Jerr

Re: [PHP] do..while(0) not staying true

2001-03-07 Thread Jim Winstead
trick question, right? 0 is false. you want do { ... } while(1); jim -- 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] database

2001-03-07 Thread Pat
Hi I need some scripts written in PHP to interface with a mySQL database. There will be a need for a high level of security. Anyone interested in making some money ? Call me Regards Pat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

[PHP] do..while(0) not staying true

2001-03-07 Thread David Minor
Maybe I'm just reading the documentation incorrectly, but when I set up a: do { // loop until the test condition is satisfied then break [code] if ($i > 1) break; [code] } while(0); it just goes through once. I got around it by creating a true statement to test at the end "while ($i = $i);" an

[PHP] String indexing with braces

2001-03-07 Thread Toby Butzon
Greetings, I know there's been some discussion of adding support for string indexing (that would be exclusive to strings [because it wouldn't apply to arrays] and therefore more efficient) using curly braces ($someStr{0}, $someStr{1}, etc.). Has this been implemented, and, if so, in what version

Re: [PHP] are sessions single threaded?

2001-03-07 Thread Bill Rausch
At 4:04 PM -0800 3/6/01, Ernest E Vogelsinger wrote: >At 00:56 07.03.2001, Bill Rausch said: >[snip] >>What I mean is, if a user is connected to a php page that uses sessions and >>that is involved in a time consuming operation (say 20 seconds or more) >>bef

[PHP] Oracle Function Calls

2001-03-07 Thread Richard S. Crawford
Ah! My bad! I sent this question out with the wrong subject line. My apologies to everyone that I confused. At 01:07 PM 3/7/01 -0800, Richard S. Crawford wrote: >I desperately need to know whether it is possible to call an Oracle >function in PHP. For example... > >$functionResult=hubins($n

RE: [PHP] on the list yesterday regarding mysql time

2001-03-07 Thread John Huggins
Forget about the PHP functions and do this: $query = "INSERT INTO tablename "; $query .= "SET field1 = '$field1', "; $query .= "field2 = '$field2', "; $query .= "datesubmitted = NOW(); Let MySQL simply do this for you with the NOW() SQL command. > -Original Message- > From: Jerry Lake

[PHP] RE: on the list yesterday regarding mysql time

2001-03-07 Thread Jerry Lake
never mind anything below my signature I forgot to erase it, damn non-thread capable email... Jerry Lake- [EMAIL PROTECTED] Web Designer Europa Communications - http://www.europa.com Pacifier Online - http://www.pacifier.com -- PHP General Mailing List (http://www.php.net/) To

php-general Digest 7 Mar 2001 22:37:49 -0000 Issue 553

2001-03-07 Thread php-general-digest-help
php-general Digest 7 Mar 2001 22:37:49 - Issue 553 Topics (messages 42887 through 42958): Re: exec timing out, want to leave process running in bg 42887 by: Mukul Sabharwal Is it bug? 42888 by: Piotr Duszynski 42906 by: Chris Lee Re: Q: php4,cache,performance,mod_p

[PHP] on the list yesterday regarding mysql time

2001-03-07 Thread Jerry Lake
I know this was on the list yesterday, but I for some reason erased it. I have an online form that I would like to have record the time submitted and recorded into a MySQL date field, how the hell do I use the date and mktime functions to make the date compatible with the MySQL -00-00 format?

[PHP-CVS] cvs: php4 /ext/ircg ircg.c php_ircg.h

2001-03-07 Thread Sascha Schumann
sas Wed Mar 7 14:18:50 2001 EDT Modified files: /php4/ext/ircg ircg.c php_ircg.h Log: Add simplistic ircg_channel_mode() function Index: php4/ext/ircg/ircg.c diff -u php4/ext/ircg/ircg.c:1.48 php4/ext/ircg/ircg.c:1.49 --- php4/ext/ircg/ircg.c:1.48

Re: [PHP] passing variables again

2001-03-07 Thread george
not really sure I understand, but what I want to do is take the HTML generated in step 3 and place it between the tags in the last page where the code is displayed ie Title mr mrs Missnameaddressaddress2message that is the code from step 3 how do I get that to display on the next page.

RE: [PHP] htaccess

2001-03-07 Thread David Smith
Try this: -Original Message- From: Jason Jacobs [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 4:09 PM To: [EMAIL PROTECTED] Subject: [PHP] htaccess Hey folks. I have another htaccess question. I have an entire folder set up to require authentication. It's in an htacces

Re: [PHP] Remote Scripting

2001-03-07 Thread Miles Thompson
Karl, Check the archives, if you haven't done so already. I think this was already discussed in the last week of February, although not under the same heading as yours. Miles At 02:05 PM 3/7/01 -0700, Karl J. Stubsjoen wrote: >Hello, > >I'm interested in the technology "Remote Scripting". Ba

Re: [PHP] session in php3

2001-03-07 Thread Steve Edberg
At 3:28 PM -0600 3/7/01, Jacky wrote: >Hi people >I got problem of how to assign session value in php3. As far as I >know, all syntax in manual talks about php4 syntax only. How am I >going to do that? >best In PHP3, you'll have to create your own session functions, or use a library like PHPL

[PHP] htaccess

2001-03-07 Thread Jason Jacobs
Hey folks. I have another htaccess question. I have an entire folder set up to require authentication. It's in an htaccess file, not in each page. I was sure that the variable that's passed from the authentication dialog was $PHP_AUTH_USER, but it's not working when I use that in a query. Anyo

[PHP-CVS] cvs: php4 /ext/ircg ircg.c

2001-03-07 Thread Sascha Schumann
sas Wed Mar 7 13:05:44 2001 EDT Modified files: /php4/ext/ircg ircg.c Log: D'oh. Check IRCG_API_VERSION after including if_irc.h. Index: php4/ext/ircg/ircg.c diff -u php4/ext/ircg/ircg.c:1.47 php4/ext/ircg/ircg.c:1.48 --- php4/ext/ircg/ircg.c:1.47

[PHP-CVS] cvs: php4 /ext/ircg README.txt

2001-03-07 Thread Sascha Schumann
sas Wed Mar 7 13:05:13 2001 EDT Modified files: /php4/ext/ircg README.txt Log: Remove some dated information. Index: php4/ext/ircg/README.txt diff -u php4/ext/ircg/README.txt:1.5 php4/ext/ircg/README.txt:1.6 --- php4/ext/ircg/README.txt:1.5

[PHP] Remote Scripting

2001-03-07 Thread Karl J. Stubsjoen
Hello, I'm interested in the technology "Remote Scripting". Basically, I would like to deliver "real-time" information to a browser without having to reload the page. Is anyone familiar with this? Thanks, Karl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] passing variables again

2001-03-07 Thread Miles Thompson
Try using an array, such as name[], with NO SUBSCRIPT, to store the chosen items. That will be passed as a form variable and can be stepped through on the next page where you can parse step through the array and create the form. You could probably do this all in the same form, setting variable

[PHP-CVS] cvs: php4 /ext/ircg ircg.c

2001-03-07 Thread Sascha Schumann
sas Wed Mar 7 12:49:01 2001 EDT Modified files: /php4/ext/ircg ircg.c Log: Add default message for channel modes Index: php4/ext/ircg/ircg.c diff -u php4/ext/ircg/ircg.c:1.46 php4/ext/ircg/ircg.c:1.47 --- php4/ext/ircg/ircg.c:1.46 Wed Mar 7 12:4

[PHP-CVS] cvs: php4 /ext/ircg ircg.c

2001-03-07 Thread Sascha Schumann
@@ msg_send(conn, &m); } +#if IRCG_API_VERSION >= 20010307 +static void mode_channel_handler(irconn_t *ircc, smart_str *nick, + smart_str *channel, smart_str *who, int mode, int give, void *dummy, + void *dummy2) +{ + php_irconn_t *conn = dumm

[PHP] passing variables again

2001-03-07 Thread george
I am trying to write a script which allows you to build a PHP mailto form online, but I am stuck if you go to www.wisemonkeydesign.co.uk/wise/mailto.htm after step 3 when you have to create, ho do I pass the HTML code and names of the fiels into the next page. for instance the user has choo

Re: [PHP] email with multiple records

2001-03-07 Thread Miles Thompson
Embarrassing, isn't it? Do you have a loop building messages, with something like $msgbody .= $data_to_send THat little " . " caught me. I was emailing usernames and passwords -- fortunately it was an obvious error. Miles At 01:22 PM 3/7/01 -0500, WreckRman2 wrote: >I wrote a small script l

RE: [PHP] parsing html / xml (more)

2001-03-07 Thread Nathaniel Hekman
Matt McClanahan wrote: [...] > You're not going to find an XML parser that allows for most HTML, > because if such a parser did exist, it would be a broken XML parser. :) [...] Fair enough, and that's as I expected. So that brings me to the second part of my question: is there any php library t

Fw: [PHP] Interbase

2001-03-07 Thread Wagner Nunes
Chad is right. Interbase 6.0 is already a free DB software. go to www.borland.com e get it freely. []'s __ Wagner Nunes [EMAIL PROTECTED] > - Original Message - > From: "Angerer, Chad" <[EMAIL PROTECTED]> > To: "'Chris'" <[EMAIL PROTECTED]>; "php" <[EMAIL P

[PHP-CVS] cvs: php4 /ext/ircg ircg.c

2001-03-07 Thread Sascha Schumann
20:15:33 sas Exp $ */ +/* $Id: ircg.c,v 1.45 2001/03/07 20:24:28 sas Exp $ */ #include "php.h" #include "php_ini.h" @@ -742,6 +742,15 @@ { php_irconn_t *irconn = dummy; +#if IRCG_API_VERSION >= 20010307 + if (irc_sizeof_irconn() != sizeof(irconn_t)) {

Re: [PHP] PHP dll on NT - more reliable with Apache than IIS?

2001-03-07 Thread Paulo Parola
We have started using PHP on NT over Apache, but since our ISP used IIS we switched to it. Anyway, we just started having real problems after our application got really big, so that I cannot really compare Apache x IIS on NT very well (our errors started happening on IIS if I recall correctly). A

[PHP-CVS] cvs: php4 /ext/ircg ircg.c

2001-03-07 Thread Sascha Schumann
sas Wed Mar 7 12:15:34 2001 EDT Modified files: /php4/ext/ircg ircg.c Log: There are some subtle changes which are not recognized by the compiler, so bark, if someone tries to build against anything older than IRCG 2.0b1. Index: php4/ext/ircg/irc

RE: [PHP] parsing html / xml

2001-03-07 Thread Angerer, Chad
Try here to take care of problems.. http://www.w3.org/People/Raggett/tidy/ Chad -Original Message- From: Nathaniel Hekman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 10:57 AM To: '[EMAIL PROTECTED]' Subject: [PHP] parsing html / xml I'd like to parse a html file in much

Re: [PHP] Interbase

2001-03-07 Thread Brett Bandy
you might try www.ibphoenix.com as they have more info (than the Borland site) regarding InterBase. Brett ""Chris"" <[EMAIL PROTECTED]> wrote in message 03fd01c0a73c$15183c00$01c8c8c8@ibcserver">news:03fd01c0a73c$15183c00$01c8c8c8@ibcserver... Hi, Has anyone here dealt with the new Interbase 6.0

[PHP-CVS] cvs: CVSROOT / avail cvsusers gen_acl_file.m4

2001-03-07 Thread Andrei Zmievski
andrei Wed Mar 7 11:35:32 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: Account for Iuri Fiedoruk to go PHP-GTK docs translation. Index: CVSROOT/avail diff -u CVSROOT/avail:1.111 CVSROOT/avail:1.112 --- CVSROOT/avail:1.111 Wed Ma

[PHP] String concatenation problems

2001-03-07 Thread [EMAIL PROTECTED]
I posted a related question yesterday with no response. I've done some more investigating and think I can lay some of the blame on the string concatentation operation. If anyone can tell me what might be causing this behavoir I would greatly appreciate it. the following code shows the rough

Re: [PHP] new php release?

2001-03-07 Thread Henrik Hansen
> Thanks for the URL Henrik, but I'm finding a linux dist :) My odbc > functions are used on a linux box to access DB2/AIX :) sorry, well for linux do this: compile compile compile :) -- Henrik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For ad

RE: [PHP] Interbase

2001-03-07 Thread Angerer, Chad
Both the binary and source distros are available on the website. I beleive Interbase has gone open source. http://www.borland.com/interbase/ Chad -Original Message- From: Chris [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 1:23 PM To: php Subject: [PHP] Interbase Hi, Has

[PHP] Interbase

2001-03-07 Thread Chris
Hi, Has anyone here dealt with the new Interbase 6.0 License? The web site says it is a free download for development, but I can't find any info about commercial use, and their sales office doesn't seem to know either, and they haven't called back yet. Anyone know what the commercial license is

Re: [PHP] new php release?

2001-03-07 Thread Antonio S. Martins Jr.
On Wed, 7 Mar 2001, Henrik Hansen wrote: > >I'm using PHP-4.0.4pl1, and I'm trying to use the > > odbc_error/odbc_erromsg functions, but this are only availabe on the CVS > > tree! Before I set up a cvs client download the fonts and try to compile > > it, I'm willing to know if there is a new

[PHP] explode question

2001-03-07 Thread Rol
Hello again, I'd better explain better. I have logon screen Header("WWW-Authenticate: Basic realm=\"whatever\""); where I would like the compare the user name $PHP_AUTH_USER with the one in my database All names like Mike or mike are @ seperated strings How can I check the names from this arra

Re: [PHP] exec as another user

2001-03-07 Thread Henrik Hansen
> Hi, > > This may be a stupid question but how can I execute programs as another > user under php? > I'm using Linux with Apache 1.3.12 and PHP 4. The only way i can figure out would be by using the sudo command without a password (don't do that with root), do a 'man sudo' on your linux box --

Re: [PHP] parsing html / xml (more)

2001-03-07 Thread Matt McClanahan
On Wed, Mar 07, 2001 at 10:07:37AM -0700, Nathaniel Hekman wrote: > Here's another case that shows up often in html, but is illegal in xml, that > I would need to parse: meta tags, tags, tags, and other > "singletons". > > > > > > xml_parse would give an error, because t

Re: [PHP] new php release?

2001-03-07 Thread Henrik Hansen
> Hi, > >I'm using PHP-4.0.4pl1, and I'm trying to using the > odbc_error/odbc_erromsg functions, but this are only availabe on the CVS > tree! Before I set up a cvs client download the fonts and try to compile > it, I'm willing to know if there is a new version soon to be released? Or > if

RE: [PHP] email with multiple records [code included]

2001-03-07 Thread David Smith
Ok here is my code... I have another question too. How can I include in the email a variable placed in the textarea of the form. Example: Hi your email is $email. and it would add the variable in each email and not show $email as plain text. Also open to any code suggestions as I am still

RE: [PHP] email with multiple records

2001-03-07 Thread David Smith
Thanks, I should have drop a code snippet in there... My problem was the .= -Original Message- From: Chris Lee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 11:39 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] email with multiple records suppy a code snippit and I would have a

[PHP] brazillian developers

2001-03-07 Thread Wagner Nunes
this message is preferencially for brazillian developers: Procuro programador php de nível intermediário a avançado para parceria de elaboração de projeto de médio a grande porte. Requisitos: - morar em Porto Alegre/RS ou grande POA; - conhecimentos de nível médio a avançado em php 3 ou 4+, my

Re: [PHP] sending SMS messages via PHP

2001-03-07 Thread Henrik Hansen
> I can easily send standard email messages via PHP. Does anyone know how to > send SMS messages? Send them as an email too, most tele companies have the possibility for that option (atleast here in denmark) -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-

[PHP] new php release?

2001-03-07 Thread Antonio S. Martins Jr.
Hi, I'm using PHP-4.0.4pl1, and I'm trying to using the odbc_error/odbc_erromsg functions, but this are only availabe on the CVS tree! Before I set up a cvs client download the fonts and try to compile it, I'm willing to know if there is a new version soon to be released? Or if the above odbc

Re: [PHP] email with multiple records

2001-03-07 Thread Chris Lee
suppy a code snippit and I would have a huge advantage here, but I'll swing in the dark on this ok. your looping all this in a for/while/foreach loop right. your generating the body like this ? foreach($people as $pos => $val) { $email_body .= 'name is '. $people[$pos]['name'] ."\n";

RE: [PHP] sending SMS messages via PHP

2001-03-07 Thread Neil Kimber
Errrm, no easy solution. You should either find an SMS gateway connection that can receive formatted emails, convert them and post them (at a charge to you), or go the whole hog and get yourself a connection to an SMSC via http. I would suggest you pursue the first approach as the second is onl

Re: [PHP] explode question

2001-03-07 Thread Chris Lee
usr_loginName); foreach($arrLoginName as $pos => $val) if (match) return 1; return ; } ?> is this what you mean? please post regarding. -- Chris Lee Mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 [EMAIL PROTECTED] ""Rol"" <[E

Re: [PHP] Dynamic Links..

2001-03-07 Thread Chris Lee
you mean you want the url ? $HTTP_REFERER This variaable is set by the client's browser though, this means it may not be set at all, or could be forged. you will have to check against this. I dont think this is what you mean though, email me I'll see what I can do. -- Chris Lee

[PHP] email with multiple records

2001-03-07 Thread WreckRman2
I wrote a small script like a email list only when I run it with 3 emails. The first record gets his info, 2nd get his plus first, 3rd get his plus 2nd and 1st. Why is it doing this? David Smith Number 3 record gets email with: - Hi [EMAIL PROTECTED], Your email is

RE: [PHP] Text and formating

2001-03-07 Thread Brian V Bonini
nl2br -- Inserts HTML line breaks before all newlines in a string http://php.net/manual/en/function.nl2br.php -Brian > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 07, 2001 12:09 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Text and for

RE: [PHP] RE: Value of if(isset(X)) problem

2001-03-07 Thread Johnson, Kirk
Tim, I just tried this in IE 5.0, and the submit button name-value pair was posted along with the other form variables, even though I submitted the form by hitting return on another field. Is the behavior you described specific to a certain browser version? Kirk -Original Message- From:

[PHP-CVS] cvs: php4 /ext/zlib zlib.c

2001-03-07 Thread Daniel Beulshausen
dbeuWed Mar 7 09:23:31 2001 EDT Modified files: /php4/ext/zlib zlib.c Log: add missing globals fetches Index: php4/ext/zlib/zlib.c diff -u php4/ext/zlib/zlib.c:1.75 php4/ext/zlib/zlib.c:1.76 --- php4/ext/zlib/zlib.c:1.75 Tue Mar 6 12:43:54 2001 +++

RE: [PHP] Text and formating

2001-03-07 Thread Paulson, Joseph V. \"Jay\"
or you could just call the nl2br() function to do the same thing... Jay Paulson Developer, Web Technologies Viatel, Inc. -Original Message- From: Hoover, Josh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 11:22 AM To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: [PHP]

[PHP] Dynamic Links..

2001-03-07 Thread Ashwin Kutty
Hi, I want ease the authentication process of the users on my network.. Now, here is the problem.. I have a php script that re-directs to another company's page.. In that page, there is a link to go forward, but that link has a session id in it, that is dynamically generated when the page is cal

RE: [PHP] Text and formating

2001-03-07 Thread Hoover, Josh
You need to do a str_replace() on any fields that need to have breaks in them. Try something like this: echo str_replace ("\n", "", $fieldvariable) Josh Hoover KnowledgeStorm, Inc. Searching for a new IT solution for your company? Need to improve your product marketing? Visit KnowledgeStorm a

Re: [PHP] explode question

2001-03-07 Thread Jason Murray
Rol wrote: > > Hello all, > > I would like to check some names ( @ seperated strings) with this global >$PHP_AUTH_USER > > I first do > $arrLoginName = explode("@", $row->usr_loginName); > > How can I construct a loop which stops and returns true if a match is found? > > Any hints would

[PHP] Text and formating

2001-03-07 Thread sono
I have news webpage of sorts that pulls entries out of a mysql database. There is a form to submit news and it is automatically added to the new page upon submition. What I am wandering is when a individual submits news, the end result on my news page does not hold the same format it was put in

  1   2   >