[PHP] php-4.0.5-dev with Apache rpm

2001-04-02 Thread Paul Juliano
Hi, How do I manually compile php-4.0.5-dev with an Apache rpm installation? Or do I have to install both apache and php manually? I know how to do the second method, but as much as possible, I don't want to hose the running apache install. Thanks. __ www.edsam

[PHP] I can't connect php with apache.

2001-04-02 Thread Kukai
Hi all, I have been trying to install PHP4.0 to Apache1.3 on Win2K platform. I followed the instruction carefully, and all of applications, PHP4.0, Apache1.3, MySQL are installed correctly, I think. However when I put the URI into the browser, http://localhost/test.php, I got message "The page ca

[PHP] Retrieving W2000 username as a PHP variable.

2001-04-02 Thread Jon
I am using Apache 1.3.19 for Win32 and PHP 4.04 as a module. I would like to retrieve, as a variable, the user name loged in the W2000 domain. Running PHPINFO() function it does not display USERNAME variable so I would like to know if there is other alternative to accomplish this task. Thanks

[PHP] very dumb question, need help

2001-04-02 Thread Jacky
Hi all I have been to look at manual about session, in php4, still not quite get it. Basically if I have sniplet below in one page, how do I assign value into that session and how do I call it up in next page? I sthe way I assign value into session correct? ( I think it did not, because it did n

[PHP] array_diff usage

2001-04-02 Thread V e r b a l
I'm daft. I don't understand the PHP Manual. I have two arrays: Open[0] contains 1 2 3 4 5 Closed[0] contains 1 2 Now: $test = array_diff($Open, $Closed); $lines = count($test); print $lines; Gives me: 1 I thought it should be 3. While: for ($counter =0; $counter <= $lines -1; $counter++) {

[PHP] how to build a template??

2001-04-02 Thread E K L
Hi Experts, I'm planning to build a template but failed to do so Here is the code: define(array("toplevel" => "toplevel.tpl")); $tpl->assign("title", "R U THEre"); $tpl->assign("content", "try this out"); $tpl->parse("main", "toplevel"); $tpl->FastPrint(); ?> error: Warning: Failed ope

Re: [PHP] login without database

2001-04-02 Thread Knut H. Hassel Nielsen
On Fri, 30 Mar 2001, Jon Rosenberg wrote: > you could use flat files, another words store the user information in a text > file like below: > username|pass|email > bob|fgffsdg|[EMAIL PROTECTED] > foo|bar|[EMAIL PROTECTED] > > > and then just read and write the file with PHP. > > Jon Be sure to c

[PHP] is this syntax correct?

2001-04-02 Thread Jacky
Hi all is this syntax correct to work on session in php4? but nest page when I call variable $test to echo it, nothing come up? what did I do wrong? Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself"

Re: [PHP] array_diff usage

2001-04-02 Thread Stig Venaas
On Mon, Apr 02, 2001 at 12:41:07AM -0700, V e r b a l wrote: > I'm daft. I don't understand the PHP Manual. > > I have two arrays: > Open[0] contains 1 2 3 4 5 > Closed[0] contains 1 2 So the arrays contain one string each? array_diff() won't work then. Try this: $a = array(1, 2, 3, 4, 5); $b =

RE: [PHP] is this syntax correct?

2001-04-02 Thread Joseph Bannon
What does global and session_register do? J Say I'm Hot! - Post Your Picture! http://www.sayimhot.com -- 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:

Re: [PHP] is this syntax correct?

2001-04-02 Thread [EMAIL PROTECTED]
I also tried this syntax: and it still not work as when I go to next page, and try echo $test, nothing come up. Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself" - Original Message - From: Joseph Bannon <[EMAIL PROTECTED]> To: Jacky@lils

[PHP] Max file size of 2 bytes exceeded

2001-04-02 Thread PHP
Hi guys, I seem to be having a problem uploading images. My server is running on FreeBSD and i am using PHP ver 4 I have checked all the settings in my php.ini file. max_execution_time = 30 memory_limit = 8M post_max_size = 8M file_uploads = On upload_max_filesize = 2M I have a form that a u

Re: [PHP] is this syntax correct?

2001-04-02 Thread [EMAIL PROTECTED]
Not really, do I need to have session_start at the sender page and the receiver page? Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself" - Original Message - From: Wade Halsey <[EMAIL PROTECTED]> To: Jacky@lilst <[EMAIL PROTECTED]> Sent: Mo

[PHP-CVS] cvs: php4 /ext/dbx dbx.c dbx_odbc.c dbx_pgsql.c

2001-04-02 Thread Marc Boeren
mboeren Mon Apr 2 01:51:36 2001 EDT Modified files: /php4/ext/dbx dbx.c dbx_odbc.c dbx_pgsql.c Log: Inserted a few extra initialisations, just in case. Had some problems in a different module, this solved it there, hance the added insurance. (Mc) In

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

2001-04-02 Thread Jani Taskinen
sniper Mon Apr 2 02:06:33 2001 EDT Modified files: /php4/ext/aspellconfig.m4 Log: Fixed a typo. Bug: #10103 Index: php4/ext/aspell/config.m4 diff -u php4/ext/aspell/config.m4:1.4 php4/ext/aspell/config.m4:1.5 --- php4/ext/aspell/config.m4:1.4 Tue Ma

[PHP] geocities and php

2001-04-02 Thread Joseph Bannon
I notice that geocities does not allow you to reference images that are on their servers to your homepage on another server/host. Is there a way to make PHP send different host information to geocities' server? Thanks, J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] session question

2001-04-02 Thread Jan Grafström
Hi! I am trying to learn about sessions and set up this file, This seams not to work on the file fillista.xml, I can still read it afterwords in IE:s cache. How do I pass the session to a xml-file on server? Thanks for any help. Regards jan -- PHP General Mailing List (http://www.php.net/)

php-general Digest 2 Apr 2001 09:41:06 -0000 Issue 603

2001-04-02 Thread php-general-digest-help
php-general Digest 2 Apr 2001 09:41:06 - Issue 603 Topics (messages 46526 through 46583): libpng error 46526 by: Thalis A. Kalfigopoulos 46543 by: nicuc.ac.jp Programming Jobs 46527 by: Jon Jacob 46531 by: Michael Kimsal 46563 by: natter Re: C and P

[PHP-CVS] cvs: php4(PHP_4_0_5) /ext/aspell config.m4

2001-04-02 Thread Jani Taskinen
sniper Mon Apr 2 02:07:22 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/ext/aspellconfig.m4 Log: MFH Index: php4/ext/aspell/config.m4 diff -u php4/ext/aspell/config.m4:1.3 php4/ext/aspell/config.m4:1.3.4.1 --- php4/ext/aspell/config.m4:1.3 Wed D

[PHP] Page Counter

2001-04-02 Thread Wen Ni
Dear Friends, I want to do page counter for my web site and I wonder whether PHP can do it or not. I am new in PHP so can you all please give me some idea how to solve my problem. Thank a lot. regards, Wendy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PR

Re: [PHP] Max file size of 2 bytes exceeded

2001-04-02 Thread Christian Reiniger
On Monday 02 April 2001 10:44, you wrote: > Hi guys, > > I seem to be having a problem uploading images. > > My server is running on FreeBSD and i am using PHP ver 4 > > I have checked all the settings in my php.ini file. > > max_execution_time = 30 > memory_limit = 8M > post_max_size = 8M > > fil

Re: [PHP] is this syntax correct?

2001-04-02 Thread Christian Reiniger
On Monday 02 April 2001 22:30, you wrote: > Hi all > is this syntax correct to work on session in php4? > > global $test; > $test = "foo"; > session_register("$test"); > ?> > > but nest page when I call variable $test to echo it, nothing come up? > what did I do wrong? Jack Use session_start();

Re: [PHP] is this syntax correct?

2001-04-02 Thread Christian Reiniger
On Monday 02 April 2001 10:44, you wrote: > What does global and session_register do? RTFM -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Pretty cool, the kind of power information technology puts in our hands these days. - Securityfocus on probing 3600 hosts for known pro

[PHP] Betr.: [PHP] Page Counter

2001-04-02 Thread M. Verheijen
Dear Wendy, Check out http://www.hotscripts.com/PHP/Scripts_and_Programs/ You should all you the scripts you'll need here!, still some problems? Let me know? Best regards, Maarten Verheijen MvG, Maarten Verheijen T/EXP kamernummer C558 Telefoonummer 4559 >>> Wen Ni <[EMAIL PROTECTED]> 02-04-

Re: [PHP] phpinfo unneeded

2001-04-02 Thread juang
guys.. mmmh still confuse, i had try to find out "disable_functions " but i cant found it, and then i write the syntax with myself and i stop->restart my apache mmhhh?? still didn't work. and here its my configure: ./configure '--with-apxs=/usr/local/apache/bin/apxs' '--

[PHP] Parent class

2001-04-02 Thread Milan Mlynarcik
Is there way to access paret class from outside of class ??? I know that to access parent object from within the class I can use code like this one: a = "OK"; } } class b extends a { function b() { //here I access a class directly a:

Re: [PHP] phpinfo unneeded

2001-04-02 Thread Felix Kronlage
On Mon, Apr 02, 2001 at 06:14:07PM +0700, juang wrote: > mmmh still confuse, i had try to find out "disable_functions " but i cant > found it, and then i write the syntax with myself and i stop->restart my > apache mmhhh?? still didn't work. and here its my configure: put the following i

[PHP] File upload via HTML forms

2001-04-02 Thread \[Intent A/S\] Tais M. Hansen
Hi! I'm currently working with a site on a safe mode enabled server. First off, there's no way safe mode can be disabled. Now, I need to be able to upload a file via a HTML form post, read and copy this file to a different location. But when the file is uploaded, it is placed in a tmp dir with

[PHP] Reading specific contents of a file

2001-04-02 Thread Thomas Edison Jr.
using fopen() i can open a file & using fread() i can read it's contents, store them & print them. But is there any way of checking the contents for a specific word or characters? For example i want the file pointer to search & if found, print the word "enter" from the open file. how to do this?

[PHP] Include files????

2001-04-02 Thread Bruno Freire
Hi! My name is Bruno. Anybody can tell me how can i do Include files? I mean, Write a function in a file and after this just include this file in the code, like <#include file.h> of C++?? Thanks !!!

Re: [PHP] Include files????

2001-04-02 Thread Felix Kronlage
On Mon, Apr 02, 2001 at 08:55:26AM -0300, Bruno Freire wrote: > Anybody can tell me how can i do Include files? has the thought of looking up the manual at php.net crossed your mind? try searching php.net for include(), require() -fkr -- gpg-fingerprint: 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD

Re: [PHP] Database connections

2001-04-02 Thread Yasuo Ohgaki
You don't have to call mysql_close(). PHP handles cleaning resources when script execution is ended. You can set default connection parameters for MySQL in php.ini. I don't know if you need to call mysql_connect(). (I don't use MySQL :) Regards, -- Yasuo Ohgaki ""David Hynes"" <[EMAIL PROTECTE

Re: [PHP] known problems with session_register()?

2001-04-02 Thread Yasuo Ohgaki
What is your php.ini? If you are enabled track vars and disabled register globals, all you have to do is assign values to $HTTP_SESSION_VARS and unset($HTTP_SESSION_VARS['your_session_var']). You don't need to use session_register(), session_unregister() if it's the case. Refer to User Notes in S

Re: [PHP] Attach File in PHP's Mail Function.

2001-04-02 Thread Yasuo Ohgaki
This has been asked recently. You can search archives. Look for links can be found at http://www.php.net/support.php Most easiest way is grabbing mail class that can handle attachment. There are many of them on the net. I think www.zend.com code exchange might have one. If you want to do it by y

Re: [PHP] php-4.0.5-dev with Apache rpm

2001-04-02 Thread Yasuo Ohgaki
Annotated manual is useful. Refer to http://www.php.net/manual/en/install.linux.php http://www.php.net/manual/en/install.apache.php You need to install apache-devel RPM if you are using RedHat. Regards, -- Yasuo Ohgaki ""Paul Juliano"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED

Re: [PHP] Parent class

2001-04-02 Thread Yasuo Ohgaki
Did you try $b->a()? It should work. -- Yasuo Ohgaki "Milan Mlynarcik" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Is there way to access paret class from outside of class ??? > I know that to access parent object from within the class I can use code > li

Re: [PHP] I can't connect php with apache.

2001-04-02 Thread Yasuo Ohgaki
I guess your httpd.conf is not allowing. Is your httpd.conf allow CGI script? Refer to Apache manual for that. Regards, -- Yasuo Ohgaki "Kukai" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > I have been trying to install PHP4.0 to Apache1.3 on W

RE: [PHP] Page Counter

2001-04-02 Thread Jason Lotito
http://newbienetwork.net/sections.php?op=viewarticle&artid=1 Read it, Learn it. Jason Lotito www.NewbieNetwork.net Where those who can, teach; and those who can, learn. > -Original Message- > From: Wen Ni [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 02, 2001 3:33 AM > To: [EMAIL PRO

[PHP] Search Engines

2001-04-02 Thread Geoff Caplan
Steve, You clearly know your stuff about search engines. I was planning to use the header: header("Expires: " . gmdate("D, d M Y H:i:s") . " GMT"); to ensure that pages are not cached in the client. But reading your excellent contribution, I was wondering whether a search bot would see this a

[PHP] libphp3.so

2001-04-02 Thread Marcelo Pereira
Hi all, I'm having trouble when installing PHP3-3.0.18. I've done: tar xzvf php3-3.0.18.tar.gz cd php3-3.0.18 ./configure --with-pgsql ./make ./make install Then, in the INSTALL file says to add the follow line at /etc/httpd/conf/httpd.conf LoadMoldulemodules/libphp3.so But, I dunno where

Re: [PHP] known problems with session_register()?

2001-04-02 Thread Felix Kronlage
On Mon, Apr 02, 2001 at 09:13:41PM +0900, Yasuo Ohgaki wrote: > If you are enabled track vars and disabled register globals, all you have to do > is assign values to $HTTP_SESSION_VARS and both are on. Could there be a problem with session_register() ? I do think it's odd, that the same code, on

Re: [PHP] session in php3 and in php4

2001-04-02 Thread A.T.Z.
>I heard rumors saying there is no way to use session in php3, is that >correct? No. PHPLIB >If there is no way to get around this, what is syntax for assign session >in php4 then? www.php.net take a look at the manual. Or one of the sites about PHP webmonkey etc.. Bye, B. -- PHP

[PHP] How to substitute Java classes?

2001-04-02 Thread torsten plaul
Hi folks, using Java-classes seems to be the only way to deal with CORBA in an easy way... I installed the Java support for PHP4 successfully. It runs fine under WinNt/Apache. The problem I´ve got is that Sun added some CORBA-classes to the archive (rt.jar) JDK comes with. But instead importing S

Re: [PHP] is this syntax correct?

2001-04-02 Thread Jack Dempsey
Jacky, basic thing about sessions: you need session_start() at the top of every page in which you expect to use them...check out zend.com for some tutorials...but yes, you do need it at the top of that page... -jack "Jacky@lilst" wrote: > > Not really, do I need to have session_start at the sen

RE: [PHP] File upload via HTML forms

2001-04-02 Thread John Almberg
Howdy, You should be able to read this file using the file system functions. The PHP process (if it is set up properly) should have read access to this directory. The problem you will have is *writing* it to your own directory, as the PHP process probably *doesn't* have write access to your direc

[PHP] PHP Training

2001-04-02 Thread Matt Davis
Hi, is anyone aware of any php training courses available in the UK or alternativly any online anywhere. Thanks Matt. -- 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 administrato

[PHP] Why does it work this way?

2001-04-02 Thread Boget, Chris
for( $i = "a"; $i <= "z"; $i++ ) { } Not entirely too sure why, but the above works. And it's really cool that it does. :) However, it doesn't work as one would expect (aside from the fact that it works at all :p). Just looking at it, I would think that it would iterate from "a" to "z" and st

[PHP] why some dll's don't work

2001-04-02 Thread Adrian Murphy
Certain dll's i try to use simply refuse to work. php.ini is edited correctly. php_ftp.dll works php_gd.dll don't php_ldap.dll works php_oci8.dll don't(with oracle 8i personal inastalled) etc. whats going on.all the requiste dll's are in the right folder. -- PHP General Mailing List (http://ww

Re: [PHP] very dumb question, need help

2001-04-02 Thread Hardy Merrill
At the top of every script that will register or use session variables, I do "session_register" - something like this: script_1.php script_2.php HTH. -- Hardy Merrill Mission Critical Linux, Inc. http://www.missioncriticallinux.com Jacky [[EMAIL PROTECTED]] wrot

RE: [PHP] geocities and php

2001-04-02 Thread Krznaric Michael
Try cURL http://www.php.net/manual/en/ref.curl.php You can send anything you want. Mike -Original Message- From: Joseph Bannon [mailto:[EMAIL PROTECTED]] Sent: Monday, April 02, 2001 5:36 AM To: [EMAIL PROTECTED] Subject: [PHP] geocities and php I notice that geocities does n

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

2001-04-02 Thread Andrei Zmievski
andrei Mon Apr 2 06:20:17 2001 EDT Modified files: /php4/ext/standard array.c Log: Use correct string length. Index: php4/ext/standard/array.c diff -u php4/ext/standard/array.c:1.106 php4/ext/standard/array.c:1.107 --- php4/ext/standard/array.c:1.106

Re: [PHP] Programming Jobs

2001-04-02 Thread David G.
"Jon Jacob" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I hope this is not off topic, but I need to ask a general audience this > question and this seems like the right group. > > I have been out of work for two months and I am not sure why. I am a > talent

[PHP] Programming Jobs - what I look for.

2001-04-02 Thread Michael Kimsal
To follow up just a bit more, here are skills I would require of someone before hiring them: * Practical SQL knowledge, with hands-on experience of at least 6 months (with projects/URLs to show for it) with either MySQL, Postgres, MSSQL, Oracle, DB2 or another high-level DB system (preferably mor

[PHP] Re: Programming Jobs - what I look for.

2001-04-02 Thread Jon Jacob
Michael Kimsal wrote: > To follow up just a bit more, here are skills I would require of someone > before hiring them: > > * Practical SQL knowledge, with hands-on experience of at least 6 months > (with projects/URLs to show for it) with either MySQL, Postgres, MSSQL, > Oracle, DB2 or another hi

RE: [PHP] PHP SITE SUGGESTION

2001-04-02 Thread Krznaric Michael
I have a suspcion that it may have to do with your shell interperting the & character. Try to quote your URL with single quotes (''). Mike -Original Message- From: Michael Kimsal [mailto:[EMAIL PROTECTED]] Sent: Friday, March 30, 2001 10:41 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP SI

[PHP] Instalation

2001-04-02 Thread Marcelo Pereira
Hi, Why can't I found neither LIBPHP3.SO nor MOD_PHP3.SO ??? Thanks Marcelo Pereira Programmer

RE: [PHP] Programming Jobs - what I look for.

2001-04-02 Thread James Moore
> * Ability to talk me through at least 2 ways of solving a data > manipulation > problem, without code - whiteboard/paper/hand gestures and words only. > You also need to be able to argue why one method is better over another. > You don't have to be right, but you have to be able to justify your

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

2001-04-02 Thread Rasmus Lerdorf
rasmus Mon Apr 2 07:57:11 2001 EDT Modified files: /CVSROOTavail gen_acl_file.m4 Log: Karma for Nick Index: CVSROOT/avail diff -u CVSROOT/avail:1.128 CVSROOT/avail:1.129 --- CVSROOT/avail:1.128 Mon Mar 26 01:36:13 2001 +++ CVSROOT/avail Mon Apr

[PHP] Ming and flash detection

2001-04-02 Thread Jason Stechschulte
Hi, I'm having a problem writing a flash detector, and was hoping someone would help. I had one working that I created with Flash 4, but it would fetch another webpage after loading so that it knew where to redirect to. So it looked like: PHP embeds FLASH ---> load variables from PHP > redi

[PHP] Installing PHP as cgi and as self.

2001-04-02 Thread Brandon Orther
Hello, Can I install php as a cgi and install it as its own program? On a redhat 7.0 box Apache 1.3 Thanks Brandon? -- 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 administrator

RE: [PHP] Installing PHP as cgi and as self.

2001-04-02 Thread James Moore
> Hello, > > Can I install php as a cgi and install it as its own program? On a redhat > 7.0 box Apache 1.3 > > Thanks Brandon? Yep, cgi is the same as a command line interpreter. Just ./configure and dont enable any of the sapi's James -- PHP General Mailing List (http://www.php.net/) To u

Re: [PHP] array_diff usage

2001-04-02 Thread Martin Skjöldebrand
Stig Venaas wrote: > So the arrays contain one string each? array_diff() won't work then. Sorry - my fault. I'm getting the values from a database - not manually added. > Try this: > > $a = array(1, 2, 3, 4, 5); > $b = array(1, 2); > $test = array_diff($a, $b); > $lines = count($test); > echo

Re: [PHP] Problem installing on BSD

2001-04-02 Thread natter
>From my httpd.conf: LoadModule php4_modulelibexec/apache/libphp4.so (this file does exist) AddModule mod_php4.c # And for PHP 4.x, use: # AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Felix Kronlage wrote: > On Mon, Apr 02, 2001 at 12:01:08AM -06

Re: [PHP] Programming Jobs - what I look for.

2001-04-02 Thread Pierre-Yves Lemaire
* Willingness to work weekends/evenings, if need be, to meet deadlines. And if you are still working weekends and evenings after 9 months on the job, quit immediately. Start your own company or go fishing :) py -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA

Re: [PHP] Programming Jobs - what I look for.

2001-04-02 Thread Michael Kimsal
Not sure exactly what you mean. I'm a suit who *wants* to be a techie? I'm a techie who is also a suit, if truth be told. James Moore wrote: > > * Ability to talk me through at least 2 ways of solving a data > > manipulation > > problem, without code - whiteboard/paper/hand gestures and words

[PHP] Snmp, php and Win2K

2001-04-02 Thread Richard Heyes
Anyone have any examples of php that uses snmp to get the details of bandwidth usage from a Win2K server (ie Bytes sent/received on a particular interface)? Thanks. -- Richard Heyes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

[PHP] Starting a Forum?!

2001-04-02 Thread FredrikAT
Hi... I'm starting a forum, but I have one problem.. 1. Is there a easy way to ignore/don't take HTML/php tags inside a post.. e.g someone echo's $mysql_password/username? or something else... include, require etc... ...Fredrik:) -- - Fredrik A. Takle [EM

Re: [PHP] libpng error

2001-04-02 Thread Thalis A. Kalfigopoulos
Thank you very much, really appreciate it. But I have to admit that I an example from a book in which he creates a gif (and not a png), where he doesn't actually have to allocate a color. He only has 3 lines which are supposed to work. Maybe true for gif, but cannot tell, since I don't have gif

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

2001-04-02 Thread James Moore
Rasmus, please could you add *.chm to cvs wrappers please so the compiled helpfiles in PHPWEB arnt corrupted anymore when they are added. I dont think my Karama allows me to do this myself (I know you can cvs add -kb file.chm but someones bound to forget to do so in the future). Thanks James >

Re: [PHP] Ming and flash detection

2001-04-02 Thread Chris Adams
On 2 Apr 2001 07:58:42 -0700, Jason Stechschulte <[EMAIL PROTECTED]> wrote: >// This movie simply redirects to the appropriate page. >$m->add(new SWFAction("getURL('$thisURL', ''); stop();")); >I added code to write $thisURL to a file so I could see if it is getting >passed correctly, and it is.

Re: [PHP] Programming Jobs - what I look for.

2001-04-02 Thread Chris Adams
On 2 Apr 2001 06:49:02 -0700, Michael Kimsal <[EMAIL PROTECTED]> wrote: >* Willingness to work weekends/evenings, if need be, to meet deadlines. With the requirement that this should only be a temporary thing and rewarded appropriately (preferably with time off after the deadline). If it's become

RE: [PHP] Starting a Forum?!

2001-04-02 Thread James Moore
> Hi... > > I'm starting a forum, but I have one problem.. > > 1. Is there a easy way to ignore/don't take HTML/php tags inside a post.. > > e.g someone echo's $mysql_password/username? > or something else... > > include, require etc... take a look at http://www.php.net/manual/en/function.h

Re: [PHP] libpng error

2001-04-02 Thread Thalis A. Kalfigopoulos
On Mon, 2 Apr 2001, Thalis A. Kalfigopoulos wrote: > Thank you very much, really appreciate it. But I have to admit that I have an >example from a book in which he creates a gif (and not a png), where he doesn't >actually have to allocate a color. He only has 3 lines which are supposed to work.

[PHP-CVS] cvs: CVSROOT / cvswrappers

2001-04-02 Thread Rasmus Lerdorf
rasmus Mon Apr 2 08:03:12 2001 EDT Modified files: /CVSROOTcvswrappers Log: .chm files are binary Index: CVSROOT/cvswrappers diff -u CVSROOT/cvswrappers:1.3 CVSROOT/cvswrappers:1.4 --- CVSROOT/cvswrappers:1.3 Mon Mar 5 17:26:41 2001 +++ CVSROOT/cv

[PHP-CVS] cvs: php4 / NEWS /ext/odbc php_odbc.c

2001-04-02 Thread Nick Gorham
lurcher Mon Apr 2 08:18:47 2001 EDT Modified files: /php4 NEWS /php4/ext/odbc php_odbc.c Log: Added small change to php_odbc module, to check for failed SQLDisconnects and to close any outstanding transactions if the call fails, then disconne

[PHP] Can php read and than print file like it is

2001-04-02 Thread Jan Grafström
Hi! I have a file with text on 17 rows and when I let php read it ,get filezise and than print I only get the first row. I want all rows exatly like it is in the file, is it possible? My file: some rows here Thanks in advance for all help I can get. Regards Jan -- PHP General Maili

Re: [PHP] Starting a Forum?!

2001-04-02 Thread Steve Werby
"FredrikAT" <[EMAIL PROTECTED]> wrote: > 1. Is there a easy way to ignore/don't take HTML/php tags inside a post.. strip_tags() could be useful. It strips PHP and HTML tags and you can optionally add a list of allowable tags, which is nice if you want to allow bold and hyperlinks, but not other

Re: [PHP] Can php read and than print file like it is

2001-04-02 Thread Steve Werby
"Jan Grafström" <[EMAIL PROTECTED]> wrote: > I have a file with text on 17 rows and when I let php read it ,get > filezise and than print I only get the first row. > I want all rows exatly like it is in the file, is it possible? > My file: > > Yes, it's possible. Post your code so we can see w

[PHP-CVS] cvs: php4(PHP_4_0_5) /ext/standard array.c

2001-04-02 Thread Andrei Zmievski
andrei Mon Apr 2 09:12:07 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/ext/standard array.c Log: MFH Index: php4/ext/standard/array.c diff -u php4/ext/standard/array.c:1.101 php4/ext/standard/array.c:1.101.2.1 --- php4/ext/standard/array.c:1.101

Re: [PHP] Programming Jobs - what I look for.

2001-04-02 Thread Michael Kimsal
Completely agreed. We're quite casual about start/end times (not strict 9-5) and if you need to take a long lunch to hit the doctor's office or something, that's OK. But we do expect people to pitch in long hours when the deadlines are on - not often, but often enough that they matter. I've bee

[PHP] PHP3 - Instalation

2001-04-02 Thread Marcelo Pereira
Hi all [again], I'm becoming crazy installing PHP3 on my system I had already been using PHP but with no postgresql support, now I need it and I done: get php3-3.0.18.tar.gz untared it ./configure --with-pgsql ./make ./make install The INSTALL file says to add -LoadModules libphp3m

Re: [PHP] Can php read and than print file like it is

2001-04-02 Thread Jan Grafström
Thank You Steve! Here is my php -- Regards Jan Steve Werby wrote: > "Jan Grafström" <[EMAIL PROTECTED]> wrote: > > I have a file with text on 17 rows and when I let php read it ,get > > filezise and than print I only get the first row. > > I want all rows exatly like it is in the file,

RE: [PHP] nl2br

2001-04-02 Thread Boget, Chris
> In PHP there is an instruction : nl2br . > Does anybody know if there is something similar in Perl??? I think this syntax is correct... it's been a while... $string =~ /\\n/\/g or something along those lines... :p Chris

[PHP] VRML and PHP

2001-04-02 Thread Godd
I was wondering if it is possible for you to develop a VRML page that incorporates php to get the content that will be displayed?? I mean just the prospects of having a page the is "3D " and dynamic content based is quite interesting to me. -- PHP General Mailing List (http://www.php.net/

Re: [PHP] Programming Jobs - what I look for.

2001-04-02 Thread Mukul Sabharwal
--- Michael Kimsal <[EMAIL PROTECTED]> wrote: > To follow up just a bit more, here are skills I > would require of someone > before hiring them: > > * Practical SQL knowledge, with hands-on experience > of at least 6 months > (with projects/URLs to show for it) with either > MySQL, Postgres, MSS

RE: [PHP] VRML and PHP

2001-04-02 Thread Dominick Vansevenant
Since PHP comes from a preprocessor and you can create VRML Code with it, it is possible. Just set .vrml as your extension in the config file and implement PHP tags. Greetz, Dominick -Original Message- From: Godd [mailto:[EMAIL PROTECTED]] Sent: maandag 2 april 2001 18:59 To: [EMAIL PRO

Re: [PHP] Can php read and than print file like it is

2001-04-02 Thread Steve Werby
"Jan Grafström" <[EMAIL PROTECTED]> wrote: > Thank You Steve! > Here is my php > > $fillista = "fillista.xml"; > $fp = @fopen($fillista,r); > $count = fgets($fp,filesize($fillista)); > fclose($fp); > print "fillista=".$count; > ?> Your call to fgets() is only returning the first line o

[PHP] Why does it work this way?

2001-04-02 Thread Mark Roedel
-Original Message- From: Boget, Chris [mailto:[EMAIL PROTECTED]] Sent: Monday, April 02, 2001 11:12 AM To: Mark Roedel Subject: RE: [PHP] Why does it work this way? >> Because "z"+1 turns out to be "aa" (which, if you ask me, >> makes about as much sense as any of the alternatives), >

Re: [PHP] Programming Jobs - what I look for.

2001-04-02 Thread Mukul Sabharwal
oops, a 404, well try http://www.devhome.net/resume.txt in txt and http://www.devhome.net/resume.doc in word! :) --- Mukul Sabharwal <[EMAIL PROTECTED]> wrote: > > --- Michael Kimsal <[EMAIL PROTECTED]> wrote: > > To follow up just a bit more, here are skills I > > would require of someone >

Re: [PHP] Looping through the alphabet [was: Why does it work this way?]

2001-04-02 Thread Steve Werby
"Boget, Chris" <[EMAIL PROTECTED]> wrote: > for( $i = "a"; $i <= "z"; $i++ ) { > } > > Not entirely too sure why, but the above works. And > it's really cool that it does. :) > However, it doesn't work as one would expect (aside You may know this already and not have a need, but for the benefit

[PHP] freetype info required

2001-04-02 Thread Robert Vetter
Could someone please supply me with a little information about freetype fonts concerning the following points of interest: 1/ A good description of what it actually is. 2/ How to actually use it in a practical sense hopefully in conjunction with php. 3/ Supply of some small code snippets showing r

[PHP] Check whether I have php installed as cgi or api???

2001-04-02 Thread Brandon Orther
Hello, Can I check to see if cgi is installed as a cgi or an api? What does PHP embedded mean? thanXor Brandon -- 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-

[PHP] how do I turn off error checking in foreach() ?

2001-04-02 Thread Chris Lee
here is my code, If select_array() does not find anything it will not return anything, foreach() requires an array. I rtied putting an @ inforn of $database-> but this didnt work (didnt think it would) and I cant put in fron of the foreach() I get a parse error. foreach($database->select_ar

[PHP] scheduler

2001-04-02 Thread Michael Roark
Does anyone have any code which creates schedules? Like to create a works schedule or a league schedule (baseball, softball that sort of thing) -Micahel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

[PHP] Reading PHP.INI not from C:\WINNT

2001-04-02 Thread Diego Fulgueira
Hi! I can't make php.exe to read the configuration file, php.ini, from another path different from c:\winnt\. This location seems to be the default, but I want to change it to any other. I tried erasing php.ini from C:\winnt\ and I thought php.exe would read the php.ini siting next to it (in the

Re: [PHP] how do I turn off error checking in foreach() ?

2001-04-02 Thread Lindsay Adams
$database is the object. Select_array() is the function in the class, so... Try putting it in front of select_array() I don't know if this will work, but this is where I would think to put it. $database->@select_array() Let me know if it works. On 4/2/01 8:15 AM, "Chris Lee" <[EMAIL PROTECTED]

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

2001-04-02 Thread Anil Madhavapeddy
avsmMon Apr 2 09:45:27 2001 EDT Modified files: /php4/ext/standard output.c Log: Free the correct output buffer, to avoid a segfault on a HEAD request when using output buffering with a custom handler (patch by zeev@) Index: php4/ext/standard/output.

RE: [PHP] VRML and PHP

2001-04-02 Thread James Moore
> > Since PHP comes from a preprocessor and you can create VRML Code > with it, it > is > possible. Just set .vrml as your extension in the config file and > implement > PHP tags. Yep totally... James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE

Re: [PHP] Ming and flash detection

2001-04-02 Thread Jason Stechschulte
On Mon, Apr 02, 2001 at 08:41:29AM -0700, Chris Adams wrote: > On 2 Apr 2001 07:58:42 -0700, Jason Stechschulte <[EMAIL PROTECTED]> wrote: > >// This movie simply redirects to the appropriate page. > >$m->add(new SWFAction("getURL('$thisURL', ''); stop();")); > > >I added code to write $thisURL t

[PHP-CVS] cvs: php4(PHP_4_0_5) /ext/standard output.c

2001-04-02 Thread Anil Madhavapeddy
avsmMon Apr 2 09:48:29 2001 EDT Modified files: (Branch: PHP_4_0_5) /php4/ext/standard output.c Log: MFH, rev 1.53 Index: php4/ext/standard/output.c diff -u php4/ext/standard/output.c:1.48.2.2 php4/ext/standard/output.c:1.48.2.3 --- php4/ext/standard/ou

  1   2   3   >