[PHP] Remove duplicates, as long as you have it.

2001-04-22 Thread Richard
Greetings. I have this link file which has been active for quite a while, but the problem is that when I used a "admin" program to manage the links (admin.php) it kinda wrote the file multiple times, which means that it has sorted the file and added multiple instances of the lines. How I

Re: [PHP] pumping database dump in mysql

2001-04-22 Thread Christian Reiniger
On Saturday 21 April 2001 15:39, Peter Van Dijck wrote: > Hi, > I want to write a script that takes a mysql dump file and pumps it into > the database. What about simply using phpMyAdmin? -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) "Software is like sex: the best is for free

RE: [PHP] passing variables

2001-04-22 Thread PHPBeginner.com
using POST, Cookies or sessions. session is the most appropriate way to do that. php.net/sessions Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: Adam [mailto:[EMAIL PROTECTE

[PHP] what's wrong with this?

2001-04-22 Thread McShen
this is something related to my last post. $start is passed by the url. like http://mydomain.com/links.ph?start=0; $end =$start+15; $query = "SELECT * FROM refer ORDER BY hits desc LIMIT $start,$end"; it didn't work. Please help. -- PHP General Mailing List (http://www.php.net/) To unsubscr

RE: [PHP] Incrementing dates

2001-04-22 Thread PHPBeginner.com
You can (mySQL, right?) do the following: UPDATE table SET date=(date+INTERVAL 10 DAYS); so if date there was 04-28, it will be added 10 more days and so will become 05-08 Use SQL for this things, it treats dates as 'dates' while PHP treats them as integers and strings. Sincerely, Maxim M

[PHP] File Download With A Twist....

2001-04-22 Thread Donovan J. Edye
G'Day, I would like to do the following when a user clicks on a link to this PHP script. The script would be located on www.myserver.com but the page with the link would be on a mirror say in Australia (www.someserver.com.au): - Log info about the user download request to a text file - Display a

RE: [PHP] Incrementing dates

2001-04-22 Thread PHPBeginner.com
I am not sure on how your possibilities are, but doing this in PHP means literally "adding useless lines and loops" If possible, do it with SQL queries. Read the documentations on date datatypes, this is so much easier... almost magic. Sincerely, Maxim Maletsky Founder, Chief Developer PHP

Re: [PHP] Recursive Childs

2001-04-22 Thread mukul
Hi, thanks for that, could you just explain how it should start, should i just call the function, how does the level get determined ??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

RE: [PHP] what's wrong with this?

2001-04-22 Thread PHPBeginner.com
$end should be 15. ie: LIMIT 50, 10 will display 10 rows starting from 51. so, it will show rows 51-60 (included) Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original Message- From: McShen [mai

Re: [PHP] help!! newbie

2001-04-22 Thread McShen
then, should i do this? --- $query = "SELECT * FROM refer ORDER BY hits desc LIMIT $i,$end"; $result = mysql_db_query ("celebzone", $query); $num = mysql_num_rows($result); echo $num; for ($i; $i < $end; $i++) { $r = mysql_fetch_array($result,$i); $id = $r[id]; $title = $r[title

Re: [PHP] Connecting to a MS Access database

2001-04-22 Thread John Lim
Your question is a bit too short to be answered. Explain why and we will try to explain how. The other poster is wrong however, u can use ADO and use the Jet OLEDB provider to connect to Microsoft Access. Søren Soltveit <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED

RE: [PHP] Incrementing dates

2001-04-22 Thread Martin Skjöldebrand
PHPBeginner.com wrote: > > INSERT INTO table SELECT date+INTERVAL 10 DAYS AS date FROM table WHERE > bla=bla; > > it is just a way to do it. you will definitely have to play with it. > > However you can easily make two queries to read the previous date > combining it with INTERVAL and then do

[PHP-CVS] cvs: php4 /sapi/thttpd thttpd_patch

2001-04-22 Thread Sascha Schumann
sas Sun Apr 22 07:00:54 2001 EDT Modified files: /php4/sapi/thttpd thttpd_patch Log: Update patch to thttpd-2.21 Index: php4/sapi/thttpd/thttpd_patch diff -u php4/sapi/thttpd/thttpd_patch:1.7 php4/sapi/thttpd/thttpd_patch:1.8 --- php4/sapi/thttpd/thttp

Re: [PHP] Buttons and such...

2001-04-22 Thread Geir Eivind Mork
On Saturday 21 April 2001 20:15, Jason Caldwell wrote: > I know this is off-topic -- please forgive me. But I figure someone here > would know. > I'm looking for some really nice *professional* looking (submit, logon, > buy, help, etc) buttons for my website... I've done all kinds of try

php-general Digest 22 Apr 2001 09:39:44 -0000 Issue 642

2001-04-22 Thread php-general-digest-help
php-general Digest 22 Apr 2001 09:39:44 - Issue 642 Topics (messages 49704 through 49733): Redirection II 49704 by: Wade 49706 by: Wade Re: [Apache] Win32 Virtual Host - Sub Domain 49705 by: Andrew Braund Re: Buggy Java GUI? (just a tad OT) 49707 by: Seung-

Re: [PHP] Recursive Childs

2001-04-22 Thread Joe Conway
>Subject: [PHP] Recursive Childs > like hotscripts.com too, so i thought if someone could tell me how to use get all the children : > > ID | NAME | PARENT > 1X 0 > 2Y 1 > 3Z 2 > 4A 2 > 5F 1 > 6G 5 > if i want to get all children of 1, i want

RE: [PHP] Incrementing dates

2001-04-22 Thread PHPBeginner.com
you can then do this: INSERT INTO table SELECT date+INTERVAL 10 DAYS AS date FROM table WHERE bla=bla; it is just a way to do it. you will definitely have to play with it. However you can easily make two queries to read the previous date combining it with INTERVAL and then do an insert. Since

RE: [PHP] Incrementing dates

2001-04-22 Thread Martin Skjöldebrand
PHPBeginner.com wrote: > I am not sure on how your possibilities are, > but doing this in PHP means literally "adding useless lines and loops" > > If possible, do it with SQL queries. Read the documentations on date > datatypes, this is so much easier... almost magic. > AND > You can (mySQL,

RE: [PHP] Incrementing dates

2001-04-22 Thread PHPBeginner.com
well, then you have to do it with PHP, as I said - if possible, then mySQL does it better. Try converting each date into UNIX timestamp adding to it 60*60*24*10 . It will create you a set of dates incremented by 10 days. What I previously meant was : say you design a poll, you have a table cal

Re: [PHP] Incrementing dates

2001-04-22 Thread Martin Skjöldebrand
James, Yz wrote: >If anyone has any comments on this, I'd like to > hear > them (there's probably a simpler way around what I have done). Here's the > URL: > > http://www.yorkshire-zone.co.uk/date_increment.php > > And here's the code that powers it: > > > > > > $date = date("2001-04-28"

Re: [PHP] Buttons and such...

2001-04-22 Thread Plutarck
Another way of getting buttons without actually "hiring" someone is to kind of trade them work. Works especially well with people you already know, or people your friends know. You'll do a little website programming for them (like a custom form-to-email or user login system) and they'll make some

RE: [PHP] Incrementing dates

2001-04-22 Thread Warren Vail
If you are looking for a PHP only solution you might try hand calculating the amount of time you want to adjust in seconds (i.e. 60 seconds x 60 minutes x 24 hours x 10 days = 864000) $newdatetime = (strtotime($otherdatetime) + 864000; I often use something similar to adjust for timezone differen

[PHP] passing variables

2001-04-22 Thread Adam
how could i pass a variable between pages without them seeing the variable stated in the URL? -- 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 PROTEC

Re: [PHP] writing to file on server

2001-04-22 Thread Plutarck
When you are using that on your site, what basically happens is that you are trying to open an FTP session with yourself. Not too efficient. So just kill off the url and use the path to your file. -- Plutarck Should be working on something... ...but forgot what it was. ""Joeri Vankelst"" <[EM

Re: [PHP] UUdecode

2001-04-22 Thread Henrik Hansen
"Paul A. Owen" <[EMAIL PROTECTED]> wrote: > Is there an UUdecode function in PHP? If not then how would I implement > this under NT? a base64 decode? http://dk.php.net/manual/function.base64-decode.php else look here, there are some more: http://dk.php.net/manual-lookup.php?lang=en&function

Re: [PHP] I don't get it ... suddenly my script doesn't work ...

2001-04-22 Thread Tim Thorburn
Hi all, Just to let you know, I found out my problem with my PHP script ... I had installed the self installer version of PHP on my system this time around, rather than installing the full version - now the script works great. Thanks again -Tim -- PHP General Mailing List (http://www.php.

Re: [PHP] help!! newbie

2001-04-22 Thread Chris Adams
On 21 Apr 2001 19:26:03 -0700, McShen <[EMAIL PROTECTED]> wrote: >then, should i do this? >--- >$query = "SELECT * FROM refer ORDER BY hits desc LIMIT $i,$end"; Is $end set at this point? Also, if you always want to display 15 records, this could just be LIMIT $i, 15. -- PHP General Mailing Li

[PHP-CVS] cvs: php4(PHP_4_0_5) /win32 php4dllts.dsp

2001-04-22 Thread Harald Radi
phanto Sun Apr 22 05:14:44 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/win32 php4dllts.dsp Log: added ext/com/com.h to PHP_4_0_5 branch Index: php4/win32/php4dllts.dsp diff -u php4/win32/php4dllts.dsp:1.32 php4/win32/php4dllts.dsp:1.32.2.1 --- php4/win32

Re: [PHP] what's wrong with this?

2001-04-22 Thread CC Zona
In article <9btgks$fc6$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("McShen") wrote: > $start is passed by the url. like http://mydomain.com/links.ph?start=0; > $end =$start+15; > > $query = "SELECT * FROM refer ORDER BY hits desc LIMIT $start,$end"; > > it didn't work. Please help. Perhaps if you

[PHP-CVS] cvs: php4 /sapi/thttpd thttpd.c

2001-04-22 Thread Sascha Schumann
sas Sun Apr 22 07:22:40 2001 EDT Modified files: /php4/sapi/thttpd thttpd.c Log: bytes in the conn structure was renamed to bytes_sent. Index: php4/sapi/thttpd/thttpd.c diff -u php4/sapi/thttpd/thttpd.c:1.39 php4/sapi/thttpd/thttpd.c:1.40 --- php4/sapi

[PHP] [php] what creates an Transport endpoint is not connected

2001-04-22 Thread ruud habets
a perfectly working website suddenly went dead yesterday the resulting error is: Transport endpoint is not connected i have no idea what can be the cause of that. the error can be viewed at www.kgv.nl (just wait 30 seconds) any ideas? thanks ruud habets -- PHP General Mailing List (http://w

Re: [PHP] [php] what creates an Transport endpoint is not connected

2001-04-22 Thread Brian Clark
Hi ruud, @ 4:05:08 AM on 4/22/2001, ruud habets wrote: > a perfectly working website suddenly went dead yesterday > the resulting error is: Transport endpoint is not connected > i have no idea what can be the cause of that. http://www.google.com/search?q="Transport+endpoint+is+not+connected" -

[PHP] help!! newbie

2001-04-22 Thread McShen
hi I have 30 links stored in a table(mysql) now. I wanna show them accorging to the traffic they send. But i don't want to list all of them in just 1 page because i will be adding 300 links soon. (I don't want my visitors to wait 3 minutes to load the links)How should i do it? I wanna do it like

Re: [PHP] Buggy Java GUI? (just a tad OT)

2001-04-22 Thread Plutarck
Hm, that would probably explain it. I assumed it wasn't it because the programs are so comparitively small...then again, it's not the size that counts blah blah... Since it loads so much up at one time rather than a little bit at a time, it probably eats a huge amount of ram. Forte probably load

[PHP-CVS] cvs: php4(PHP_4_0_5) /sapi/thttpd thttpd.c thttpd_patch

2001-04-22 Thread Sascha Schumann
sas Sun Apr 22 07:33:09 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/sapi/thttpd thttpd.c thttpd_patch Log: Merge thttpd-2.21-related changes into 4.0.5 branch Index: php4/sapi/thttpd/thttpd.c diff -u php4/sapi/thttpd/thttpd.c:1.38 php4/sapi/thttp

Re: [PHP] help!! newbie

2001-04-22 Thread Plutarck
You'll want to use the LIMIT option in SQL. So on the end of your query add: "LIMIT 0,10" to get the first ten results. The first number is the "offset", and the last is the max amount to retrieve. To get links 20 through 40 you'd use: "LIMIT 19, 39" The offset is refering to an array, so offs

[PHP-CVS] cvs: php4 /sapi/thttpd thttpd_patch

2001-04-22 Thread Sascha Schumann
sas Sun Apr 22 07:33:58 2001 EDT Modified files: /php4/sapi/thttpd thttpd_patch Log: remove Only.* lines from patch Index: php4/sapi/thttpd/thttpd_patch diff -u php4/sapi/thttpd/thttpd_patch:1.8 php4/sapi/thttpd/thttpd_patch:1.9 --- php4/sapi/thttpd/th

[PHP-CVS] cvs: php4(PHP_4_0_5) /ext/com COM.c com.h php_COM.h typedef_VARIANT.c

2001-04-22 Thread Harald Radi
phanto Sun Apr 22 04:57:18 2001 EDT Added files: (Branch: PHP_4_0_5) /php4/ext/com com.h Modified files: /php4/ext/com COM.c php_COM.h typedef_VARIANT.c Log: merging changes from main branch to fix a memory leak #sorry for be

[PHP-CVS] cvs: php4(PHP_4_0_5) / php.ini-dist php.ini-optimized

2001-04-22 Thread Harald Radi
phanto Sun Apr 22 04:58:49 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4 php.ini-dist php.ini-optimized Log: merged [com] section from main branch Index: php4/php.ini-dist diff -u php4/php.ini-dist:1.73.2.1 php4/php.ini-dist:1.73.2.2 --- php4/php.ini

Re: [PHP] Remove duplicates, as long as you have it.

2001-04-22 Thread Richard
That removes instances in an array, I am talking about a file. Each line contains non-duplicate words, but the lines are mixed and duplicated, perhaps trippled. - Richard ""Taylor, Stewart"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Have you tried the ar

Re: [PHP-CVS] cvs: php4(PHP_4_0_5) /sapi/thttpd thttpd.c thttpd_patch

2001-04-22 Thread derick
On Sun, 22 Apr 2001, Sascha Schumann wrote: > sas Sun Apr 22 07:33:09 2001 EDT > > Modified files: (Branch: PHP_4_0_5) > /php4/sapi/thttpd thttpd.c thttpd_patch > Log: > Merge thttpd-2.21-related changes into 4.0.5 branch Nice, when will RC8 be out? Derick Retha

RE: [PHP] Remove duplicates, as long as you have it.

2001-04-22 Thread Jack Dempsey
if the lines are exact duplicates, then you could open the file with PHP or Perl, then scan through it, line by line, each time throwing the line in the next cell of an arraythen you should be able to sort by the values in those cells, and after you have that, deleting duplicates would be simp

[PHP-CVS] cvs: php4(PHP_4_0_5) /ext/ircg config.m4 ircg.c php_ircg.h

2001-04-22 Thread Sascha Schumann
sas Sun Apr 22 08:17:57 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/ext/ircg config.m4 ircg.c php_ircg.h Log: MFH allocation-related and thttpd-independence changes Index: php4/ext/ircg/config.m4 diff -u php4/ext/ircg/config.m4:1.5 php4/ext/i

[PHP] Getting a binary file from URL

2001-04-22 Thread Jaime Torres
Hi, I'm trying to get a binary file from an URL and then save it to a local disk. I'm trying this: $fd = fopen ($filename, "rb"); $contents = fread ($fd, filesize ($filename)); fclose ($fd); $fp = fopen ($tempfile, "wb"); fwrite ($fp,$contents); fclose ($fp); If I use $filename="local_file" th

RE: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/ircg config.m4 ircg.c php_ircg.h

2001-04-22 Thread James Moore
> > sas Sun Apr 22 08:17:57 2001 EDT > > Modified files: (Branch: PHP_4_0_5) > /php4/ext/ircgconfig.m4 ircg.c php_ircg.h > Log: > MFH allocation-related and thttpd-independence changes Sascha can you please STOP MFH'ding your changes will have to wait for 4.0.

RE: [PHP] Getting a binary file from URL

2001-04-22 Thread Jaime Torres
Well, it use to happen... [from function.filesize.html] int filesize (string filename) This function will not work on remote files; the file to be examined must be accessible via the server's filesystem. Ok, I screwed up. But now that I know what went wrong, how can I override this? The docs sai

RE: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/ircg config.m4 ircg.cphp_ircg.h

2001-04-22 Thread Sascha Schumann
On Sun, 22 Apr 2001, James Moore wrote: > > > > sas Sun Apr 22 08:17:57 2001 EDT > > > > Modified files: (Branch: PHP_4_0_5) > > /php4/ext/ircg config.m4 ircg.c php_ircg.h > > Log: > > MFH allocation-related and thttpd-independence changes > > Sascha can you please

[PHP-CVS] Re: [PHP-QA] RE: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/ircg config.m4ircg.c php_ircg.h

2001-04-22 Thread derick
On Sun, 22 Apr 2001, Sascha Schumann wrote: > On Sun, 22 Apr 2001, James Moore wrote: > > > Sascha can you please STOP MFH'ding > > Well, that really surprises me. I commit minimal changes > while other people commit _huge_ patches to the release > branch and noone complains about th

[PHP-CVS] RE: [PHP-QA] RE: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/ircg config.m4 ircg.c php_ircg.h

2001-04-22 Thread James Moore
> On Sun, 22 Apr 2001, James Moore wrote: > > > > > > > sas Sun Apr 22 08:17:57 2001 EDT > > > > > > Modified files: (Branch: PHP_4_0_5) > > > /php4/ext/ircgconfig.m4 ircg.c php_ircg.h > > > Log: > > > MFH allocation-related and thttpd-independence chan

[PHP-CVS] RE: [PHP-QA] RE: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/ircg config.m4 ircg.c php_ircg.h

2001-04-22 Thread Liz
Depending on the changes whether they are more enhancements or showing stopping bug fixes, could they not be withdrawn and put in as first changes for 4.0.6? > -Original Message- > From: James Moore [mailto:[EMAIL PROTECTED]] > Sent: Sunday, April 22, 2001 5:01 PM > To: Sascha Schumann >

[PHP-CVS] RE: [PHP-QA] RE: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/ircg config.m4 ircg.c php_ircg.h

2001-04-22 Thread James Moore
Liz there are lots of changes for 4.0.6 already we branch CVS when we start the release cycle. Its just a question of if these changes need to be in the branch, on the IRCG front I can see no real problem as long as Sascha is willing to test and post results (although I also feel that they should

[PHP] weird mail() behaviour

2001-04-22 Thread Christian Dechery
I have a formmail script that works both under Win32 as in Linux. It has a function email() that calls either mail() if in Win32 or sendmail() if in Linux... in Linux this sendmail() function works exactly as mail() but calling a popen() to sendmail... and it works fine.. but sometimes in Win m

Re: [PHP-CVS] RE: [PHP-QA] RE: [PHP-CVS] cvs: php4(PHP_4_0_5)/ext/ircg config.m4 ircg.c php_ircg.h

2001-04-22 Thread Sascha Schumann
Well, as I said before, this commits are harmless with regard to the rest of the system. Additionally, builds with thttpd and IRCG have been completed successfully. A test run producing 2GB of output from IRCG with thttpd-2.21 and 4.0.5 seems to show a memory leak which I'm c

Re: [PHP] Getting a binary file from URL

2001-04-22 Thread Sigitas Paulavicius
Solution #1 $contents = fread ($pointer, 1); Solution #2 $contents=""; while ($partial = fread ($pointer, 8192)) { $contents.=$partial; }; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

[PHP-CVS] Re: [PHP-QA] RE: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/ircgconfig.m4ircg.c php_ircg.h

2001-04-22 Thread Sebastian Bergmann
[EMAIL PROTECTED] wrote: > be covered by an RC I think. If an RC8 is finished, I'll test it on Win32 with Apache as CGI, and on Linux 2.4.3 with thttpd and ircg. -- sebastian bergmann[EMAIL PROTECTED] http://www.sebastian-ber

Re: [PHP-CVS] RE: [PHP-QA] RE: [PHP-CVS] cvs: php4(PHP_4_0_5)/ext/ircg config.m4 ircg.c php_ircg.h

2001-04-22 Thread Cameron
well, im not about to test ircg but im going to do the rounds with testing thttpd yet again. would be nice to have some form of limiting in thttpd like the apache stuff how you can set prepends and execuction limits etc. but i think thats a bit much to get added at this time Cameron Sascha Schu

Re: [PHP-CVS] RE: [PHP-QA] RE: [PHP-CVS] cvs: php4(PHP_4_0_5)/ext/ircg config.m4 ircg.c php_ircg.h

2001-04-22 Thread Sascha Schumann
On Mon, 23 Apr 2001, Cameron wrote: > well, im not about to test ircg but im going to do the rounds with testing > thttpd yet again. would be nice to have some form of limiting in thttpd like > the apache stuff how you can set prepends and execuction > limits etc. but i think thats a bit much to

[PHP] strtok not working...

2001-04-22 Thread Christian Dechery
I have a chunk of text like this: $string="bla bla bla (12837) ble blo bli sjhs9 39udjkd"; I only want "bla bla bla" out of it... what is wrong with: $newString = strtok ($string,"(128"); altough this seems to work: $newStrArray = explode("(128",$string); so $newStrArray[0] would have exactly

Re: [PHP-CVS] RE: [PHP-QA] RE: [PHP-CVS] cvs: php4(PHP_4_0_5)/ext/ircgconfig.m4 ircg.c php_ircg.h

2001-04-22 Thread Cameron
yes but thats thttpd wide, not per host or per directory i have been sitting and thinking about it since i sent that message and i could imagine it being not TOO hard to create that in a xml file with all the hosts listed and their restrictions but that would still be a lot of coding for the guru

Re: [PHP-CVS] RE: [PHP-QA] RE: [PHP-CVS] cvs: php4(PHP_4_0_5)/ext/ircgconfig.m4ircg.c php_ircg.h

2001-04-22 Thread Sascha Schumann
On Mon, 23 Apr 2001, Cameron wrote: > yes but thats thttpd wide, not per host or per directory That is why it said "thttpd-specific configs". > i have been sitting and thinking about it since i sent that message and i could > imagine it being not TOO hard to create that in a xml file with a

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

2001-04-22 Thread Sascha Schumann
sas Sun Apr 22 10:20:03 2001 EDT Modified files: /php4/ext/pcre php_pcre.c Log: Fix freeing of a NULL pointer Index: php4/ext/pcre/php_pcre.c diff -u php4/ext/pcre/php_pcre.c:1.91 php4/ext/pcre/php_pcre.c:1.92 --- php4/ext/pcre/php_pcre.c:1.91

RE: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/ircg config.m4 ircg.c php_ircg.h

2001-04-22 Thread Zeev Suraski
I'm going to base 4.0.5 on the RC7 tag, so this won't make it in anyway. Zeev At 18:35 22/4/2001, James Moore wrote: > > > > sas Sun Apr 22 08:17:57 2001 EDT > > > > Modified files: (Branch: PHP_4_0_5) > > /php4/ext/ircgconfig.m4 ircg.c php_ircg.h > > Log: > >

[PHP] Link Color Questions

2001-04-22 Thread Mark Lo
Hi, I would like to know how to make different link in different color on one page. etc. www.domain1.com in blue color www.domain2.com in red color www.domain3.com in orange color Thank you for your help Mark -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] Apache, PHP, Windows XP, MSIE 6, Cheese, and Cookies.

2001-04-22 Thread Padraic Tynan
Hey, I'm new to the list, and this issue may have already been addressed... It seems that with Apache and PHP (running in Windows XP Beta 2, which identifies to Apache as an NT system) as the server and being accessed by MSIE 6.0b or MSIE 5.5 that cheese doesn't taste right. No, wait, that's no

Re: [PHP] I'm a moron. So?

2001-04-22 Thread Geir Eivind Mork
On Saturday 21 April 2001 04:42, [EMAIL PROTECTED] wrote: > Alrighty. I'm baack! Anyways, I seem to be having stupid little > problems, al of which are driving me insane. I'll feel really > stupid when you tell me the problem. A friend told me something about > "seeding" for random() but I

[PHP] imap ssl on port 993

2001-04-22 Thread Drew Adams
Can anyone tell me the correct syntax for connecting to an imap server using imap_open and an ssl connection. normally > $link = imap_open ("{mail.whatever.com:143}", "username", "password"); Is this the correct way to do it for ssl? ... because it is not working for me. ssl

Re: [PHP] writing to file on server

2001-04-22 Thread Joeri Vankelst
But when I try using the path to the file I get denied permission ... How can I use my password then? Or can I bypass that in some way? ""Plutarck"" <[EMAIL PROTECTED]> wrote in message 9bupqt$b8s$[EMAIL PROTECTED]">news:9bupqt$b8s$[EMAIL PROTECTED]... > When you are using that on your site, what

[PHP] CGI x DSO: Output Buffering

2001-04-22 Thread Christian Dechery
As I've seen and tested, Apache running in Win2k won't do output buffering running PHP as CGI. But will perfectly running PHP as DSO. Any explanations? . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer -- PHP General Maili

RE: [PHP] Link Color Questions

2001-04-22 Thread Jeff Oien
You need to use style sheets: http://www.awlonline.com/cseng/titles/0-201-41998-X/liebos/ http://www.builder.com/Authoring/CSS/?tag=st.bl.7258.dir1.bl_CSS http://www.wdvl.com/Authoring/Style/Sheets/ Jeff Oien > Hi, > > I would like to know how to make different link in different color on > o

Re: [PHP] Apache, PHP, Windows XP, MSIE 6, Cheese, and Cookies.

2001-04-22 Thread Steve Lawson
Yea, I got a solution. Choose a flavor of linux, format your HD, install, and run the that server like it was meant to run. Apache is not even 100% on NT much less the XP beta, it's like your running a beta on a beta...That's why it's not working. Here is a good quote from apache.org: "Please

Re: [PHP] problem with storing & displaying image in db

2001-04-22 Thread Steve Lawson
Why not just store the filename? SL. - Original Message - From: "Keyur Kalaria" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Saturday, April 21, 2001 9:52 AM Subject: [PHP] problem with storing & displaying image in db > Hello everybody, > > I am facing a strange problem whi

[PHP] Re: Linux Suggestion

2001-04-22 Thread Padraic Tynan
You know, that's a tad rude, just suggestion an OS switch like that. :þ I mean, my http server isn't the only thing I run -- this is my personal use computer. Windows XP Beta contains the sum total of what Windows has been up to now, so I don't think the OS has very much to do with it. I just wan

php-general Digest 22 Apr 2001 21:49:08 -0000 Issue 643

2001-04-22 Thread php-general-digest-help
php-general Digest 22 Apr 2001 21:49:08 - Issue 643 Topics (messages 49734 through 49765): Re: Incrementing dates 49734 by: PHPBeginner.com 49738 by: Martin Skjöldebrand 49742 by: PHPBeginner.com 49747 by: Warren Vail Re: UUdecode 49735 by: Henrik Ha

RE: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/ircg config.m4 ircg.c php_ircg.h

2001-04-22 Thread Sascha Schumann
On Sun, 22 Apr 2001, Zeev Suraski wrote: > I'm going to base 4.0.5 on the RC7 tag, so this won't make it in anyway. It would be really inconvenient for users of PHP, if PHP 4.0.5 would not be compatible with existing web-servers. Would you mind explaining how you came to the conclusi

Re: [PHP] writing to file on server

2001-04-22 Thread Adam
chmod the file to 777, this will allow anyone write permission to the file and thus you will be able to append to the file -- 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 administ

[PHP-CVS] RE: [PHP-QA] RE: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/ircg config.m4 ircg.c php_ircg.h

2001-04-22 Thread Liz
> It would be really inconvenient for users of PHP, if PHP > 4.0.5 would not be compatible with existing web-servers. > Would you mind explaining how you came to the conclusion that > PHP 4.0.5 needs to be based on the RC7 tag? Without leaping into a battle that isnt mine.. (so pl

RE: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/ircg config.m4 ircg.c php_ircg.h

2001-04-22 Thread Zeev Suraski
At 22:47 22/4/2001, Sascha Schumann wrote: >On Sun, 22 Apr 2001, Zeev Suraski wrote: > > > I'm going to base 4.0.5 on the RC7 tag, so this won't make it in anyway. > > It would be really inconvenient for users of PHP, if PHP > 4.0.5 would not be compatible with existing web-servers. >

Re: [PHP] writing to file on server

2001-04-22 Thread Felix Kronlage
On Sun, Apr 22, 2001 at 03:06:04PM -0700, Adam wrote: > chmod the file to 777, this will allow anyone write permission to the file > and thus you will be able to append to the file file-mode 777 is ugo=rwx. You want 'chmod 666', which is ugo=rw. read is 4 write is 2 execute is 1 If you want rw

Re: [PHP] Link Color Questions

2001-04-22 Thread Adam
# yes, make a style sheet called "domain.css" and put in this text: # a.domain1:link { color: #FF; } a.domain2:link { color: #FF; } a.domain3:link { color: #FF8000; } # in the h

RE: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/ircg config.m4 ircg.c php_ircg.h

2001-04-22 Thread Andi Gutmans
I don't want to get into it but you had a big problem with config.m4 changes during RC's when I added the fastcgi support. Anyway no need to make a big deal about it but you almost killed me back then as config.m4 could potentially create problems for the whole release. Andi At 09:47 PM 4/22/2

[PHP-CVS] Re: [PHP-QA] RE: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/ircg config.m4ircg.c php_ircg.h

2001-04-22 Thread derick
On Sun, 22 Apr 2001, Zeev Suraski wrote: > At 22:47 22/4/2001, Sascha Schumann wrote: > >On Sun, 22 Apr 2001, Zeev Suraski wrote: > > > > > I'm going to base 4.0.5 on the RC7 tag, so this won't make it in anyway. > > > > It would be really inconvenient for users of PHP, if PHP > > 4.0.5 w

[PHP] What's wrong with this code?

2001-04-22 Thread Tyler Longren
$file = fopen("includes/about.inc", "r"); $data = fread($file, 2400); $stripped = stripslashes($data); $formatted_data = nl2br($stripped); echo "$formatted_data"; Any ideas why that doesn't work on one server but it will work on another server? The server it works on is Win2k, IIS5, php4.0.4

[PHP-CVS] Re: [PHP-QA] RE: [PHP-CVS] cvs: php4(PHP_4_0_5) /ext/ircg config.m4 ircg.c php_ircg.h

2001-04-22 Thread Zeev Suraski
I disagree. Bug fixes are endless (this is not just a figure of speech), and if we schedule another RC every time someone fixes a bug, we'll never release. None of the bugs fixed since RC7 are showstoppers, so the show goes on... Zeev At 23:56 22/4/2001, [EMAIL PROTECTED] wrote: >On Sun, 22

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

2001-04-22 Thread Sterling Hughes
sterlingSun Apr 22 16:40:34 2001 EDT Modified files: /php4/ext/ccvs ccvs.c Log: Fix bug #10447. Index: php4/ext/ccvs/ccvs.c diff -u php4/ext/ccvs/ccvs.c:1.13 php4/ext/ccvs/ccvs.c:1.14 --- php4/ext/ccvs/ccvs.c:1.13 Sun Feb 25 22:06:48 200

Re: [PHP] Recursive Childs

2001-04-22 Thread Joe Conway
>Subject: Re: [PHP] Recursive Childs > thanks for that, could you just explain how it should start, should i just call the function, how does the level get determined ??? After the function ends, starting at * $conn = pg_connect("dbname=mydb user=postgres"); ***

[PHP] is there something like get_time_limit() ?

2001-04-22 Thread almir
is it possible to get time limit of script on server ? almir -- 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] PHP4 for Apache httpd-2_0_16

2001-04-22 Thread The Doctor
Does anyone know how to build a static module for Apache httpd-2_0_16? -- 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] Reference to arrays

2001-04-22 Thread Wayne Parrott
Hi, I'm trying to make a reference to an array but it doesn't seem to work, is this supported? am i doing it wrong? Here is the code... $this->level[$this->breaklevel][column] = $col; $this->level[$this->breaklevel][level] = $this->breaklevel;

Re: [PHP] is there something like get_time_limit() ?

2001-04-22 Thread CC Zona
In article <9bvs8e$g9p$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("almir") wrote: > is it possible to get time limit of script on server ? Since the "max_execution_time" can be set in php.ini, the current value should be displayable with a call to phpinfo(). I expect you can also check that valu

[PHP] Incrementing a String Name

2001-04-22 Thread Chris Aitken
Hi Just a quick puzzle I cant seem to get around at the moment... Im trying to create a loop that increments the string name by a digit. For example, if I had the following 4 strings submitted to a script. $name1 $name2 $name3 $name4 What I want to do is create a while loop that will prin

Re: [PHP] Incrementing a String Name

2001-04-22 Thread Andreas Landmark
On Mon, Apr 23, 2001 at 10:58:20AM +1000, Chris Aitken produced this golden nugget: > Hi > > Just a quick puzzle I cant seem to get around at the moment... > > Im trying to create a loop that increments the string name by a digit. For > example, if I had the following 4 strings submitted to a s

Re: [PHP] Connecting to a MS Access database

2001-04-22 Thread Steve Maroney
This brings up a question that I always wondered. Does Access have server functionality? Where do you configure these settings ? Thanks, Steve On Sat, 21 Apr 2001, Andrew Hill wrote: > The Access native driver IS an ODBC driver. > That is, I believe, your only option. > > Best regards, > An

[PHP] redirection to another page function

2001-04-22 Thread Carlos Fernando Scheidecker Antunes
Hello all! Is there any PHP native function to redirect to another page or URL? I would like that once the user clicks on home.php4 and a few verifications are done, he/she would be redirected to home.html. Thanks, C.F.

RE: [PHP] redirection to another page function

2001-04-22 Thread Tyler Longren
header ("Location: http://www.location.com/home.html"); > -Original Message- > From: Carlos Fernando Scheidecker Antunes [mailto:[EMAIL PROTECTED]] > Sent: Sunday, April 22, 2001 8:19 PM > To: PHP-GENERAL > Subject: [PHP] redirection to another page function > Importance: High > > > Hel

RE: [PHP] redirection to another page function

2001-04-22 Thread Jason Murray
> Is there any PHP native function to redirect to another page or URL? No, because you can only redirect a browser to another page using the appropriate HTTP command (it is a header) or JavaScript. > I would like that once the user clicks on home.php4 and a few > verifications are done, he/she

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

2001-04-22 Thread Andrei Zmievski
andrei Sun Apr 22 17:24:06 2001 EDT Modified files: /CVSROOTavail cvsusers gen_acl_file.m4 Log: Access to PHP-GTK docs for Markus. Index: CVSROOT/avail diff -u CVSROOT/avail:1.150 CVSROOT/avail:1.151 --- CVSROOT/avail:1.150 Thu Apr 19 20:34:10 2001 +++

Re: [PHP] Incrementing a String Name

2001-04-22 Thread Tom Rogers
Hi Here is another way $x = 1; while($x < 5): $index = "name".$x; $name = $$index; echo $name.""; endwhile; had troubles with echo and $$variable, thats why the extra stephabit Tom At 10:58 AM 23/04/01 +1000, Chris Aitken wrote: >Hi > >Just a quick puzzle I cant s

Re: [PHP] Incrementing a String Name

2001-04-22 Thread Meir kriheli
On Monday 23 April 2001 03:58, Chris Aitken wrote: > Hi > > Just a quick puzzle I cant seem to get around at the moment... > > Im trying to create a loop that increments the string name by a digit. For > example, if I had the following 4 strings submitted to a script. > > $name1 > $name2 > $na

RE: [PHP] redirection to another page function

2001-04-22 Thread Christian Dechery
At 11:22 23/4/2001 +1000, Jason Murray wrote: > > Is there any PHP native function to redirect to another page or URL? > >No, because you can only redirect a browser to another page using the >appropriate HTTP command (it is a header) or JavaScript. > > > I would like that once the user clicks on

RE: [PHP] redirection to another page function

2001-04-22 Thread Jason Murray
> I never had any trouble using header() to redirect, but > wouldn't something like this work even better (without > worring about previous outputs)?? > > function redirect($dest) > { > ?> > > parent.location.href=''; > > } > >

  1   2   >