Hello everyone,
Does anyone know how to retrieve a cookie with snoopy, such that I could store it and
use it to reinitialize the cookie variable the next time I use snoopy. Or, could I
take the cookie off my system and use it to initialize the cookie variable?
I desperately need to figure
can someone point me in the right direction for writing data to a file.
d:/site/file.txt
infomation:
[DATE] Information
Please point me right.
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
Hi,
Does anyone know of an 'easy' way to delete folders that contain files and sub-folders?
Thanks,
Phil
-
Philip Jeffs
The Tickle Group
The Gate House
Summerseat
Bury
Lancashire
BL9 5PE
United Kingdom
W: http://www.tickle.co.uk
T: 01706 823456
F: 01706 829500
On Fri, 15 Mar 2002, Philip J. Newman wrote:
can someone point me in the right direction for writing data to a file.
d:/site/file.txt
infomation:
[DATE] Information
$information = 'Some information';
$filename = 'd:/site/file.txt';
if ((is_writable($filename) ||
[EMAIL PROTECTED] (Philip Jeffs) wrote:
Hi,
Does anyone know of an 'easy' way to delete folders that contain files and
sub-folders?
system(rm -rf folder);
else you need to delete all the folders contents and then the foler
itself reccursivly.
--
Henrik Hansen
--
PHP General Mailing
Linux /Unix -
$some=`rm -rf your_dir`;
Regards,
Andrey
- Original Message -
From: Philip Jeffs [EMAIL PROTECTED]
To: PHP LIST [EMAIL PROTECTED]
Sent: Friday, March 15, 2002 11:36 AM
Subject: [PHP] Deleteing folders containing files...
Hi,
Does anyone know of an 'easy' way to
I've scoured the PHP manual and I still can't seem to
find it. What I'm trying to do is have PHP grab the
size of a file or directory (say of a php file) then
when that file is displayed, I want it to display the
size of the file in the footer of the page. I would
also like to have the viewer
On Friday 15 March 2002 18:32, Nick Patsaros wrote:
I've scoured the PHP manual and I still can't seem to
find it. What I'm trying to do is have PHP grab the
size of a file or directory (say of a php file) then
when that file is displayed, I want it to display the
size of the file in the
Uma Shankari T. wrote:
Can anyone please tell me is there any function in php for sorting in
which the contents are stored in array
Have you seen sort(), arsort(), asort(), ksort(), natsort(), natcasesort(),
rsort(), usort(), array_multisort(), or uksort()?
Luke Welling
--
PHP and
Leif K-Brooks wrote:
I have a script that allows the user to upload a file. Right now,
though,
it says permission denied when I try to upload. The permissions for the
folder I want to upload to is 755 right now. What should I change it to?
Are you checking the permissions on both the
Nick Patsaros wrote:
I've scoured the PHP manual and I still can't seem to
find it. What I'm trying to do is have PHP grab the
size of a file or directory (say of a php file) then
when that file is displayed, I want it to display the
size of the file in the footer of the page. I would
I am using php,mysql,apache combination on a linux machine.
I used the INSTALL file available in php-4.0.6.tar to install PHP in
static mode.
Compilations and Installation go on fine with no errors.
But when a test.php script containing:
HTML
HEAD
TITLETesting PHP/TITLE
/HEAD
BODY
?
-Original Message-
From: Jim Lucas [php] [mailto:[EMAIL PROTECTED]]
Sent: 15 March 2002 00:55
Plus, depending on how you are calling the file. Meaning if
the file name
that you are calling is a static file name or dynamic file name
require() and require_once() will include a
Hi,
I can't send e-mail by mail() function (PHP 3.0.18, local MTA Postfix).
Function succeeds (return code is 1) but no e-mail is delivered
and there is no records in mail logs.
Variable sendmail_path in php3.ini is rather good: /usr/sbin/sendmail
- this is proper link to real executable
At 09:36 AM 3/15/2002 +, Philip Jeffs wrote:
Hi,
Does anyone know of an 'easy' way to delete folders that contain files and
sub-folders?
Here's what I use (use rmdirRf($folderthatcontainsotherstuff)):
?
function rmdirRf($file) {
if(file_exists($file)) {
chmod($file,0777);
if
I have an sql query which calls * rows from a table.
Each row is an array of table field values.
This is how I understand the heirachy
$table_row_array[0] = $field_row_array[]
$table_row_array[1] = $field_row_array[]
$table_row_array[2] = $field_row_array[]
Now $table_row_array is being drawn
On Fri, 15 Mar 2002, Caspar Kennerdale wrote:
I have an sql query which calls * rows from a table.
Each row is an array of table field values.
This is how I understand the heirachy
$table_row_array[0] = $field_row_array[]
$table_row_array[1] = $field_row_array[]
$table_row_array[2] =
$array[0][1] is how you access multi-dimensional arrays.
Niklas
-Original Message-
From: Caspar Kennerdale [mailto:[EMAIL PROTECTED]]
Sent: 15. maaliskuuta 2002 15:18
To: [EMAIL PROTECTED]
Subject: [PHP] array within an array
I have an sql query which calls * rows from a table.
Thanks all
I knew it was something simple, but my brain was in twists. (no change there
ha ! ha !)
-Original Message-
From: Niklas Lampén [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 15, 2002 13:24
To: Php-General
Subject: RE: [PHP] array within an array
$array[0][1] is how you
can you therefore have $array[0][9][2][3]
if you had an array within an array within an array within an array.
(not sure i'd want to, but you never know)
$array[0][1] is how you access multi-dimensional arrays.
Niklas
-Original Message-
From: Caspar Kennerdale [mailto:[EMAIL
Yes.
Niklas
-Original Message-
From: Caspar Kennerdale [mailto:[EMAIL PROTECTED]]
Sent: 15. maaliskuuta 2002 15:35
To: Php-General
Subject: RE: [PHP] array within an array (one more query)
can you therefore have $array[0][9][2][3]
if you had an array within an array within an array
At 15.03.2002 17:28, you wrote:
I am using php,mysql,apache combination on a linux machine.
I used the INSTALL file available in php-4.0.6.tar to install PHP in
static mode.
Compilations and Installation go on fine with no errors.
But when a test.php script containing:
? phpinfo(); ?
is
Hi;
An obvious question for some, but I am stumped:
I want to use multiple optins in an if statement...
if(user($arbitraryVariable)==(1 or 2 or 3 or 4))
What would be the proper syntax for this?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi!
if(user($arbitraryVariable)==(1 or 2 or 3 or 4))
What would be the proper syntax for this?
Here:
if((user($arbitraryVariable) = 1) and ($arbitraryVariable = 4) and
($arbitraryVariable == round($arbitraryVariable)))
In other cases, you'd have to write
if((user($arbitraryVariable)==1) or
if (in_array($arbitraryValue,array(1,2,3,4))){
}
- Original Message -
From: Ralph Jarvis [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 15, 2002 4:50 PM
Subject: [PHP] multiple variables
Hi;
An obvious question for some, but I am stumped:
I want to use multiple
or use something like this:
$array_values = array(1,2,3,4);
if (in_array(user($arbitraryVariable), $array_values)) {
// do your stuff
}
Greets,
Edward
- Original Message -
From: Christoph Starkmann [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 15, 2002 4:11 PM
On Friday, March 15, 2002, at 12:19 AM, hugh danaher wrote:
You're the second one I've seen using do. What do? Is it in the php
manual and I missed it?
do { ... } while ( ... );
Runs the while loop at least once, regardless of whether or not the
while conditional evaluates to TRUE.
I figured it out. Don't know how to retrieve cookies, but I learned how to set them
with curl. No need to use Snoopy. Sorry.
- Original Message -
From: Underbrush
To: [EMAIL PROTECTED]
Sent: Friday, March 15, 2002 4:24 PM
Subject: [PHP] has anyone used cookies with
Hi Folks:
Okay, here's what I'm talking about... A sample system. Four files.
index.php main page holding the frameset. frameset has two
frames. one on left. one on right.
left.php navigation menu that goes in the left hand frame
right.php content in right hand
If I send just a line of simple text (like The quick brown fox
drowned) for XML parsing, why doesn't it call the function which I
declare for character data handling? It doesn't even give me an error
:-( Is it wrong to have plain text as input for XML parsing?
Why, as a matter of fact,
On Friday, March 15, 2002, at 10:27 AM, Analysis Solutions wrote:
Now, put all those files on your machine. Hit index.php and you'll see
everything normally. Then, uncomment the header function in left.php or
right.php and you'll see that page jump out of the frames. But, turn
the
Hi all,
I appologise if this is off topic but I don't know who to ask. I hope
you guys don't mind.
Does any body know where I can find information about the steps of
setting up a server(LINUX) so that people can find a certain URL
address?
I want to sent up a small server for myself from home
My I am working on a PHP page that uses sessions. I use $_SESSION['whatever'] to set
all my session vars. I can use the session_destroy() and it works fine but if I just
close the browser (All Browsers), when I come back to the page the Session is still
active. the session.cookie_lifetime is
Check out the Linux howto's at http://www.linuxdoc.org/docs.html#howto
This will help you set up a server and get online...
Thank you,
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-Original Message-
From: Dani [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 15, 2002 11:42 AM
php-general Digest 15 Mar 2002 15:56:32 - Issue 1228
Topics (messages 88619 through 88664):
Re: Fetching 1 array from either one of 2 possible columns?
88619 by: Martin Towell
mt_rand()
88620 by: Phillip S. Baker
88630 by: David Robley
Re: GET values from
I want to have a dropdown list populated with data from my MySql server.
Any examples or websites that could help is appreciated.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Mar 15, 2002 at 10:34:28AM -0500, Thalis A. Kalfigopoulos wrote:
[regarding error checking...]
Well, as a matter of fact I do.
Good, good.
Dan, did you actually run this and got an error?
Why, as a matter of fact, yes! :) The error I get is syntax error
Enjoy,
--Dan
--
select name=somename
?php
$sql = SELECT id, name FROM table;
$res = mysql_query($sql);
while (list($id, $name) = mysql_fetch_array($res)) {
echo option value=\$id\$name/option;
}
?
/select
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal
OK, I'm getting a bit confused about the well-formedness checking of expat. Doesn't
expat do basic well-formedness checking? If I set empty start/endElement and charData
handlers, and I parse:
elem1
elem2text
/elem1
/elem2
I get an error as expected about mismatched tags.
But if I give:
OK, If I understand correctly, the following scenario would work?
Given: My site is being brought up inside somebody else's (say
about.com)frameset. [We'll call this page about.html]
Given: I want my main page (index.html) to break out of the frames in the
about.html page.
Solution: My main
Could smbdy please help me
I have a variable with the name
$name(=the_name_of_the_variable)
and I want to know if $the_name_of_the_variable
is set.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have never passed a search value with a space or a comma , in it,
but here is the first time.
What happens is that IE puts in the space and takes the whole value as
the parameter and correctly finds the result we are looking for from the
search request, but in Netscape it only sees up to where
Hi,
Yes, you have to be connected while someone looks at your site.
A webserver on a modem would be terribly slow, but possible if you just
want to expiriment.
If you want to start 'quickly' without too much RTFM, find out what
webservers are good and
have an installer package for your
if (isset($var_name)) {
echo 'Isset!';
}
?
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
Budinschi Cosmin [EMAIL PROTECTED] wrote in message
[EMAIL
On Fri, 15 Mar 2002, Julio Nobrega Trabalhando wrote:
:if (isset($var_name)) {
:echo 'Isset!';
:}
:
: ?
This I knew ... i don't know the variable's name untill I execute
the script.
I want to found out if a cookie is set who's name is $var1.$var2
and $var2 is the
?php
# Turning this on will jump this page out of the frames.
# header('Window-target: _top');
?
Can you use this only for the predefined variables? _top,
_parent, etc? Because it isn't working for me. Perhaps I
am misunderstanding something. Here are my sample files:
index.php
isset($_COOKIE[$var1 . $var2])
isset($HTTP_COOKIE_VARS[$var1 . $var2]) // (for ancient PHP versions)
http://www.php.net/manual/en/features.cookies.php
or
isset(${$var1 . $var2})
http://www.php.net/manual/en/language.variables.variable.php
bvr.
BUDINSCHI Cosmin wrote:
On Fri, 15 Mar 2002,
Maybe it makes sense to you like this:
$mtxt = $GLOBALS['mtxt'];
$mtxt === $GLOBALS['mtxt']
$mtxt[1] === $GLOBALS['mtxt'][1]
bvr.
hmm.. the '===' operator, now that's weird ;)
Because in my mind (which I know is totally wrong in this instance, I'm just
explaining for your benefit) using:
On Fri, 15 Mar 2002, bvr wrote:
:isset($_COOKIE[$var1 . $var2])
:isset($HTTP_COOKIE_VARS[$var1 . $var2]) // (for ancient PHP versions)
:
:http://www.php.net/manual/en/features.cookies.php
:
:or
:
:isset(${$var1 . $var2})
:
:http://www.php.net/manual/en/language.variables.variable.php
:
:bvr.
:
Sorry, replies to really deep threads looks nice in my mail program..
;)bvr.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Mar 15, 2002 at 11:27:59AM -0500, Brinkman, Theodore wrote:
Given: My site is being brought up inside somebody else's (say
about.com)frameset. [We'll call this page about.html]
Given: I want my main page (index.html) to break out of the frames in the
about.html page.
Solution:
On Fri, Mar 15, 2002 at 11:03:22AM -0600, Chris Boget wrote:
script language=php
if( isset( $submit )) {
header( Window-target: content );
header( location: right.php );
exit();
}
/script
The script needs to be in between ?php and ? in order to execute
on your server.
script language=php
if( isset( $submit )) {
header( Window-target: content );
header( location: right.php );
exit();
}
/script
The script needs to be in between ?php and ? in order to execute
on your server. Browsers don't execute PHP. What you've written is how
At 16.03.2002 01:41, you wrote:
Hi all,
I appologise if this is off topic but I don't know who to ask. I hope
you guys don't mind.
Does any body know where I can find information about the steps of
setting up a server(LINUX) so that people can find a certain URL
address?
I want to sent up a
On Saturday 16 March 2002 00:38, Jack Sasportas wrote:
I have never passed a search value with a space or a comma , in it,
but here is the first time.
What happens is that IE puts in the space and takes the whole value as
the parameter and correctly finds the result we are looking for from
On Fri, Mar 15, 2002 at 12:25:10PM -0500, Analysis Solutions wrote:
On Fri, Mar 15, 2002 at 11:03:22AM -0600, Chris Boget wrote:
script language=php
/script
The script needs to be in between ?php and ? in order to execute
on your server. Browsers don't execute PHP. What you've
I have error's enabled in php.ini. I keep getting Undefined variable when
I run a script that contains IF or ELSE IF's. Is this normal because the
variable hasn't been set at the beginning of the script ?
Thank You
Daniel Negrón
Lotus Notes Administrator / Developer
KB Electronics, Inc.
Dani, you have so much to learn. There are many issues to be considered
when creating a webserver, but all are within your grasp. I suggest a
trip to your local bookstore to get a copy of Running Linux. Read
every page, every single page. Then you will know the answer to your
question, and
Hi. I want to be able to access a key in a multidimensional array at some
depth n without knowing before runtime what the keys are.
I thought this might be possible using variable variables. Here's some
sample code using variable variables and multidimensional arrays:
$y = 'a';
$z = 'b';
$t =
How do I write to a specific place in a file instead
of just using fputs to append text to the end of the
file?
Thanks,
John
__
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/
--
PHP General Mailing List
First read it, then split and then write it.
$fp=fopen($file,r);
$content=fread($fp,filesize($file));
fclose($file);
$parts=explode($splitsign,$content);
$fp=fopen($file,w);
fwrite($fp,$parts[0].$insert.$splitsign.$parts[1]);
fclose($file);
Op vrijdag 15 maart 2002 19:09, schreef John P.
Gracias amigos de la lista:
Necesito instalar el modulo php en solaris 6, pero con la configuracion del
manual que esta en la pagina me emite un error, alguien sabe o a tenido
experiencia instalando php sobre solaris...
Cordialmente,
Razl Hernandez S.
--
PHP General Mailing List
hi all,
I received this from a guy at SAP regarding a SAPDB compile with php:
As you might have guessed, I am still unable to compile --with-sapdb
I've entered a bug report with all of the details:
http://bugs.php.net/bug.php?id=16100
If anyone has successfully compiled SAPDB with PHP on any
On Fri, 15 Mar 2002, Jeff Dale wrote:
I want to have a dropdown list populated with data from my MySql server.
Any examples or websites that could help is appreciated.
function outputSingleSelect()
// $name = name to give the HTML form element.
// $query = MySQL query. Should return 2
Uh oh, did I ask this question before? If I did, I'm very sorry. =(
David Robley [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
Note that I'm using the Windows version of PHP.
Whenever I use a mail()
Hi,
I have a php file where a make a lookup in a data base. I store the result
in a variable call $qid.
I then have an include statement of another file where I need the data from
$qid. Can anybody tell me how I get the data.
Thanks,
Morten
--
PHP General Mailing List (http://www.php.net/)
On Fri, 15 Mar 2002, Morten Nielsen wrote:
I have a php file where a make a lookup in a data base. I store the result
in a variable call $qid.
I then have an include statement of another file where I need the data from
$qid. Can anybody tell me how I get the data.
If it was in the global
I have error's enabled in php.ini. I keep getting Undefined variable when
I run a script that contains IF or ELSE IF's. Is this normal because the
variable hasn't been set at the beginning of the script ?
Yes. If the variable hasn't been defined previously you'll get a warning:
if ( $dd 2)
Here's a nice link to Netscape.com describing the basics of frames:
http://www.netscape.com/eng/mozilla/2.0/relnotes/demo/target.html
You can find the predefined variables for use in frames listed, along with a
quick reference to the optional HTTP header that can be specified.
For your
I have to build a bridge page from my PHP script that does the following:
1. Kick off a Java servlet (in my case running on my Tomcat4 plug-in to
Apache)
2. Receive data back from that servlet and continue my PHP script.
Does anyone have hard won advice, tips on great articles, examples, etc?
Auxilio
necesito ayuda instalando PHP, me saca el siguiente error.
# make
gcc -g -O2 -DEAPI -DMOD_PERL -DUSE_EXPAT -O -O2 -G -Kpic -I. -I.
-I/usr/apache/include
-c language-parser.tab.c -o language-parser.tab.o
gcc: unrecognized option
`-Kpic'
/usr/ccs/bin/as:
Hi,
I want to allow the users of my site to insert text with anchors, bold and
italic html tags. I have filtered out all the other tags. I now want to
convert the other , , quote, double quote and to html entities. If I use
the function htmlspecialchars, it of course also quotes the valid
Here's a nice link to Netscape.com describing the basics of frames:
http://www.netscape.com/eng/mozilla/2.0/relnotes/demo/target.html
Ok, I'll have to check it out.
For your particular question though I would consider targeting the action of
the FROM tag:
FORM ACTION=top.php
On Fri, 15 Mar 2002, Daniel Negron/KBE wrote:
Thank You Charlie. I also found out that I needed to put an symbol
infrom of the string. This stopped it from throwing me an error.
If($submit) blah blah blah
Better yet, use:
if (isset($submit)) blah blah blah
That explicitly checks to
On Fri, 15 Mar 2002, Ralph Jarvis wrote:
An obvious question for some, but I am stumped:
I want to use multiple optins in an if statement...
if(user($arbitraryVariable)==(1 or 2 or 3 or 4))
What would be the proper syntax for this?
Sometimes I find a switch to be the most efficient (and
I have been sloppy in teh past and just used
if($submit) blah blah blah
not sure of ramifications, but seems to work unless $submit is false or not
set.
again, take with grain of salt, other suggestions (especially isset) are much
more certain.
Dave
-Original Message-
From: [EMAIL
GRacias lo vo a compilar y les cuento si me funciona
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I want to make use of the doc_root settings in the ini file. But I don't want ot have
links on my sites like
on one site
href=/site1/document.php
and on another site
href=/site2/document.php
Is there some way to have different doc_roots based on the domain name or per IIS site?
Charles
I have many sites and all are virtual hosts. I would like IIS to specify the home
directory, for html, gifs, jpgs... and all of the php files to be somewhere else in
the filesystem, specified by the php.ini.
Charles
-- Original Message --
From:
Hi everybody,
is it possible to change two frames at one time using a php-script. For
example: When I click on a link then the right _and _ the left frame should
change to another side. Ist this possible or do I have to use JavaScript
instead ???
Any answer can be useful
Bye, Marcel
--
Hello all,
Does anyone know if shell_exec waits to have whatever it was passed to
be executed before returning to the script?
I am asking that because I need to write a script to compact files to a
zip and then have it e-mailed to a predefined address.
The files it will compact might have a
also found this. http://www.thickbook.com/extra/tb_loopoption.pdf
|+
|| [EMAIL PROTECTED] |
|||
|| 03/15/02 02:39|
|| PM|
|||
To do it with PHP, you'd have to refresh the entire frameset, with some
vars in the URL to load certain pages into the frameset. Yuk.
The other solution is Javascript, but of course not everyone will have
it, so I wouldn't rely on it for anything mission critical like
navigation of the entire
?
$query = SELECT * from mytable;
$result = mysql_db_query(db, $query);
while ($myarray = mysql_fetch_array($result))
{
$title = $myarray[title];
echo $titlebr;
}
?
Can someone PLEASE tell me why the coding above gives the following error:
Warning: Supplied argument is not a valid MySQL
Good day,
You get this message because the mysql_db_query statement failed, and that
your code didn't check to see that it did or not before proceeding to the
next statement.
And, this statement fails because you have not even connected to the
database yet.
At the risk of sounding
It looks like your sql query failed, so the result is invalid.
Assuming that this is really the whole script, then you're counting on
the mysql_db_query function to open a connection to the database db
using the default connection values which (according to the manual) are
host: localhost,
Hello Erik,
I have this hosted at my ISP. The phpinfo() shows that they have:
Linux 2.4.3
PHP Version 4.0.4pl1
Sablotron XSLT support: enabled
Which annotations are you refering to?
The odd thing is that I have copied the code from two different examples
from the web and both give me this
Can anyone shed light on why this code doesn't work?
I get: fatal error: Call to undefined function: new_xmldoc() in
/home/tanguay/test/testsab2.php on line 4
?
xslt_output_begintransform('tst.xsl');
$doc = new_xmldoc('1.0');
$root = $doc-ad_root('sites');
$site = $root-ne_child('site','');
I'd like to control which php file is called when clicking two buttons on the
bottom of a form; one called Add Names, the other Submit
I've tried the following with no success:
***
form action=
switch ($name) {
case add:
On Fri, 15 Mar 2002, Andre Dubuc wrote:
I'd like to control which php file is called when clicking two buttons on the
bottom of a form; one called Add Names, the other Submit
I've tried the following with no success:
***
form action=
switch
I haven't had any experience with switch at all, but I do have forms
with multiple submit buttons.
I've been running things slightly differently:
FORM action=rap.php method=post
...
input type=submit name=submit value=Add Names
input type=submit name=submit value=Submit
/FORM
Then
At 03:59 PM 3/15/2002 -0600, charlesk wrote:
I have many sites and all are virtual hosts. I would like IIS to specify
the home directory, for html, gifs, jpgs... and all of the php files to be
somewhere else in the filesystem, specified by the php.ini.
There is a thread archived on Google
I'm new to PHP so bare with me please. I'm collect data fine from mySQL
into an accociative array. I can display it fine. Here's the issue:
** Looks like this:
GALLERY 1
Item Name Item Desc
GALLERY 2
Item Name Item Desc
GALLERY 2
Item Name Item Desc
GALLERY 3
Item Name
On 15 Mar 2002, Jim wrote:
** Should look like this
GALLERY 1
Item Name Item Desc
GALLERY 2
Item Name Item Desc
Item Name Item Desc
GALLERY 3
Item Name Item Desc
I have 2 tables: tblGalleries and tblItems. tblItems has a column
(itmGalley_ID) that corresponds
Does anyone have time to run this code?
This is definitely weird. Either a Windows or a code problem. If I set:
$to_path = c:\\ccl_www\\.$date.ccl_www\\;
to:
$to_path = c:\\ccl_www\\.$date.\\ccl_www\\;
(I add \\)
It fails to create c:\ccl_www\20020315\ccl_www, but otherwise will
create c
Thanks Miguel,
I sort of figured I wasn't doing something right. Thanks for setting me
straight on switching between html and php. Sort of basic, but I didn't know
whether I needed to do that everytime.
Sorry for the delay in replying -- just as I received your message, we had
company over.
Thanks Justin,
It wasn't pseudo code -- I just didn't know what I was doing! :
I didn't know I had to brace php code with ?php . . . ?.
I like your method as well -- I'll give it a try.
Thanks for replying,
Regards,
Andre
On Friday 15 March 2002 19:58, you wrote:
I haven't had any
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
Uh oh, did I ask this question before? If I did, I'm very sorry. =(
David Robley [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] says...
Note that I'm
Miguel,
No, You're right I wasn't running E=All. It's a windows machine, so I have
all the write priveledges I want.
These are the errors I'm getting:
Warning: stat failed for c:\ccl_www\MarFriccl_www\ (errno=2 - No such
file or
directory) in C:\WINDOWS\Bureau\php\microweb\backup4.php
On Saturday 16 March 2002 06:21, Carlos Fernando Scheidecker Antunes wrote:
Hello all,
Does anyone know if shell_exec waits to have whatever it was passed to
be executed before returning to the script?
I am asking that because I need to write a script to compact files to a
zip and then
1 - 100 of 105 matches
Mail list logo