[PHP] Error message: No input file specified

2004-03-12 Thread Thorsten Müller
Hi I'm using the thttpd webserver and php as cgi. Up to php version 4.3.1 everything is fine. When i try to upgrade to 4.3.2 or 4.3.5RC3 the only thing i can see is the message No input file specified. Is this a bug in php, or an incorrect configuration of my php? Sorry if this question is not

Re[2]: [PHP] Get nice variables from POST

2004-03-12 Thread Richard Davey
Hello trlists, Friday, March 12, 2004, 3:56:23 AM, you wrote: tcc It seems to me that for security one wants both things -- first, to tcc move only what you need from _POST into the global symbol table, and tcc second, validate it thoroughly. Indeed.. roll-on input filters in PHP5 :) -- Best

[PHP] Re: Help with arrays

2004-03-12 Thread Michael Nolan
Elliot J. Balanza wrote: I need to make a query to a MySQL database that only has two fields, name value. That I can do. Then I need to store the values i receive in an array in the form of: $variable['name'] = value; But haven't been able to do it neither with a foreach nor with a do while...

RE: [PHP] Re: DOM XML and php

2004-03-12 Thread Tassos T
Sory for delay I use sablotron because I take xml data via curl from windows server. I need only a way to transform xml data with xslt and I want to present data to web pages. I think DOMXML provide functions to create XML docs from the beginning and manipulate xml data like add or remove xml

[PHP] Trke php mail grup...

2004-03-12 Thread EMIN GONAL
SELAMLAR Trke php mail grubumuza katlmak isteyen arkadalar aadaki mail adresine bo bir mail gndererek ye olabilirler, gelen confirm mesajn hibir ey yazmadan direkt olarak reply ediniz... [EMAIL PROTECTED] veya webden kayt olmak isterseniz http://groups.yahoo.com/group/turkphp/ adresine

Re: [PHP] Re: DOM XML and php

2004-03-12 Thread Lucian COZMA
True, but it does much more than that. It also provides xslt transformations. It uses the powerfull libxslt library that provides far more features, speed and reliablility than Sablot. I would rather do XSL transformations with DOMXML than with Sablot just for these reasons. Thanks for your

[PHP] Re: Help with arrays

2004-03-12 Thread memoimyself
Hello Elliot, On 11 Mar 2004 at 23:55, Elliot J. Balanza wrote: I need to make a query to a MySQL database that only has two fields, name value. That I can do. Then I need to store the values i receive in an array in the form of: $variable['name'] = value; But haven't been able to do

[PHP] Windows and easyphp

2004-03-12 Thread Tassos T
Hi, I use easyphp at windows to make test my php scripts and I face a problem when I use the php function domxml_xmltree() explode apache. I configure all extensions whitch required for using DOMXML. Any idea ? Thanks tassos -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: Help with arrays

2004-03-12 Thread Elliot J. Balanza
I have tried several combinations, including foreach, do whiles. This works when i submit the values one by one, but when i try to automatize it it wont work. Thanks mysql_select_db($database_MBTTIENDA, $MBTTIENDA); $query_prefsname = SELECT Pref_name FROM mtmbt_prefs; $prefsname =

[PHP] RE: R: [PHP] Get nice variables from POST

2004-03-12 Thread Mike Mapsnac
I try to use quotes in the query and this doesn't work. $query = SELECT * FROM user WHERE user_id = '$_POST['user_id']}'; But you use brackets and it works.. Why do you use brackets ? $query = SELECT * FROM user WHERE user_id = ${_POST['user_id']}; From: Alessandro Vitale [EMAIL PROTECTED] To:

[PHP] Re: PHP || Create File (not upload) with ftp()?

2004-03-12 Thread CF High
Hey all. I've been having ownership issues when writing files with fwrite(); i.e. file owner is nobody while ftp'd files are owned by the site owner. In order to streamline file management, I'd like to be able to write files on our webhost server using PHP's ftp functions; not using fwrite() and

[PHP] Enabling exif using the Ports branch on OpenBSD

2004-03-12 Thread Teren
Hi, I'm trying to enable exif on my OpenBSD box so I tried adding --enable-exif in core/Makefile under CONFIGURE_ARGS but that makes it so i can't make it. Does anyone know how to enable exif with ports? Thanks Teren

RE: [PHP] RE: R: [PHP] Get nice variables from POST

2004-03-12 Thread Tassos T
Try to use $query = SELECT * FROM user WHERE user_id = $_POST['user_id']; -Original Message- From: Mike Mapsnac [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 3:40 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] RE: R: [PHP] Get nice variables from POST I try to use

Re: [PHP] RE: R: [PHP] Get nice variables from POST

2004-03-12 Thread Tom Meinlschmidt
oops. It's much better to use single quotes and entire variable in {} eg .. where user_id = '{$_POST['user_id']}' ... realize - POST variable user_id has no value, so in your code it will be as select * from users where user_id =; as a result - you have wrong sql query. /tom On Fri, 12 Mar

[PHP] windows 2003 server configuration

2004-03-12 Thread Schmidt, Jeffrey
I am running Windows 2003 server and am having trouble configuring. I unzipped php 4.+ to c:\php. I renamed php.ini and put it in C;\windows and configured the extension_dir = c:\php\extensions, doc_root = c:\inetpub\wwwroot, and cgi.force_redirect = 0. I also moved php4ts.dll to

Re: [PHP] Get nice variables from POST

2004-03-12 Thread trlists
On 12 Mar 2004 Mike Mapsnac wrote: I try to use quotes in the query and this doesn't work. $query = SELECT * FROM user WHERE user_id = '$_POST['user_id']}'; But you use brackets and it works.. Why do you use brackets ? $query = SELECT * FROM user WHERE user_id = ${_POST['user_id']}; See

[PHP] Static vs. Dynamic Build of PHP4

2004-03-12 Thread trlists
I am running on one Linux server which has PHP built statically; the CLI and Apache modules are both over 5.5MB. On another where it is built dynamically they are closer to 1.2MB. Is there any data on the performance tradeoffs of static vs. dynamic builds? I understand the factors (static

Re: [PHP] Get nice variables from POST

2004-03-12 Thread trlists
On 12 Mar 2004 Richard Davey wrote: Indeed.. roll-on input filters in PHP5 :) Hmmm, can't find the docs on those online. -- Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] R: R: [PHP] Get nice variables from POST

2004-03-12 Thread Alessandro Vitale
hi, curly braces are useful to specify in a double quoted string where is the end of the variable name. $ciao == ${ciao} in case of associative arrays is recommended to prevent the parser to mess up. see php manual at the following section for details Main : Language Reference : Types :

RE: [PHP] Re: DOM XML and php

2004-03-12 Thread Tassos T
Hi, I agree but I cannot find a way to transform xlm data from variable not open xml file with using DOMXML. tassos -Original Message- From: Lucian COZMA [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 1:50 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: DOM XML and php True,

Re: [PHP] Get nice variables from POST

2004-03-12 Thread Hans Juergen von Lengerke
I know this isn't what you want, but nevertheless, this does not look ugly: pre # Get variables from the form # $username = $_POST['username']; $password = $_POST['password']; $password2 = $_POST['password2']; $email = $_POST['email']; $email2= $_POST['email2'];

RE: [PHP] Re: Loosing redirect in if...else

2004-03-12 Thread Alex Hogan
(a) if you're using any values sent via the URL string (e.g. cf=0), you need to use $_GET, not $_POST; Some of the information is coming from a form and the info from the url is to call the different questions. They are all on one page in a switch statement. (b) empty() will also evaluate

Re: [PHP] Get nice variables from POST

2004-03-12 Thread Tom Meinlschmidt
if (is_array($_POST)) { foreach($_POST as $name=$value) { ${$name} = $value; } } /tom On Fri, 12 Mar 2004 15:59:00 +0100 (CET) Hans Juergen von Lengerke [EMAIL PROTECTED] wrote: I know this isn't what you want, but nevertheless, this does not look ugly: pre # Get variables

Re: [PHP] More php Questions about PHP 4.3.4 (cli)

2004-03-12 Thread Martin McCormick
My thanks to both of you. I am trying to find out now how to compile in the oci8 functions because it is not obvious in the list of configuration selections. When I do get those functions, I can probably use the information from Marcelo so every bit helps. Martin Towell writes:

[PHP] XSS Vulnerabilities and strip_tags

2004-03-12 Thread trlists
Is the general wisdom that using strip_tags on input is sufficient to protect against XSS vulnerabilities from that input? I have been doing some reading on it but haven't found anything that suggests a vulnerability that removing the tags in this way would not cure. Are there multi-level

[PHP] load a URL and trap output

2004-03-12 Thread Roger Spears
Hello, I have this application which is accessed via a web portal. The first thing my application must do is make sure the visitor is logged in via the portal. The only way to do this is by making a request to a specific URL. This URL (which includes the log in cookie id) will return XML

Re: [PHP] load a URL and trap output

2004-03-12 Thread Tom Meinlschmidt
simple use fopen() or file() as $fp = fopen(http://somedomain/some.url?blablah,r;); and read via fread() /tom On Fri, 12 Mar 2004 10:54:53 -0500 Roger Spears [EMAIL PROTECTED] wrote: Hello, I have this application which is accessed via a web portal. The first thing my application must

Re: [PHP] load a URL and trap output

2004-03-12 Thread Chris Boget
How do I make my application load a URL and trap the returned data so that it never creates any browser output? Aside from the fopen() and fread() that was suggested by another person you can also use the ob_* functions. Chris -- PHP General Mailing List (http://www.php.net/) To

[PHP] building a statically linked php cli

2004-03-12 Thread Hugh Beaumont
Hi List, I am trying to build a statically linked php cli binary. I believe I am using the correct terminology. What I want is a php cli binary that will work on (for the most part) any server I need to copy it to even if the particular extra libs I compiled against are not on that server. I

[PHP] load a URL and trap output

2004-03-12 Thread Roger Spears
Tom Meinlschmidt wrote: simple use fopen() or file() as $fp = fopen(http://somedomain/some.url?blablah,r;); and read via fread() Perhaps I was mistaken, I thought: $fp = fopen(http://somedomain/some.url?blablah,r;); fread(); Would just return the actual HTML code of the page and NOT the

Re: [PHP] load a URL and trap output

2004-03-12 Thread Red Wingate
Best way would be filegetcontents() and implode the content with \n. eg: ?php $temp = filegetcontents('http://www.somedomain.com'); $temp = implode ( \n , $temp ); echo $temp ; ? Chris Boget wrote: How do I make my application load a URL and trap the returned data so that it never

Re: [PHP] Dumb

2004-03-12 Thread PHP
Thanks, that is what I figured. I really don't get rpm's, it seems you are stuck with whatever the packager felt like putting in the rpm. Want to add a library? Like zlib for example? then you have to re-compile it yourself anyways. They seem completely useless to me for anything but a very basic

Re: [PHP] load a URL and trap output

2004-03-12 Thread Roger Spears
Tom Meinlschmidt wrote: simple use fopen() or file() as $fp = fopen(http://somedomain/some.url?blablah,r;); and read via fread() Then I replied with: Perhaps I was mistaken, I thought: $fp = fopen(http://somedomain/some.url?blablah,r;); fread(); Would just return the actual HTML code of

[PHP] STrange Problem

2004-03-12 Thread PHP
Hi, I am using RH9, Mysql 3.23.58, PHP 4.2.2, apache2.0 mysql_select_db(mydatabase,$connect_id) allways fails. I can use $connect_id = mysql_connect(localhost,apache); (YES, I do have this line before the mysql_select_db); just fine. I can run querys against the database with no problems, but

[PHP] An extension to CREATE zips??

2004-03-12 Thread Brian J. Celenza
Is there function library capable of creating zip files and adding files to a zip archive under the windows/apache platform? After some extensive browsing I can only turn up read-only access functions. Thank you, Brian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: XSS Vulnerabilities and strip_tags

2004-03-12 Thread Andre Cerqueira
i didnt know what XSS was, just read it on webopedia.com now, maybe i got the wrong idea... strip_tags should prevent a kind of explotation, but maybe its behavior is not exactly what you want... see also htmlentities (http://www.php.net/htmlentities) you need to ask yourself how the

Re: [PHP] STrange Problem

2004-03-12 Thread PHP
OK, I do get the following error. 1044: Access denied for user: '@localhost' to database 'mydatabase' Even though I specify the user in mysql_connect, for some reason, mysql_select_db is trying to user a blank user, Any Ideas? Hi, I am using RH9, Mysql 3.23.58, PHP 4.2.2, apache2.0

Re[2]: [PHP] STrange Problem

2004-03-12 Thread Richard Davey
Hello PHP, Friday, March 12, 2004, 6:25:09 PM, you wrote: P OK, I do get the following error. P 1044: Access denied for user: '@localhost' to database 'mydatabase' P Even though I specify the user in mysql_connect, for some reason, P mysql_select_db is trying to user a blank user, P Any Ideas?

Re: [PHP] STrange Problem

2004-03-12 Thread trlists
On 12 Mar 2004 Richard Davey wrote: P 1044: Access denied for user: '@localhost' to database 'mydatabase' You said that you use apache as the username for MySQL - is this something you've configured yourself? It appears he is actually using a blank username as there is noting before the

Re: Re[2]: [PHP] STrange Problem

2004-03-12 Thread PHP
Yes, I have it configured to run as apache. But, as I mentioned, I have no problems accessing the database and running querys against it, it is only the mysql_select_db function that fails. Hello PHP, Friday, March 12, 2004, 6:25:09 PM, you wrote: P OK, I do get the following error. P

Re[2]: [PHP] STrange Problem

2004-03-12 Thread Richard Davey
Hello trlists, Friday, March 12, 2004, 6:37:34 PM, you wrote: tcc Configuring a MySQL database with a blank root password sounds like a tcc potential security risk to me ... It is, but if he hasn't modified it otherwise, that's what it'll be. Also for local development purposes, there is no

Re: Re[2]: [PHP] STrange Problem

2004-03-12 Thread trlists
On 12 Mar 2004 Richard Davey wrote: It is, but if he hasn't modified it otherwise, that's what it'll be. Also for local development purposes, there is no harm in it. Agreed, as long as he's not connected so someone can try to connect to the MySQL port. -- Tom -- PHP General Mailing List

Re[4]: [PHP] STrange Problem

2004-03-12 Thread Richard Davey
Hello trlists, Friday, March 12, 2004, 6:48:03 PM, you wrote: tcc Agreed, as long as he's not connected so someone can try to connect to tcc the MySQL port. If he's connected that long and not running a firewall, he deserves it ;) -- Best regards, Richard Davey

Re[4]: [PHP] STrange Problem

2004-03-12 Thread Richard Davey
Hello, Friday, March 12, 2004, 6:38:37 PM, you wrote: P Yes, I have it configured to run as apache. But, as I mentioned, I have no P problems accessing the database and running querys against it, it is only P the mysql_select_db function that fails. You mean you have no problems querying the

Re: [PHP] Get nice variables from POST

2004-03-12 Thread Jaskirat Singh
if (is_array($_POST)) { foreach($_POST as $name=$value) { ${$name} = $value; } } or use this if (is_array($_POST)) { extract($_POST); } Jaski __ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com -- PHP General

Re: Re[4]: [PHP] STrange Problem

2004-03-12 Thread PHP
Yes, I have a root password. No, I do not use root to run the server or connect to the database. Yes, I do have the user apache in the grant tables for mysql with permissions for the specific database. Yes, I can run querys against said database and connect with user apache with no problems. Only

Re[6]: [PHP] STrange Problem

2004-03-12 Thread Richard Davey
Hello, Friday, March 12, 2004, 7:00:38 PM, you wrote: P Only msyql_select_db will not connect, it claims I am trying to use a blank P user, even though I specifically connect earlier with mysql_connect with the P specific user with no problems.. What does this output? ?php $link =

Re: Re[6]: [PHP] STrange Problem

2004-03-12 Thread PHP
It returns: Connected successfully Like I said, I have not problems connecting. Only mysql_select_db will not work. Hello, Friday, March 12, 2004, 7:00:38 PM, you wrote: P Only msyql_select_db will not connect, it claims I am trying to use a blank P user, even though I specifically

Re: Re[4]: [PHP] STrange Problem

2004-03-12 Thread PHP
It seems the only way I can get mysql_select_db to work is to actually add a blank user to the msyql.db table with appropiate privileges. Yes, I have a root password. No, I do not use root to run the server or connect to the database. Yes, I do have the user apache in the grant tables for

Re[8]: [PHP] STrange Problem

2004-03-12 Thread Richard Davey
Hello PHP, Friday, March 12, 2004, 7:23:47 PM, you wrote: P It returns: P Connected successfully P Like I said, I have not problems connecting. Only mysql_select_db will not P work. Fine, what does this return? With foo replaced with your database name. ?php $lnk = mysql_connect('localhost',

Re: [PHP] STrange Problem

2004-03-12 Thread trlists
Is it possible that either $connect_id is not defined at the point where you use it in the mysql_select_db call (e.g. it's global, the call is in a function, and you forgot to use a global declaration), and/or the previosuly opened connection has been closed? What do you get if you do a

[PHP] creating thumbnails

2004-03-12 Thread Maxi Yedid
hello I have a form from where you can upload an image. the script saves the file on the server in a folder. what I want now is when it saves the file; I also want to save a copy of that file in another folder with thumbnail size. How do I create a copy with for example 100 x 100 and save that?

RE: [PHP] creating thumbnails

2004-03-12 Thread Jay Blanchard
[snip] I have a form from where you can upload an image. the script saves the file on the server in a folder. what I want now is when it saves the file; I also want to save a copy of that file in another folder with thumbnail size. How do I create a copy with for example 100 x 100 and save that?

Re: [PHP] creating thumbnails

2004-03-12 Thread Brad Pauly
On Fri, 2004-03-12 at 15:17, Maxi Yedid wrote: [snip] what I want now is when it saves the file; I also want to save a copy of that file in another folder with thumbnail size. How do I create a copy with for example 100 x 100 and save that? If you are using Linux (maybe others too) you

[PHP] Adding php to the include_path in the php.ini???

2004-03-12 Thread Scott Fletcher
Hi! After doing many testing for hte fsockopen() bugs with PHP developers which is now fixed. I just happen to noticed that in the middle of those testing when I do the PHP installation after doing the usual configure and make. What I noticed is that it asked me to .. --snip-- You may want

[PHP] Re: Help with arrays

2004-03-12 Thread Elliot J. Balanza
Thank you Michael... That did the trick :D thank you very very much, it took me three days... and now it seems so damn easy. vamp Michael Nolan [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Elliot J. Balanza wrote: I need to make a query to a MySQL database that only has two

[PHP] Character Question

2004-03-12 Thread David Westbrooks
I have articles held in a MySQL database for a law firm. When I pull the information from the DB and display it, words like that's are shown as that\'s. To take care of this problem I have done this: $newsart = eregi_replace(\\\',', $newsart); Is there a better way to handle this to catch all

RE: [PHP] Character Question

2004-03-12 Thread Pablo Gosse
David Westbrooks wrote: I have articles held in a MySQL database for a law firm. When I pull the information from the DB and display it, words like that's are shown as that\'s. To take care of this problem I have done this: $newsart = eregi_replace(\\\',', $newsart); Is there a better

[PHP] New Problem with Arrays won't show the first record of a query.

2004-03-12 Thread Elliot J. Balanza
Ok thanks to Michael Nolan I was able to do what I needed. The final code is this: snip-snip mysql_select_db($database_MBTTIENDA, $MBTTIENDA); $query_prefs = SELECT * FROM mtmbt_prefs ORDER BY Pref_name ASC; $prefs = mysql_query($query_prefs, $MBTTIENDA) or die(mysql_error()); $row_prefs =

[PHP] Servlet/PHP integration

2004-03-12 Thread dba user
I am sorry, if this message is a duplicate post. (I unwittingly press some key and the page got refreshed before completing my post). I am trying the Servlet/Php integration. I installed php with java support. But, I do not see php_java.jar in any of the directories. I have

Re: [PHP] Adding php to the include_path in the php.ini???

2004-03-12 Thread Jason Wong
On Saturday 13 March 2004 05:35, Scott Fletcher wrote: After doing many testing for hte fsockopen() bugs with PHP developers which is now fixed. I just happen to noticed that in the middle of those testing when I do the PHP installation after doing the usual configure and make. What I

Re: [PHP] Character Question

2004-03-12 Thread Filip de Waard
On Mar 12, 2004, at 11:24 PM, Pablo Gosse wrote: David Westbrooks wrote: I have articles held in a MySQL database for a law firm. When I pull the information from the DB and display it, words like that's are shown as that\'s. To take care of this problem I have done this: $newsart =

[PHP] test

2004-03-12 Thread JAMES OXFORD
test -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Servlet/PHP integration

2004-03-12 Thread Vail, Warren
in order to execute code under http://my-server:8080/ doesn't it have to be a java class? Since PHP was never written in JAVA, that I know of, I suspect it will never be a class file, and that may explain why you don't find a php_java.jar. What you will find is a php_java.so or php_java.dll

RE: [PHP] Servlet/PHP integration

2004-03-12 Thread dba user
Thanks Vail, I was following http://us4.php.net/manual/en/ref.java.php#java.servlet and the README from php install at sapi/servlet/README. I am new to php and servlet. My friend has a requirement to integrate some php stuff into his existing java. I tried to get it setup as described in

Re: [PHP] New Problem with Arrays won't show the first record of a query.

2004-03-12 Thread Rasmus Lerdorf
Because you do mysql_fetch_assoc() once before going into your while loop. Get rid of that first $row_prefs = mysql_fetch_assoc(...) line there and it will work. -Rasmus On Fri, 12 Mar 2004, Elliot J. Balanza wrote: Ok thanks to Michael Nolan I was able to do what I needed. The final code

[PHP] SESSIONS SESSIONS SESSIONS

2004-03-12 Thread Alberto García Gómez
Friends: I need a good example to create a session and navigate an entire site with this sessions. Also I need that sessions handle a three variables. __ Atte. Alberto García Gómez Administrador Nodo Atenas http://www.mtz.sld.cu/ Tel: 53-45-282212

Re: [PHP] ereg problem

2004-03-12 Thread Newman Weekly.
Don't worry about this I worked out that the example was wrong (o; - Original Message - From: Newman Weekly. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 13, 2004 1:59 PM Subject: [PHP] ereg problem ?php $formUserName=foobar; if

Re: [PHP] SESSIONS SESSIONS SESSIONS

2004-03-12 Thread Jason Davidson
http://ca.php.net/manual/en/function.session-start.php =?iso-8859-1?Q?Alberto_Garc=EDa_G=F3mez?= [EMAIL PROTECTED] wrote: Friends: I need a good example to create a session and navigate an entire site with this sessions. Also I need that sessions handle a three variables.

Re: [PHP] New Problem with Arrays won't show the first record of a query.

2004-03-12 Thread trlists
On 12 Mar 2004 Elliot J. Balanza wrote: . $row_prefs = mysql_fetch_assoc($prefs); . while ($row_prefs = mysql_fetch_assoc($prefs)) { . and it works fine EXCEPT it wont show the first record of the query... any ideas why? Yes ... see the two lines quoted above. Each time you

[PHP] SMTP Authentication

2004-03-12 Thread Beauford
Hi, How would I set up PHP to use SMTP authentication when I send an email. For example, in MS Outlook I have authentication set to use the same settings as my incoming mail. I have searched around but haven't found anything that deals with this. Thanks -- PHP General Mailing List

Re: [PHP] New Problem with Arrays won't show the first record of a query.

2004-03-12 Thread Elliot J. Balanza
Thanks guys... it works dandy now. Vamp [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] On 12 Mar 2004 Elliot J. Balanza wrote: . $row_prefs = mysql_fetch_assoc($prefs); . while ($row_prefs = mysql_fetch_assoc($prefs)) { . and it works fine EXCEPT it

[PHP] Re: SMTP Authentication

2004-03-12 Thread Elliot J. Balanza
The thing is... if you are sending the mail from within your server why do you need to authentificate you are yourself? Vamp. Beauford [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Hi, How would I set up PHP to use SMTP authentication when I send an email. For example, in

[PHP] Re: SMTP Authentication

2004-03-12 Thread Manuel Lemos
Hello, On 03/13/2004 12:54 AM, Beauford wrote: How would I set up PHP to use SMTP authentication when I send an email. For example, in MS Outlook I have authentication set to use the same settings as my incoming mail. I have searched around but haven't found anything that deals with this. The

[PHP] Apache Config: php_value auto_prepend_file auto_append_file

2004-03-12 Thread Chris Wagner
hi, i'm running a server with Fedora Core 1. this is using Apache 2.0.48 and PHP 4.3.4. i have my http server root at /var/www/html/. i have some virtual hosts setup. i've just installed phpMyAdmin 2.5.6. my problem lies within the auto_prepend_file and auto_append_file directives provided

Re: [PHP] Apache Config: php_value auto_prepend_file auto_append_file

2004-03-12 Thread Rasmus Lerdorf
Yeah, probably a config leak in the Apache2 sapi module. There is a reason we don't suggest using PHP with Apache2 yet. Use Apache1 and I bet you won't have any problems. -Rasmus On Sat, 13 Mar 2004, Chris Wagner wrote: hi, i'm running a server with Fedora Core 1. this is using Apache

php-general Digest 13 Mar 2004 06:24:31 -0000 Issue 2643

2004-03-12 Thread php-general-digest-help
php-general Digest 13 Mar 2004 06:24:31 - Issue 2643 Topics (messages 180273 through 180315): An extension to CREATE zips?? 180273 by: Brian J. Celenza Re: XSS Vulnerabilities and strip_tags 180274 by: Andre Cerqueira Re: STrange Problem 180275 by: PHP

RE: [PHP] Apache Config: php_value auto_prepend_file auto_append_file

2004-03-12 Thread electroteque
I've prob asked this before, when will it be possible to be able to use Apache2 ? I assumed as you said before it was because it was the extensions but are we saying now that libraries that php are compiled on are too not thread safe ? -Original Message- From: Rasmus Lerdorf

Re: [PHP] Dumb

2004-03-12 Thread Burhan Khalid
PHP wrote: Thanks, that is what I figured. I really don't get rpm's, it seems you are stuck with whatever the packager felt like putting in the rpm. Want to add a library? Like zlib for example? then you have to re-compile it yourself anyways. They seem completely useless to me for anything but a

[PHP] variable passing

2004-03-12 Thread Martin S
I have this in equip-lend-index.php and want to pass the variable $equipment back to the same page: PRINT td valign=\top\Equipment: form action=\$USERPREFIX/equip-lend-index.php\ method=\POST\ enctype=\text/plain\; PRINT input type=\radio\ name=\equipment\ value=\computer\ / Computers;

Re: [PHP] variable passing

2004-03-12 Thread Jason Davidson
what is the code your using to try and retrieve the var.. are you using $_REQUEST['equipment']; jason Martin S [EMAIL PROTECTED] wrote: I have this in equip-lend-index.php and want to pass the variable $equipment back to the same page: PRINTtd valign=\top\Equipment: form