[PHP] Re: Variables aren't being passed to php page

2002-07-15 Thread Tim Luoma
Jason Wong wrote: On Monday 15 July 2002 03:55, Tim Luoma wrote: Jason Wong wrote: This list gets at least one question a day on this subject ... And there will be a lot more as people scan the web for example scripts and find ones that assume 'register_globals' is set to on. Questions

[PHP] mysql error or PHP

2002-07-15 Thread Wilbert Enserink
Hi all, has anybody ever seen this? And knows what it means? thx. You have an error in your SQL syntax near 's self-supporting ribbed form was probably not strong enough to render the desig' at line 1 regards Wilbert - Pas de Deux Van Mierisstraat 25 2526 NM Den

Re: [PHP] mysql error or PHP

2002-07-15 Thread Justin French
try add_slashes($string) before inserting into the database, or turn on magic quotes in php.ini justin french on 15/07/02 5:57 PM, Wilbert Enserink ([EMAIL PROTECTED]) wrote: Hi all, has anybody ever seen this? And knows what it means? thx. You have an error in your SQL syntax near

[PHP] select multiple within for-each

2002-07-15 Thread William S.
This works OK with creating buttons but is not what I want. POST/INPUT xsl:for-each select=. . . xsl:sort/ form xsl:attribute name=namemyform/xsl:attribute xsl:attribute name=actionlist.php/xsl:attribute

php-general Digest 15 Jul 2002 08:52:25 -0000 Issue 1465

2002-07-15 Thread php-general-digest-help
php-general Digest 15 Jul 2002 08:52:25 - Issue 1465 Topics (messages 107636 through 107680): mysql LIMIT 107636 by: Alexander Ross 107638 by: Robert Cummings 107640 by: David Freeman Re: REminder APllication 107637 by: The Doctor retrieving random data

[PHP] Good Forum...

2002-07-15 Thread JJ Harrison\\
What is a good php-based forum? I would have used vBulletin but my group a non-profit so we obviously can't afford it. Part of what I require is users to be stored in a db table using md5() or anouther function. What I would do is expand the table with more user info for use with my whole site.

Re: [PHP] Does not work

2002-07-15 Thread Alberto Serra
ðÒÉ×ÅÔ! Saci wrote: Who cares about privacy on my own company Intranet ? Anyone not willing to show where they has been surfing on the net to any unexperienced bycomer. Youu may read the history, but you just have *no* warranty that it will not be cleared at runtime. Since you have control

[PHP] Tales of brave Ulysses?

2002-07-15 Thread Alberto Serra
ðÒÉ×ÅÔ! I just got this. Not sure whether it's the stupidest commercial I ever seen or a new virus (as you see in the headers it stepped thru the check with no warnings), or just a joke. I'd say it's a joke, as nobody would add anything clearly stating itself as decrypt-password.exe, but I

Re: [PHP] mysql error or PHP

2002-07-15 Thread Johan Holst Nielsen
Justin French wrote: try add_slashes($string) before inserting into the database, or turn on magic quotes in php.ini Or Mysql_Escape_String() http://www.php.net/manual/en/function.mysql-escape-string.php Or Mysql_Real_Escape_String()

[PHP] Re: Good Forum...

2002-07-15 Thread richard . mail
phpbb is a good forum or phorum both are free to use :) i hope you can use one of those ;) JJ Harrison\ writes: What is a good php-based forum? I would have used vBulletin but my group a non-profit so we obviously can't afford it. Part of what I require is users to be stored in

Re: [PHP] Good Forum...

2002-07-15 Thread René Moonen
snip What is a good php-based forum? /snip http://phpnuke.org/ http://phpwebsite.appstate.edu/ A bit more than just a forum, you could use them to build your complete site... snip What I would do is expand the table with more user info for use with my whole site. /snip I would consider

[PHP] Re: BREAK into the DB

2002-07-15 Thread Blue Presley
the function you are looking for is called nl2br(). Translated it means 'new line to BR.' when you pull you text from your database run it through this and it will be correctly formatted for HTML to read correctly. See php documentation for further discussion and examples. blue César aracena

[PHP] SNMP - LOG

2002-07-15 Thread MAAS
Hi I would like to collect data from snmpget and log it. Anyone have a idea how to do this? // maas, Sweden -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] dio_seek, dio_tell

2002-07-15 Thread Saso Filipovic
Hi, I have two questions: what is the meaning of (int type) return value of dio_seek() function in PHP ? second question: how can I get the position in file, pointed by file descriptor (dio_*() )? In C/C++ language, this is implemented in ftell function. Lep pozdrav, Sao -- PHP General

[PHP] Re: good article on creating a subscription form/script

2002-07-15 Thread Kondwani Spike Mkandawire
The suggestion by Mike seems feasible... However if you are working on a subsription form and are expecting the application to be used by alot of people, why don't you store the info supplied by the user to a Database as opposed to mailing it to someones box and having a whole lot of stuff in

[PHP] Re: problem with cookies and some browsers

2002-07-15 Thread Kondwani Spike Mkandawire
Andy [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi there, I am wondering if there is a possiblity that some browsers like IE 5.1 do not accespt cookies by default. I am working on a session management system Linux's Konqueror always asks if a user wants

Re: [PHP] select multiple within for-each (SOLVED)

2002-07-15 Thread William S.
Please disregard the previous posting I made. I figured it out. On Mon, Jul 15, 2002 at 10:52:23AM +0200, William S. wrote: This works OK with creating buttons but is not what I want. POST/INPUT xsl:for-each select=. . . xsl:sort/ form

[PHP] Strange problem with apache 2.0.39/php 4.2.1/gd-lib

2002-07-15 Thread Martin Lucas
hello everybody, i'm trying to use php 4.2.1 with apache 2.0.39. i compiled php as dso, with gd support (libjpeg6b, libpng-1.2.3 , gdlib-1.8.4, freetype-2.1.2) compiling and installation of the above packages went fine, but when i start apache, i get the following message from the apache error

[PHP] MSSQL - Authentification ?????

2002-07-15 Thread Gabor Niederlaender
Hi All! Is there a way to build up the connection to a MSSQL Database if the Authentification is set to Windows-Authentification and not SQL-Authentification? Greetings, Gabor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MSSQL - Authentification ?????

2002-07-15 Thread Gabor Niederlaender
Hi All! Is there a way to build up the connection to a MSSQL Database if the Authentification is set to Windows-Authentification and not SQL-Authentification? Greetings, Gabor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] retrieving random data from mysql database

2002-07-15 Thread David Freeman
When you say, Order by RAND() I would think the Order by construct expects a column name. In your case, it gets a decimal value. How does Order by treat decimal values? Oh, I just checked the manual: In MySQL Version 3.23, you can, however, do: SELECT * FROM table_name ORDER

[PHP] Re: BREAK into the DB

2002-07-15 Thread John Lim
Also see wordwrap( ). Blue Presley [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... the function you are looking for is called nl2br(). Translated it means 'new line to BR.' when you pull you text from your database run it through this and it will be

[PHP] PHP Conferences?

2002-07-15 Thread Jay Blanchard
I know that the PHP World Conference is coming up in Germany in November, but is anyone aware of any conferences in the US before the end of 2002? I have some training budget that must be spent or lost. Thanks! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] [PHP-WIN] Fopen errors out when opening a URL

2002-07-15 Thread Conover, Ryan
I am trying to do a simple fopen(http://www.weather.com/index.html;, r); For some reason I cannot Open any URL's after trying several. I get the following error Warning: stat failed for Resource id #1 (errno=2 - No such file or directory) I checked my php.ini to make sure I set the fopen

[PHP] Re: Good Forum...

2002-07-15 Thread Martin Clifford
Invision Board is the best PHP based BB that I've seen so far. If you're familiar with Ikonboard written in Perl, this is the same thing optimized for PHP. Not to mention that the installation is a BREEZE! You can get a copy FREE at http://www.invisionboard.com, and you can check out a

[PHP] MSSQL and NT

2002-07-15 Thread Gabor Niederlaender
Hi all! I went after my problem with the NT authentification and I found out, that if you want to make a NT-based Authentification (f.ex for an ODBC-Connection) the I_USR will be seen as the actual user... I granted then rights to the I_USR in the DB, but this way, I cannot distinguish which

[PHP] integrating usenet into http? how is this done???

2002-07-15 Thread Andy
Hi guys, I just found a site where they have integrated a usenet forum into their own forum. I am wondering how this is technicaly done? The postings seem to be pretty up to date ( I did compare them with the usenet ones) Here is the link:

Re: [PHP] Tales of brave Ulysses?

2002-07-15 Thread Chris Hewitt
Alberto Serra wrote: ! I just got this. Not sure whether it's the stupidest commercial I ever seen or a new virus (as you I got one too. I guess we have an email harvester? As I'm on linux I could not try the executable anyway but I would not execute it if I was on windows either.

[PHP] Apache 2.0 + PHP

2002-07-15 Thread Michael Hall
I've had a hunt through the mail archives but can't find a definite answer: Is Apache 2.0.x and PHP 4.2.x/4.3.x on Linux a viable proposition yet in a production environment? I guess the diversity of experiences described in the archives probably means no, but what is the current opinion?

Re: [PHP] integrating usenet into http? how is this done???

2002-07-15 Thread Stuart Dallas
On Monday, July 15, 2002, 1:55:44 PM, Andy wrote: I just found a site where they have integrated a usenet forum into their own forum. I am wondering how this is technicaly done? The postings seem to be pretty up to date ( I did compare them with the usenet ones) Here is the link:

Re: [PHP] Apache 2.0 + PHP

2002-07-15 Thread Tyler Longren
In a production environment: no for fun: yes -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Tue, 16 Jul 2002 09:13:41 +0930 (CST) Michael Hall [EMAIL PROTECTED] wrote: I've had a hunt through the mail archives but can't find a definite answer:

RE: [PHP] SNMP - LOG

2002-07-15 Thread Mattias Eriksson
Here is a example using snmprealwalk() to make a simple dump to a textfile. The script filters out some things that atleast I don't need. To get more verbose output comment out $walk = snmp_nice_array($walk); and/or change snmp_set_quick_print(1); to snmp_set_quick_print(0);. Example with most

[PHP] South African IP Provider.. (Mweb Server Names)

2002-07-15 Thread Kondwani Spike Mkandawire
Does anyone know the name of any the mweb servers in South Africa... I am trying to test my a Php Login Script from a Computer there and I am trying to use someone elses account with an mweb subscription to test my Script from a remote area... Kondwani -- PHP General Mailing List

RE: [PHP] integrating usenet into http? how is this done???

2002-07-15 Thread Dan Vande More
I don't know, but it sure looks nice! Dan -Original Message- From: Andy [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 6:56 AM To: [EMAIL PROTECTED] Subject: [PHP] integrating usenet into http? how is this done??? Hi guys, I just found a site where they have integrated a

Re: [PHP] integrating usenet into http? how is this done???

2002-07-15 Thread Stuart Dallas
On Monday, July 15, 2002, 2:42:24 PM, Stuart Dallas wrote: On Monday, July 15, 2002, 1:55:44 PM, Andy wrote: Has anybody an idea how they do this. It would be relatively straight-forward to have a PHP script run periodically, read from an NNTP server and add new posts into the forum database.

Re: [PHP] Tales of brave Ulysses?

2002-07-15 Thread Bret L Conard
I received it to, but it *did* trigger my virus warning. Just deleted and moved on : ) Bret - Original Message - From: Alberto Serra [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, July 15, 2002 5:52 AM Subject: [PHP] Tales of brave Ulysses? ðÒÉ×ÅÔ! I just got

[PHP] fputs - need help!

2002-07-15 Thread MAAS
Hi I use this line fputs ($sysname_log, $time - SystemName: $sysname\n); I would like to get a log file, and everytime I refresh this page it will make a new line and write $the local time - SystemName: $sysname So after a while it will look like this $the local time - SystemName: $sysname

Re: [PHP] integrating usenet into http? how is this done???

2002-07-15 Thread Peter J. Schoenster
On 15 Jul 2002 at 14:55, Andy wrote: I just found a site where they have integrated a usenet forum into their own forum. I am wondering how this is technicaly done? The postings seem to be pretty up to date ( I did compare them with the usenet ones) Here is the link: Has anybody an idea

[PHP] Detecting network connections

2002-07-15 Thread Brad Harriger
Is there any way I can set up a php script so that it will detect the login of the current Netware user on a PC and use that user's information to customize a greeting for the user? Thanks, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] fputs - need help!

2002-07-15 Thread Greg Donald
On Mon, 15 Jul 2002, MAAS wrote: Try adding a \r. fputs ($sysname_log, $time - SystemName: $sysname\r\n); -- --- Greg Donald http://destiney.com/public.key

Re: [PHP] Apache 2.0 + PHP

2002-07-15 Thread Rasmus Lerdorf
Is Apache 2.0.x and PHP 4.2.x/4.3.x on Linux a viable proposition yet in a production environment? Nope -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Alley-OOP! ... or not?

2002-07-15 Thread Martin Clifford
Hey all, I've seen quite a few programs that seem to greatly favor Object Orienting Programming (OOP) in their code. I don't mean to start a holy war or anything of the sort, but as a burgeoning PHP developer, I would like the opinions of my peers. So how about it, ladies and gents? Tell me

RE: [PHP] Alley-OOP! ... or not?

2002-07-15 Thread Henning Sittler
Why not try it for yourself? If it seems helpful then use it, if not then don't. Henning Sittler www.inscriber.com -Original Message- From: Martin Clifford [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 11:05 AM To: [EMAIL PROTECTED] Subject: [PHP] Alley-OOP! ... or not?

RE: [PHP] Alley-OOP! ... or not?

2002-07-15 Thread Jay Blanchard
[snip] I've seen quite a few programs that seem to greatly favor Object Orienting Programming (OOP) in their code. I don't mean to start a holy war or anything of the sort, but as a burgeoning PHP developer, I would like the opinions of my peers. So how about it, ladies and gents? Tell me

RE: [PHP] Alley-OOP! ... or not?

2002-07-15 Thread Cal Evans
Building off of what Jay said... I'm a hardcore OOP developer but agree that you must use it judiciously. Used in the correct way it makes maintaining/extending your applications much easier. There are times though when you don't want it. I usually find myself coding pages that have PHP in

[PHP] Self Modifying PHP Code Working on IIS

2002-07-15 Thread Kondwani Spike Mkandawire
Am I the only one who seems to be irritated by the tremendous amount of settings you have to do on the IIS Server if testing a PHP Script... I am testing a Self modifying Script runs perfectly on Apache 1.3 /PHP4.2.1 However it is meant to sick Chunks of code at the beginning of my File... Hence

[PHP] Credit Card Processing

2002-07-15 Thread Daniel Guerrier
Can anyone recommend a good and cheap shopping cart and credit card processing combo. Based on PHP of course. Thanks __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- PHP General Mailing List

RE: [PHP] MSSQL and NT

2002-07-15 Thread John Holmes
Not sure if this helps, but if you turn on NT-Authentication in IIS, then you'll have a variable $_SERVER['LOGGED_ON'] or something similar that'll hold the username of the person that's logged on. Check a phpinfo() page in a NT-Authenticated directory to see which variables are available.

[PHP] replacing multiple spaces with one

2002-07-15 Thread David Russell
Hi all (easy one - I think) I need to replace all instances of multiple spaces in a string with a single space. I tries the following: $ArticleText = str_replace(' ', ' ', $ArticleText); but if I have four spaces, I am left with two - this is wrong... I am sure that I am really looking

Re: [PHP] replacing multiple spaces with one

2002-07-15 Thread nico_free
Hellorgh !! $ArticleText = ereg_replace([[:space:]].*, , $ArticleText); Should be fine... But AFAIK, using preg_replace should be faster, but I don't know the exact syntax to solve your probem :-( -- Nayco - Original Message - From: David Russell [EMAIL PROTECTED] To: php-general

[PHP] PHP 4.3.x..

2002-07-15 Thread Kondwani Spike Mkandawire
One of the threads above Speak of PHP 4.3 I was not aware that it existed... Is it still in its Testing stages? How come its not on the PHP Website? Are there any great modifications to it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] replacing multiple spaces with one

2002-07-15 Thread Jason Wong
On Tuesday 16 July 2002 00:15, David Russell wrote: Hi all (easy one - I think) I need to replace all instances of multiple spaces in a string with a single space. I tries the following: $ArticleText = str_replace(' ', ' ', $ArticleText); but if I have four spaces, I am left with

[PHP] Re: NMTP server and db

2002-07-15 Thread Stuart Dallas
Please don't contact me privately unless you want to hire me. On Monday, July 15, 2002, 5:13:35 PM, andy wrote: ok sounds logical. Don't have any experiance on doing anything nntp related in php. There are some questions I am wondering about: - do I have to compile php with a special flag

Re: [PHP] Re: NMTP server and db

2002-07-15 Thread Stuart Dallas
On Monday, July 15, 2002, 6:00:44 PM, I wrote: You can do it 2 ways: either using the sockets or with the IMAP functions. I'm not too sure about sockets, but the IMAP function require the IMAP module to be loaded. D'oh, forgot the link: http://www.php.net/manual/en/ref.imap.php -- Stuart

Re: [PHP] Self Modifying PHP Code Working on IIS

2002-07-15 Thread Greg Donald
On Mon, 15 Jul 2002, Kondwani Spike Mkandawire wrote: Am I the only one who seems to be irritated by the tremendous amount of settings you have to do on the IIS Server if testing a PHP Script... You are not alone, I am irritated by IIS everytime I am forced develop for it. I am testing a Self

[PHP] Any sites like www.webcron.org?

2002-07-15 Thread Leif K-Brooks
I'm making a web site with a friend. For now, we're stuck on a free host with no cron. We need it, and I tried www.webcron.org, but it seems to be down. Does anyone here know of similar services? Thanks for any help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Any sites like www.webcron.org?

2002-07-15 Thread Stuart Dallas
On Monday, July 15, 2002, 6:49:06 PM, Leif K-Brooks wrote: I'm making a web site with a friend. For now, we're stuck on a free host with no cron. We need it, and I tried www.webcron.org, but it seems to be down. Does anyone here know of similar services? Thanks for any help. I don't

Re: [PHP] PHP 4.3.x..

2002-07-15 Thread Tyler Longren
You could have found the answer to this question right on the front page of php.net. 4.3.x is indeed the current development version. -- Tyler Longren Captain Jack Communications [EMAIL PROTECTED] www.captainjack.com On Mon, 15 Jul 2002 14:00:26 -0230 Kondwani Spike Mkandawire [EMAIL

[PHP] newbie: mysql statement

2002-07-15 Thread Alexander Ross
I want to update the most recent record (based on the timestamp in field posted) where the parent field == a specified value (in a table called header). I tried the following mysql statement: UPDATE header WHERE parent = '$this-postid' ORDER by posted SET parent='$this-parent' LIMIT1; but

[PHP] Solaris 8 + php 4.2.1 setup problem

2002-07-15 Thread Mark McCulligh
I am trying to get PHP 4.2.1 installed on Solaris 8 with apache 1.3.22. It installed ok, but when I restart apache I get the follow error in my error_log file. /usr/local/apache/logs/error_log [Thu Jul 11 13:13:11 2002] [notice] Apache/1.3.22 (Unix) PHP/4.2.1 configured -- resuming normal

RE: [PHP] newbie: mysql statement

2002-07-15 Thread Vail, Warren
not only that, but you seem to be missing any SET field = value to cause updates to occur. I suspect the reason that the ORDER BY is rejected is be cause the database wants to use an index determined from your where clause to optimize the update process. Keep in mind that no rows are returned

Re: [PHP] newbie: mysql statement

2002-07-15 Thread Greg Donald
On Mon, 15 Jul 2002, Alexander Ross wrote: I want to update the most recent record (based on the timestamp in field posted) where the parent field == a specified value (in a table called header). I tried the following mysql statement: UPDATE header WHERE parent = '$this-postid' ORDER by posted

RE: [PHP] newbie: mysql statement

2002-07-15 Thread Vail, Warren
Oops, looks like I missed your Set after the ORDER BY. I've never seen it there, usually I see it immediately after the update. Seem to me some things in SQL are positional, but could be wrong here. Warren Vail Tools, Metrics Quality Processes (415) 667-7814 Pager (877) 774-9891 215 Fremont

RE: [PHP] newbie: mysql statement

2002-07-15 Thread Vail, Warren
If you could retrieve the max(posted) prior to doing the update you could; SELECT max(posted) from header WHERE parent = '$this-postid' and substitute the value in the following query; Update header SET parent='$this-parent' WHERE parent = '$this-postid' AND posted = $retrieved_posted A

Re: [PHP] newbie: mysql statement

2002-07-15 Thread Martin Clifford
You're right Andrew, got a little ahead of myself :o) Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/ Andrew Brampton [EMAIL PROTECTED] 07/15/02 03:23PM Shouldn't this be UPDATE header SET parent='$this-parent' WHERE posted =

RE: [PHP] newbie: mysql statement

2002-07-15 Thread Vail, Warren
I like this form better but it's not clear to me if this would only update the row for parent='$this-parent' if it were the last row posted to the table. Depends on whether the max function in the where clause is bound to the max in the table or the max in the sequence set (I tend to think it

[PHP] RE: PHP meetup [CROSS-POST] Meet other PHP Developers in Your Area

2002-07-15 Thread Jay Blanchard
[snip] No, it's not a dating service :) Want to meet other PHP developers in your area? Check out: http://php.meetup.com/ Pretty nifty idea... especially given the lack of user groups in the U.S. I thought for others who had not seen this I would post this. There is probably already a user

[PHP] [PHP-DB] RE: PHP meetup [CROSS-POST] Meet other PHP Developersin Your Area

2002-07-15 Thread Martin Clifford
Yes, everyone please join up! I would love to find more developers in the Maryland area, and I'm sure others would in their areas as well! Let's do the great american get togeth... err... the great php get together! Martin Clifford Homepage: http://www.completesource.net Developer's Forums:

[PHP] Credit Card Processing - Take Two

2002-07-15 Thread Daniel Guerrier
Can anyone recommend a good and cheap shopping cart and credit card processing combo. Based on PHP of course. Thanks __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com ---BeginMessage--- Can anyone recommend

[PHP] cleaning HTML TAGS (headed)

2002-07-15 Thread Juan Pablo Aqueveque
Hi everyone. Sorry for the trivial question. I want insert a .html inside of one .php file but without htmlhead and body tags. I built a routine (shown it down) it's running OK but show me the title (title) of my html. somebody can help with a routine a little me more effective than mine?

Re: [PHP] Credit Card Processing - Take Two

2002-07-15 Thread olinux
www.x-cart.com looks like a good and inexpensive option - I will be implementing it soon, but I have not tried it yet. Anyone used x-cart? Thanks, olinux --- Daniel Guerrier [EMAIL PROTECTED] wrote: Can anyone recommend a good and cheap shopping cart and credit card processing combo.

RE: [PHP] Credit Card Processing - Take Two

2002-07-15 Thread Vail, Warren
You might check out http://www.hotscripts.com/PHP/Scripts_and_Programs/E-Commerce/ Warren Vail Tools, Metrics Quality Processes (415) 667-7814 Pager (877) 774-9891 215 Fremont 02-658 -Original Message- From: Daniel Guerrier [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002

RE: [PHP] outputting a pdf file to IE browser? POST/GET method bug or not?

2002-07-15 Thread Matt Schroebel
From: gilles [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 1:19 PM Subject: [PHP] outputting a pdf file to IE browser? POST/GET method bug or not? ? error_reporting(E_ALL); session_start(); if (!isset($_SESSION['download'])) { @$_SESSION['download'] =

[PHP] ^k ? -- how do I match that?

2002-07-15 Thread Jimmy Brake
Hi! I keep getting that evil little character ... ^k from mac users (pre X) and I need to remove it. Does anyone know how to remove? This site has that character as a vertical tab. This character is what is used in MS Excel when people hit return inside a cell. If they copy and paste that into

Re: [PHP] cleaning HTML TAGS (headed)

2002-07-15 Thread Kevin Stone
Sorry.. I screwed up my preg_match string. It should have $file as the second parameter and also included an 'i' after the closing delimeter for a case-insensitive search. preg_match('/title(.*)\/title/i', $file, $result); - Original Message - From: Kevin Stone [EMAIL PROTECTED] To:

Re: [PHP] ^k ? -- how do I match that?

2002-07-15 Thread Martin Clifford
Just try eregi_replace(\^k[.+], , $container); Regular expressions are the MASTERS of the INTARWEB! :o) Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/ Jimmy Brake [EMAIL PROTECTED] 07/15/02 04:32PM Hi! I keep getting that

[PHP] Online Document

2002-07-15 Thread Glenn Antoine
We are currently looking to put a very sizable document on a website so that it will be easily. The document is currently maintained by a single user in a MS Word format. Ideally it would be very nice if the index would take the user to the index of the appropriate section of the document,

Re: [PHP] Installing MYSQL on Windows

2002-07-15 Thread Lee
Have a look at http://www.mysql.com/doc/W/i/Windows_installation.html Cheers Lee. - Original Message - From: Varsha Agarwal [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 15, 2002 10:12 PM Subject: [PHP] Installing MYSQL on Windows Hi, Can anyone tell me steps for

[PHP] Multi-Part PostToHost?

2002-07-15 Thread Steve Keller
First, thanks to the people who've helped me so far. I'm a UI designer who's suddenly found himself responsible for a very large website that integrates services from no less than four different providers, and I've been dumped into learning PHP on my own under a heavy deadline. Anyway, I'm

Re: [PHP] Online Document

2002-07-15 Thread Kevin Stone
I would recommend applying a simple templating system to the file. Anything that needs to be extracted out of the page for navigation purposes will be enclosed in special characters such as a chapter title.. [:chapter = CHAPTER 2: Beating a Dead Horse:]. A very simple script parses the file and

Re: [PHP] Encoding problem ONLY with _command line_ PHP.exe

2002-07-15 Thread Analysis Solutions
On Fri, Jul 12, 2002 at 11:02:54PM +0100, Emile Axelrad wrote: Hello - My problem is as follows (I am trying to migrate from a mssql server to a mysql server) OH! The data in the MSSQL table is: Æã IF I call this PHP code from my browser (IE6) it results in the following output: Æã and

Re: [PHP] Installing MYSQL on Windows

2002-07-15 Thread Analysis Solutions
On Mon, Jul 15, 2002 at 02:12:47PM -0700, Varsha Agarwal wrote: Can anyone tell me steps for installing MYSQL on windows ?? Very simple, step by step, instructions: http://www.analysisandsolutions.com/code/mybasic.htm --Dan -- PHP classes that make web design easier

[PHP] Date () Help please

2002-07-15 Thread Attila
Hello all, I am very new to PHP and I have added some minor PHP to my website. I would like to make a PHP calander to keep track of things going on. Could someone tell me how I can get the first day of every month. For Example: 01 Jul 2002 was a Monday. 01 Mar 2002 will be a Thursday I

Re: [PHP] Date () Help please

2002-07-15 Thread Richard Baskett
$today = date(w); // $today will result in '1' $today = date(D); // $today will result in 'Mon' $today = date(l); // $today will result in 'Monday' Now if you wanted to feed the script something like this: $string = 01 Jul 2002; $today = date(l,strtotime($string)); This will result in the long

Re: [PHP] Apache 2.0 + PHP

2002-07-15 Thread Gerard Samuel
I dont think Apache 2 or php 4.3.x are meant for production boxes.. My opinion, the latest verion of apache 1.3.x and php 4.1.2 (my test box is 4.2.1 but thats ok) Michael Hall wrote: I've had a hunt through the mail archives but can't find a definite answer: Is Apache 2.0.x and PHP

Re: [PHP] Date () Help please

2002-07-15 Thread Attila
Ok your way works and thanks for the help but still struggling a little bit here is what I have. $year = date (Y); //This gets me the current year 2002 $month = date (m); //This gets me the current month 07 $day= 1; //always looking for the 1st day of the

Re: [PHP] Date () Help please

2002-07-15 Thread Attila
OK thought I should share in case any needs it but got it to work. Here is what it looks like and thanks to Richard Baskett for the help. $yr= date (Y); $mnth = date (F); $dy= 1; $string = $dy $mnth $yr; $today = date(w,strtotime($string)); Thanks for the help Attila

[PHP] PHP and Jigsaw

2002-07-15 Thread Murray Nicholas
I've been trying to get a simple php page to produce any output through a Jigsaw server. I've got past the problem of cgi.redirect and now my server launches php and returns a page but it's blank. There is no evidence of my html or php code having been seen by the server. I've run the php

RE: [PHP] Re: Editing files by line

2002-07-15 Thread Onaje Johnston
-Original Message- From: Analysis Solutions Sent: Friday, July 12, 2002 9:57 AM To: PHP List Subject: Re: [PHP] Re: Editing files by line Unfortunately, if a file is opened for appending via fopen('name', 'a'), the manual says the data is put at the end of the file regardless of using

Re: [PHP] Re: Editing files by line

2002-07-15 Thread Analysis Solutions
On Mon, Jul 15, 2002 at 08:46:14PM -0400, Onaje Johnston wrote: I've written a script that edits a specific line in a text file and saves the changes to the file for that specific line. I've noticed though that I can't edit the first line in the file Without seeing the script, it'd be hard

RE: [PHP] Re: NMTP server and db

2002-07-15 Thread John Holmes
- how is it possible to run a php script periodicly? Depends on your OS. If you're on Linux or similar then use cron. If you're on Windows NT/2k, use AT. If you're on Windows 9x IIRC there is a scheduler in the control panel. AT seemed flaky when I tried to use it. You can use the

RE: [PHP] Installing MYSQL on Windows

2002-07-15 Thread John Holmes
Hi, Can anyone tell me steps for installing MYSQL on windows ?? Umm...download, unzip, run the setup program. How hard is that? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Date () Help please

2002-07-15 Thread John Holmes
You could use mktime() with date, too... $first_day = date(w,mktime(0,0,1,$month,1,$year)); Set your $month and $year accordingly. ---John Holmes... -Original Message- From: Attila [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 8:07 PM To: [EMAIL PROTECTED] Subject: Re:

RE: [PHP] Online Document

2002-07-15 Thread John Holmes
I hate to say it, but the easiest way to maintain this might just be to do all of the hyperlinking from within Word, with its own function/buttons, etc, and then save the Word document as HTML. Yeah, it'll be bloated and crappy HTML, but it'll load into a browser. Then, when she needs to update

[PHP] Free PHP Books in PDF or HTML Format

2002-07-15 Thread Chris Carlson
Hey guys, I was wondering if anyone on the list could recommend web sites to visit to find free PHP books available on the 'net in either PDF or HTML format. Thanks, CHRIS(.deletedscenes.org) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Free PHP Books in PDF or HTML Format

2002-07-15 Thread Martin Towell
try out http://www.informit.com -Original Message- From: Chris Carlson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 11:54 AM To: [EMAIL PROTECTED] Subject: [PHP] Free PHP Books in PDF or HTML Format Hey guys, I was wondering if anyone on the list could recommend web sites

[PHP] OOH Forms ?

2002-07-15 Thread DoL
Hi there I came across with some reference indicating there was a library called OOH forms, wondering if anyone knows about the status of that lib, or has those features been incorporated into some others? OR simply, Is there any similar one, thanks. /dl -- PHP General Mailing List

RE: [PHP] OOH Forms ?

2002-07-15 Thread John Holmes
I came across with some reference indicating there was a library called OOH forms, wondering if anyone knows about the status of that lib, or has those features been incorporated into some others? OR simply, Is there any similar one, thanks.

[PHP] Sorting getmxrr()

2002-07-15 Thread Chris Knipe
Lo all, if (getmxrr($DomainPart, $DomainMX, $Weight)) { for ($Counter = 0; $Counter count($DomainMX); $Counter++) { echo $DomainMX[$Counter] ($Weight[$Counter]) ; } } How can I manage to sort $DomainMX from the lowest $Weight to the highest, while still preserving the proper

Re: [PHP] Installing MYSQL on Windows

2002-07-15 Thread Yamin Prabudy
you might want a phptriad (apache,mysql,php) find it in sourceforge On Tuesday 16 July 2002 06:15 am, Analysis Solutions wrote: On Mon, Jul 15, 2002 at 02:12:47PM -0700, Varsha Agarwal wrote: Can anyone tell me steps for installing MYSQL on windows ?? Very simple, step by step,

  1   2   >