javascript has pretty strict permissions when run via the browser
itself, so I would say no. Unless you instruct your user to run the
Javascript via the system itself... but you can't expect that from a
simple user.
Besides that, a user can choose to turn off JavaScript, or even make it
run so
Hi there,
I'd like to know your opinion about how to handle events that may take
more than a minute to finish in PHP. In this case, the code is
performing a recursive action on a large LDAP tree where I'd like to
present something like a status page ("Please wait, blah blah" with
some animated
Hello All,
Just beginning to experiment with encryption using the mcrypt library and
I'm wondering if anyone can tell me if it's normal that the following code
always seems to return exactly the same value whenever executed on my
system:
$td =
mcrypt_module_open('rij
I have a single php script that I am using to upload my gaim logs to a
mysql server, but I want to put in some type of means to where if that
log was already added then it will exit. what ways would you
recommend?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www
On Sat, 26 Feb 2005 23:04:59 -0700, Jason Bennett <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm having this problem trying to upload a file using PHP. I am using
> Apache (compiled from source) and PHP 5.0.3
>
> The entire contents of the page is:
>
>
>
>
>
>
>
> The entire script is:
>
>
Hello,
Can some please guide me as to how should I move files from one
directory to another on the server itself using PHP ? I use PHP 5.0.3
and Apache2 and Mysql.
Thanks
Vaibhav
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Vaibhav Sibal wrote:
Hello,
Can some please guide me as to how should I move files from one
directory to another on the server itself using PHP ? I use PHP 5.0.3
and Apache2 and Mysql.
Please, RTFM > http://www.php.net/manual/en/function.copy.php
Please, don't cross post.
--
PHP General Mailing Lis
Colin Olkowski wrote:
Hi All,
So I've been using my own php to search my site
(http://hiptingle.spydigital.com) and for a while it was fine...But recently
I put in a logging system just to see what people were searching for and
realized they aren't finding what they're seeking. I wrote all search
Vaibhav Sibal wrote:
Hello,
Can some please guide me as to how should I move files from one
directory to another on the server itself using PHP ? I use PHP 5.0.3
and Apache2 and Mysql.
Thanks
Vaibhav
http://www.php.net/copy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
mbneto wrote:
Hi,
I have a bunch of M$ WORD documents (rtf and doc) that I'd like to
transform to pdf.
It would simple except that I'd like to allow the user to fill a
couple of variables (name, email, telephone) and replace this before
if generates the pdf.
After searching the net I found some cla
how about an if else statement?
-justin
On Sun, 27 Feb 2005 09:55:23 +, timothy johnson
<[EMAIL PROTECTED]> wrote:
> I have a single php script that I am using to upload my gaim logs to a
> mysql server, but I want to put in some type of means to where if that
> log was already added then it
Hi
I'm building a script that makes a list of files available in a directory
(PHP 4.3.10, Apache 2.0.53, windows, NTFS file system). The XHTML is served
as ISO-8859-1. However, I'm having trouble in generating correct links for
files with accents, etc.
The problem is rawurlencode() appears to co
Does PHP 4.3.10 have any specific dependencies that might not be found on a
RH Linux 7.1 server currently running PHP 4.0.6?
Please reply to news group only.
P.S. Very disappointed that this newsgroup does not allow posting with
anonymous email addresses. The *INSTANT* I receive my first piece of
> Does PHP 4.3.10 have any specific dependencies that might not
> be found on a RH Linux 7.1 server currently running PHP 4.0.6?
Do you think you could be more descriptive with your problem? What is
currently failing when you try to build PHP? Have you looked at the
configure command as shown b
"Mikey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > Does PHP 4.3.10 have any specific dependencies that might not
> > be found on a RH Linux 7.1 server currently running PHP 4.0.6?
>
> Do you think you could be more descriptive with your problem? What is
> currently failing wh
Hi all!
This is probably a stupid question, but I have to ask :)
Which takes less processing?
1)
/***/
2)
///
3)
//*
4)
/*
I'm a noOb
:)
*/
5)
//
// text
//
Thanks!
Pedro.
--
PHP General M
I believe you must have
Pedro.
-Mensagem original-
De: Jeremy Freedman [mailto:[EMAIL PROTECTED]
Enviada: sábado, 26 de Fevereiro de 2005 20:54
Para: php-general@lists.php.net
Assunto: [PHP] file uploads
I got the files to upload correctly using http://www.php.net/)
To unsubscribe, v
pmpa wrote:
Hi all!
This is probably a stupid question, but I have to ask :)
Which takes less processing?
not stupid.
say there is a few microseconds of difference in the parsing/compiling
(in the case of comments the zend engine is more or less stripping
them out as far as 'building a runable scri
On Sun, 2005-02-27 at 14:33, pmpa wrote:
> Hi all!
>
> This is probably a stupid question, but I have to ask :)
> Which takes less processing?
Run a test. Regardless though, since the parsing time is so miniscule, I
always use // for comments so that when I want to temporarily comment
out blocks
Thanks Jochem. You're great!
-Mensagem original-
De: Jochem Maas [mailto:[EMAIL PROTECTED]
pmpa wrote:
> Hi all!
>
> This is probably a stupid question, but I have to ask :)
> Which takes less processing?
not stupid.
say there is a few microseconds of difference in the parsing/compil
pmpa wrote:
Thanks Jochem. You're great!
no. rasmus, for instance, is great. I'm a parrot :-)
but thanks for the compliment.
should a parrot respond to a thank you?
-Mensagem original-
De: Jochem Maas [mailto:[EMAIL PROTECTED]
pmpa wrote:
Hi all!
This is probably a stupid question, b
If you installed PHP from the Redhat RPMs, you may want to see if the
fedoralegacy project has a newer RPM for your distribution.
Otherwise, you're somewhat on your own. What I would do is, run phpinfo,
it will output the configure options used to build PHP, copy those and then
run them on your 4.3
Hi Jochem,
My system runs on linux so the com part seems to be out.
What I refer as rewrite is that the classes that I saw have some
primitives where I have to call in order to write the text, images and
so on.
Ideally I'd take my word documents, replace the dynamic parts with
special codes so w
Hello,
on 02/26/2005 09:25 PM Dustin Krysak said the following:
Hi there, I have a script that uses the mail() function, but for some
reason the script takes a really long time to finish processing (like 5
minutes). there are some other functions performed (like sql insert,
etc) that happen imme
Your email ended up in my gmail spam box. That should tell you something.
On Fri, 25 Feb 2005 16:04:24 -0800, Tyler Replogle <[EMAIL PROTECTED]> wrote:
> I think it didn't because i wasn't getting an emails for a while last night.
> I wanted one too becuase i didn't have the email to start a new
Hi!
I'm using this at the end of a script
echo ''; var_dump(get_defined_vars()); echo '';
but it only returns what get_defined_vars gives, which is what's
available in the current scope. Is there any way to get also the vars
used in functions that weren't globalized?
TIA!
Crisitan Lavaque
--
PHP
Does someone know of a mailing list tool that runs via PHP that can
check periodically (ie via a scheduled task) an email account for a
message and then send it out to an entire list of addresses?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
Dave:
I visited your website. I see that you wish to put the links in the middle
of the text, which I didn't understand before.
Now, if you let your users write tags you are bound to have a substantial
number of them who don't even know what 'tag' means, let alone any
occasional malice.
Perhaps
Yeah i wasn't think. I've already ruled that out i guess i'll have to
use java.
From: "M. Sokolewicz" <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Subject: Re: [PHP] getting mac id
Date: Sun, 27 Feb 2005 09:29:41 +0100
MIME-Version: 1.0
Received: from lists.php.net ([216.92.131.4]) by mc
> I'm using this at the end of a script
>
> echo ''; var_dump(get_defined_vars()); echo '';
>
> but it only returns what get_defined_vars gives, which is what's
> available in the current scope. Is there any way to get also the vars
> used in functions that weren't globalized?
No, not unless y
Brian A. Anderson wrote:
Hey,
Now, how about taking that variable and executing it? How might one do this?
For instance:
I might have an asp page on one server(Yeah, I have to use asp on that
server) generate the results in the form of a bit of php code, and pass it
to my php script via include me
I am trying to make a small menu system using javascript, but the
values that I want to use come from php/mysql. I can get the code to
work when I type in the values but when I try to use php. it doesnt
process the php. you view source and you can see the php functions. I
have tried naming the file
were those two sections in the same file? "entire contents" and
"entire script" can be a bit unclear. if they are in the same file...
u might want to put an
if (!empty($_FILES['myfile']['name'])) {
//second section that handles files upload
// the $uploaddir = "/tmp"; part
}
it would be good to g
use php to output the javascript code just as u'd do it for html
(since the javascript code is IN the html).
if ur js is ready:
JS_TEXT;
?>
the
John Holmes wrote:
I'm using this at the end of a script
echo ''; var_dump(get_defined_vars()); echo '';
but it only returns what get_defined_vars gives, which is what's
available in the current scope. Is there any way to get also the vars
used in functions that weren't globalized?
No, not unles
On Fri, 25 Feb 2005 15:52:02 -0800, Tyler Replogle <[EMAIL PROTECTED]> wrote:
> Hey,
>
> I've been on this mailing list for quite a while, but i think this is my
> first question. I'm not sure though.
>
congrats on managing not to exceed ur account limit ;-)
especially since u've "been on this m
I have installed MySQL 4.1.10 from RPMs from MySQL. I have installed PHP
5.0.3 from source and specified "--with-mysql=shared,/usr" on the
configure line. Things seem to build and load correctly, but (after
restarting Apache) when I try to run phpMyAdmin, I get the following error:
cannot load
Rackspace will only support 7.1 up to the point where RPMs hit eol.
Translation: They stopped supporting 7.1. Because Rackspace donates the
server for SurfSafely.com, "telling" my support team would be a bit harsh.
Asking is what I do and they're still deliberating. While they deliberate,
here is w
The first execution of the file below produces the expected output:
Request Method: GET
Clicking on the Submit button outputs:
Request Method: POST
$_POST array contains:
Array
Why don't I see one of the values from the select item?
Gregg Nelson wrote:
The first execution of the file below produces the expected output:
Request Method: GET
Clicking on the Submit button outputs:
Request Method: POST
$_POST array contains:
Array
Why don't I see one of the values from the select item?
--
Thank you for your very quick answer. As you may have already guessed, I'm
new to PHP, and struggling with the the most basic operations.
I modifed the 'echo' as suggested and also added a 'printr" statement.
The modified portion of the script is below
if ($_SERVER['REQUEST_METHOD'] == "POST
I just installed a new MYSQL version 4.1 (from 4.0) and now none of my
PHP scripts work anymore. They are all complaining about attempting to
login as root. Normally, I referance a class like:
class DB
{
function DB()
{
$this->host = "127.0.0.1:3306";
$this->db = "mydatabase"
Jason Bennett wrote:
I just installed a new MYSQL version 4.1 (from 4.0) and now none of my
PHP scripts work anymore. They are all complaining about attempting to
login as root.
I'm going to guess that you didn't setup MySQL 4.1 to accept 'old-style'
passwords.
--
By-Tor.com
...it's all about t
Gregg Nelson wrote:
Clicking on the submit button now produces:
--
Request Method: POST
Using foreach loop, $_POST array contains:
Array
Using printr, $_POST array contains:
Array
(
[item] => Array
(
[0] =>
Oooo.. good one. I used the RPM install for MySQL.. can you point me in
the right direction for doing this?
Thanks!!
J.
-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 27, 2005 9:40 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Hmmm
Jason Be
Jason Bennett wrote:
Oooo.. good one. I used the RPM install for MySQL.. can you point me in
the right direction for doing this?
Thanks!!
J.
Google is your friend...
http://www.google.com/search?q=mysql+4.1+accept+old+password
--
By-Tor.com
...it's all about the Rush
http://www.by-tor.com
--
PHP G
well, for some reason it didn't compile in the mysql extension at all...
even though it was configured to. That's strange, and I have no idea why
it would do that. However, since you're using mysql 4.1.x, you should be
using the mysqli interface anyway. Even phpmyadmin has the option to use
mys
47 matches
Mail list logo