[PHP] Re: upload permission denied!

2002-01-28 Thread Mike Frazer
Try changing the permissions of the parent directory. I've had that problem in the past and that was the only thing that seemed to fix it. Mike "Sundogcurt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm not sure if this is a problem I can overcome with

re: [PHP] Paypal Instant Payment Notification

2002-01-28 Thread Sondra Russell
hi guys! i've been working on this darn "instant payment notification" script for weeks now. I've gotten pretty close based on some recent posts that use the great Rasmus' postToHost function to talk to paypal and get the "confirmation". However, the reply from paypal, instead of being "one

[PHP] After installing php-imap RPM, there's no --enable-imap when phpinfo()

2002-01-28 Thread gaukia 345
Good day ppl, I installed php4.1.1 i586 RPM on my Mandrake linux. After downloading other dependencies and so on, I got it running. I know so when the phpinfo() function is showing the php info. However when I installed php-imap i586 RPM and all its needed dependencies, the page with the phpin

Re: [PHP] upload permission denied!

2002-01-28 Thread sundogcurt
That is where the script is that uploads the file, the file should be going to : /home/gruesome/public_html/valeriemacwilliam/includes/content/ /home/gruesome/public_html/valeriemacwilliam/pics/ or /tmp/ or where ever I have tried a ton of different folders [EMAIL PROTECTED] wrote: >On Tuesd

Re: [PHP] why isn't this working? (many questions inside)

2002-01-28 Thread Robin Chen
Maybe your script timed out before it could finish. Try set_time_limit(0) Another possibility is that your browser gave up. You may need 4GB of disk cache because browsers usually save all files in cache before copying them to the place you designate. Robin Wei Weng wrote: > > First, I am ru

Re: [PHP] question the function begin with @

2002-01-28 Thread Jason Wong
On Tuesday 29 January 2002 15:14, Vincent Ma wrote: > Hi everyone: > > I saw some code, the function is called with @.. > > like "@copy(,)". anyone can ask me what the purpose of the > function begin with symbol @ To suppress error reporting. Full details: Manual -> Operators -> Err

Re: [PHP] Mysql Connection

2002-01-28 Thread Jason Wong
On Tuesday 29 January 2002 15:29, Uma Shankari T. wrote: > Hello, > > > How do i check php support mysql.. > > > If any one came to know this tell me... You have already been told how to. See the posting by Chris in response to your posting about the same question just a little while ago.

[PHP] Mysql Connection

2002-01-28 Thread Uma Shankari T.
Hello, How do i check php support mysql.. If any one came to know this tell me... Regards, Uma -- 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] question the function begin with @

2002-01-28 Thread Chris Randall
Ido believe the purpose of the '@' is to supress error messages from the particular function it is next to, it may also supress errors from the entire line it is on. -chris 1/28/02 11:14:40 PM, "Vincent Ma" <[EMAIL PROTECTED]> wrote: >Hi everyone: > > I saw some code, the function is called wit

[PHP] question the function begin with @

2002-01-28 Thread Vincent Ma
Hi everyone: I saw some code, the function is called with @.. like "@copy(,)". anyone can ask me what the purpose of the function begin with symbol @ Vincent Ma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: [PHP] Mysql Connection

2002-01-28 Thread Chris Grigor
Hey Uma call to undefined function, well thats exactly what it means (it doesnt like the function specified eg mysql_connect)this means that your php installation does not have support for mysql. You can check this with the following run this via a browser and check the config of php... it

[PHP] Mysql Connection

2002-01-28 Thread Uma Shankari T.
Hello, I have installed php3 in my system.I want to connect with mysql.I have given this code $link=mysql_connect("localhost","username","password") or die("could not connect"); but it is giving Fatal error: Call to undefined function: mysql_connect() Why it is showing like. Mys

Re: [PHP] Back button to Query Pages

2002-01-28 Thread phantom
Yes, I would prefer using the back button and go to the page in the clients cache but I think you are right, I may have place a back button on the page that actually resubmits the query paramemters for me. Finally found something that ASP pages can do better than PHP... but only one thing. :) Ed

Re: [PHP] Re: Resalution Dection

2002-01-28 Thread Justin French
Be carefull which version of javascript is in use (or more to the point, which version of javascript the browser supports), because these goodies aren't available in earlier versions (even 1.1 from memory), and you may want to do a lot of testing before being happy. Justin French Indent.com.au So

Re: [PHP] problem with relative header

2002-01-28 Thread Bogdan Stancescu
This is way too simple, but maybe you didn't think of it: echo("Location: http://"; . $HTTP_SERVER_VARS['HTTP_HOST'] .dirname($HTTP_SERVER_VARS['PHP_SELF']) . "/webmgr_prop.php?action=1"); Tom Beidler wrote: > Any ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mai

Re: [PHP] upload permission denied!

2002-01-28 Thread Girish Nath
Hi For some reason i couldn't get the 777 thing to work on one of my hosts but managed to get this syntax to work instead : chmod o=rwx directoryname ***It's not exactly secure but might get the job done *** Regards Girish -- www.girishnath.co.uk - Original Message - From: "Jason W

Re: [PHP] Session updates ok first time only.

2002-01-28 Thread Jason Wong
On Tuesday 29 January 2002 06:36, Floyd Baker wrote: > Yes I have a c:\tmp directory and I see the session being created in > it. And the page_view value of 1 after the first increment. The > editor wants to reload each time I hit the submit button after that > but the value does not increase b

Re: [PHP] upload permission denied!

2002-01-28 Thread Jason Wong
On Tuesday 29 January 2002 11:48, sundogcurt wrote: > the directory permissions are set to 777 / 0777 any user, any group, > etc. at least that is how I understand it. if i'm wrong please correct > me, I do appreciate the help thank you. If they're set to 777 then anybody can do anything to it w

Re: [PHP] upload permission denied!

2002-01-28 Thread sundogcurt
the directory permissions are set to 777 / 0777 any user, any group, etc. at least that is how I understand it. if i'm wrong please correct me, I do appreciate the help thank you. [EMAIL PROTECTED] wrote: >On Tuesday 29 January 2002 11:10, sundogcurt wrote: > >>Like so? >> >>error message : >>

Re: [PHP] upload permission denied!

2002-01-28 Thread Jason Wong
On Tuesday 29 January 2002 11:10, sundogcurt wrote: > Like so? > > error message : > Warning: Unable to create 'sdf.jpg': Permission denied in > /home/gruesome/public_html/valeriemacwilliam/includes/content/addpic.php > on line 21 > > code : > if($myfile){ > if(copy(stripslashes($myfile), $ne

RE: [PHP] Help with Logical 'OR'

2002-01-28 Thread Martin Towell
basically it's to do with "lazy evaluation" or whatever it's called * logical expressions are read from left to right. * with OR, the expression reading is halted when the first TRUE is found * with AND, the expression reading is halted when the first FALSE is found so with : if (true||fals

Re: [PHP] why isn't this working? (many questions inside)

2002-01-28 Thread Dennis Moore
Just curious, why not use FTP for such a large file? /dkm - Original Message - From: "Wei Weng" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 28, 2002 8:39 PM Subject: [PHP] why isn't this working? (many questions inside) > First, I am running (currently) php 4.0.

Re: [PHP] Help with Logical 'OR'

2002-01-28 Thread jv
Thanks Matt, Jeff, and Sam (BTW Sam, for some reason your post didn't come to me on the list through regular email- I found it when I did a search in the archives at php.net. I 'm pretty sureI didn't delete it. I mention this because I'm sure the list server hiccups sometimes and I'd hate to offen

[PHP] Re: help sorting readdir values

2002-01-28 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > First I must state that I didn't write the code, and I'm not much of a programmer of >any kind. I'm hoping someone can tell me how to sort the filenames and file sizes >returned by readdir and filesize in the below code. Thanks in ad

[PHP] Re: Can PHTML pages cause spurious high counts?

2002-01-28 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > I've been searching the PHP website and FAQ and also the Analog web server = > analyzer website and their FAQ, but I haven't found an answer and was = > wondering if anyone else had seen ridiculously high request counts for = > their PHTM

Re: [PHP] upload permission denied!

2002-01-28 Thread sundogcurt
Like so? error message : Warning: Unable to create 'sdf.jpg': Permission denied in /home/gruesome/public_html/valeriemacwilliam/includes/content/addpic.php on line 21 code : done"; }else{ print "not done"; } } ?> Add Picture new file name [EMAIL P

Re: [PHP] A dreaded Windows executable question

2002-01-28 Thread hugh danaher
Stephano, Thank you for your generous offer, and I might yet take you up on it. I am however, interested in a canned product like... (now don't laugh) Visual C++. >From the various past posts, I am led to believe that C++ is coded similar to php and Visual C++ should have the bits and pieces to c

Re: [PHP] MySQL Newbie

2002-01-28 Thread bvr
Hi, You can do the exact same thing but instead of connecting to localhost, you connect to the remote server. To do this with the mysql monitor tool, use the -h command line option, followed by the hostname or IP of the server. If you cannot access the online database directly (possibly for

[PHP] why isn't this working? (many questions inside)

2002-01-28 Thread Wei Weng
First, I am running (currently) php 4.0.6 under Redhat 7.2 with kernel 2.4.10 I know you can do the following: to force the user to download a file. However, this wouldn't work if blah.txt is larger than 2G on my machine with php 4.0.6 for Redhat 7.2, because all the file I/O operations are

Re: [PHP] PHP and XHTML

2002-01-28 Thread bvr
Then why not do this : "); ?> bvr. On Mon, 28 Jan 2002 18:49:18 -0500, Erik Price wrote: > >On Saturday, January 26, 2002, at 05:49 PM, ,,, wrote: > >> When I have an inside my php script it wont work >> since >> php parses it as php code. >> >> Will short_open_tag = Off solve it? I would

RE: [PHP] Apache PHP File Disclosure Vuln

2002-01-28 Thread James Cox
Actually, as a note about this, we (i) did extensive testing to invoke the php.exe binary and apache in any way but using an action and virtual url, and found it didn't work. We have suitably amended the documentation for both the win32 installer, plus the manual, making it clearer that choosing

[PHP] Apache PHP File Disclosure Vuln

2002-01-28 Thread Analysis and Solutions
Hi Folks: I haven't been reading the list lately. I went to the mailing list archives on Google and MARC to see what's been said about the "Apache Win32 PHP.EXE Remote File Disclosure Vulnerability." I was surprised to find only one post to the php-dev list: > As I responded on Bugtraq, this i

Re: [PHP] MySQL Newbie

2002-01-28 Thread Girish Nath
Hi If you haven't got shell access but have a PHP enabled webserver then you could try and install phpMyAdmin: http://www.phpwizard.net/projects/phpMyAdmin/ Regards Girish -- www.girishnath.co.uk - Original Message - From: "Ben Clumeck" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> S

Re: [PHP] Need a little help

2002-01-28 Thread Girish Nath
Hi Brian I've just setup the RedirectMatch in Apache and tried the PHP script (test.php) out and it worked fine. The only thing that caused broken image symbols to appear was if the image redirect script (test.php) created any output before the header() functions. Check for whitespace or any fun

Re: [PHP] Session updates ok first time only.

2002-01-28 Thread Erik Price
On Sunday, January 27, 2002, at 10:39 PM, Jason Wong wrote: > On Monday 28 January 2002 04:37, Floyd Baker wrote: >> I have 4.1, register globals off, on Windows 98. >> //pull value from session file: >> $page_views = $_SESSION['page_views']; > No need for this, in fact this is what is prevent

Re: [PHP] get process id of a script?

2002-01-28 Thread bvr
Hi, I remember doing this once under linux: $pid = readlink("/proc/self"); but there seems to be a special function for it : $pid = getmypid(); bvr. On Tue, 29 Jan 2002 13:26:48 +1300, Matthew Delmarter wrote: >Is there any way to get the process id of a script running on Apache? > >Regar

[PHP] get process id of a script?

2002-01-28 Thread Matthew Delmarter
Is there any way to get the process id of a script running on Apache? Regards, Matthew Delmarter -- 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 P

Re: [PHP] PHP and XHTML

2002-01-28 Thread Erik Price
On Saturday, January 26, 2002, at 05:49 PM, ,,, wrote: > When I have an inside my php script it wont work > since > php parses it as php code. > > Will short_open_tag = Off solve it? I would really like to use > for the > rest of my php code...there must be a better solution than > Short_o

Re: [PHP] MySQL Newbie

2002-01-28 Thread hugh danaher
Ben, Making the assumption that you plan on using php as the language to place or extract data from the mysql database, you'll need to: open a mysql database on-line (or have the site manager do this for you) Write a php interface program which would write to, change or extract data from the mysql

[PHP] upload permission denied!

2002-01-28 Thread sundogcurt
I'm not sure if this is a problem I can overcome with PHP or if I have to go directly to the Linux box to fix (I hope not). I have moved my development from a win32/apache/mysql box to a Mandrake/apache/mysqly box and have only one problem (that I know of) to overcome. When I try to upload an

Re: [PHP] browser back button - "Page has Expired.. " problem

2002-01-28 Thread Alex Vargas
Just add this header header ("Cache-Control: public"); Alex. - Original Message - From: "Lee P Reilly" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Monday, January 28, 2002 11:26 PM Subject: [PHP] browser back button - "Page has Expired.. " problem > Hi, > > I wonder

Re: [PHP] Date function

2002-01-28 Thread sundogcurt
Is this date stored in mysql by anychance? [EMAIL PROTECTED] wrote: >Hi All, > >Is there any function in PHP4.X or in Oracle8i to calculate number of >Business days ( excluding Saturday and Sunday) between two given dates? > >Thanks in advance. >Sridhar. > >-Original Message- >From: qar

[PHP] problem with relative header

2002-01-28 Thread Tom Beidler
I pulled some code off of the PHP site to use relative header info. I made the correction and removed the additional "/" and I've got in running fine on my development OSX machine but I've had problems on two different ISPs. Here's the code I've used; header("Location: http://"; . $HTTP_SERVER_VA

Re: [PHP] Session updates ok first time only.

2002-01-28 Thread Floyd Baker
On Mon, 28 Jan 2002 21:10:02 +0800, you wrote: >On Monday 28 January 2002 20:52, Floyd Baker wrote: >> On Mon, 28 Jan 2002 15:20:05 +0800, you wrote: >> >On Monday 28 January 2002 14:27, you wrote: > >> >2) session.save_path = c:/tmp, I don't use PHP on Windows, but looking at >> > the other sett

Re: [PHP] Need help with Taking a phrase from a remote location.

2002-01-28 Thread Mike Maltese
str_replace() and eregi_replace() work well for this. Mike - Original Message - From: "Robby" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 27, 2002 1:45 PM Subject: [PHP] Need help with Taking a phrase from a remote location. > Hi Everyone, > > > I need to know whi

RE: [PHP] A dreaded Windows executable question

2002-01-28 Thread Stephano Mariani
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Get the PHP source code, make the modifications you need, and get/write a small minimalist web server to use it with. Then use your PHP site from CD (or anywhere). I have done almost exactly the same thing but with some additional tweaks (like buil

[PHP] php directives and the servlet api

2002-01-28 Thread Vincent Stoessel
I am going to compile php as a servlet (once again) and I'm going to run it on tomcat 4.x as a webapp. I know that I can still use php.ini to set6 my php directives but I was wondering if there could be an alternative. what I would like to do is to set those directives in the web.xml file in my W

[PHP] Need help with Taking a phrase from a remote location.

2002-01-28 Thread Robby
Hi Everyone, I need to know which function a would use to take a phrase from a remote location. Yes, I using my fopen and fread function. But I need to know what function I would use to grab text between the one snip of code and a nother snip of code. Please email me back at [EMAIL PROTECTED]

[PHP] HTTP Response Headers using iPlanet

2002-01-28 Thread Alexandre Ferreira Novello
How can I retrieve the HTTP Response Headers using iPlanet or a independent SAPI function? For example, supose there is a function called response_header() If I write a script like this: I would like to have a result like this: array(2) { ["X-Powered-By"]=> string(12) "PHP/4.0.3pl1"

[PHP] MySQL Newbie

2002-01-28 Thread Ben Clumeck
How do I use MySQL through the web. I currently have MySQL running on my personal PC on WinXP. I use a command prompt to add tables, add records, and so forth. How do I create tables and records when my database is on the web? Thanks, Ben -- PHP General Mailing List (http://www.php.net/) T

[PHP] A dreaded Windows executable question

2002-01-28 Thread hugh danaher
Hi, I would like to know if there is a program similar to php in structure that I can use to make an executable program on a pc running Windows 95 (and above). Since the only "language" I can currently use is php, starting with something similar will be a big help. What I am trying to do, is

RE: [PHP] Mpeg

2002-01-28 Thread Martin Towell
http://www.wotsit.org/search.asp?page=2&s=animated I haven't looked at the docs there for mpeg - but the other one's i've looked at are really useful... Martin -Original Message- From: Jon Farmer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 12:22 AM To: Edward van Bilderb

RE: [PHP] browser back button - "Page has Expired.. " problem

2002-01-28 Thread Darren Gamble
Good day, By default, IE will cache these pages (i.e. you won't get this message). If you're receiving that message, it means that the browser doesn't have a cached version of the page. Getting a new version would obviously mean submitting the form information again, which IE, thankfully, doesn

Re: [PHP] HTML lists & PHP

2002-01-28 Thread hugh danaher
Try $teams[${"r1"."1"}] or a variation on this theme hugh - Original Message - From: "Edward van Bilderbeek - Bean IT" <[EMAIL PROTECTED]> To: "Phil Schwarzmann" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, January 28, 2002 2:16 PM Subject: Re: [PHP] HTML lists & PHP > maybe

[PHP] test

2002-01-28 Thread Robby

[PHP] browser back button - "Page has Expired.. " problem

2002-01-28 Thread Lee P Reilly
Hi, I wonder if anyone can offer me a few pointers..? I'm building a portal to do various bits and bobs. I'm using sessions to facilitate the user authentication/login, etc. The only problem I have is that when viewing these (.php) pages in IE once the session variable has been set, a "Warning:

[PHP] Release notes

2002-01-28 Thread chank
Is there anywhere documentation of which bugs have been included in the recent builds? There is a bug on the database that has been marked as fixed and closed, but the fix doesn't appear to be in 4.1.1. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] HTML lists & PHP

2002-01-28 Thread Edward van Bilderbeek - Bean IT
maybe you can try something like this... $r1 = "game1" $r2 = "game16"; echo ""; echo "$teams[$r1]"; echo "$teams[$r2]"; echo ""; Greets, Edward > I keep getting parse error with this code: > ($teams[] is a big array that I got by using mysql_fetch_array) > > >$r = "game"; >

[PHP] HTML lists & PHP

2002-01-28 Thread Phil Schwarzmann
I keep getting parse error with this code: ($teams[] is a big array that I got by using mysql_fetch_array) $r = "game"; echo ""; echo "$teams[$r.'1']"; echo "$teams[$r.'16']"; echo ""; Im trying to make a dropdown list. Here is the error message: Parse error: parse error, ex

[PHP] improve turning urls into links routine

2002-01-28 Thread Peter J. Schoenster
Hi, I did a quick search for something like this below but did not find it. Would you please criticize it. Thanks. function &MakeUrls(&$data) { $words = explode(" ", $data); $new_data = ""; while (list ($key,$row) = each ($words) ) { if (preg_match ("/^

Re: [PHP] Any Ideas

2002-01-28 Thread Jason G.
$str = ereg_replace('[-!@#$%^&*()_+=-\';:"/.,<>?]', '', $str); You may need to escape some of these characters with \ On the other hand, they are contained in a character class [] so you may not need to escape them. Note how the `-' is in the beginning. -Jason Garber IonZoft.com At 09:13 AM

Re: [PHP] Help with Logical 'OR'

2002-01-28 Thread Sam Masiello
For sake of efficiency, many languages will do what is called "Short Circuit" in a situation like this. Let's look at a simple truth table for an OR using two conditions (T=true, F=false): T || T = T T || F = T F || T = T F || F = F In the first two cases, it is only necessary to evaluate the

RE: [PHP] mailing to 19000 users

2002-01-28 Thread Darren Gamble
Good day, I've already done this once with Perl and qmail, which was used against about 50,000 users. I'm sure it would not be much different with PHP. All I did was create a program to get the addresses from the DB, and then use what effectively is a wrapper script for qmail-inject (you would

[PHP] Date function

2002-01-28 Thread Sridhar Moparthy
Hi All, Is there any function in PHP4.X or in Oracle8i to calculate number of Business days ( excluding Saturday and Sunday) between two given dates? Thanks in advance. Sridhar. -Original Message- From: qartis [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 1:38 PM To: [EMAIL

RE: [PHP] How to echo the "/n", "/r", etc... to the HTML display?

2002-01-28 Thread Matt Schroebel
Read the first user note at the bottom of this manual page: http://www.php.net/manual/en/function.htmlentities.php -Original Message- >Subject: [PHP] How to echo the "/n", "/r", etc... to the HTML display? >So, you see, if I use the PHP function, nl2br(), that took care of the "cr"

[PHP] 3 Topics - I would like to disscuss off the group mail list.

2002-01-28 Thread Matthew Darcy
1.) I would like to chat about using logins with php. I think this requires sessions, but I would like to talk about ways to provide "user accounts" and relate user details to the accounts. 2.) E-Mailing using PHP. How to configure sendmail or qmail to allow PHP to sendmail out from variables he

RE: [PHP] How to call method from another class

2002-01-28 Thread Joel Boonstra
> first create an instance of class B like this... > > $test = new classB(); > > Now, u can refer to any function or method of classB like this: > > $test->hello(); // where hello() is a method of classB.. That's not what the original question was, though. David (I think, unless I got my nested

Re: [PHP] How to call method from another class

2002-01-28 Thread David Yee
Got it- thanks Sandeep. David - Original Message - From: "Sandeep Murphy" <[EMAIL PROTECTED]> To: "'David Yee'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, January 28, 2002 11:12 AM Subject: RE: [PHP] How to call method from another class > > first create an instance of clas

RE: [PHP] Need a little help

2002-01-28 Thread Brian V Bonini
hmmm, I think I see where your going but that either just puts out a lot of garbage on the screen: ¤X!lø`7–Y± Á\t1h^€(uT”3衇 J2¶’O\ԑG)ÂGìˆ Ì–•t鎖ä(òŠ¡¹!n3pPߚƒÔÓÄVœõ`\Z·Å„ô2‘Ԁ;Ur©e8òÞhS€‰0Ítˆ%;-‚X âÑ9›ºcI%„‚(CqxpR ¤Ô„4ûȶÔ&%03. Ì`‰ÃåP† r ˜é™ “ÀÃ^IÀ¦•Zªˆ:;}ä‚ò,

Re: [PHP] Help with Logical 'OR'

2002-01-28 Thread Jeff Sheltren
With a logical OR statement, many languages will evaluate the first statement, and if the first condition is true, then it will not evaluate the second condition, because TRUE OR (anything) is TRUE. This saves the program from executing any more code than it has to. If the first condition is

[PHP] Help with Logical 'OR'

2002-01-28 Thread jv
It seems that only the first condition is being evaluated. I know that if both of the following conditions are false then the second set of statements should get read, and that's what happens, but when I set $name to true and $text to false (true||false) then the first set gets read. Shouldn't

RE: [PHP] mailing to 19000 users

2002-01-28 Thread Mostafa Al-Mallawani
I found some nice mailing list managers at http://www.hotscripts.com/PHP/Scripts_and_Programs/Mailing_List_Managers / -Original Message- From: Anas Mughal [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 5:33 PM To: Mostafa Al-Mallawani; [EMAIL PROTECTED] Subject: Re: [PHP] mai

[PHP] multiply-defined symbol error with php 4.1.1 on Solaris 2.8

2002-01-28 Thread Ziying Sherwin
We tried to build php 4.1.1 with as many options as possible on our Solaris 2.8 machine with gcc 2.95.2 and Apache 1.3.22. During the compilation, we had a problem with wddx extention which complains that header file "expat.h" is not in the expat 1.2 package that we installed for php. Thanks to

RE: [PHP] How to call method from another class

2002-01-28 Thread Sandeep Murphy
first create an instance of class B like this... $test = new classB(); Now, u can refer to any function or method of classB like this: $test->hello(); // where hello() is a method of classB.. cheers, sands -Original Message- From: David Yee [mailto:[EMAIL PROTECTED]] Sent: segunda-fe

[PHP] Initializing Array

2002-01-28 Thread pong-TC
Hello All I would like to initialize the array $pos[17][7][3] to zero. Can i do like in C ie. $pos[17][7][3] = 0;? Or, will I have to do initialize every single element of array to zero by using loop? Thank you. Pong -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] File uploading like hotmail

2002-01-28 Thread Girish Nath
Hi It's in the manual at : http://www.php.net/manual/en/features.file-upload.php Regards Girish -- www.girishnath.co.uk - Original Message - From: "qartis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, January 28, 2002 6:37 PM Subject: Re: [PHP] Fil

Re: [PHP] File uploading like hotmail

2002-01-28 Thread Girish Nath
Hi It's in the manual at : http://www.php.net/manual/en/features.file-upload.php Regards Girish -- www.girishnath.co.uk - Original Message - From: "qartis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, January 28, 2002 6:37 PM Subject: Re: [PHP] Fil

Re: [PHP] if command

2002-01-28 Thread Rouvas Stathis
> Someone knows how to use the IF command ? > > I need two expressions as such as IF (exp1 AND exp2) ... > > > computer programmer ^ A "computer programmer" not knowing the "IF command"? Really, what computer do you program? -Stathis. PS: Sorry, I just can't resist. It's

Re: [PHP] if command

2002-01-28 Thread Girish Nath
Hi http://www.php.net/manual/en/control-structures.php for example : if ($firstname == "Eduardo" && $lastname == "Melo") { print ("I know you") } else { print ("I don't know you"); } Regards Girish -- www.girishnath.co.uk - Original Message - From: "Eduardo Melo" <[EMAIL

[PHP] Re: Human Resource managment system

2002-01-28 Thread LaserJetter
Not quite your thing, but I'm sticking the school's timetable on a server so that anyone can call up their lesson timetable and also find out teacher's timetables and whether or not classrooms are free. The only way I found I could do this was in MySQL and although I dont know of any projects, I t

[PHP] RE: Multiple INI Files

2002-01-28 Thread charlesk
Windows 2000 Server, PHP 4.1.0, IIS 5.0 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] if command

2002-01-28 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Eduardo Melo blurted > Someone knows how to use the IF command ? Have you Read The Fine Manual Eduardo? Try www.php.net I'm not sure if there is a translation for your language though. - -- Nick Wilson Tel:+45 3325 0688 Fax:

Re: [PHP] File uploading like hotmail

2002-01-28 Thread qartis
I think you might be looking for HTML form element. "Duky Yuen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I want to make something like when you are attaching something to an > email in hotmail. I want to make something that searches your own > computer

[PHP] if command

2002-01-28 Thread Eduardo Melo
Someone knows how to use the IF command ? I need two expressions as such as IF (exp1 AND exp2) ... thank's eduardo melo computer programmer _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/sup

Re: [PHP] Multiple INI Files

2002-01-28 Thread David Otton
On Mon, 28 Jan 2002 12:10:02 -0600, you wrote: >We host many sites with PHP. Is there any way to have each site use a different >php.ini? You can put seperate PHP directives in Apache's .htaccess file for each site you host. djo -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] Multiple INI Files

2002-01-28 Thread Jim Lucas [php]
what OS are you running them on? if it is linux with apache, you can override most of the php.ini settings in the httpd.conf file http://www.php.net/manual/en/configuration.php#AEN2200 this will show you how to override. it doesn't show it here, but this will also work in the blocks in the ht

Re: [PHP] Human Resource managment system]

2002-01-28 Thread 911job
Hi. Look at http://www.911-job.com If it is like that you need, call me directly. Elena Koroleva "M.E. Suliman" wrote: > > Hi > > Are there any PHP Projects that are developing a HR management system. We > hope to create this and in future integrating with payroll and tax > deductions etc

[PHP] Multiple INI Files

2002-01-28 Thread charlesk
We host many sites with PHP. Is there any way to have each site use a different php.ini? Charles Killmer -- 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: [

[PHP] RE: Building my site... again - somewhat OT

2002-01-28 Thread Andrew Chase
Hi Torkil, You may want to head over to Webmonkey and read their article about Search Engine optimization: http://hotwired.lycos.com/webmonkey/01/23/index1a.html A few key points that have proven very helpful with my personal web site: • A central "crawler index" with links to each page on my

Re: [PHP] mixed datatype

2002-01-28 Thread Jim Lucas [php]
"my name ", "second_arg" => "is ", "third_arg" => "Jim.", )); // this will print // "hi there, my name is Jim." ?> Hope this helps. Jim Lucas -

RE: [PHP] strerror and PHP 4.1.1

2002-01-28 Thread Mark Roedel
> -Original Message- > From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 28, 2002 9:30 AM > To: PHP-General > Subject: [PHP] strerror and PHP 4.1.1 > > > Is strerror function removed from PHP 4.1.1 ? The manual at http://www.zend.com/manual/function.strerror.ph

RE: [PHP] Mysql / PostgreSQL with PHP

2002-01-28 Thread Chris Lott
Both work well with PHP. Later versions of PostgreSQL are quite fast (comparable to PHP). MySQL is still a little faster and there seems to be a much larger base of users and support. You can't go wrong with either one... if you need the features that PostgreSQL offers that MySQL currently lacks (

[PHP] Human Resource managment system

2002-01-28 Thread M.E. Suliman
Hi Are there any PHP Projects that are developing a HR management system. We hope to create this and in future integrating with payroll and tax deductions etc. I will appreciate anyone who can advise where I can find info relating to this. Thanks Mohamed - Original Message - From: Mi

[PHP] How to call method from another class

2002-01-28 Thread David Yee
If I have a PHP class (let's say it's called ClassA), how do I call a method from another class (ClassB) within ClassA? Thanks. David -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the l

Re: [PHP] php vs asp

2002-01-28 Thread John Meyer
You can use ASP with Mysql, as long as you have myodbc installed on your machine. For me, ASP has been a bit slower, but you can still use it. - Original Message - From: "liz lynch" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 28, 2002 7:14 AM Subject: [PHP] php vs as

Re: [PHP]Upload file to system

2002-01-28 Thread sundogcurt
Is that a bad word? \ : [EMAIL PROTECTED] wrote: >Did someone say hosting fees? > >- Original Message - >From: "sundogcurt" <[EMAIL PROTECTED]> >To: "GENERAL PHP LIST" <[EMAIL PROTECTED]> >Sent: Monday, January 28, 2002 3:32 PM >Subject: Re: [PHP]Upload file to system > > >>You could tr

RE: [PHP] mixed datatype

2002-01-28 Thread Matt Schroebel
http://www.php.net/manual/en/functions.arguments.php#functions.variable-arg-list -Original Message- >From: charlesk [mailto:[EMAIL PROTECTED]] >What does the function look like that it can take unlimited arguments? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-m

[PHP] help sorting readdir values

2002-01-28 Thread dan radom
First I must state that I didn't write the code, and I'm not much of a programmer of any kind. I'm hoping someone can tell me how to sort the filenames and file sizes returned by readdir and filesize in the below code. Thanks in advance. dan "; while ($file = readdir($handle

[PHP] mixed datatype

2002-01-28 Thread charlesk
How do you make a function like bool session_register (mixed name [, mixed ...]) What does the function look like that it can take unlimited arguments? Charles Killmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] enable dmalloc option for php 4.1.1

2002-01-28 Thread Ziying Sherwin
We tried to install php 4.1.1 on our Solaris 2.8 machine with gcc 2.95.2 and apache 1.3.22. We tried to enable as many configuration options as possible. It configured OK, but we encountered several error messages during compilation: We configured with option "--enable-dmalloc" and "--with-a

  1   2   >