Does this work for the original poster?
Does not work for me (of course I am going the opposite way, wanting to
test scripts one-by-one to verify they work with register_globals off)
running: ini_set(register_globals, 0);
(and, tried both) ini_set(register_globals, Off);
According to the docs
man chown
(change ownership) (i.e. chown my_username:my_groupname directory)
-or-
man chmod
(change permissions)(i.e. chmod uga+w file_name -or- chown 4777
file_name)
-Brad
Bryan wrote:
Situation:
I want to create a file to a directory, but the premission denied, how to
solve this problem
Can't you make a form?
Lets say you have a lexical database for categories like:
IDNAME
1 Anime
2 Action
etc...
then in the form so:
select name='cat'
?php
$query = select * from categories;
$result = run_query($query);
while($row = fetch_array($result)
{
echo option
that's: $_SEVER['HTTP_HOST']
Cirstoiu Aurel Sorin wrote:
I also tried $_HTTP['HTTP_HOST']. Not working. The host has php 4.1.2
version
--
Cirstoiu Aurel Sorin
InterAKT Support
http://www.interakt.ro
Erwin [EMAIL
Well, when you run the command:
$sql2_results = mysql_fetch_array($top_level);
The first time, it automatically increments the result...
so you fetch the data bu do nothing with it...
so when you get to your loop, you are already at the second entry in
your database..
So, remove the first
;
echo td$tabledata[6]/td;
echo td$tabledata[2]/td;
echo td$tabledata[3]/td;
echo /tr;
}
print /table;
-Original Message-
From: Brad Bonkoski [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 3:34 PM
To: Steve Gaas
Cc: [EMAIL PROTECTED]
Subject
The best way IMHO, to debug problems like this is to echo out your
insert query to the screen and not actually run the query, or run it and
make sure you use:
$sql = INSERT INTO employees (first,last,address,position) VALUES
('$first','$last','$address','$position');
$result = mysql_query($sql)
201 - 207 of 207 matches
Mail list logo