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
[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
> 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
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
> -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
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
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
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
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]
:[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
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.
--
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
> 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
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
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
>
>
--
.--
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
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
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
> 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
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
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
[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
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
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.
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
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
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
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
[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
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
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
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
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
[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
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
(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
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
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
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
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
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.
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
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)
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
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)
{
> 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...
>
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
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
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
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
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
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:
ot;]);
printf(" ");
printf(" ");
printf(" ",$myrow["varenr"]);
printf("",$myrow["varenavn"]);
printf(" ");
printf(" ");
printf(" (%s)",$myrow["innhold"]);
printf(" ");
printf(" ");
print
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
]
- 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
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
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
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
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
59 matches
Mail list logo