Re: [PHP] I think this is a bug...cant use exec commands.

2004-04-01 Thread Jason Wong
On Friday 02 April 2004 15:20, Brian Duke wrote: Please do not top post! > Ok here is my php.ini. directly from /etc/php.ini OK, is this where *you* think php.ini should be located? Or did you follow these instructions: > > executable? If the former use phpinfo() to find out where php thinks

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-01 Thread Daevid Vincent
This may seem obvious, but did you try the FULL path to 'free'? As in exec("/usr/local/bin/free -b", $data, $result); > -Original Message- > From: Brian Duke [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 01, 2004 9:57 PM > To: 'Jay Blanchard'; 'William Lovaton'; [EMAIL PROTECTED] > S

[PHP] parsing xml the right way

2004-04-01 Thread Merlin
Hi there, I think I am parsing xml documents the wrong way. There must be a better way to access the results laterone like objects. For example I would like to search in a free form for a city name inside an xml document and php should return the country name and continent. This is the xml structu

[PHP] You Win - 0

2004-04-01 Thread Steve Timmons
Hello, This is Steve from Warp2Casino. You visited one of our partner casino sites last year, so I wanted to make you aware of our newest launch, Warp2Casino. If you want to come check it out, I'll give you $25 to play with in a real money account. You don't have to make any purchase to get

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-01 Thread Brian Duke
Oops I catted the wrong file. But the file is exactly the same as mem.php. [EMAIL PROTECTED] swap]# cat mem.php -Original Message- From: Brian Duke [mailto:[EMAIL PROTECTED] Sent: Friday, April 02, 2004 12:21 AM To: 'Jason Wong'; [EMAIL PROTECTED] Subject: RE: [PHP] I think this is a bu

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-01 Thread Brian Duke
Ok here is my php.ini. directly from /etc/php.ini ; Safe Mode ; safe_mode = Off ; By default, Safe Mode does a UID compare check when ; opening files. If you want to relax this to a GID compare, ; then turn on safe_mode_gid. safe_mode_gid = Off ; When safe_mode is on, UID/GID checks are bypassed

Re: [PHP] mail() question

2004-04-01 Thread Hernan Marino
sorry. lazy me. there is auto_prepend_file in php.ini I'll see if it works. Thanks! On Fri, 2 Apr 2004 03:51:18 -0300, Hernan Marino wrote: Thanks for your answer. Don't you know if there is a way to redefine the mail() function in the php.ini file without touching the source code. Something like

Re: [PHP] mail() question

2004-04-01 Thread Hernan Marino
Thanks for your answer. Don't you know if there is a way to redefine the mail() function in the php.ini file without touching the source code. Something like prepending a file for every script parsed in the server and redefine there several functions or something like that. Thanks! On Fri,

[PHP] mail() question

2004-04-01 Thread Hernan Marino
Hello. My users can send email from their web pages using mail(). But the email is sent from [EMAIL PROTECTED], I dont want them to attempt to send bulk, so I wonder if there is any way to identify the system user sending the email. I use postfix, and I know that postfix gets connected from user ap

Re: [PHP] I think this is a bug...cant use exec commands.

2004-04-01 Thread Jason Wong
On Friday 02 April 2004 13:57, Brian Duke wrote: > I tell you the truth. I have only 1 php.ini. There are other ini files I > have looked at but I have not found anything in them about safe mode. What are these other ini files you've looked at? > Everything has been double or triple checked. Stil

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-01 Thread Brian Duke
I tell you the truth. I have only 1 php.ini. There are other ini files I have looked at but I have not found anything in them about safe mode. Everything has been double or triple checked. Still not able run any shell_exec commands from the command line. I need the output from free so if I use ex

Re: [PHP] Displaying a money datatype from mssql

2004-04-01 Thread Tom Rogers
Hi, Friday, April 2, 2004, 2:55:41 AM, you wrote: AH> How do I correctly display a money datatype from a mssql db? AH> I've looked through the archives and come up empty, and google doesn't seem AH> to have anything worth mentioning. AH> My query is; AH> SELECT od.price, od.inventorycost, om.to

[PHP] Re: [php] php reply to email

2004-04-01 Thread Manuel Lemos
Hello, On 04/02/2004 02:11 AM, John Taylor-Johnston wrote: How might I email into my php script. I have created a little BBS and would like to combine the functionality of an emailing list, a bit like Yahoo groups. Every time there is a post on my BBS, subscribed users get a copy. But, they would

[PHP] [php] php reply to email

2004-04-01 Thread John Taylor-Johnston
How might I email into my php script. I have created a little BBS and would like to combine the functionality of an emailing list, a bit like Yahoo groups. Every time there is a post on my BBS, subscribed users get a copy. But, they would like to reply to the email, not click on a URL. When they

Re: [PHP] Apple Mac Power PC problem

2004-04-01 Thread Marc Greenstock
Hey Brent, The problem isn't within the server, the http.conf file accepts index.php as the first default file. The server is on a linux machine, and the mac is just a desktop connected to the internet. When i try to access the site on the mac, it says it can't find the url. I instantly thought i

[PHP] How to retrieve dir file list from an internet server folder?

2004-04-01 Thread Dave
Is it possible to retrieve dir file list from an internet server folder from within a php program? In the browser, the http:// page displays "Index of" and a list of files. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Database sessions and file sessions

2004-04-01 Thread Chris
Is it possible for database sessions and file system sessions to co-exist on the same server? I have an application that HAS to have database sessions and another application that requires file system sessions. The database sessions is configured from the php.ini if that matters any. Chris

Re: [PHP] PHP and HTTPS POSTs

2004-04-01 Thread Jack Baty
Has anyone had any problems with the $_POST super global not working in a HTTPS environment? My code works perfectly fine through a unsecured HTTP POST but when I do an HTTPS POST it only handles a few variable (I think 15 or 16). Any more than that and it looses all the $_POSTed variables. Has an

Re: [PHP] Session help please?

2004-04-01 Thread Chris Shiflett
--- Paul <[EMAIL PROTECTED]> wrote: > I figured I could do something like $_SESSION['test'] = 5 and refer to > $test on other pages however I cannot. The reason I thought I could do > this is because I can do $_SESSION['test'] = $_POST['test'] and be able > to refer to just $test on other pages. T

[PHP] Session help please?

2004-04-01 Thread Paul
Probably a stupid question. I figured I could do something like $_SESSION['test'] = 5 and refer to $test on other pages however I cannot. The reason I thought I could do this is because I can do $_SESSION['test'] = $_POST['test'] and be able to refer to just $test on other pages. Is the correct w

Re: [PHP] PHP Logo with a dog?

2004-04-01 Thread Brian V Bonini
On Thu, 2004-04-01 at 18:26, Jason S Motes wrote: > The picture that comes up on my machine is a guy's head with two pencils > stuck in his nose > > Matt Matijevich wrote: > > > > Has anybody had the PHP logo in phpinfo() appear with a picture of a > > dog? > > > > > > April Fools easter egg

Re[2]: [PHP] Inserting string - need to trim comma

2004-04-01 Thread Tom Rogers
Hi, Friday, April 2, 2004, 5:10:29 AM, you wrote: MM> MM> function insert($table, $data) { MM> $sql = "INSERT INTO ".$table." SET "; MM> foreach ($data as $k=>$v) { MM> $sql.= $k." = '".$v."', "; MM> } MM> $sql.=";"; MM> $result = mysql_query($sql); MM> } MM> The only problem with the st

Re: [PHP] PHP Logo with a dog?

2004-04-01 Thread Chris Shiflett
--- Jason S Motes <[EMAIL PROTECTED]> wrote: > The picture that comes up on my machine is a guy's head with two > pencils stuck in his nose That's Thies. You need to upgrade. :-) Chris = Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly Coming Fall 2004 HTTP Developer's Han

Re: [PHP] PHP Logo with a dog?

2004-04-01 Thread Jason S Motes
The picture that comes up on my machine is a guy's head with two pencils stuck in his nose Matt Matijevich wrote: Has anybody had the PHP logo in phpinfo() appear with a picture of a dog? April Fools easter egg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] PHP Logo with a dog?

2004-04-01 Thread Adrian Madrid
Matt Matijevich wrote: Has anybody had the PHP logo in phpinfo() appear with a picture of a dog? April Fools easter egg Man, I thought I was getting my server compromised Man, you start coding and 8 hours later you can't take a joke! LOL Thanks, -- Adrian Madrid http://www.hyperxmedia

Re: [PHP] PHP Logo with a dog?

2004-04-01 Thread Matt Matijevich
Has anybody had the PHP logo in phpinfo() appear with a picture of a dog? April Fools easter egg -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Logo with a dog?

2004-04-01 Thread Chris Shiflett
--- Adrian Madrid <[EMAIL PROTECTED]> wrote: > Has anybody had the PHP logo in phpinfo() appear with a picture of a > dog? Happy April Fools Day. Chris = Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly Coming Fall 2004 HTTP Developer's Handbook - Sams http://httphand

[PHP] PHP Logo with a dog?

2004-04-01 Thread Adrian Madrid
Has anybody had the PHP logo in phpinfo() appear with a picture of a dog? -- Adrian Madrid http://www.hyperxmedia.com HyperX Media 45 West 9000 South, Unit 2 Sandy, UT 84020 Office: 801.566.0670 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PEAR-DEV] Re: [PHP] RE: [PEAR] WARNING! Virus

2004-04-01 Thread Lukas Smith
lets have this thread die now .. especially as it crosses way too many lists. regards, Lukas Smith [EMAIL PROTECTED] ___ BackendMedia www.backendmedia.com [EMAIL PROTECTED] Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +

Re: [PHP] RE: [PEAR] WARNING! Virus

2004-04-01 Thread Red Wingate
interessting, as those lists only allow text/plain files to be attached Daniel Kopp wrote: Hi! People who do not check anything that comes in by internet should see a doctor concerning suicidal tendences. Over here - every day I get at least one virus (probably 2-3). But ... who cares ... Norton,

[PHP] RE: [PEAR] WARNING! Virus

2004-04-01 Thread Daniel Kopp
Hi! People who do not check anything that comes in by internet should see a doctor concerning suicidal tendences. Over here - every day I get at least one virus (probably 2-3). But ... who cares ... Norton, F-Secure and co. should care - but I ... got better things to do Regards Daniel > Be care

[PHP] Re: Creditcard transactions

2004-04-01 Thread Justin Patrin
Rolf Van De Krol wrote: Hi all, Does anybody know a good start to search for information about creditcard transactions handled by php? I've tried Google, but I didn't find relevant information. Rolf /// / Suicidal twin kills sister by mistake!/ //

RE: [PHP] Passing variables from Flash to PHP

2004-04-01 Thread motorpsychkill
> -Original Message- > From: Edward Tilley [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 01, 2004 11:29 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Passing variables from Flash to PHP > > > Hi - I am an IIS, PHP 4.3 new user running on Win2k server. I > need to pass a > variable ( $

[PHP] Passing variables from Flash to PHP

2004-04-01 Thread Edward Tilley
Hi - I am an IIS, PHP 4.3 new user running on Win2k server. I need to pass a variable ( $flash = 1 ) back out to my PHP script and can't find any examples of this working after 2 days of looking. I can't get a urldecode to work and I don't want a WDDX because I don't see pertinent WinOS examples o

Re: [PHP] Inserting string - need to trim comma

2004-04-01 Thread Chris Shiflett
--- "John W. Holmes" <[EMAIL PROTECTED]> wrote: > > http://www.php.net/rtrim > > rtrim() removes whitespace, not commas. That's exactly what I thought (and said). :-) Matt corrected me by pointing out a second, optional argument added in 4.1.0 where you can specify one or more characters to incl

Re: [PHP] Inserting string - need to trim comma

2004-04-01 Thread John W. Holmes
From: "Matt Matijevich" <[EMAIL PROTECTED]> > > function insert($table, $data) { > $sql = "INSERT INTO ".$table." SET "; > foreach ($data as $k=>$v) { > $sql.= $k." = '".$v."', "; > } > $sql.=";"; Take out the above line; you don't need to add the semi-colon > $result = mysql_query($sql)

Re: [PHP] .ini of .conf file generate/parser solution?

2004-04-01 Thread John W. Holmes
From: "Eric Wood" <[EMAIL PROTECTED]> > Anyone know of a php script that can dynamically build and maintain my own > kind of conf file (like a smb.conf or httpd.conf) but I make up the content. I'm sure PEAR has something, PEAR::conf or something like that. You can use parse_ini_file() to read t

Re: [PHP] Tricky array question

2004-04-01 Thread Kelly Hallman
Apr 1 at 8:13pm, Merlin wrote: > I am trying to get continent and country info out of an xml file. There > is a continent element to each country element. Now I do have an array > with the continent info and one with the country info. The goal is to be > able to output all countries sorted after co

Re: [PHP] Inserting string - need to trim comma

2004-04-01 Thread Doug Parker
implode() worked perfectly. thanks - doug - Original Message - From: "Chris Shiflett" <[EMAIL PROTECTED]> To: "Doug Parker" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, April 01, 2004 2:19 PM Subject: Re: [PHP] Inserting string - need to trim comma > --- Doug Parker <[EMAI

Re: [PHP] Inserting string - need to trim comma

2004-04-01 Thread Matt Matijevich
--- Matt Matijevich <[EMAIL PROTECTED]> wrote: > http://www.php.net/rtrim rtrim() trims whitespace, not commas. Hope that helps. Chris string rtrim ( string str [, string charlist]) there is a second optional paremeter you can add to rtrim rtrim($var,','); will take any trailing commas o

[PHP] Quote for Job

2004-04-01 Thread Steve Buehler
Was wondering if anybody who needs some money can give me a quote on a job. It is over my head to do. We need a Web Based Email program for an internal server written in PHP if at all possible but will consider other languages if needed. They liked Squirrelmail, but they need it to do someth

Re: [PHP] Inserting string - need to trim comma

2004-04-01 Thread Chris Shiflett
--- Doug Parker <[EMAIL PROTECTED]> wrote: > function insert($table, $data) > { > $sql = "INSERT INTO ".$table." SET "; > foreach ($data as $k=>$v) > { > $sql.= $k." = '".$v."', "; > } > $sql.=";"; > $result = mysql_query($sql); > } > > The only problem with the sta

RE: [PHP] Tricky array question

2004-04-01 Thread Pablo Gosse
Merlin wrote: > Hi there, > > I am trying to get continent and country info out of an xml file. > There is a continent element to each country element. > > Now I do have an array with the continent info and one with the > country info. The goal is to be able to output all countries sorted > afte

Re: [PHP] Inserting string - need to trim comma

2004-04-01 Thread Matt Matijevich
function insert($table, $data) { $sql = "INSERT INTO ".$table." SET "; foreach ($data as $k=>$v) { $sql.= $k." = '".$v."', "; } $sql.=";"; $result = mysql_query($sql); } The only problem with the statement is the appended comma to each iteration - the statement generates a mysql error wit

[PHP] Inserting string - need to trim comma

2004-04-01 Thread Doug Parker
Hi - I'm trying to create a very basic function that add the results of a form to my database. I have this code so far, with $table being the table name and the $data is an exact copy of the $_POST array. function insert($table, $data) { $sql = "INSERT INTO ".$table." SET "; foreach ($data as

[PHP] session/mysql problems

2004-04-01 Thread Andy B
hi I created a login script and originally was using php4.3.3 to write the script with. Then I found out that it had to be rewritten for php4.0.4pl1. I think when rewriting it for the older version it got messed up somehow and cant quite spot the error/problem in it. can anybody help here?? the

[PHP] .ini of .conf file generate/parser solution?

2004-04-01 Thread Eric Wood
Anyone know of a php script that can dynamically build and maintain my own kind of conf file (like a smb.conf or httpd.conf) but I make up the content. Thanks, -Eric Wood -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Relative Url

2004-04-01 Thread Rick Fletcher
> Is there anyway that i can get a url relative to my server > for a script that is being run?? > > The script is being included in mulitple files and > $_SERVER['SCRIPT_NAME'] just gives me the name of the file > that is including the other scripts. > Also $_SERVER['SCRIPT_FILENAME'] is return

[PHP] Tricky array question

2004-04-01 Thread Merlin
Hi there, I am trying to get continent and country info out of an xml file. There is a continent element to each country element. Now I do have an array with the continent info and one with the country info. The goal is to be able to output all countries sorted after continents. So I do have: $res

[PHP] Re: simple image manager app?

2004-04-01 Thread Michael Nolan
Gabriel Guzman wrote: On Thursday 01 April 2004 09:41 am, Jeff D. Hamann wrote: I often travel and would like to be able to upload digital photos to my server (either using a simple multiple file upload (one that I can select multiple file using the windows file dialog, or some other method that's

Re: [PHP] simple image manager app?

2004-04-01 Thread Gabriel Guzman
On Thursday 01 April 2004 09:41 am, Jeff D. Hamann wrote: > I often travel and would like to be able to upload digital photos to my > server (either using a simple multiple file upload (one that I can select > multiple file using the windows file dialog, or some other method that's > idiot proof) a

Re: [PHP] simple image manager app?

2004-04-01 Thread Gabriel Guzman
On Thursday 01 April 2004 09:41 am, Jeff D. Hamann wrote: > I often travel and would like to be able to upload digital photos to my > server (either using a simple multiple file upload (one that I can select > multiple file using the windows file dialog, or some other method that's > idiot proof) a

[PHP] php5rc1 + [x]inetd : how to really close stdin/stdout?

2004-04-01 Thread Bernard Fouché
Hi there. I'm using php5rc1 to write scripts launched by xinetd on a Linux Fedora system. My problem is to close stdin and stdout to really break the socket from the remote end to release a remote resource while I'm doing a long processing locally. It seems that opening php://std[in/out] is some

[PHP] Re: I think this is a bug...cant use exec commands.

2004-04-01 Thread Curt Zirzow
On Wed, 31 Mar 2004 23:54:52 -0700, Brian Duke <[EMAIL PROTECTED]> wrote: I can't seem to use the shell_exec() command. ... [EMAIL PROTECTED] php-4.3.2]# php /var/www/html/swap/mem.php Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in /var/www/html/swap/swap.php on line 3 ...

[PHP] simple image manager app?

2004-04-01 Thread Jeff D. Hamann
I often travel and would like to be able to upload digital photos to my server (either using a simple multiple file upload (one that I can select multiple file using the windows file dialog, or some other method that's idiot proof) and simply save them to my hard disk, or to a mysql database. Is th

[PHP] Re: Checkdnsrr ?

2004-04-01 Thread Curt Zirzow
On Thu, 1 Apr 2004 08:30:57 +0100, Dave Carrera <[EMAIL PROTECTED]> wrote: Hi List, Is using checkdnsrr a good way to tell if a domain name is available ? If I ask checkdnsrr to look for 'NS' records and the result comes back as false then dose that mean a domain name is available to use ? No. A

Re: [PHP] Domain Name ?

2004-04-01 Thread Curt Zirzow
On Thu, 01 Apr 2004 15:57:57 +0200, Red Wingate <[EMAIL PROTECTED]> wrote: How about RTFM ? http://de2.php.net/parse_url That doesnt solve anything. perhaps you should RTFQ first Curt. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] hello

2004-04-01 Thread Chris W. Parker
[EMAIL PROTECTED] on Thursday, April 01, 2004 6:14 AM said: > Try this, or nothing! ok, will do. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] [Newbie Guide] For the benefit of new members

2004-04-01 Thread Chris W. Parker
Chris de Vidal on Thursday, April 01, 2004 7:20 AM said: > Though I've been using newsgroups since '95 and though I'd read this > page before, it's helpful to review it. I can see a few mistakes I'd > made as recently as a few months ago on another list :-) > > Thi

RE: [PHP] Displaying a money datatype from mssql

2004-04-01 Thread Alex Hogan
> [snip] > My last resort would be to go into the db and do a conversion there but > I > really don't want to do that. > How can I convert these to represent a readable dollar figure? > [/snip] > > start with http://www.php.net/number_format I tried that and it converted the values to 0.00. I kn

RE: [PHP] Displaying a money datatype from mssql

2004-04-01 Thread Jay Blanchard
[snip] My last resort would be to go into the db and do a conversion there but I really don't want to do that. How can I convert these to represent a readable dollar figure? [/snip] start with http://www.php.net/number_format -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Displaying a money datatype from mssql

2004-04-01 Thread Alex Hogan
How do I correctly display a money datatype from a mssql db? I've looked through the archives and come up empty, and google doesn't seem to have anything worth mentioning. My query is; SELECT od.price, od.inventorycost, om.totalamount FROM orderhistorymaster as om, orderhistorydetail as od W

Re: [PHP] Relative Url

2004-04-01 Thread Chris Shiflett
--- Chris Thomas <[EMAIL PROTECTED]> wrote: > Is there anyway that i can get a url relative to my server for a > script that is being run?? $relative_url = '/'; That's a relative URL to your document root. What are you wanting, exactly? Chris = Chris Shiflett - http://shiflett.org/ PHP Sec

Re: [PHP] elementary question about reading an array ...

2004-04-01 Thread Kenn Murrah
You can always count on this list ... the winning answer was echo $db[0]->fullname // ah !!! thanks to everyone who helped me... Red Wingate wrote: Yet again maybe one would check the output before replying: Array ( [0] => bc Object ( [fullname] => Kent Huffman ... ) ) This

RE: [PHP] elementary question about reading an array ...

2004-04-01 Thread Jay Blanchard
[snip] You have an array of objects. Try this: echo $db[0]->fullname; [/snip] Crap, I missed that...sorry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] elementary question about reading an array ...

2004-04-01 Thread John W. Holmes
From: "Kenn Murrah" <[EMAIL PROTECTED]> > In code that I did not create (and do not entirely understand), an array > ($db) was created which, if displayed with print_r($db), shows the > following: > > Array ( [0] => bc Object ( [fullname] => Kent Huffman [industry] => > Technology Solutions [

Re: [PHP] elementary question about reading an array ...

2004-04-01 Thread Red Wingate
Yet again maybe one would check the output before replying: Array ( [0] => bc Object ( [fullname] => Kent Huffman ... ) ) This is what we see: echo $db['fullname']; // nope echo $db[0]->fullname // ah !!! -- red Kenn Murrah wrote: [snip] [snip] In code that I did not create (

Re[2]: [PHP] elementary question about reading an array ...

2004-04-01 Thread Richard Davey
Hello Kenn, Thursday, April 1, 2004, 5:38:37 PM, you wrote: >>Array ( [0] => bc Object ( [fullname] => Kent Huffman [industry] => KM> That's what I thought at first, but that's not working ... in fact, I KM> just copied and pasted both your snippets, and neither of them worked KM> here odd,

Re: [PHP] elementary question about reading an array ...

2004-04-01 Thread Kenn Murrah
[snip] In code that I did not create (and do not entirely understand), an array ($db) was created which, if displayed with print_r($db), shows the following: Array ( [0] => bc Object ( [fullname] => Kent Huffman [industry] => Technology Solutions [url] => /tsi [address1] => 2300 W. Plano Parkwa

RE: [PHP] FTP loading

2004-04-01 Thread Pablo Gosse
Lieve Vissenaeken wrote: > Please help me, > > Is it possible with php to load immedeatly pictures into a website by > users (by use of a ftp-statement) ? I mean: so that any user on my > website can add a picture to that website which is immedeatly visible > on that webiste? If this is possible,

Re: [PHP] FTP loading

2004-04-01 Thread Raditha Dissanayake
Lieve Vissenaeken wrote: Please help me, Is it possible with php to load immedeatly pictures into a website by users (by use of a ftp-statement) ? I mean: so that any user on my website can add a picture to that website which is immedeatly visible on that webiste? If this is possible, where can I

RE: [PHP] elementary question about reading an array ...

2004-04-01 Thread Jay Blanchard
[snip] In code that I did not create (and do not entirely understand), an array ($db) was created which, if displayed with print_r($db), shows the following: Array ( [0] => bc Object ( [fullname] => Kent Huffman [industry] => Technology Solutions [url] => /tsi [address1] => 2300 W. Plano Parkwa

[PHP] elementary question about reading an array ...

2004-04-01 Thread Kenn Murrah
Greetings. In code that I did not create (and do not entirely understand), an array ($db) was created which, if displayed with print_r($db), shows the following: Array ( [0] => bc Object ( [fullname] => Kent Huffman [industry] => Technology Solutions [url] => /tsi [address1] => 2300 W. Plano P

[PHP] FTP loading

2004-04-01 Thread Lieve Vissenaeken
Please help me, Is it possible with php to load immedeatly pictures into a website by users (by use of a ftp-statement) ? I mean: so that any user on my website can add a picture to that website which is immedeatly visible on that webiste? If this is possible, where can I find the code for my prob

RE: [PHP] Include Errors

2004-04-01 Thread Aaron Axelsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Allow_url_fopen is turned on - --- Aaron Axelsen AIM: AAAK2 Email: [EMAIL PROTECTED] Want reliable web hosting at affordable prices? www.modevia.com Web Dev/Design Community/Zine www.developercube.com - -Original Message- From: Nikolay

Re: [PHP] Domain Name ?

2004-04-01 Thread Red Wingate
This was going for the guy that started this thread :p John W. Holmes wrote: From: "Ryan A" <[EMAIL PROTECTED]> On 4/1/2004 3:57:57 PM, [EMAIL PROTECTED] wrote: How about RTFM ? http://de2.php.net/parse_url Was that RTFM for me? or for the guy who originally wrote or for the first guy who repli

Re: [PHP] [Newbie Guide] For the benefit of new members

2004-04-01 Thread Chris de Vidal
Ma Siva Kumar said: > 10. Ask smart questions > http://catb.org/~esr/faqs/smart-questions.html Though I've been using newsgroups since '95 and though I'd read this page before, it's helpful to review it. I can see a few mistakes I'd made as recently as a few months ago on another list :-) This p

[PHP] Creditcard transactions

2004-04-01 Thread Rolf van de Krol
Hi all, Does anybody know a good start to search for information about creditcard transactions handled by php? I've tried Google, but I didn't find relevant information. Rolf /// / Suicidal twin kills sister by mistake!/ /

[PHP] Relative Url

2004-04-01 Thread Chris Thomas
Is there anyway that i can get a url relative to my server for a script that is being run?? The script is being included in mulitple files and $_SERVER['SCRIPT_NAME'] just gives me the name of the file that is including the other scripts. Also $_SERVER['SCRIPT_FILENAME'] is returning nothing. Tha

Re: [PHP] Domain Name ?

2004-04-01 Thread Ryan A
> > On 4/1/2004 3:57:57 PM, [EMAIL PROTECTED] wrote: > > > How about RTFM ? > > > > > > http://de2.php.net/parse_url > > > > Was that RTFM for me? or for the guy who originally wrote or for the > first > > guy who replied? > > It's always for you Ryan. Have you read your questions?!?!? > > ;) > >

Re: [PHP] hello

2004-04-01 Thread Ben Joyce
Hello. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 01, 2004 3:14 PM Subject: [PHP] hello > Try this, or nothing! > > > > -- > PHP General Mailing List

[PHP] hello

2004-04-01 Thread danny . heijl
Try this, or nothing! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Domain Name ?

2004-04-01 Thread John W. Holmes
From: "Ryan A" <[EMAIL PROTECTED]> > On 4/1/2004 3:57:57 PM, [EMAIL PROTECTED] wrote: > > How about RTFM ? > > > > http://de2.php.net/parse_url > > Was that RTFM for me? or for the guy who originally wrote or for the first > guy who replied? It's always for you Ryan. Have you read your questions?!

Re: [PHP] Apple Mac Power PC problem

2004-04-01 Thread Brent Baisley
There is no problem with Power PC's or the headers. I've been using PHP and Apache for a few years now on Macs without a problem. What it sounds like is that they did not configure Apache to allow index.php as a default directory index page. As I recall, Apache defaults to only allowing ind

Re: [PHP] Domain Name ?

2004-04-01 Thread Ryan A
On 4/1/2004 3:57:57 PM, [EMAIL PROTECTED] wrote: > How about RTFM ? > > http://de2.php.net/parse_url Was that RTFM for me? or for the guy who originally wrote or for the first guy who replied? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Domain Name ?

2004-04-01 Thread Red Wingate
How about RTFM ? http://de2.php.net/parse_url Ryan A wrote: On 4/1/2004 11:58:01 AM, Ralph Guzman ([EMAIL PROTECTED]) wrote: The easy way... $domain = "http://www.foo.com";; $domain = explode('.', $domain); $foo = $domain['1']; Yep, thats the easy and good solution, but be warned if a subdom

Re: [PHP] 'Content-Type: text/plain; charset=utf-8'

2004-04-01 Thread Rob Ellis
On Thu, Apr 01, 2004 at 01:55:50PM +0300, nabil wrote: > header ('Content-Type: text/plain; charset=utf-8'); > echo "Hi there"; > ?> > > > I need to echo a plain txt on my page, without any HTML tags. > my problem, when I run it on my apache, the save/open screen pops up. > > What's wrong pleas

RE: [PHP] Domain Name ?

2004-04-01 Thread Ryan A
On 4/1/2004 11:58:01 AM, Ralph Guzman ([EMAIL PROTECTED]) wrote: > The easy way... > > $domain = "http://www.foo.com";; > $domain = explode('.', $domain); > $foo = $domain['1']; > > Yep, thats the easy and good solution, but be warned if a subdomain is used or if www is not put eg: http://foo.com

RE: [PHP] I think this is a bug...cant use exec commands.

2004-04-01 Thread Jay Blanchard
[snip] May be you can look at exec() function: http://www.php.net/manual/en/function.exec.php [/snip] >From that page... Note: When safe mode is enabled, you can only execute executables within the safe_mode_exec_dir. For practical reasons it is currently not allowed to have .. components in the

Re: [PHP] I think this is a bug...cant use exec commands.

2004-04-01 Thread William Lovaton
May be you can look at exec() function: http://www.php.net/manual/en/function.exec.php I know this doesn't solve the problem but gives you an option to workaround the problem. The curious thing about the warning message is: where are the backquotes in your code?? -William El jue, 01-04-2004 a

RE: [PHP] XML Parsing

2004-04-01 Thread Nunners
Is there a way of doing this without installing PEAR? I.e. a decent PHP Class? -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: 01 April 2004 13:52 To: Nunners; [EMAIL PROTECTED] Subject: RE: [PHP] XML Parsing I found the XML_Tree class really easy to use, highly rec

RE: [PHP] XML Parsing

2004-04-01 Thread electroteque
I found the XML_Tree class really easy to use, highly recommend it. > -Original Message- > From: Nunners [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 01, 2004 10:40 PM > To: [EMAIL PROTECTED] > Subject: [PHP] XML Parsing > > > Hi Folks, > I've got an XML output from a website > (http:

Re: [PHP] PHP and HTTPS POSTs

2004-04-01 Thread William Lovaton
Well, I remember I did a project for a company and in my development machine I didn't configured HTTPS but the production environtment use HTTPS... I never heard anything wrong about it and the application had some huge forms. By then I was using PHP 4.0.6 and then PHP 4.1.X. Try this: Send an H

[PHP] XML Parsing

2004-04-01 Thread Nunners
Hi Folks, I've got an XML output from a website (http://tawl.holiday.co.uk/EntryPoints/TopXasXML.aspx?WebsiteGUID=E325538D-5 B1E-4EC6-B888-35EB46418DB9) and want to display it's output on one of my pages I've looked at using the PHP XML Parse functions, however, I'm not certain how to get it wo

[PHP] 'Content-Type: text/plain; charset=utf-8'

2004-04-01 Thread nabil
I need to echo a plain txt on my page, without any HTML tags. my problem, when I run it on my apache, the save/open screen pops up. What's wrong please help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Flash MX

2004-04-01 Thread Dave Avent
I do allot of php to flash communication in my work and I have found that wddx is by far the easiest and best way to transfer large and small amounts of both simple and complex data Dave -Original Message- From: Nadim Attari [mailto:[EMAIL PROTECTED] Sent: 01 April 2004 12:08 PM To: [EMAI

[PHP] Flash MX

2004-04-01 Thread Nadim Attari
Hello PHPeople, I have to send data to flash. Should i use the "urlencode()" or the "rawurlencode()" function to encode the data? Thx, Nadim Attari -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Compiling new modules in PHP - required to remove old installation?

2004-04-01 Thread Jason Wong
On Thursday 01 April 2004 17:19, Terence wrote: > I currently follow the following steps when I need to compile a new module > in PHP: [snip] > Then all works fine. If I leave out any of the above steps, the > re-compilation doesnt work. Is there an easier way or do I need to do this > each time

Re: [PHP] Domain Name ?

2004-04-01 Thread Jason Wong
On Thursday 01 April 2004 17:29, Dave Carrera wrote: > I asked this a while back but have lost the replies :-( archives? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development *

RE: [PHP] Domain Name ?

2004-04-01 Thread Ralph Guzman
The easy way... $domain = "http://www.foo.com";; $domain = explode('.', $domain); $foo = $domain['1']; -Original Message- From: Dave Carrera [mailto:[EMAIL PROTECTED] Sent: Thursday, April 01, 2004 1:30 AM To: [EMAIL PROTECTED] Subject: [PHP] Domain Name ? Hi List, I asked this a whi

  1   2   >