[PHP] db backup script needed

2001-01-18 Thread Maxim Maletsky
Hello guys, I need a script that backs up the database running under cron. I just wrote an internal (quite important, but not fast growing) database and I HAVE TO release it by next Monday. Something is going quite strange in it on updates, it often updates other fields that it shouldn't

Re: [PHP] below10host.com as webhost?

2001-01-18 Thread Egan
On Thu, 18 Jan 2001 01:54:28 -0600, "Jeff Lacy" [EMAIL PROTECTED] wrote: anyone had thought/opinions on below10host.com as a web host? I'm speaking as a budding competitor, so keep that in mind. :-) According to their web page, below10host.com gives you 6GB per month for $9.95. By way of

RE: [PHP] how do i hide my .inc files in apache??

2001-01-18 Thread Matt Williams
My vote is still just for include files to have a standard (already accepted) extension. I think you may be missing the point on this one. The question wasn't what to name included files but how to stop apache parsing or showing the contents of the include files. The obvious solution of

RE: [PHP] how do i hide my .inc files in apache??

2001-01-18 Thread Maxim Maletsky
if they are called the same then you can add them ... how? good question ... how is .htaccess added.. the same way. there, in httpd.conf you can select which files not to show wit h, i think regular expression.. if you don't have the access to httpd.conf, or simply do not wish to use it, then

RE: [PHP] below10host.com as webhost?

2001-01-18 Thread jeremy
Alright, so here's my question on the whole phpwebhosting.blah thing... If they are extremely pro-PHP for hosting, how come they haven't responded to some of the _slams_ they've received on this list? I'd be surprised to hear that no-one working for PHPwebhosting wasn't at least lurking on this

[PHP] SESSIONS

2001-01-18 Thread David Tandberg-Johansen
Hello! Could anyone give me an direction where I can find information something like "session for dummies"! It's not funny anymore. I don't have anymore hair left :-] david -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] flash and php

2001-01-18 Thread [EMAIL PROTECTED]
Hi people, Can PHP3 work with flash movie? I mean, something like using Php3 to run flash content from db? If so, is there anywhere I can find out more information? cheers Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself"

[PHP] PDFLib and PHP and pdf_open_image_file

2001-01-18 Thread goood goood
I have an problem with PDFLib and PHP. I'm trying to include images in PDF file using pdf_open_image_file If in my source code is line: $o=pdf_open_image_file($pdf,"gif","pict.gif"); i get the error: Cannot find server or DNS Error (The page cannot be displayed). What's wrong.

Re: [PHP] flash and php

2001-01-18 Thread andreas \(@work\)
hi, see www.artfuntasy.com just flash4, php3, mysql greetings andreas - Original Message - From: "Jacky@lilst" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 18, 2001 11:23 PM Subject: [PHP] flash and php Hi people, Can PHP3 work with flash movie? I mean,

[PHP] general CGI question

2001-01-18 Thread Hrishi
Hello, I need to know how to get apache to parse CGI output with the SSI parser (the [php] script will have includes, which need to go through mod_include). changing the mime-type to x-server-parsed or anything hooked by mod_include doesnt help. thanks, Hrishi -- PHP General Mailing List

[PHP-CVS] Mailinglist: -help

2001-01-18 Thread Unger, Joachim
-Ursprungliche Nachricht- Von: changelog [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 17. Januar 2001 03:09 An: [EMAIL PROTECTED] Betreff: [PHP-CVS-DAILY] cvs: php4 / ChangeLog changelog Tue Jan 16 18:09:29 2001 EDT Modified files: /php4

Re: [PHP] how reliable is Windows2000 / php ?

2001-01-18 Thread Phil Driscoll
I can't speak for Windows 2000, but for NT4, I've been running PHP4 as a CGI under IIS, with MySQL since PHP4 was in beta, on several machines, with moderate loading. I've never had a single problem, nor have I had to reboot the machines during the last year. That's stable enough for me! I have

Re: [PHP] db backup script needed

2001-01-18 Thread CC Zona
In article DC017B079D81D411998C009027B7112AA93458@EXC-TYO-01, [EMAIL PROTECTED] (Maxim Maletsky) wrote: anyway, is there any script like that (fast and dirty is ok) to run on MySQL, PHP4.0.2 ? What about putting a mysqldump call into a crontab? -- CC -- PHP General Mailing List

[PHP] Sorting an array

2001-01-18 Thread Nicklas af Ekenstam
Hi! I have an array that looks kinda like this: NAMEADDRESS John DoeSome Street 1 Jane DoeAnother Street 2 Bill Gates Helsinki 666 How do I sort this array based on NAME? ADDRESS? Thanks!! - Nicklas -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] flash and php

2001-01-18 Thread Frank Joerdens
On Thu, Jan 18, 2001 at 04:23:58PM -0600, Jacky@lilst wrote: Hi people, Can PHP3 work with flash movie? I mean, something like using Php3 to run flash content from db? If so, is there anywhere I can find out more information? I use swift-generator from www.swift-tools.com, which integrates

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

2001-01-18 Thread Sascha Schumann
sas Thu Jan 18 02:45:22 2001 EDT Modified files: /php4/ext/ircg README.txt Log: Add a pointer to the homepage at the beginning Index: php4/ext/ircg/README.txt diff -u php4/ext/ircg/README.txt:1.2 php4/ext/ircg/README.txt:1.3 ---

Re: [PHP] preg_replace pain!

2001-01-18 Thread Christian Reiniger
On Thursday 18 January 2001 07:40, Nicholas Pappas wrote: I was hoping someone could help me with this regular expression... $pattern = "/\[b\](.*)\[\/b\]/Ui"; $message = preg_replace($pattern, "B\\1/B", $message); The above works for: [b]bold text[/b]

Re: [PHP] Sorting an array

2001-01-18 Thread Pavel Jartsev
Nicklas af Ekenstam wrote: Hi! I have an array that looks kinda like this: NAMEADDRESS John DoeSome Street 1 Jane DoeAnother Street 2 Bill Gates Helsinki 666 How do I sort this array based on NAME? ADDRESS?

[PHP] Error connecting to MySQL server

2001-01-18 Thread Rosen
Hi, When I try to connect to MySQL server I get message "Can't connect to MySQL server (10060 )! Please Help! Thanks Rosen Marinov -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

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

2001-01-18 Thread Sascha Schumann
sas Thu Jan 18 02:46:18 2001 EDT Modified files: /php4/ext/ircg README.txt Log: Expand tabs Index: php4/ext/ircg/README.txt diff -u php4/ext/ircg/README.txt:1.3 php4/ext/ircg/README.txt:1.4 --- php4/ext/ircg/README.txt:1.3Thu Jan 18

[PHP] upgrade problems

2001-01-18 Thread Bart A. Verbeek
Hello, I tried to upgrade php3* to php4 on my win98 machine. Downloaded the binarie and tried to install it. Every time I trie to request a *.php-file I get the following error: PHP: Unable to parse configuration file. Does anyone know what this meens and how to solve it?? php 3 always

[PHP] PHP Editor

2001-01-18 Thread Alaiddin Tayeh
I am using write.exe in the windows to edit my php files, is there any editor which I can test my syntax befor using the browser to execute it? any help will be appreciated. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Newbie : info/tut on XML and PHP

2001-01-18 Thread Rahul Bhide
Hi Gurus , Can you give me pointers(read urls) to "Good Sites" on tutorials or info from scratch on XML with PHP. Thanks in Advance. ~Rahul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Can I fork a PHP thread?

2001-01-18 Thread Terrence Chay
on 1/17/01 10:12 AM, Chris Lee at [EMAIL PROTECTED] wrote: There are occasions when I'd like to execute some long-running task in the background, in response to some user action. It seems that Im nearly posative this isnt what your looking for, but I thought I would see if maybe it was :)

Re: [PHP] best user authentication method?

2001-01-18 Thread Rick Hodger
Miles Thompson [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... IIS I'm not familiar with, and Apache has a native scheme involving .htaccess. If you want a portable authentication method, I'd recommend authenticating against a list of users/passwords contained

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

2001-01-18 Thread Sascha Schumann
sas Thu Jan 18 03:59:17 2001 EDT Modified files: /CVSROOTgen_acl_file.m4 avail Log: Add phpweb Karma for zimt Index: CVSROOT/gen_acl_file.m4 diff -u CVSROOT/gen_acl_file.m4:1.45 CVSROOT/gen_acl_file.m4:1.46 --- CVSROOT/gen_acl_file.m4:1.45

Re: SV: [PHP] Array help needed

2001-01-18 Thread CDitty
Thanks. Getting this error. Cannot increment/decrement overloaded objects nor string offsets. Any idea? Chris At 05:54 AM 1/18/01, Knut Stre wrote: Try this: $array = array(1,2,3,4,5,3,3,1); foreach(array_values($array) as $s) { $count[$s]++; } foreach(array_keys($count) as $s) { echo

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

2001-01-18 Thread Sascha Schumann
sas Thu Jan 18 04:08:41 2001 EDT Modified files: /CVSROOTgen_acl_file.m4 avail Log: php_web karma for mk Index: CVSROOT/gen_acl_file.m4 diff -u CVSROOT/gen_acl_file.m4:1.46 CVSROOT/gen_acl_file.m4:1.47 --- CVSROOT/gen_acl_file.m4:1.46Thu Jan

Re: [PHP] Cobalt Raq/PHP Help Needed

2001-01-18 Thread Kevin Cawthorne
use ServerAlias in the httpd.conf file under the site you want it to point to. Ive got a RAQ3 and it works fine Kevin Cawthorne - Original Message - From: "Gareth Davies" [EMAIL PROTECTED] To: "PHP List" [EMAIL PROTECTED] Sent: Thursday, January 18, 2001 12:55 PM Subject: [PHP] Cobalt

[PHP] preg_replace problem

2001-01-18 Thread The Captain
I have a regular expression that's not giving me the results i really need. I have a bunch of strings coming at me that need to be truncated if they're over 15 characters... but not to truncate until after it reaches the first word. This regular expression just doesn't seem to want to work

RE: [PHP] Something cool I found in Wired,

2001-01-18 Thread Brian V Bonini
Sounds a lot like Netmeeting -Original Message- From: Dallas Kropka [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 12:41 AM To: PHP LIST Subject: [PHP] Something cool I found in Wired, Ok, I know that this is PHP, but I thought that allot of the

[PHP-CVS] cvs: php4 /ext/muscat LICENSE LICENSE.about Makefile.in aegis.log config config.m4 muscat.c muscat.php muscat_handles.h muscat_net.c muscat_net.h php_muscat.h

2001-01-18 Thread Sam Liddicott
samjam Thu Jan 18 05:21:33 2001 EDT Added files: /php4/ext/muscatLICENSE LICENSE.about Makefile.in aegis.log config config.m4 muscat.c muscat.php muscat_handles.h muscat_net.c muscat_net.h php_muscat.h Log:

[PHP] Calendar program

2001-01-18 Thread Todd Cary
Does a calendar program exist in PHP similar to Yahoo's program? (http://www.yahoo.com/calendar) Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] (Newbie) String within a string

2001-01-18 Thread jalist
I'm trying to grab a string from within a string based on a matching word or phrase. Example... $string = "This is a string I need to grab the middle out of" $query_word = "need" I need to get x amount of characters either side of $query_word, so the result string would be like... "string I

[PHP] Re: [Apc-cache] Re: [PHP] APC version 1.0.4 released

2001-01-18 Thread George Schlossnagle
http://apc.communityconnect.com/download.html The Doctor wrote: On Wed, Jan 17, 2001 at 07:00:12PM -0500, Daniel Cowgill wrote: Fixes this time around: * class hierarchies more than two levels deep should work now :) * should compile cleanly under PHP 4.0.2 through 4.0.4pl1 Dan

[PHP] Spell checker?

2001-01-18 Thread Nik Gare
Hi, I have a site which will be updated periodically by someone else, so have made some forms with textareas for them to upload the text into the MySQL database. I was wondering if there is a PHP function/class which could spell check these forms? TTFN Nik -- PHP General Mailing List

[PHP-CVS] cvs: php4 /ext/muscat aegis.log config

2001-01-18 Thread Sam Liddicott
samjam Thu Jan 18 05:30:01 2001 EDT Removed files: /php4/ext/muscataegis.log config Log: Aghh. Despite my efforts two files still slipped through -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] Spell checker?

2001-01-18 Thread Kristi Russell
http://www.php.net/manual/en/ref.pspell.php There's also aspell which is deprecated. Kristi - Original Message - From: "Nik Gare" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 18, 2001 9:12 AM Subject: [PHP] Spell checker? Hi, I have a site which will be updated

[PHP] Recompile GD ??

2001-01-18 Thread Miguel Loureiro
How can I do it ??? I installed jpeg-6b, and I readed that before recompile PHP(with option : --with-jpeg-dir=/.../jpeg-6b), I must recompile gd, its really necessary ? If si, how recompile gd. Thanks Miguel Loureiro [EMAIL PROTECTED]

RE: [PHP] Calendar program

2001-01-18 Thread Jon Haworth
This should achieve a similar effect as that URI: ?php echo "404 Document Not Found"; ? ;-) Cheers Jon -Original Message- From: Todd Cary [mailto:[EMAIL PROTECTED]] Sent: 18 January 2001 13:56 To: [EMAIL PROTECTED] Subject: [PHP] Calendar program Does a calendar program

Re: [PHP] preg_replace pain!

2001-01-18 Thread Shaun Thomas
On Thu, 18 Jan 2001, Christian Reiniger wrote: On Thursday 18 January 2001 07:40, Nicholas Pappas wrote: I was hoping someone could help me with this regular expression... $pattern = "/\[b\](.*)\[\/b\]/Ui"; $message = preg_replace($pattern, "B\\1/B", $message); The

Re: [PHP] Calendar program

2001-01-18 Thread Todd Cary
Whooops! Wrong URL! http://calendar.yahoo.com Todd Todd Cary wrote: Does a calendar program exist in PHP similar to Yahoo's program? (http://www.yahoo.com/calendar) Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

[PHP] xslt_run problems

2001-01-18 Thread David Derr
I am having an issue hopefully someone else has encountered already. I have successfully compiled the latest expat(0.50) and sablot(1.95.1) libraries and configured and compiled php4 and apache1.3.14 to use the Sablotron Extensions. I think anyway it was successful because it says "Sablotron

[PHP] Problem with gettext support - Solaris 2.7

2001-01-18 Thread Albert Novak
Hi! When I try to compile PHP 4.0.4 as Apache module with gettext support, the gettext support doesn't function. But when I compile PHP as CGI, the gettext support works fine. Where is the the problem (other functions works fine in both case)? I use Apache 1.3.14 with DSO support, GNU gettext

Re: [PHP] calling static class functions using a function variable

2001-01-18 Thread Shaun Batterton
Well, essentially, a static class method is a method that can be called without any instances of the class. It's just a nice way to group functions for your class. Check out chapter 13 of the php manual: http://www.php.net/manual/en/language.oop.php "Static class methods are apparently

Re: [PHP] xslt_run problems

2001-01-18 Thread Sterling Hughes
I am having an issue hopefully someone else has encountered already. I have successfully compiled the latest expat(0.50) and sablot(1.95.1) libraries and configured and compiled php4 and apache1.3.14 to use the Sablotron Extensions. I think anyway it was successful because it says

[PHP] PHP Editors

2001-01-18 Thread Karl J. Stubsjoen
So what editor is recommended? I'm a little familiar with Emacs (kinda cool, but I'm use to keywords and such being colored - as in Interdev). Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] PHP Editors

2001-01-18 Thread Alexander Wagner
Karl J. Stubsjoen wrote: So what editor is recommended? I'm a little familiar with Emacs (kinda cool, but I'm use to keywords and such being colored - as in Interdev). Try emacs with a php-mode (there are several, search for them). Wagner -- One maniac alone can do what 20 together cannot

Re: [PHP] PHP Editors

2001-01-18 Thread jeremy brand
There is no recommended editor. Use whatever you like, as long as it stores the files in plain text. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at

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

2001-01-18 Thread Andrei Zmievski
andrei Thu Jan 18 06:36:43 2001 EDT Modified files: /php4/ext/standard datetime.c Log: @- Fixed 'O' and 'r' flags of date() to have correct sign for timezone @ offset. (Andrei) Index: php4/ext/standard/datetime.c diff -u

[PHP-I18N] Problem with gettext suporrt - Solaris 2.7

2001-01-18 Thread Albert Novak
Hi! When I try to compile PHP 4.0.4 as Apache module with gettext support, the gettext support doesn't function. But when I compile PHP as CGI, the gettext support works fine. Where is the the problem (other functions works fine in both case)? I use Apache 1.3.14 with DSO support, GNU gettext

Re: [PHP] Register globals when option is turned on

2001-01-18 Thread Carsten Gehling
From: "Ignacio Vazquez-Abrams" [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 11:33 PM On Wed, 17 Jan 2001, Carsten Gehling wrote: Is there a way to programatically enable the register_globals option for a php-script? For certain reasons I have the register_globals option set to

Re: [PHP] PHP Editor

2001-01-18 Thread Chris Lee
I run Linux for server / testbed / devel so I cant say here for sure, but I know in linux if I wanted to test a script without running it on my webserver (Ive had scripts that crash apache) I compile php as a cgi and do this. php -q test.php the '-q' just means "dont send the http headers" can

Re: [PHP] (Newbie) String within a string

2001-01-18 Thread Chris Hayes
jalist: I'm trying to grab a string from within a string based on a matching word or phrase. Example... You say you want the middle, not two words before and two words after. I see several ways. 1. Explode into an word-array and use that: 1. prepare string

[PHP-CVS] cvs: php4 /ext/sablot config.m4

2001-01-18 Thread Jani Taskinen
sniper Thu Jan 18 07:09:35 2001 EDT Modified files: /php4/ext/sablotconfig.m4 Log: Fixed a typo. Index: php4/ext/sablot/config.m4 diff -u php4/ext/sablot/config.m4:1.12 php4/ext/sablot/config.m4:1.13 --- php4/ext/sablot/config.m4:1.12 Thu Jan 11

RE: [PHP] PHP Editors... perhaps Ultraedit

2001-01-18 Thread John Huggins
Karl, I suggest Ultraedit (on the PC) at http://www.ultraedit.com. I use it along side Dreamweaver with good results and good organization. Ultraedit (out of the box) does not know about PHP; you configure it with one of the several wordlist files and then you will have syntax highlighting. I

Re: [PHP] HTTP_POST??

2001-01-18 Thread Chris Lee
Try this, I know Ive botched your origonal code... somepage.php ? while(...) { ... echo "tdinput type='checkbox' name='account_num[$SkyAccNo]' value='$SkyAccNo'/td\n"; } ? someotherpage.php ? function checked($val_1, $val_2) { if ($val_1 == $val_2) return " checked "; }

[PHP] prova

2001-01-18 Thread Giancarlo
ciao -- 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-general Digest 18 Jan 2001 16:09:35 -0000 Issue 462

2001-01-18 Thread php-general-digest-help
php-general Digest 18 Jan 2001 16:09:35 - Issue 462 Topics (messages 35249 through 35370): Re: Ethics question... 35249 by: Egan 35271 by: Angus Mann 35277 by: Les Neste 35278 by: Dallas Kropka 35294 by: Egan 35295 by: Romulo Roberto Pereira

RE: [PHP] (Newbie) String within a string

2001-01-18 Thread jalist
Excellent, thanks a lot Chris. Steve (jalist) [EMAIL PROTECTED] http://ls2k.org -Original Message- From: Chris Hayes [mailto:[EMAIL PROTECTED]] Sent: 18 January 2001 15:43 To: jalist; PHP Subject: Re: [PHP] (Newbie) String within a string jalist: I'm trying to grab a string from

[PHP] help me!! cookie and IIS

2001-01-18 Thread Giancarlo
i work with php3 and mysql in IIS webserver,my project in php work right on the localhost, but not in the other pc of the LAN, what can i do? the internet options enable Cookies. thank you? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] PHP Editors... perhaps Ultraedit

2001-01-18 Thread Alexander Wagner
John Huggins wrote: I suggest Ultraedit (on the PC) at http://www.ultraedit.com. I use it along side Dreamweaver with good results and good organization. Ultraedit (out of the box) does not know about PHP; you configure it with one of the several wordlist files and then you will have syntax

Re: [PHP] Automated Scripts

2001-01-18 Thread Jon Farmer
You could either Compile PHP as a command line executable or Use Lynx to call a php page through HTTP. either wat cron is the way to go Regards -- Jon Farmer www.workcam.co.uk +44 (0)7968 524175 2001 should be pronounced twenty o one not two thousand and one "Jason Murray" [EMAIL

Re: [PHP] Array help needed

2001-01-18 Thread php3
Addressed to: CDitty [EMAIL PROTECTED] [EMAIL PROTECTED] ** Reply to note from CDitty [EMAIL PROTECTED] Thu, 18 Jan 2001 06:58:22 -0600 I see someone else has another suggestion that might be better, using array_count(). You learn something new every day, which is why I watch

[PHP] Internals of Session files

2001-01-18 Thread Eivind Trondsen
Hi all! Can someone shed any light on the internals of the session file format? Is it documented somewhere? We are building a system to log user paths, and are thinking of harvesting PHP session objects to accomplish this. Has someone done the same? Thanks for all help! :-) -- -- Eivind

Re: [PHP] Ethics question...

2001-01-18 Thread Brian Huddleston
Why would Microsoft be using Solaris, or Linux even? (hint, the same reason -- their stuff works less good). Do you know for a fact that they do? If so, how? That'd be a very cool tidbit of information to share . . . Yep it is (was) true. We used to laugh about it at work. (We were in

Re: [PHP] Internals of Session files

2001-01-18 Thread Chris Lee
No if memory serves me correctly php by default saves the session files in its own format, but you can tell php to save sessions in XML (wddx? am I way off) Ive never used XML, WDDX, or tried doing anything directly with the sessions files Chris Lee "Eivind Trondsen" [EMAIL PROTECTED] wrote

Re: [PHP] Array help needed

2001-01-18 Thread April
As a generalness, from what I've seen, people who just switched from ASP use somethingUppercase at first. Then forget to capitalize it a few times, and switch to completely lowercase in disgust (case-sensitivity can be quite a shock when you're not used to it). And the people who've done PHP

[PHP] CSS and PHP

2001-01-18 Thread Brandon Orther
Hello, I am making a script that creates a dynamic htm page. One of the many things that this script does is change the css. The problem I am having is that it doesn't seem to display the css when it is loaded through the web server. When I look at the source and save it as an htm file. It

[PHP] cookie problem

2001-01-18 Thread Fai
I'm working with php3 and IIS, i had set cookie with: name, $session-cookie, $session-timeid+3600, "/"); ? but these cokkie work right only on localhost and not on the others computer of the LAN, the options setting of internet: enable Cookie, where is the problem? Thank You! -- PHP General

[PHP] Sendmail User ID

2001-01-18 Thread Yurais Fernandez Leal
Hi I have a web site that sends virtual greetings cards But the mails are been sent as nobody@webserver nobody is the user that runs the web server. Should I run the web server as a different user so that the mails get sent as this user instead of nobody ? I've play with the headers in the

Re: [PHP] calling static class functions using a function variable

2001-01-18 Thread Richard Lynch
Check out chapter 13 of the php manual: http://www.php.net/manual/en/language.oop.php "Static class methods are apparently supported in php v4.02"... using :: notation. A user-comment that "it works" does not exactly qualify as a documented feature... I wouldn't count on it. By Day:

[PHP] Print vs. Echo

2001-01-18 Thread Karl J. Stubsjoen
What is the basic difference between print and echo? As I am understanding it, Echo allows you to define a multi-line area to output text without having to repeat quoting for each line but then what is the advantage of print? Thanks! -- PHP General Mailing List (http://www.php.net/) To

[PHP] quick question on the passed variables between scripts

2001-01-18 Thread Romulo Roberto Pereira
Hello! I have one script that has a bunch of checkboxes in a form, all them with different names. As you know the form only submit the ones that are checked. I would like to know witch ones the user checked (they will come in the path as variables I suppose) because I need to make a sum of the

Re: [PHP] PHP Editors

2001-01-18 Thread Ignacio Vazquez-Abrams
On Thu, 18 Jan 2001, Karl J. Stubsjoen wrote: So what editor is recommended? I'm a little familiar with Emacs (kinda cool, but I'm use to keywords and such being colored - as in Interdev). Thanks! I've found vim to be quite capable. Only a few syntax highlighting problems, but no big

Re: [PHP] Sendmail User ID

2001-01-18 Thread Julia A . Case
$mailsent = mail("[EMAIL PROTECTED]", "Subject", $mesg, "From: [EMAIL PROTECTED]\n") Try this, Julia Quoting Yurais Fernandez Leal ([EMAIL PROTECTED]): Hi I have a web site that sends virtual greetings cards But the mails are been sent as nobody@webserver nobody is the

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

2001-01-18 Thread Sam Liddicott
samjam Thu Jan 18 08:16:28 2001 EDT Modified files: /php4/ext/muscatmuscat.c Log: Some decent credits and such in the phpinfo page Index: php4/ext/muscat/muscat.c diff -u php4/ext/muscat/muscat.c:1.1 php4/ext/muscat/muscat.c:1.2 ---

Re: [PHP] Print vs. Echo

2001-01-18 Thread Philip Olson
Have a look here : What is the difference between echo and print?: --- http://www.faqts.com/knowledge_base/view.phtml/aid/1/fid/41 Philip On Thu, 18 Jan 2001, Karl J. Stubsjoen wrote: What is the basic

RE: [PHP] PHP Editors

2001-01-18 Thread Brandon Orther
I am not sure what OS you are running but for windows I use PHPED. Check it out at www.phped.com -Original Message- From: Karl J. Stubsjoen [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 7:03 AM To: PHP Mailing List Subject: [PHP] PHP Editors So what editor is recommended?

RE: [PHP] Spell checker?

2001-01-18 Thread Brandon Orther
Check here, I have never messed with it just ran into it the other day. I hope it helps. http://www.php.net/manual/en/ref.pspell.php Thank you, Brandon Orther WebIntellects Design/Development Manager [EMAIL PROTECTED] 800-994-6364

[PHP] ClibPDF Tutorial?

2001-01-18 Thread Tom Harris
Does anyone know a good tutorial on using the ClibPDF functions (I gave up on pdflib, couldn't get it complied correctly)? I don't need to know how to do anything complex, just put text into a pdf that outputs directly to the browser. Thanks. -- PHP General Mailing List

Re: [PHP] php 4.0.5.dev will not read php.ini on NT

2001-01-18 Thread Robert
Configuration File (php.ini) Path php.ini is what it said before. It still says that, I switched back to 4.04pl1 and now it works fine I wrote an IC parts search engine that will search our MSSQL database for partial part numbers and part numbers with the dash in the wrong place. It's

[PHP] question on time-based function

2001-01-18 Thread Rudy McDaniel
Anyone have any ideas on how to make a function reset every 24-hours? For example, I have a function that grabs a random quote from a file and selects a new one every time the page is reloaded. What I want, however, is for the quote to remain the same for a day and then reset at some

[PHP] Variable Scope

2001-01-18 Thread Karl J. Stubsjoen
I'm a bit troubled with the fact that variables declared at the top of your script are not then global to functions within that script. That in order to see that variable within a function you'd have to declare it as global in the function (understanding that the variable could have been set at

Re: [PHP] Internals of Session files

2001-01-18 Thread Chris Adams
On 18 Jan 2001 08:28:50 -0800, Eivind Trondsen [EMAIL PROTECTED] wrote: Can someone shed any light on the internals of the session file format? Is it documented somewhere? We are building a system to log user paths, and are thinking of harvesting PHP session objects to accomplish this. Has

Re: [PHP] CSS and PHP

2001-01-18 Thread Chris Adams
On 18 Jan 2001 08:58:45 -0800, Brandon Orther [EMAIL PROTECTED] wrote: I am making a script that creates a dynamic htm page. One of the many things that this script does is change the css. The problem I am having is that it doesn't seem to display the css when it is loaded through the web

Re: [PHP] calling static class functions using a function variable

2001-01-18 Thread John Donagher
Static class methods certainly do work, and have for some time. I think Shaun's point is that variable-named function support seems to be missing for calling static class methods. John On Thu, 18 Jan 2001, Richard Lynch wrote: Check out chapter 13 of the php manual:

Re: [PHP] Variable Scope

2001-01-18 Thread Philip Olson
A nice explanation, via the mind of Lars Torben Wilson, exists here : http://marc.theaimsgroup.com/?l=php-generalm=97717398101040w=2 Also, you may want to check out : http://www.php.net/manual/en/language.constants.php http://www.php.net/manual/en/function.define.php Philip On

[PHP]GD, PHP and Apache troubles

2001-01-18 Thread Kees Hoekzema
Hi all, I've some strange problems. I compiled apache PHP from fresh .tar.gz, as static. (and fresh GD, libpng, jpeg-6b, zlib compilations) PHP adn GD aren't giving any troubles at all, but the compilation of apache gives some errors when trying to compile the PHP4 module... here are they:

Re: [PHP]GD, PHP and Apache troubles

2001-01-18 Thread Rasmus Lerdorf
gcc -DLINUX=2 -I/root/source/php-4.0.4 -I/root/source/php-4.0.4/main -I/roo t/source/php-4.0.4/main -I/root/source/php-4.0.4/Zend -I/root/source/php-4.0 .4/Zend -I/root/source/php-4.0.4/TSRM -I/root/source/php-4.0.4/TSRM -I/root/ source/php-4.0.4 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED

[PHP] isset inside echo?

2001-01-18 Thread Romulo Roberto Pereira
it is possible to use isset inside a echo? like this: $checked = "CHECKED"; $nothing = ""; echo "input type=checkbox name=cb[0] value=$value[0] ".isset(cb[0])?$checked:$nothing.""; Rom

[PHP] find out if a number is a multiple of three

2001-01-18 Thread Brett
I am trying to find out if I can take a the quantity of a product ordered and find out if it is a multiple of three. Can someone point me in the direction of some documentation or an exmaple of how this can be accomplished. Thanks, Brett -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] isset inside echo?

2001-01-18 Thread Ignacio Vazquez-Abrams
On Thu, 18 Jan 2001, Romulo Roberto Pereira wrote: it is possible to use isset inside a echo? like this: $checked = "CHECKED"; $nothing = ""; echo "input type=checkbox name=cb[0] value=$value[0] ".isset(cb[0])?$checked:$nothing.""; Rom isset() is a proper function, so yes. --

Re: [PHP] find out if a number is a multiple of three

2001-01-18 Thread Ignacio Vazquez-Abrams
On Thu, 18 Jan 2001, Brett wrote: I am trying to find out if I can take a the quantity of a product ordered and find out if it is a multiple of three. Can someone point me in the direction of some documentation or an exmaple of how this can be accomplished. Thanks, Brett if

[PHP] RE: Ethics question...

2001-01-18 Thread Ayan R. Kayal
Before Microsoft bought it, Hotmail had a FreeBSD/Apache frontend and a Sun/Solaris backend. Supposedly, corporate wanted MS to move Hotmail to NT, but supposedly it failed so miserably at serving up 10 million users that they had to nix those plans. I think Hotmail is running FreeBSD/Apache for

[PHP] using both version 3 and 4?

2001-01-18 Thread OutBox
Hello, I've already compiled PHP4 on my server for php scripts, but there is one script which seems to only use PHP 3. So what i'd like to know is if it is possible to both install PHP 3 and 4 on the same server and use them both at the same time? Thanks for any help! Sincerely, Jero

Re: [PHP] Variable Scope

2001-01-18 Thread Philip Olson
How about allowing for metaPasses within the castle? Am sure this topic came up, what's the conclusion? Philip On Thu, 18 Jan 2001, Rasmus Lerdorf wrote: I'm a bit troubled with the fact that variables declared at the top of your script are not then global to functions within that

RE: [PHP] RE: Ethics question...

2001-01-18 Thread Randy Johnson
is there any benchmarks or proof that I should host a high traffic site on a FREEBSD/APACHE instead of a redhat Linux/Apache server? randy -Original Message- From: Ayan R. Kayal [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 18, 2001 1:42 PM To: [EMAIL PROTECTED] Subject: [PHP] RE:

RE: [PHP] using both version 3 and 4?

2001-01-18 Thread O.Cook
I just did this the other day. It's quite a simple task really. Instructions are at the end of the PHP4 INSTALL file. If you want to compile both as Apache modules, just re`configure` both with --enable-versioning. Regards, Ollie -Original Message- From: OutBox [mailto:[EMAIL

RE: [PHP] RE: Ethics question...

2001-01-18 Thread Scott Gerhardt
I have come across numerous reports/tests comparing the various OS's in terms of raw speed and scalability. There are many conclusions but some things seem to stick out: 1.) Linux is very well supported and sometimes easier to maintain than the BSD's (RedHat RPM's etc.) 2.) Linux and FreeBSD

  1   2   3   >