[PHP] Is this possible with php

2006-03-06 Thread Mace Eliason
Hi, I really don't think this is possible from what I know of php, but I thought I would as the experts. Is it possible to have php create directories and move files on a local machine. I have created a web portal for a

Re: [PHP] is this possible in PHP?

2005-05-04 Thread Richard Collyer
[EMAIL PROTECTED] wrote: I'd make a script that went through the httpd.conf file with DOM and pulled out all the virtual hosts. Either that or looked at the home directory listings for each site. If this is what you were getting at (seeing as you mentioned root access and what-not), then read the

Re: [PHP] is this possible in PHP?

2005-05-04 Thread disguised.jedi
> I want a script that can display a list of all the websites currently > hosted on my server.. (i have root access to the server) > > Say I have a page sitesonmyserver.php..it shud show a list of all the > websites hosted on my server..eg: > abc.com > xyz.om > > And any additional info if possible

Re: [PHP] is this possible in PHP?

2005-05-03 Thread Rasmus Lerdorf
Dasmeet Singh wrote: Hi! I want a script that can display a list of all the websites currently hosted on my server.. (i have root access to the server) Say I have a page sitesonmyserver.php..it shud show a list of all the websites hosted on my server..eg: abc.com xyz.om And any additional info

RE: [PHP] is this possible in PHP?

2005-05-03 Thread Kim Madsen
> -Original Message- > From: Dasmeet Singh [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 03, 2005 9:03 AM > I want a script that can display a list of all the websites currently > hosted on my server.. (i have root access to the server) > > Say I have a page sitesonmyserver.php..it shu

[PHP] is this possible in PHP?

2005-05-03 Thread Dasmeet Singh
Hi! I want a script that can display a list of all the websites currently hosted on my server.. (i have root access to the server) Say I have a page sitesonmyserver.php..it shud show a list of all the websites hosted on my server..eg: abc.com xyz.om And any additional info if possible? Is such

Re: [PHP] Is this possible ?

2004-01-19 Thread Dagfinn Reiersøl
An object-oriented way of doing it: keep the extra result in a member variable and get it separately. You might not find this necessary, but it gets more useful in more complex cases. class MyClass { var $num; Function MyFunc(){ if(isset($_POST['var'])){ $sql = mysql_query("select * from

RE: [PHP] Is this possible ?

2004-01-18 Thread Larry Brown
ry. Larry -Original Message- From: Dave Carrera [mailto:[EMAIL PROTECTED] Sent: Sunday, January 18, 2004 6:11 AM To: 'Toby Irmer' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Is this possible ? Thanks Toby, But I forgot to mention something that makes retuning an array not usable in the

RE: [PHP] Is this possible ?

2004-01-18 Thread Dave Carrera
you Dave C -Original Message- From: Toby Irmer [mailto:[EMAIL PROTECTED] Sent: 18 January 2004 10:29 To: Dave Carrera; [EMAIL PROTECTED] Subject: Re: [PHP] Is this possible ? One way: hth toby - Original Message - From: "Dave Carrera" <[EMAIL PROTECTED]

RE: [PHP] Is this possible ?

2004-01-18 Thread Dave Carrera
:[EMAIL PROTECTED] Sent: 18 January 2004 10:29 To: Dave Carrera; [EMAIL PROTECTED] Subject: Re: [PHP] Is this possible ? One way: hth toby - Original Message - From: "Dave Carrera" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 18, 2004 11:22 AM

Re: [PHP] Is this possible ?

2004-01-18 Thread Toby Irmer
One way: hth toby - Original Message - From: "Dave Carrera" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 18, 2004 11:22 AM Subject: [PHP] Is this possible ? Hi List, I have a function that makes a call to mysql based on certain vars. --

[PHP] Is this possible ?

2004-01-18 Thread Dave Carrera
Hi List, I have a function that makes a call to mysql based on certain vars. ---example Function MyFunc(){ if(isset($_POST[var])){ $sql = mysql_query("select * from table_name where field=\"$_POST[var]\" "); $returnsomething ="blah blah"; } return $returnsomething; } And that all works

RE: [PHP] Is this possible?

2003-10-16 Thread Joseph Bannon
> Write a small script and see. Yep, it worked. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is this possible?

2003-10-16 Thread Raquel Rice
On Thu, 16 Oct 2003 10:36:38 -0500 "Joseph Bannon" <[EMAIL PROTECTED]> wrote: > Is it possible to set two variables at once like this... > > $test = $variable = 5; > Yes. -- Raquel To sin by silence when they should protest makes cow

Re: [PHP] Is this possible?

2003-10-16 Thread Robert Cummings
Write a small script and see. Rob. On Thu, 2003-10-16 at 11:36, Joseph Bannon wrote: > Is it possible to set two variables at once like this... > > $test = $variable = 5; > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- .--

[PHP] Is this possible?

2003-10-16 Thread Joseph Bannon
Is it possible to set two variables at once like this... $test = $variable = 5; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] is this possible?

2003-09-27 Thread Jason Sheets
It sounds to me like you are having them update their information on a central admin control panel for their site. There are a couple problems with your proposed method, first the .php file by default will get parsed by their server before it is sent to you so you will not be able to include it

[PHP] is this possible?

2003-09-27 Thread \[ PAUL FERRIE \]
Hi guys, I am have created several websites(flash) with admin areas so that the clients can update sections of there site. I have created a little admin section on my own site(yet to be published). there is a client login area for client who's site's i have built. Here they have the option to chan

RE: [PHP] Is this possible?

2003-07-23 Thread Tony Crockford
> Umm, you mean like: > > select i.id,d.description from items i, descriptions d where > d.itemid = > i.id; > > ? Of course I do! How stupid am I? No, don't answer that - it's been a long week working on the wrong stuff! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Is this possible?

2003-07-23 Thread Adam Voigt
Umm, you mean like: select i.id,d.description from items i, descriptions d where d.itemid = i.id; ? On Wed, 2003-07-23 at 12:32, Tony Crockford wrote: > Hi > > > Thanks for the help on previous questions, I now have an in principle > type question. > > I have a MySQL database - "items" in one

[PHP] Is this possible?

2003-07-23 Thread Tony Crockford
Hi Thanks for the help on previous questions, I now have an in principle type question. I have a MySQL database - "items" in one table and "descriptions" in another with a common key: item_ref It is used to create a sort of categorised directory of the items. (http://www.torbytes.co.uk) each t

RE: [PHP] Is this possible?

2003-06-11 Thread Jay Blanchard
[snip] Please read these pages: http://de.php.net/release_4_1_0.php http://de.php.net/manual/en/security.registerglobals.php if your PHP setting called register_globals is turned on, then the code you propose would allow hackers to ask anything they want to your database, including destructive o

Re: [PHP] Is this possible?

2003-06-11 Thread Chris Hayes
At 18:06 11-6-03, you wrote: Hey, Whats the problem with this "table" ? its a perfectly legal bit of HTML...wheres your doubt? in index.php just get the variable like this $blah=$_GET['tablename']; then run $blah in your select query. Either this is just too simple or i dont really understand w

Re: [PHP] Is this possible?

2003-06-11 Thread Chris Hayes
Please read these pages: http://de.php.net/release_4_1_0.php http://de.php.net/manual/en/security.registerglobals.php if your PHP setting called register_globals is turned on, then the code you propose would allow hackers to ask anything they want to your database, including destructive options.

Re: [PHP] Is this possible?

2003-06-11 Thread Ryan A
you are trying to do... Cheers, -Ryan - Original Message - From: "Steve Marquez" <[EMAIL PROTECTED]> To: "PHP eMail List" <[EMAIL PROTECTED]> Sent: Wednesday, June 11, 2003 3:59 PM Subject: [PHP] Is this possible? > Hello PHP List, > > I would like

[PHP] Is this possible?

2003-06-11 Thread Steve Marquez
Hello PHP List, I would like to use links such as: table The resulting page would have a line on it like such: $query = "SELECT * FROM $table"; Is this possible? If so, is there maybe a better way to do this? Also, is it possible to show the names of the tables in PHP page? Thanks, -Ste

Re: [PHP] Is this possible? Group related results from mysql to one field…

2003-03-08 Thread Marek Kilimajer
The only way that comes to my mind is using a SET column type - in related table you would not wave toid relating to categories, but instead it would be of type SET("demonstrations","people"). This column can be set to "" -empty, no category "demonstrations" "people" "demonstrations,people" But

[PHP] Is this possible? Group related results from mysql to one field…

2003-03-06 Thread Victor Spång Arthursson
Hi! Perhaps this is a little bit of topic, but if it's not possible to fix directly when the result is returning from mysql I need some tips on an intelligent solution... This is the problem: I'm searching the database for files and i get some results. In the sql I have a LIMIT to split the re

Re: [PHP] Is this possible with php?

2003-01-11 Thread Chris Hewitt
[EMAIL PROTECTED] wrote: using MS Word in windows, when a file is saved, can it be AUTOMATICALLY uploaded (via http POST or other mechanism) to a server? Yes, in a webDAV enabled directory on your webserver (http://www.webdav.org). Its a module that you can compile for use with Apache (I'm us

RE: [PHP] Is this possible with php?

2003-01-11 Thread Rasmus Lerdorf
Open Platform Consulting > e-mail: [EMAIL PROTECTED] > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Friday, 10 January 2003 4:06 PM > > To: [EMAIL PROTECTED] > > Subject: [PHP] Is this possible with ph

Re: [PHP] Is this possible with php?

2003-01-10 Thread try
On Fri, Jan 10, 2003 at 12:00:33PM -, Danny Shepherd wrote: > Hi, > > Where did he say he wanted to use Word to edit PHP files? AFAICT the idea > was to automatically upload Word files, presumably to make them available on > an Intranet for download etc. Yes, automatically upload word file af

Re: [PHP] Is this possible with php?

2003-01-10 Thread Danny Shepherd
c: <[EMAIL PROTECTED]> Sent: Friday, January 10, 2003 11:38 AM Subject: Re: [PHP] Is this possible with php? > > [EMAIL PROTECTED] wrote... : > > > I would like to know if the follwing function can be implemneted > > in php with help of other tools: > > in PHP distribu

Re: [PHP] Is this possible with php?

2003-01-10 Thread Justin French
on 10/01/03 6:14 PM, Tom Rogers ([EMAIL PROTECTED]) wrote: > I use webdrive which allows me to map an ftp site to a windows drive letter so > it gets treated as a local drive . very usefull. > You can read about it here http://www.webdrive.com/ Does anyone know of a mac (OS8/9 NOT OSX) applic

Re: [PHP] Is this possible with php?

2003-01-10 Thread Maxim Maletsky
[EMAIL PROTECTED] wrote... : > I would like to know if the follwing function can be implemneted > in php with help of other tools: in PHP distribution? PHP is the programming language, not a client/server tool. This is definitely something to be an integrated part of something else. > using MS

Re: [PHP] Is this possible with php?

2003-01-09 Thread Tom Rogers
Hi, Friday, January 10, 2003, 4:06:23 PM, you wrote: tnc> I would like to know if the follwing function can be implemneted tnc> in php with help of other tools: tnc> using MS Word in windows, when a file is saved, can it be AUTOMATICALLY tnc> uploaded (via http POST or other mechanism) to a serve

RE: [PHP] Is this possible with php?

2003-01-09 Thread Timothy Hitchens \(HiTCHO\)
(HiTCHO) Open Platform Consulting e-mail: [EMAIL PROTECTED] > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Friday, 10 January 2003 4:06 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Is this possible with php? > > > I would like

[PHP] Is this possible with php?

2003-01-09 Thread try
I would like to know if the follwing function can be implemneted in php with help of other tools: using MS Word in windows, when a file is saved, can it be AUTOMATICALLY uploaded (via http POST or other mechanism) to a server? Currently I need to first save it on my desktop, then upload that copy

Re: [PHP] Theoretical - Device server using PHP - Is this possible?

2002-12-10 Thread @ Edwin
Hello, "Steve Jackson" <[EMAIL PROTECTED]> wrote: > Hi all, > > I work for a company that manufactures device servers. They currently > have a very low internal memory (about 8MB) which is more than enough > for TCP/IP connections (which BTW we just released the code open source > to anyone inter

[PHP] Theoretical - Device server using PHP - Is this possible?

2002-12-10 Thread Steve Jackson
Hi all, I work for a company that manufactures device servers. They currently have a very low internal memory (about 8MB) which is more than enough for TCP/IP connections (which BTW we just released the code open source to anyone interested www.opentcp.org) to devices but I was wondering if there

Re: [PHP] is this possible ...

2002-08-10 Thread Justin French
Yes attaching files to email is possible. There's such a class available at phpclasses.org by Manuel Justin French on 11/08/02 3:53 AM, M.E. Suliman ([EMAIL PROTECTED]) wrote: > Hi > > I need the contents of a form to be emailed as an attached Excel file or > html file. Is this possible usi

[PHP] is this possible ...

2002-08-10 Thread M.E. Suliman
Hi I need the contents of a form to be emailed as an attached Excel file or html file. Is this possible using PHP. I think comma delimited files open in Excel. Can anyone advise. Thanks in advance Mohamed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] Is this possible

2002-06-06 Thread Analysis & Solutions
On Thu, Jun 06, 2002 at 05:32:45AM -, James Edgar wrote: > class myClass > { > function myFunc($var) > { > include("xml.inc"); > $obj = new xml($data,"xml"); And what happened when you ran this? Why not tell us? In the future, please

[PHP] Is this possible

2002-06-05 Thread James Edgar
I am trying to run a class inside a class, it says that the object is there but when I go to get the info, it is not there. I have attached the code below and attache the xml.inc file. Any help would be greatly appreciated. class myClass { function myFunc($var)

RE: [PHP] Is this possible

2002-06-05 Thread Scott Hurring
essage- > From: James Edgar [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 05, 2002 5:27 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Is this possible > > > I am trying to run a class inside a class, it says that the > object is there but when I go to get the info, it

[PHP] Is this possible

2002-06-05 Thread James Edgar
I am trying to run a class inside a class, it says that the object is there but when I go to get the info, it is not there. I have attached the code below. Any help would be greatly appreciated. class myfirstClass { function Track($tracknum) {

RE: [PHP] Is This Possible? (Database - PHP)

2002-05-12 Thread John Holmes
> Sent: Monday, May 13, 2002 12:05 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Is This Possible? (Database - PHP) > > Hey there guys, > I have a slight problem which i could not solve via Java servlets and now > that I am migrating to PHP I was wondering if its possible... >

Re: [PHP] Is This Possible? (Database - PHP)

2002-05-12 Thread Jason Wong
On Monday 13 May 2002 15:05, r wrote: > Hey there guys, > I have a slight problem which i could not solve via Java servlets and now > that I am migrating to PHP I was wondering if its possible... > > I am hosting with a company that has given me a database (MySql) I am using > the database for all

[PHP] Is This Possible? (Database - PHP)

2002-05-12 Thread r
Hey there guys, I have a slight problem which i could not solve via Java servlets and now that I am migrating to PHP I was wondering if its possible... I am hosting with a company that has given me a database (MySql) I am using the database for all my apps which are only being accessed via my ser

RE: [PHP] Is this possible?

2002-02-14 Thread Rick Emery
ot;.$row['directory']; header( "location: $loc"); } exit; ?> -Original Message----- From: Leif K-Brooks To: [EMAIL PROTECTED] Sent: 2/13/02 8:37 PM Subject: [PHP] Is this possible? I would like to have multiple domains and have them forwarded to different fo

RE: [PHP] Is this possible?

2002-02-13 Thread Rick Emery
ot;.$HTTP_SERVER_VARS['HTTP_HOST'].""; exit; } else { $row = mysql_fetch_array($results); $loc = "http://www.mydomain.com/".$row['directory']; header( "location: $loc"); } exit; ?> -Original Message- From: Leif K-Brooks To: [EMAIL PROTECTED] Se

[PHP] Is this possible?

2002-02-13 Thread Leif K-Brooks
I would like to have multiple domains and have them forwarded to different folders, so I'd only need one hosting account. Example: www.domain1.com goes to www.domain.com/domain1 www.domain2.com goes to www.domain.com/domain2 I would like to do this in php. Of course, to do this, I'd need to ge

Re: [PHP] Is this possible?

2002-02-06 Thread Julio Nobrega Trabalhando
I am sorry, this has nothing to do with the logic of your code, but instead with style (and a little bit of perfomance, both from you and your system). Isn't easier to escape PHP when you are going to enter html code lines? Like this: \n"; echo " \n"; ?> IMHO would be better:

Re: [PHP] Is this possible?

2002-02-06 Thread Raymond Lilleødegård
ot;]); printf(" "); printf(" "); printf(" ",$myrow["varenr"]); printf("",$myrow["varenavn"]); printf(" "); printf(" "); printf(" (%s)",$myrow["innhold"]); printf(" "); printf(" "); print

Re: [PHP] Is this possible?

2002-02-06 Thread DL Neil
From: "Raymond Lilleodegard" <> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, February 06, 2002 7:16 PM > Subject: [PHP] Is this possible? > > > > Hi! > > > > I have this tricky case, at lest for me : ) > > > > I'm trying to ge

Re: [PHP] Is this possible?

2002-02-06 Thread val petruchek
] - Original Message - From: "Raymond Lilleodegard" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 06, 2002 7:16 PM Subject: [PHP] Is this possible? > Hi! > > I have this tricky case, at lest for me : ) > > I'm trying to get s

Re: [PHP] Is this possible?

2002-02-06 Thread Erik Price
On Wednesday, February 6, 2002, at 12:16 PM, Raymond Lilleodegard wrote: > So... how do I get only one row from the "product table" and two rows > from > the "price table" in one line in a page? Use this query: SELECT producttable.onerow, pricetable.onerow, pricetable.tworow FROM producttabl

[PHP] Is this possible?

2002-02-06 Thread Raymond Lilleodegard
Hi! I have this tricky case, at lest for me : ) I'm trying to get some data out of two tables and listing the data in a product/price site. But. : I have one table with productinfo and one with prices. And it is several columns with the same id in the pricetable, because every product have

RE: [PHP] Is this possible? PHP + Javascript

2001-03-26 Thread Joe Sheble \(Wizaerd\)
Michael Champagne; PHP General Mailing List > Subject: Re: [PHP] Is this possible? PHP + Javascript > > > At 05:11 PM 3/26/01 -0600, Michael Champagne wrote: > >I have a huge database-driven list of clients with a checkbox > next to each > >one. When I check one of t

Re: [PHP] Is this possible? PHP + Javascript

2001-03-26 Thread Reuben D Budiardja
At 05:11 PM 3/26/01 -0600, Michael Champagne wrote: >I have a huge database-driven list of clients with a checkbox next to each >one. When I check one of these clients, I'm wanting one of those small >javascript boxes to pop up and display the contacts for this client (another >database lookup) a