[PHP] benchmarking php scripts

2002-01-16 Thread Eugene Lee
Is there a way to benchmark a PHP script to see how intensive it is? For example, execution time, CPU/RAM/disk usage, etc. Thanks in advance. -- Eugene Lee [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] disable_functions... Was: about your mail on php list

2002-01-16 Thread Berthold
Hello, disable_functions still works ONLY via setting in php.ini. I think this is a bug. ini_set(disable_functions, phpinfo); has no effect, php_value_admin disable_functions phpinfo shows the correct output from phpinfo with one line for disable_functions phpinfo... At least this is a bug.

[PHP] HTTP AUTHENTICATION Solution

2002-01-16 Thread Bharath
Here is a solution I developed for the HTTP AUTHENTICATION on that buggy Internet Explorer. I want some feedbacks, improvements, Comments... Bharath (B. h. Loh.) bharath_b_lohray (at) yahoo.com Please correspond via email for my convinience and also on the News Group for the benifit of the

[PHP] Re: benchmarking php scripts

2002-01-16 Thread Yasuo Ohgaki
Eugene Lee wrote: Is there a way to benchmark a PHP script to see how intensive it is? For example, execution time, CPU/RAM/disk usage, etc. Thanks in advance. Try APD. http://apd.communityconnect.com/ It's a degugger and profiler. It does not show all of bench you want, but it works

[PHP] Beginner: Open URL

2002-01-16 Thread Tommi Trinkaus
Hi over there, i'm just beginning with php and i wonder if it is possible to show another url in the current window like the a Tag in HTML. Thanks for any answer... tommi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] StripSlashes() quotes in text boxes

2002-01-16 Thread Robert MacCombe
Hi, I have had a few problems retrieving MySql entries that contain quote marks. Slashes have been added before storing an item description such as: 17 SVGA Monitor. They've been removed before display too - and the description appears correctly on a page except when displaying in a text box (for

[PHP] Lazy evaluation?

2002-01-16 Thread Alexander Deruwe
Hey all, Does PHP support lazy evaluation? Meaning that if: if (isset($HTTP_POST_VARS['submit']) $HTTP_POST_VARS['submit'] == 'create') does PHP stop evaluating after the first condition if $HTTP_POST_VARS is not set? (please CC me in replies) Thanks in advance, --

Re: [PHP] Beginner: Open URL

2002-01-16 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 16-01-02 at 09:50 * Tommi Trinkaus said Hi over there, i'm just beginning with php and i wonder if it is possible to show another url in the current window like the a Tag in HTML. Thanks for any answer... I'm not sure what you mean

Re: [PHP] Lazy evaluation?

2002-01-16 Thread Jimmy
Hi Alexander, Does PHP support lazy evaluation? Meaning that if: Yes, it does. -- Jimmy Got a dictionary? I want to know the meaning of life. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP] Re: Authentication Question

2002-01-16 Thread Bharath Bhushan Lohray
Create another table with info of accounts. Auth_table username(varchar) password(varchar) acno(int) accounts_info_table acno(int) info1 info2() Pass a query == select * from accounts_info_table where acno==$abc == here $abc is the info you

[PHP] Re: Authentication Question

2002-01-16 Thread Bharath Bhushan Lohray
Create another table with info of accounts. Auth_table username(varchar) password(varchar) acno(int) accounts_info_table acno(int) info1 info2() Pass a query == select * from accounts_info_table where acno==$abc == here $abc is the info you

Re: [PHP] Re: benchmarking php scripts

2002-01-16 Thread Eugene Lee
On Wed, Jan 16, 2002 at 05:41:34PM +0900, Yasuo Ohgaki wrote: : : Eugene Lee wrote: : : Is there a way to benchmark a PHP script to see how intensive it is? : For example, execution time, CPU/RAM/disk usage, etc. Thanks in advance. : : Try APD. Thanks. It'll be a decent start. Getting a

php-general Digest 16 Jan 2002 09:13:19 -0000 Issue 1114

2002-01-16 Thread php-general-digest-help
php-general Digest 16 Jan 2002 09:13:19 - Issue 1114 Topics (messages 80630 through 80671): Re: Another question - not exactly what i was looking for 80630 by: mike cullerton 80631 by: R'twick Niceorgaw 80633 by: Christopher William Wesley mysql_insert_id?

Re: [PHP] StripSlashes() quotes in text boxes

2002-01-16 Thread Jimmy
Hi Robert, administrator to edit the item description. When displayed in a text box the description just shows 17. The only solution I can find is to swap the quote marks for quot; when storing the item initially you can use htmlspecialchars() function to convet all the html chars. The

[PHP] RE: Beginner: Open URL

2002-01-16 Thread Tim Ward
If you mean redirection, then try the header() function in the on-line manual. Tim www.chessish.com http://www.chessish.com -- From: Tommi Trinkaus [SMTP:[EMAIL PROTECTED]] Sent: 16 January 2002 08:04 To: [EMAIL PROTECTED] Subject: Beginner:

Re: [PHP] Beginner: Open URL

2002-01-16 Thread Tommi Trinkaus
Hi Nick I'm not sure what you mean can you be a little more detailed? I can tell however that PHP is *not* a substitute for HTML. If you want something like the a tag then *use* the a tag. in fact i want something like the a tag, but the new url should be opened within a php if-statement,

[PHP] Is there Any way to call Non-Existent function in PHP

2002-01-16 Thread S. Murali Krishna
Hai ALL Is there any way to capture function call in PHP and redirect to some other function if that function doesn't exists. Perl programmers remind AUTOLOAD method in a package. S.Murali Krishna [EMAIL PROTECTED] = We grow slow trying

Re: [PHP] Is there Any way to call Non-Existent function in PHP

2002-01-16 Thread Neil Freeman
You can use function_exists() to check whether a function actually exists: eg: if (function_exists('imap_open')) { echo IMAP functions are available.br\n; } else { echo IMAP functions are not available.br\n; } HTH Neil S. Murali Krishna wrote: Hai ALL Is there any way to

Re: [PHP] Beginner: Open URL

2002-01-16 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 16-01-02 at 10:47 * Tommi Trinkaus said Hi Nick I'm not sure what you mean can you be a little more detailed? I can tell however that PHP is *not* a substitute for HTML. If you want something like the a tag then *use* the a tag.

Re: [PHP] Is there Any way to call Non-Existent function in PHP

2002-01-16 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 16-01-02 at 11:21 * S. Murali Krishna said Hai ALL Is there any way to capture function call in PHP and redirect to some other function if that function doesn't exists. Perl programmers remind AUTOLOAD method in a

RE: [PHP] php and sqlserver2000

2002-01-16 Thread Jon Haworth
i have many problems with my web site. i have sql server 2000 and php4 but i not connect with my server and the result pages don't show. somebody help me :-( I use PHP 4.1 and SQL Server 2000 together with no problems - please post your code and explain exactly what you're trying

[PHP] ImagePSText antialiasing

2002-01-16 Thread Michal Kalanski
Hello, I try to write text (barcode font) with function ImagePSText. But I don't want antialiasing with barcodes. How to do it ? -- Thanks in advance! Micha³ Kalañski [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] quit me off the php list

2002-01-16 Thread TD - Sales International Holland B.V.
On Tuesday 15 January 2002 19:40, Ben Turner stuffed this into my mailbox: If you could just try and drag your lazy ass to the bottom of this lists email you'll find how to unsubscribe yourself without bugging us /Quit Thyago Consort :D Hey I tried! - Original Message - From:

[PHP] variable problem - help!

2002-01-16 Thread Dani
Hi! I 'm trying not to hard code my php coding and I'm trying to pass a variable name into the $row[coloumname_$variable]; I get an error message for this code. I'm just wondering if I could do this trick using other ways of writing it. Thanks for reviewing! regards, Dani -- PHP General

Re: [PHP] variable problem - help!

2002-01-16 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 16-01-02 at 12:45 * Dani said Hi! I 'm trying not to hard code my php coding and I'm trying to pass a variable name into the $row[coloumname_$variable]; I get an error message for this code. I'm just wondering if I could do

Re: [PHP] variable problem - help!

2002-01-16 Thread Stefan Rusterholz
Hi! I 'm trying not to hard code my php coding and I'm trying to pass a variable name into the $row[coloumname_$variable]; $row[columname_$variable] should do it. $row[constant] is threaten as constant which is normally not the programmers intention (set_error_reporting(0) and you'll see

[PHP] CONTINUE - variable problem - help!

2002-01-16 Thread Dani
hi again! I tried it but it desn't give me any result back. It dosn't print any error message but it desn't print my result either. this is how I place the code: echo ...some html code...; $row[somename_$var]; echo ...the continuation of the html code; thanks! Stefan Rusterholz wrote:

Re: [PHP] CONTINUE - variable problem - help!

2002-01-16 Thread Stefan Rusterholz
hi again! I tried it but it desn't give me any result back. It dosn't print any error message but it desn't print my result either. this is how I place the code: echo ...some html code...; $row[somename_$var]; echo ...the continuation of the html code; thanks! I think this indice in

Re: [PHP] CONTINUE - variable problem - help!

2002-01-16 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 16-01-02 at 13:43 * Dani said hi again! I tried it but it desn't give me any result back. It dosn't print any error message but it desn't print my result either. this is how I place the code: echo ...some html code...;

Re: [PHP] Lazy evaluation?

2002-01-16 Thread Miles Thompson
For or statements it does, but not or xor. I don't know about you, but I wouldn't want lazy evaluation on a conditional statement involving and. The manual ref is http://www.php.ca/manual/en/language.operators.logical.php and the following page on operator precedence. Have a great one -

Re: [PHP] CONTINUE - variable problem - help!

2002-01-16 Thread Stefan Rusterholz
whoops, typo: echo (isset($row[somename_$var]) $row[somename_$var] !== ) ? $row[somename_$var] : Sorry, but \$row[\somename_$var\] is not set.; above code should be correct :) (notice: it's only 1 line - email could display it on multiple lines). and here a smaller explanation of the ternary

[PHP] PHP as a cron job

2002-01-16 Thread Tiago Luchini
I have been trying to use some PHP scripts as a Linux cron job. It tries to run but replies that: Unable to open /home/admin/webmin-0.85/ in Unknown on line 0 I have no idea why PHP parser is making this confusion. Could anyone bring some light to this mistery please? Atenciosamente, Tiago

[PHP] PLEASE SIGN-ME OFF !

2002-01-16 Thread treiger
PLEASE SIGN-ME OFF ! I've sent already all emails requested to sign-me off this list, but I keep receiving emails Sergio Treiger - Original Message - From: Stefan Rusterholz [EMAIL PROTECTED] To: Dani [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 11:09 AM

[PHP] GetHostByName

2002-01-16 Thread Nicolas Costes
Hi all !!! I've made a PHP script which takes IP's of my network (x.x.x.2 - x.x.x.254) and then uses GetHostByName() to resolv names of the machines if they exist. (This is in order to check for free IP's and redo my DHCP config) But this only works for my own machine, because I filled my

[PHP] PLEASE SIGN-ME OFF !

2002-01-16 Thread treiger
PLEASE SIGN-ME OFF ! I've sent already all emails requested to sign-me off this list, but I keep receiving emails - Original Message - From: Nicolas Costes [EMAIL PROTECTED] To: PHP ((E-mail)) [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 12:01 PM Subject: [PHP] GetHostByName

[PHP] phpMyAdmin problem...

2002-01-16 Thread Philip Jeffs
Hi, I've got a MySQL problem. I'm running MySQL on my local machine and my web server (housed elsewhere). I need to use phpMyAdmin to administer the databases on my local machine and my remote server. I've set the config in phpMyAdmin to connect to both servers, but when i try to administer

RE: [PHP] session problems not finding my variables..

2002-01-16 Thread Jaime Bozza
Peter, I had a similar problem, and I believe there's a bug report already filed about it. PHP doesn't seem to save session variables if you use the Location: header. What I do in my scripts when I need to set a location redirect is run 'session_write_close()' before I use the header

RE: [PHP] phpMyAdmin problem...

2002-01-16 Thread Kees Hoekzema
A couple of things: does mysql accept remote locations? iow, is your host set? further: always flush privileges :) But first, add a user, host: webserver, user foo, pass bar (whatever ;)) flush it and try again. - Kees -Original Message- From: Philip Jeffs [mailto:[EMAIL PROTECTED]]

Re: [PHP] security benefits of predefined variables

2002-01-16 Thread Erik Price
Kirk, That was enlightening, thank you. I think that I had better set register_globals OFF ! However there is still one last nagging question in my mind: What is the purpose of the $_GET (or $HTTP_GET_VARS) predefined variable? It seems that in the case of get variables, malicious

Re: [PHP] PHP as a cron job

2002-01-16 Thread Dennis Moore
Please provide more information on how you have set up PHP to run your cron jobs. Are you trying to execute via LYNX or directly via a PHP script? /dkm - Original Message - From: Tiago Luchini [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 8:20 AM Subject:

[PHP] Time calculation after UNIX

2002-01-16 Thread Olav Drageset
Hi I have a database that is supposed to last more than 30 years Could someone advice me how to calculate (add and subtract) time in a maner that willl be correct after 2030 when Unix Time stop working? ragards [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] phpMyAdmin problem...

2002-01-16 Thread Philip Jeffs
I flushed the privileges and its worked! Thanks, Phil - Original Message - From: Kees Hoekzema [EMAIL PROTECTED] To: Philip Jeffs [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 2:04 PM Subject: RE: [PHP] phpMyAdmin problem... A couple of things: does

Re: [PHP] PLEASE SIGN-ME OFF !

2002-01-16 Thread Kurth Bemis
At 08:17 AM 1/16/2002, treiger wrote: maybe if you wern't totally retarded you read the footer of this email and EVERY other email that passed through this list. ~kurth PLEASE SIGN-ME OFF ! I've sent already all emails requested to sign-me off this list, but I keep receiving emails

Re: [PHP] dynamic module or static?

2002-01-16 Thread Cary Mathews
If I put the AddModule line before the LoadModule line, I get the following error from apachectl configtest: Cannot add module via name 'mod_php4.c': not in list of loaded modules If I put the AddModule line after the LoadModule line, I get the original error. Seems like a Catch-22 if you ask

Re: [PHP] Time calculation after UNIX

2002-01-16 Thread Shane Wright
Use 64bit integers! They'll count up to a much higher number and will last way beyond 2038. In the database, set the correct type (INT8 in PostgreSQL, dont know about the others). Dont worry about PHP as I'm sure there'll be a few newer versions supporting wider int formats before then (if

Re: [PHP] NEWBIE IN DISTRESS: Install Instructions are not work for PHP 4.1.1!!!

2002-01-16 Thread Erik Price
Take notes. On Tuesday, January 15, 2002, at 10:22 PM, Floyd Baker wrote: I'm stuck here too. Don't know that much in the first place except that I did get it together once. Apache/php4/mysql on win32... Now to upgrade it's all new again. I'm sure php config files are ok to the

[PHP] How to protect JavaScript?

2002-01-16 Thread Martin Thoma
Hello! I want to protect a JavaScript: It should only be readable out of the document, where it is included (with script language=javascript src=/myjs.js). But it should not be possible to read it directly with www.myserver.de/myjs.js. I thought I could do this with PHP (f.e. check the

Re: [PHP] dynamic module or static?

2002-01-16 Thread Erik Price
I'm no guru on the topic, but I found that when configuring the DSO with MySQL (--with-mysql=/usr/local/mysql), it would always garble the PHP module. Eventually I got it all set up by not specifying a directory (in other words, just using --with-mysql) in that configure argument. But this

[PHP] Parsing?

2002-01-16 Thread Tony Arnold
I'm wondering if it's possible to parse a .php-file so i looks exactly as if I just were looking at the source trough a browser with all the environment-variables intact and so on? / Tony... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: [PHP] How to protect JavaScript?

2002-01-16 Thread Bart Brinkmann
This would only be true if your javascript files were parsed with php. If not, then php can't do anything about it of course. Look into mod_rewrite. I haven't used it in the sense that you're looking for, but I don't see why you couldn't. http://httpd.apache.org/docs-2.0/misc/rewriteguide.html

[PHP] Re: User authentacation

2002-01-16 Thread Martin Wickman
[EMAIL PROTECTED] wrote: Hello, I need to allow a client, named: A, to give their clients access to a remote page on A's server. This is the problem: 1. I need to record who has accessed this page on A's server grep stuff /var/log/httpd/access.log 2. password protect this page

[PHP] Re: Parsing?

2002-01-16 Thread Martin Thoma
Hi Tony, you could do this by getting the file through http, which means not open it with fopen(filename.php4, r) but with fopen(http://servername/filename.php4;, r). Then you get exactly the way to browser sees it. But this is very slow if you fetch a lot of files. Martin -- PHP General

[PHP] Dynamic map tutorial wanted

2002-01-16 Thread JawjB
I am looking for a guide or tutorial (preferably not OO) to help me do the following. A client views a map of a country and clicks on his location. Location stored on database. A visitor enters makes a selection (e.g. Hotels) then views a map of the country modified to reflect those

Re: [PHP] How to protect JavaScript?

2002-01-16 Thread Martin Thoma
Hi Bart, I think it's the same problem as with php: You could only protect it, when a HTTP_REFERRER is send (which Netscape does not do): Description: Assume we have under http://www.quux-corp.de/~quux/ some pages with inlined GIF graphics. These graphics are nice, so others directly

RE: [PHP] How to protect JavaScript?

2002-01-16 Thread Bart Brinkmann
Here's a good primer on mod_rewrite: http://www.freebsddiary.org/rewrite.php I used it to accomplish the following... A user hits a url of say: http://foo.com/84838 I then want to return an object out of our database who's id is 84838. A 404 handler will not help in this case. So, I chose to

Re: [PHP] Time calculation after UNIX

2002-01-16 Thread Jimmy
Hi Olav, I have a database that is supposed to last more than 30 years Could someone advice me how to calculate (add and subtract) time in a maner that willl be correct after 2030 when Unix Time stop working? if you are using MySQL, then use datetime or date column type. they can support

Re: [PHP] How to protect JavaScript?

2002-01-16 Thread Martin Thoma
Hi Bart, thanx for your answer. This would only be true if your javascript files were parsed with php.If not, then php can't do anything about it of course. This is possible, I tried it out. Look into mod_rewrite. I haven't used it in the sense that you're looking for, but I don't see why

Re: [PHP] Parsing?

2002-01-16 Thread Miles Thompson
Doing this: cp file_i_want_to_look_at.php file_i_want_to_look_at.phps http://www.domain.name/file_i_want_to_look_at.phps will display coloured source listing in the browser. Is that what you want? This is referenced somewhere in the docs, and even if you only rename a file to phps it is

Re: [PHP] Lazy evaluation?

2002-01-16 Thread mike cullerton
on 1/16/02 5:57 AM, Miles Thompson at [EMAIL PROTECTED] wrote: For or statements it does, but not or xor. I don't know about you, but I wouldn't want lazy evaluation on a conditional statement involving and. i'm new to all this stuff, so i'll bite. hopefully someone can explain what i'm

Re: [PHP] Time calculation after UNIX

2002-01-16 Thread Bogdan Stancescu
An excerpt from the mysql manual: --- 1.7 Year 2000 Compliance MySQL itself has no problems with Year 2000 (Y2K) compliance: MySQL uses Unix time functions and has no problems with dates until 2069 --- However, it seems to me that this is the way to go indeed, because you can

Re: [PHP] mysql_insert_id?

2002-01-16 Thread mike cullerton
on 1/16/02 7:42 AM, Martin Wickman at [EMAIL PROTECTED] wrote: Dl Neil wrote: 2 because the (function argument) controlling feature is the connection, it is not possible for another concurrent user to 'steal' your ID or influence the ID returned to you - it's all yours! Ok, assume you

[PHP] header(Location: question

2002-01-16 Thread Simos Varelakis
Hello everybody This works header(Location: http://www.foo.com/data/register.php?exist=1;); How can I pass exist value as parameter ??? Tia SImos

[PHP] WDDX...

2002-01-16 Thread Tony Arnold
I'm doing a website which I want to be easily updated so I made it using wddx, now I wonder how fast or slow it is? How many people can connect to my website without seeing any slowdowns? Anyone knows? / Tony... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Lazy evaluation?

2002-01-16 Thread Miles Thompson
SHWLHAP! (Sound of dead fish hitting me in the side of the head.) Of course - if the first condition is false, PHP doesn't bother to evaluate the second argument. I was thinking that if the first condition is true I don't want evaluation to stop there. Miles At 08:18 AM 1/16/2002 -0700, mike

Re: [PHP] Lazy evaluation?

2002-01-16 Thread Jimmy
For or statements it does, but not or xor. Are you sure only or which do lazy evaluation? as far as i remember, the last time I use operator it do lazy evaluation. And if you look at the online manual, some users also confirmed that PHP implement lazy evaluation for logical operator.

[PHP] HTTP_IL_PAD global variable?

2002-01-16 Thread bill
What does this global variable stand for? HTTP_IL_PAD -- 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] Lazy evaluation?

2002-01-16 Thread Bogdan Stancescu
LOL! He asked if PHP supports lazy evaluation, not buggy evaluation! Bogdan Miles Thompson wrote: SHWLHAP! (Sound of dead fish hitting me in the side of the head.) Of course - if the first condition is false, PHP doesn't bother to evaluate the second argument. I was thinking that if the

Re: [PHP] mysql_insert_id?

2002-01-16 Thread Jimmy
Hi Martin, 2 because the (function argument) controlling feature is the connection, it is not possible for another concurrent user to 'steal' your ID or influence the ID returned to you - it's all Ok, assume you are correct, but what if you are using persistent connections (ie pconnet)?

[PHP] fixing mail for broken Outlook

2002-01-16 Thread Hank Marquardt
I've got an app that sends emails, not complicated emails, their just text, the mail text is stored in text files on the server so they can be edited independant of the code, I've then got a function that reads the file (using file()) ... iterates the array, chop(), append \r\n and builds a

Re: [PHP] Parsing?

2002-01-16 Thread TD - Sales International Holland B.V.
On Wednesday 16 January 2002 16:14, you wrote: You will need to appropiate lines in your apache config for that to work tho' AddType application/x-httpd-php-source .phps if I'm not mistaken, as long as your PHP is running, you already have the other necessary lines in there regards Doing

Re: [PHP] Redirect?

2002-01-16 Thread Ben Sinclair
header(Location: http://www.blah.com;); Just be sure that output hasn't already started before you send the header. -- Ben Sinclair [EMAIL PROTECTED] - Original Message - From: Henrik Johansson [EMAIL PROTECTED] To: PHP [EMAIL PROTECTED] Sent: Wednesday, January 16, 2002 10:01 AM

[PHP] Mulitple Attachments using php

2002-01-16 Thread Sam
Hi all, I know I hear you all groan with this topic... I know this topic has been asked before... But looking through the archives there have been a lot of advice, URLs, classes given out, yet I haven't really found anything that can easily be implemented so that I can send muliple attachments

[PHP] Re: Redirect?

2002-01-16 Thread J Smith
If this isn't in the PHP FAQ (I couldn't find it), it definitely should be, because somebody asks this question at the very least once a week on this list. J Henrik Johansson wrote: Hi! How do I do a redirect to a different location in PHP? Regards Henrik Johansson -- PHP General

Re: [PHP] Re: Redirect?

2002-01-16 Thread val petruchek
If this isn't in the PHP FAQ (I couldn't find it), it definitely should be, because somebody asks this question at the very least once a week on this list. Very useful feature, i think :) and better to add it to the manual III. Features section (with file apploading, image functions etc)

[PHP] Job Needed !!!

2002-01-16 Thread Prachait Saxena
Hello !! I am free now a days and Needed a job in Web Development. I am fluent in PHP + MySql Combination. Any on can hire me. Wating for reply. -- Bye, and Have a nice day. Prachait Saxena --- Phone :- +91 - 712 - 544476 Email :- [EMAIL PROTECTED] (Official)

Re: [PHP] Lazy evaluation?

2002-01-16 Thread mike cullerton
aha! see, i didn't understand the whole picture. so, let me see if i can create another question. suppose if (($a_good = ($a == 'a')) ($b_good = ($b == 'b'))) blahblahblah(); are you saying, that $b_good should always have the result of ($b == 'b') even if $a != 'a'? that's not what my test

Re: [PHP] Mulitple Attachments using php

2002-01-16 Thread Jon Farmer
But looking through the archives there have been a lot of advice, URLs, classes given out, yet I haven't really found anything that can easily be implemented so that I can send muliple attachments in an single email. I have managed it with one code but it always introduced an ATT01583.ATT

Re: [PHP] Job Needed !!!

2002-01-16 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 16-01-02 at 17:25 * Prachait Saxena said Hello !! I am free now a days and Needed a job in Web Development. I am fluent in PHP + MySql Combination. Any on can hire me. Wating for reply. Well, I'd like a new bicycle, a house with

Re: [PHP] Lazy evaluation?

2002-01-16 Thread Bogdan Stancescu
A few comments: 1. (and the most important) I was trying to be helpful, rather than arrogant as you most probably perceived me. 2. My answer was directed to the original poster, not to you. However, it is true that I was mistaken in posting the message as a reply to your message. mike cullerton

Re: [PHP] fixing mail for broken Outlook

2002-01-16 Thread DL Neil
Hank, You say just text and text/plain. What do you mean by mungs the formatting? What formatting in plain text? =dn I've got an app that sends emails, not complicated emails, their just text, the mail text is stored in text files on the server so they can be edited independant of the code,

Re: [PHP] WDDX...

2002-01-16 Thread Jimmy
Hi Tony, I'm doing a website which I want to be easily updated so I made it using wddx, now I wonder how fast or slow it is? How many people can connect to my website without seeing any slowdowns? Anyone knows? I use WDDX in my project to exchange data between application (which is what

RE: [PHP] security benefits of predefined variables

2002-01-16 Thread Johnson, Kirk
What is the purpose of the $_GET (or $HTTP_GET_VARS) predefined variable? It seems that in the case of get variables, malicious variables could still be set in the querystring and even using $_GET['variablename'] wouldn't be able to stop this from happening. That is, from what I

RE: [PHP] Extending PHP

2002-01-16 Thread Simon Ritchie
For what they are worth, here are some notes that I took. I don't think they answer the actual question you asked, but they may be useful. Extensions to PHP are written in C. (I haven't seen a statement to that effect anywhere in the documentation, but I mave missed something.) Assume that

Re: [PHP] fixing mail for broken Outlook

2002-01-16 Thread Hank Marquardt
basically tabs and line breaks disappear ... almost like it's treating the message as html .. whitespace is history. On Wed, Jan 16, 2002 at 04:29:03PM -, DL Neil wrote: Hank, You say just text and text/plain. What do you mean by mungs the formatting? What formatting in plain text? =dn

Re: [PHP] Job Needed !!!

2002-01-16 Thread Bogdan Stancescu
LOL! Great posting! Made my day. You'd get the 'big gold trumpet' award of the day if I could spare the money :-) However, have you considered that this guy was maybe offering to help in a free software project? Bogdan Nick Wilson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On

Re: [PHP] Mulitple Attachments using php

2002-01-16 Thread DL Neil
Sam, I know I hear you all groan with this topic... I know this topic has been asked before... But looking through the archives there have been a lot of advice, URLs, classes given out, yet I haven't really found anything that can easily be implemented so that I can send muliple

Re: [PHP] Newbie question on deleting directories using web Explorer

2002-01-16 Thread Embrace DaPain
I am trying to delete files using web explorer THere is a section in the code that states the following... Can I include a shell script into it? Or it is neccessary. I know I have permissions,but I might be wrong. If someone could help me I would appreciate it. Thanks Al case del:

Re: [PHP] Job Needed !!!

2002-01-16 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * On 16-01-02 at 17:47 * Bogdan Stancescu said LOL! Great posting! Made my day. You'd get the 'big gold trumpet' award of the day if I could spare the money :-) However, have you considered that this guy was maybe offering to help in a

RE: [PHP] security benefits of predefined variables

2002-01-16 Thread Rasmus Lerdorf
If you are careful, you can defend against Scenario 1 with register_globals on, but you need to understand all the stuff that PHP is doing with the data, and that is a fairly complicated picture. Your application can still work even if you don't understand that picture, and that is how

[PHP] Newbie: Ending Sessions

2002-01-16 Thread Lee P Reilly
Hi, I wonder if someone could tell me what I am doing wrong with the following? I am trying to end a session (logout), but am having a problem... I register a new session as follows: authenticate.php (snippet) // if the user has just tried to login if ($username

[PHP] Web Explorer

2002-01-16 Thread Embrace DaPain
Hello: Also I am getting this stupid error. How is that when I see the file and directory staring in front of me? Warning: Unlink failed (No such file or directory) in /web/sites/embracedapain/thenameofmysite.com/index.php on line 1049 Thanks Al

Re: [PHP] PHP as a cron job

2002-01-16 Thread Tiago Luchini
I am trying to run directly via PHP. I have tried setting 755 to the script and adding #!/usr/bin/php -q to it and also tried to change my cron line to run /usr/bin/php sending the script as a parameter. Both options run normally when logged on a TTY. Tiago - Original Message - From:

[PHP] URGENT : PHP install error on Solaris 7

2002-01-16 Thread R'twick Niceorgaw
Hi all, I have a Sparc Solaric 7 system on which I'm trying to install php 4.0.6. the installation works fine. But, when I try to restart Apache I get the following error. I have Apache 1.3.22 Has any one experienced the same problem ? Or any fix to this ? I'm not a unix guy so have no idea as

[PHP] Re: SMS

2002-01-16 Thread LaserJetter
Site which offer SMS are also closing down / becoming unreliable as the UK networks are charging other network operators for sending messages to phones on their network. This doesnt really affect mobile phone users because the costs cancel out over time but discrimnates against web sites who dont

Re: [PHP] PHP as a cron job

2002-01-16 Thread mike cullerton
Unable to open /home/admin/webmin-0.85/ in Unknown on line 0 this is possibly a path or env issue. have you tried using absolute filenames? mike on 1/16/02 10:07 AM, Tiago Luchini at [EMAIL PROTECTED] wrote: I am trying to run directly via PHP. I have tried setting 755 to the script and

[PHP] Maintenance of POP3 accounts

2002-01-16 Thread HENDERSON, Roy
Hi, I would like to be able to maintain ( ie create or delete ) POP3 accounts via PHP but my ISP says this cannot be done. I find this confusing since they provide me a PHP-based control panel which I use to do this manually ... I confess I don't know much about the implementation of POP3 on

RE: [PHP] security benefits of predefined variables

2002-01-16 Thread Johnson, Kirk
I wrote: If you are careful, you can defend against Scenario 1 with register_globals on, but you need to understand all the stuff that PHP is doing with the data, and that is a fairly complicated picture. Your application can still work even if you don't understand that picture,

[PHP] parsing xml/string

2002-01-16 Thread Sandeep Murphy
Hi, I have an xml output with tags like sessionid123/sessionid usersands/sands I could parse the output using expat to display it the way i want or as a string but what I need is to store the values separately in different variables like $id for sessionid, $user for user and so on.. to be

Re: [PHP] parsing xml/string

2002-01-16 Thread Hank Marquardt
I guess I'd setup a global array $TAGS, create an entry in the array with your open_tag handle, $TAGS[$tagnamepassedtohandler], use the data handler to populate it $TAGS[$currenttag].=$data; When you're done parsing the xml you have one big array with all the tags that you can either use

Re: [PHP] PHP as a cron job

2002-01-16 Thread Mehmet Kamil ERISEN
Hi, I have to sweat my way through /usr/bin/php if that does not work try /usr/local/bin/php or ask the Unix Sysadmin. one problem I still have to overcome is that everything works,( I mean DB Connection etc.) but I can not use mail() function. Any body have any ideas why I can't use

  1   2   3   >