Ho can I create (name) a variable with other variables value?
If $foo = "bar";
then the variable I want to create is $bar.
How do I do this?
-antti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How do I test if a mysql table exists or not? Is there a function for
this? I didn't find a good one.
-antti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How do I get the directory size? Suppose there is a function for this.
antti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You don't even have a "file" form element, or an element named
"userfile" so your FOR loop will never run...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
Yes I do. I just forgot to put it
the proglem.
After all these changes it still doesn't work =(...
antti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Marek Kilimajer wrote:
Show us the code
Antti wrote:
1lt John W. Holmes wrote:
Ok now I am able to send the request. I set the post_max_size into
50M
and now when the request is sent the whole apache goes down
giving: "The
document containd no data" everytime I send a reques
1lt John W. Holmes wrote:
Ok now I am able to send the request. I set the post_max_size into 50M
and now when the request is sent the whole apache goes down giving: "The
document containd no data" everytime I send a request. I tried also 10M
but same happens. What the h**l is this?
Do you have
1lt John W. Holmes wrote:
Ok now I am able to send the request. I set the post_max_size into 50M
and now when the request is sent the whole apache goes down giving: "The
document containd no data" everytime I send a request. I tried also 10M
but same happens. What the h**l is this?
Do you have
Marek Kilimajer wrote:
check max_post_size in php.ini
Antti wrote:
When I push the submit button it starts to send the request to my
server and uploads a file, but if I upload more than one at a time it
doesn't even start to upload them. My upload max should be like 50M in
php.ini. Wh
12:03 AM, Antti ([EMAIL PROTECTED]) wrote:
When I push the submit button it starts to send the request to my server
and uploads a file, but if I upload more than one at a time it doesn't
even start to upload them. My upload max should be like 50M in php.ini.
What is the problem.
antti
When I push the submit button it starts to send the request to my server
and uploads a file, but if I upload more than one at a time it doesn't
even start to upload them. My upload max should be like 50M in php.ini.
What is the problem.
antti
--
PHP General Mailing List (http://www.ph
I want to for example give commands to mpg321 when it is executed with
the -R option (remote control mode). Is this possible with exec() or
other execute php functions. What I mean is to execute commands while
being in a shell program. Hope you got it!
antti
--
PHP General Mailing List (http
7;$value3')";
mysql_query($query) or die ("Couldn't make query!");
print "File Upload and rename succesful!";
} else { print "File Upload failed!"; }
}
antti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7;);
session_unregister('variable')
?>
and into:
session_start();
$_SESSION['variable'] = 'foo';
$_SESSION['variable'] = 'bah';
unset($_SESSION['variable']);
?>
MUCH cleaner to work with :)
Justin
on 17/12/02 10:35 PM, Antti ([E
7;);
session_unregister('variable')
?>
and into:
session_start();
$_SESSION['variable'] = 'foo';
$_SESSION['variable'] = 'bah';
unset($_SESSION['variable']);
?>
MUCH cleaner to work with :)
Justin
on 17/12/02 10:35 PM, Antti ([E
How can I change the values of session variables
(session_register('variable');) in a session. Do I just
unset($variable); and do session_register() again and give it a new
value. I tried this and it seems that it doesn't work.
Antti
--
PHP General Mailing List (http://w
$array = explode("-",$song);
---John Holmes...
Ok, I got this. But still I don't know how to read the files from a
directory and put them into an array so I can explode them.
antti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] wrote:
Wouldn't it be simpler to just remove the '-'?
$var = str_replace("-","",$var);
Ed
On Thu, 12 Dec 2002, Antti wrote:
How can I take some text before the mark - and after it and put them for
example in array. The purpose of thi
How can I take some text before the mark - and after it and put them for
example in array. The purpose of this is to read trough mp3 files which
are in the form of artist - song.mp3 and put them into a text file so I
can put them into mysql db.
antti
--
PHP General Mailing List (http
How can I count how many code lines I have written? I have many php
files in one directory. I'm using linux.Do you know any non-php way to
count the lines.
thanks, antti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sean Burlington wrote:
Antti wrote:
How can I add lines to a text file? I didn't find any function for this.
Thanks, antti.
just open it in the right mode
if you just need to add to the end of the file without doing anything
else with it first
$fp = fopen ("/home/rasmus/fil
How can I add lines to a text file? I didn't find any function for this.
Thanks, antti.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Ive got a textarea control on a form where a user will enter info, i
> want to enter this info into an interbase db,ive limited the space to
> 200 characters in the text area [snip]
Also remember that you must never trust what you get from the browser. Make
the script check out that the input i
23 matches
Mail list logo