php-general Digest 2 Apr 2005 08:53:43 -0000 Issue 3373

2005-04-02 Thread php-general-digest-help
php-general Digest 2 Apr 2005 08:53:43 - Issue 3373 Topics (messages 212048 through 212075): Re: hotlinking images 212048 by: Jochem Maas SSL XML File Download Problem 212049 by: Shaun 212051 by: Chris W. Parker Re: IE problem downloading files 212050 by:

php-general Digest 2 Apr 2005 21:37:30 -0000 Issue 3374

2005-04-02 Thread php-general-digest-help
php-general Digest 2 Apr 2005 21:37:30 - Issue 3374 Topics (messages 212076 through 212095): Re: Connection to Two databases simultaneously 212076 by: Dan Rossi Re: mysql error 212077 by: Burhan Khalid Re: Easy way to grab a value out of XML? 212078 by: Burhan

Re: [PHP] Connection to Two databases simultaneously

2005-04-02 Thread Jochem Maas
HarryG wrote: Hi, I am connecting to two database in my index.php. Here is how: @ $db = mysql_connect(localhost, USERLOGIN, USERDBPASS); if (!$db) { print Error: Could not connect to database. Please try again later.; exit; } mysql_select_db(DATABASE); @ $userdb = mysql_connect(localhost,

Re: [PHP] Connection to Two databases simultaneously

2005-04-02 Thread Dan Rossi
both db's on the same host ? I would try select * from second_db2.theothertable :) On 02/04/2005, at 6:53 PM, Jochem Maas wrote: HarryG wrote: Hi, I am connecting to two database in my index.php. Here is how: @ $db = mysql_connect(localhost, USERLOGIN, USERDBPASS); if (!$db) { print Error:

Re: [PHP] mysql error

2005-04-02 Thread Burhan Khalid
Mikey wrote: I have not changed any of my hostname/username/password code in the last 6 months and I can still connect to mysql.timerescue.co.uk via the command line interface. Has anyone seen this before - any ideas at all - just started happening today! :o( Strange indeed. I tried to

Re: [PHP] Easy way to grab a value out of XML?

2005-04-02 Thread Burhan Khalid
Brian Dunning wrote: I've been looking at the XML commands and am feeling a bit overwhelmed. My needs are simple and I'm hoping there's an easy solution that I'm just missing. I have a hunk of well-formed XML in a variable, $xml, and it contains only one instance of pricex.xx/price. I just want

Re: [PHP] pass variable from vbscript to php

2005-04-02 Thread Burhan Khalid
Ashley wrote: I have a unique problem that may be able to be solved another way, but I don't know how. What I need to do is pass a variable from a vbscript into php for use. I am using vbscript to access an activeX control on the computer that grabs the currently logged in user. This works

Re: [PHP] Catching error from mail function?

2005-04-02 Thread Burhan Khalid
Ben Cheng wrote: Hi I'm using the mail() function to send email and I know it's failing because it's returning a false but how do I tell what problem is? Is there an error message that I can grab that will show me why the function is returning false? Any help greatly appreciated. Thanks! The

Re: [PHP] Recommendation for a MySql wrapper class

2005-04-02 Thread Ryan A
Hey Dan, Even if you did have something to do with these companies/softwares/classes I would still take your advise as you have given me some real helpful advise in the past, and a lot of others too, you're one of the helpful guys on the list. Thanks, I'll chech these out, the thing is i didnt

Re: [PHP] Recommendation for a MySql wrapper class

2005-04-02 Thread Marek Kilimajer
Ryan A wrote: Hey Dan, Even if you did have something to do with these companies/softwares/classes I would still take your advise as you have given me some real helpful advise in the past, and a lot of others too, you're one of the helpful guys on the list. Thanks, I'll chech these out, the thing

Re: [PHP] .htaccess config

2005-04-02 Thread Jochem Maas
Philip Hallstrom wrote: allow_url_fopen can only be set in php.ini. See here for more info: scope of ini settings (from the manual)... ConstantValue Meaning PHP_INI_USER1 Entry can be set in user scripts or in Windows registry PHP_INI_PERDIR 2 Entry can be set in

Re: [PHP] filtering uploaded files

2005-04-02 Thread Marek Kilimajer
Angelo Zanetti wrote: hi Richard this sounds like quite a serious subject but is there no other way to check the validity of the file and type without using the unix command? IE using PHP and not depending on system commands? thanks for your insight so far, very important. The equivalent of

Re: [PHP] Recommendation for a MySql wrapper class

2005-04-02 Thread Ryan A
On 4/2/2005 3:08:30 AM, Marek Kilimajer ([EMAIL PROTECTED]) wrote: You can pack PEAR classes with your project and set up include_path accordingly. Hey, Thanks for replying. Good idea, have never done it but that should be a reason to start anyway :-) Cheers, Ryan -- No virus found in

[PHP] Printing

2005-04-02 Thread Niels Riis Kristensen
Hi I am using a Unix machine (Mac) but can't find ways to print to my local printer. Plenty of information about printing from a PC, but none from a mac. Can that be, that you can't print from php to mac? Niels Riis Kristensen ([EMAIL PROTECTED]) NRK Group - Electronic Music Engraving -

Re: [PHP] Help! mod_php4 upgrade breaks GD!

2005-04-02 Thread Jason Wong
On Saturday 02 April 2005 02:46, [EMAIL PROTECTED] wrote: No clue why it couldn't find libjpeg, but I then tried adding: --with-zlib-dir=/usr/include (AND) --with-jpeg-dir=/usr/local/include/ (the header files are there) That ought to be: --with-zlib-dir=/usr --with-jpeg-dir=/usr/local

[PHP] entrepreneur/startup projects..

2005-04-02 Thread bruce
hi... we're curious... is anyone here looking/trying to start their own software company, who are looking for help/assistance/etc... it can be sweat equity/salaried... not looking to spam, just looking to create a biz. thanks bruce [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] entrepreneur/startup projects..

2005-04-02 Thread Richard Davey
Hello bruce, Saturday, April 2, 2005, 6:12:49 PM, you wrote: b we're curious... is anyone here looking/trying to start their own b software company, who are looking for help/assistance/etc... it can b be sweat equity/salaried... There are far better lists to be asking this sort of question on

[PHP] passing variables with HTTP_GET_VARS

2005-04-02 Thread AndreaD
Can someone show me a simple example of how to make variables availble to all pages in my site via $http_post_vars and $http_get_vars. just say I have a page index.php and that is doing a calucualtion and creating a couple of variables called $age and $height. How so I make these variables

[PHP] Re: passing variables with HTTP_GET_VARS

2005-04-02 Thread AndreaD
By the way these variables are not part of a form they are just generated by index.php AndreaD [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Can someone show me a simple example of how to make variables availble to all pages in my site via $http_post_vars and $http_get_vars.

[PHP] Re: Help! mod_php4 upgrade breaks GD!

2005-04-02 Thread up
FWIW, I installed /usr/ports/graphics/php4-gd and everything appears to be fine, now. Strangely, I am not getting any of the posts from this list in my mailbox, although my posts show up here...I have to look at the archive to see them and any responses to them. On Fri, 1 Apr 2005 [EMAIL

[PHP] Validating a Blogger Template using PHP

2005-04-02 Thread Eli
Hi, We want to validate a blogger template structure using PHP. We thought about using XML schema on that, but it's not going well for us.. Do you know about existing tools that validate Blogger Template structure? Or of a way how to validate the Blogger Template? -thanks, Eli -- PHP General

RE: [PHP] Printing

2005-04-02 Thread Warren Vail
That is because Windoz, for all it's faults, provides a bit of an interface for applications to exercise some control over printed output, and even attempts to make it device independent. Don't know if Gnome, or other GUI's provide something, but if you write the output intended for a printer to

[PHP] Broken connection

2005-04-02 Thread Andy Pieters
Hi everybody I am new on this list. I want you to know that I would like to use this list to get help and to provide assistance to others as well. I picked up php in octobre last and have become quite good with it. Didn't touch php 5 yet though. So to start with a problem of mine. I made a

Re: [PHP] passing variables with HTTP_GET_VARS

2005-04-02 Thread Burhan Khalid
AndreaD wrote: [ snip ] just say I have a page index.php and that is doing a calucualtion and creating a couple of variables called $age and $height. How so I make these variables globally available and how do all the other pages show/retrieve them?? Andrea: What you are looking for are

[PHP] fpassthru(); corrupts files on win 5.0.4 ??

2005-04-02 Thread Andras Kende
Hello, windows 2003 server iis6 with php 5.0.4 isapi... The following code was working perfectly on 5.0.3 since 5.0.4 upgrade dowloaded files gets corrupted.. Any hint where the problem could be? Thanks, Andras Kende http://www.kende.com/ ?php $file = $_REQUEST['file']; $company =

Re: [PHP] PHP 5 Status

2005-04-02 Thread Colin Ross
ok, thanks for your input. now to make a roll-out plan for upgrading... Colin On Apr 1, 2005 1:17 PM, Jordi Canals [EMAIL PROTECTED] wrote: On Apr 1, 2005 8:30 PM, Colin Ross [EMAIL PROTECTED] wrote: Is PHP 5 ready for production environments? Is it concidered stable, or is it just a

[PHP] Re: installing phpMyAdmin on Windows 2000 using IIS Server

2005-04-02 Thread Burhan Khalid
wan nordiana Wan Abd Kadir wrote: hi..i wanna ask some question regarding the phpMyadmin installation on windows 2000. I am using IIS as the server. so far, when i searched in the internet on how to install phpMyadmin all i got was 'How to Install phpMyAdmin on Apache server'..is it different

Re: [PHP] PHP 5 Status

2005-04-02 Thread Colin Ross
Now, as far as I know though, there are still issues with Apache 2 and PHP-libraries, correct? On Apr 2, 2005 11:38 PM, Colin Ross [EMAIL PROTECTED] wrote: ok, thanks for your input. now to make a roll-out plan for upgrading... Colin On Apr 1, 2005 1:17 PM, Jordi Canals [EMAIL