--- Anthony Ritter <[EMAIL PROTECTED]> wrote:
> Fine Chris.
>
> Maybe you'd be kind enough to explain how I can get that function to work.
This is an example of what I am talking about. I would love to help, but you
are leaving out way too much information. What function? Why do you think it
does
HI Pierre et al...
On Tuesday 25 February 2003 18:54, Pierre Vaudrey wrote:
> The download address is :
>
> http://www.maguma.com/products/download.php
>
> Pierre
Thanks for the address. I looked into it closer and I find that it is only for
Windows. Pity.
Does anyone know of a PHP editor for
Chris,
The function I'm trying to get...it's:
imagecreate()
I am using MS Win 98 / PHP 4 and Apache.
I tried running the following script but got an undefined call to
imagecreate()
The following copy is located in my php.ini file...one of which is:
..
;extension=php_gd.dll
...
Hello,
Does anyone know a way to do this easily? I have a script that pretty much
says "this is due on the first of next month" but I would like it to
actually use the correct date.
Thanks,
Bryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
> Does anyone know a way to do this easily? I have a script that pretty much
> says "this is due on the first of next month" but I would like it to
> actually use the correct date.
You would think strtotime("first of next month") would work, but it doesn't.
This does:
$t = mktime(0,0,0,date('m')+
--- Bryan Koschmann - GKT <[EMAIL PROTECTED]> wrote:
> Does anyone know a way to do this easily? I have a script that pretty much
> says "this is due on the first of next month" but I would like it to
> actually use the correct date.
Well, you need:
1. The day of the month, which is always going
Use the mktime function:
mktime (0,0,0,(date("n",$date)+1),1,date("Y",$date))
Where the variable $date contains whatever is the starting date. The
function handles a December date just fine also.
On Wednesday, February 26, 2003, at 03:28 PM, Bryan Koschmann - GKT
wrote:
Hello,
Does anyone know
How can I attach mcrypt to PHP (FreeBSD) without recompile whole PHP ?
How can I compile mcrypt as PHP shared module ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wednesday 26 February 2003 02:19 pm, James Hatridge wrote:
[snip]
> Thanks for the address. I looked into it closer and I find that it is only
> for Windows. Pity.
It will run on linux using wine. Yes, I've tried it...it works!
~Paul
- --
~Paul Ni
> I have a confirmation of "membership" page a user would arrive at after
> clicking on a URL in an email. After they click on a link in this page I
> want to delete the page itself so it will only exist for this one use.
> The URL in the page does go to another "Welcome" page which is on
> ano
On Wed, 26 Feb 2003, 1LT John W. Holmes wrote:
|You would think strtotime("first of next month") would work, but it doesn't.
|This does:
|
|$t = mktime(0,0,0,date('m')+1,1,date('Y'));
|
|Gives you timestamp of first day, next month. Format accordingly with
|date().
Thats great, worked perfectly!
I'm having a problem figuring out how to prevent preg_replace() from
replacing substrings when one element of the pattern array matches a
portion of a string that would match a subsequent value in the pattern
array.
Say I have an two arrays:
find => Array
(
[0] => 'f
Warning: Unknown(path/index.php): failed to create stream: Permission denied
in Unknown on line 0
Warning: Unknown(): Failed opening '/path/index.php' for inclusion
(include_path='.:/path/phpinc/') in Unknown on line 0
What in the world is going on here? I've set all my files to 777 just to
test
Hello php-general,
I need to be able to add and delete to a text file that look like
this. I only need to manipulate the part after site:x:503:
site1:x:503:tester1,tester6
site2:x:504:
site3:x:505:
site4:x:506:
site5:x:507:
site6:x:508:
site7:x:509:tester2,tester3,tester4
site8:x:510:
site9:x:511
Hello,
Should start off my saying I do not know about Active Directory
specifically, but I have used the PHP LDAP support a lot against other
directory servers.
What I see straight off is that $user_dn does not look like a
distinguished name. I would have expected something like:
$user_dn =
Looks to me like a judiciously place $info = array(); would do wonders.
Bill
--On Wednesday, February 26, 2003 08:23:39 AM -0500 Jim Greene
<[EMAIL PROTECTED]> wrote:
> Strange problem: Taking the 2 halfs of the scripts (the section to
> update uidNumber and the one to add the user) and combini
Hi to all,
I wrote a small form which dumps data to a php script that uses mail ()
to send an html newsletter, so far is working except
that it's not sending to BCC: headers, in my form I have a field to
enter a comma delimited email list, after submiting the form this list
is stored under one var
Yeah I am having the same problem also.. it used to work and Im not sure
when it happened.. it just doesn¹t work anymore.. Someone enlighten us?
Rick
When one door closes, another opens; but we often look so long and so
regretfully upon the closed door that we do not see the one which has opened
I recently created some scripts to rotate ad banners
on my site. One script is called show.php, which
serves the banner. The other is called click.php,
which redirects the people to the proper site for the
banner they clicked on.
Some people have noticed that when they click on the
banner, they go
What about using a ';' semicolon seperated list.
Ricardo Fitzgerald wrote:
Hi to all,
I wrote a small form which dumps data to a php script that uses mail ()
to send an html newsletter, so far is working except
that it's not sending to BCC: headers, in my form I have a field to
enter a comma deli
Hi,
I'm making a site for a non-profit and I need to be able to handle donations
online. I can't use paypal because the donations need to be seamlessly
integrated with the site, also I will need to do a fair amount of
customization to the donation forms, like matching funds, gift in another
person
Chris, et al --
...and then Chris Hayes said...
%
% At 18:32 26-2-03, you wrote:
% >I have a confirmation of "membership" page a user would arrive at after
% >clicking on a URL in an email. After they click on a link in this page I
% >want to delete the page itself so it will only exist for thi
apparently the path to an include is not correct.. Check you have the
correct path for your include();
chmod 777 might not be the answer.
warm regards,
Sebastian - [BBR] Gaming Clan
http://www.broadbandreports.com
- Original Message -
From: "Richard Baskett" <[EMAIL PROTECTED]>
To: "PHP
> On Wed, 26 Feb 2003, 1LT John W. Holmes wrote:
>
> |You would think strtotime("first of next month") would work, but it doesn't.
> |This does:
> |
> |$t = mktime(0,0,0,date('m')+1,1,date('Y'));
> |
> |Gives you timestamp of first day, next month. Format accordingly with
> |date().
>
> Thats great
Yes, with either sessions, POST or GET, you need to let the second page know
that it has to delete the other page, and then delete it with unlink...
although I'm SURE there's gotta be a better way to do all this rather than
creating/deleting files for each member.
Justin
on 27/02/03 4:32 AM, Pau
> [snip]
> >Not to be nosey or anything but "usually" session data will always be saved
> >or not. How come one would want to check to see if is was or not.
> [snip]
Maybe I am on the wrong track but the other day I
every so often i get a blank email that contains an attachment, a ATTxyz.dat
and ATTxyz.txt why?
I just got a reply from David T-G, Thread "Deleting a page after viewing it"
and its blank with an attachment..
warm regards,
Sebastian - [BBR] Gaming Clan
http://www.broadbandreports.com
Yeah, get a new host :)
J
on 27/02/03 11:36 AM, Mr Percival ([EMAIL PROTECTED]) wrote:
>
>> [snip]
>>> Not to be nosey or anything but "usually" session data will always be saved
>>> or not. How come one would want to check to see if is was or not.
>> --
At 01:36 27.02.2003, Mr Percival said:
[snip]
>What I was hoping to do was to be able to give a error message if the server
>was having this problem, but in order to do that I was needing a way of
>knowing if it was because the session_start failed or users
25
Larry S. Brown
Dimension Networks, Inc.
(727) 723-8388
-Original Message-
From: Sascha Braun [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 12:00 PM
To: PHP General list
Subject: [PHP] Emacs?
How many Persons in this List are using Emacs as there default Editor?
--
PHP Ge
on 27/02/03 11:55 AM, Larry Brown ([EMAIL PROTECTED]) wrote:
> 25
ahahahahahahaha
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I think paypal can be used. I created a script that
gets all their information passed from paypal's server
where it updates their account on mine. Very seemless.
J.
__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.
Me.
Sascha Braun wrote:
How many Persons in this List are using Emacs as there default Editor?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thank you chris and marek..
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi to all,
Im having a problem writing an HTML code in a text file which comes from the
html text area as an editor. There's an added characters inserted to it. How
could i write to it perfectly?
mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/u
Anyone do MySQLDump using PHP ?
http://www.mysql.com/doc/en/mysqldump.html
My code is:
mysqldump -u ** -p ** -A > /home/mybackups/dump_all.sql
I would like to pull it off using PHP, remotely.
$date = date ("Ymd");
$to_path = "/home/MyBackups/$date/dump_all.sql";
mysqldump -u ** -p
You need to use exec, system, etc. Here is a script that I recently put together. It
backs up the database, and pushes it as a download to the user.
Hope this helps,
Joseph
"John Taylor-Johnston" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Anyone do MySQLDump using PHP ?
>
u. that should read:
exec("mysqldump -c -q database -u user -ppassword", $sql);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> At 01:36 27.02.2003, Mr Percival said:
> [snip]
> >What I was hoping to do was to be able to give a error message if the
> server
> >was having this problem, but in order to do that I was needing a way
of
> >knowing if it was because the session_start faile
You can use the GD image functions or ImageMagick to resize images. More
about GD can be found in the PHP manual at http://www.php.net/manual.
Jason
On Wed, 2003-02-26 at 07:36, Anthony Ritter wrote:
> I'd like to use (with permission) .jpg files from a webcam from another URL.
>
> Once that URL
> Im having a problem writing an HTML code in a text file which comes
from
> the
> html text area as an editor. There's an added characters inserted to
it.
> How
> could i write to it perfectly?
You have a problem on line 9 of your script after the 'e'.
---John W. Holmes...
PHP Architect -
Hello Mike,
You will need to better describe your problem and preferably show some
source code.
What characters are being added to it? You could use str_replace or the
regular expression replacement functions but you should not get added
characters in general.
Jason
On Wed, 2003-02-26 at 19:07,
Not that I am aware of, it seems you would be better off using SSL, if
you are concerned about someone hijacking the sessions you could
generate your own session id (I generate random 80 character session ids
instead of 32) and also limit the life of the session, you could write
logic to change the
Hello Vladimir, you can run phpize in the mcrypt extension directory in
your PHP source code, then copy the .so file to your PHP extension dir
and either add an extension line to your php.ini file or use dl to load
the extension at run time. Generally I just compile it in at PHP
configure time as
I need to be able to preserve line breaks when a user types in multiple
lines in a multitple line test area. Right now if I echo $_POST['textarea']
I get everything on one line. Is there any way to do this? Thanks!
-Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Make that a multitple line TEXT area, not a test area :)
-Greg
"Gregory Chagnon" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I need to be able to preserve line breaks when a user types in multiple
> lines in a multitple line test area. Right now if I echo
$_POST['textarea']
> I
> I need to be able to preserve line breaks when a user types in
multiple
> lines in a multitple line test area. Right now if I echo
> $_POST['textarea']
> I get everything on one line. Is there any way to do this? Thanks!
> -Greg
www.php.net/nl2br
---John W. Holmes...
PHP Architect - A month
That would work, only I need to copy this text to a file without the
in it.
-Greg
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > I need to be able to preserve line breaks when a user types in
> multiple
> > lines in a multitple line test area. Right now if I ec
The newlines are preserved. Do a view source of your page where you're
displaying it and you'll see what I'm talking about. HTML just doesn't
render newlines, only . If you're seeing something different, then
show your code and explain this more.
---John W. Holmes...
PHP Architect - A monthly mag
Thanks John, you're right
-Greg
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> The newlines are preserved. Do a view source of your page where you're
> displaying it and you'll see what I'm talking about. HTML just doesn't
> render newlines, only . If you're seeing
Hello,
On 02/26/2003 07:40 PM, Ricardo Fitzgerald wrote:
I wrote a small form which dumps data to a php script that uses mail ()
to send an html newsletter, so far is working except
that it's not sending to BCC: headers, in my form I have a field to
enter a comma delimited email list, after submit
sorry here's the sample code:
/textarea>
the html file upon modify multiplies all the backslashes.
any idea why? thanks in advance.
- Original Message -
From: "Jason Sheets" <[EMAIL PROTECTED]>
To: "Michael P. Carel" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, Fe
Hello,
On 02/26/2003 07:58 PM, Joseph Bannon wrote:
I recently created some scripts to rotate ad banners
on my site. One script is called show.php, which
serves the banner. The other is called click.php,
which redirects the people to the proper site for the
banner they clicked on.
Some people have
Thanks!
> exec("mysqldump -c -q database -u user -ppassword", $sql);
Why is there no space between the -p and password?
>-ppassword
Am I wrong?
Thanks,
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
When I submit a form with a text area containing the test "//server/share"
and try to echo the variable it echos "server//share". Is there any way
to prevent the extra /'s? Thanks!
-Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Stripslashes I think.
Gregory Chagnon wrote:
> When I submit a form with a text area containing the test "//server/share"
> and try to echo the variable it echos "server//share". Is there any way
> to prevent the extra /'s? Thanks!
> -Greg
--
John Taylor-Johnston
--
I am using php_flag session.auto_start 0 in an .htaccess file to stop
sessions from auto starting. It works on all but the one below, it still
auto starts. The session replaces linked style sheets on the page
through some links. Can anyone see the problems?
session_start();
if ( isset($_GET['
Trying using stripslashes() on the string variable prior to displaying
it. That *might* not work for you, but I'd try that first.
---Matt
-Original Message-
From: Gregory Chagnon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 11:12 PM
To: [EMAIL PROTECTED]
Subject: [PHP] O
Don't you mean 42?
> -Original Message-
> From: Larry Brown [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 7:55 PM
> To: PHP List
> Subject: RE: [PHP] Emacs?
>
> 25
>
> -Original Message-
> From: Sascha Braun [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 25,
Unless of course, you are listening into the network connection :-)
Jason Sheets wrote:
>
> Not that I am aware of, it seems you would be better off using SSL, if
> you are concerned about someone hijacking the sessions you could
> generate your own session id (I generate random 80 character sess
This works:
exec("mysqldump -u -p -A > test.sql");
This doesn't.
exec("mysqldump -u -p -A > $filename");
:)
$filename");
echo "dump completed on $filename ";
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Scratch that. Had a CHMOD problem.
Sorry.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
So I'm trying to implement a URL system like so:
http://domain.org/issues/2003/feb/article-name/
such that http://domain.org/issues/index.php will display the requested
page. I've read a little about this
(http://www.alistapart.com/stories/succeed/) and have gotten it to work for
the most part, b
hi richard
> The problem with some of the VBA functions is that the first and last
> parameter need to be set and the ones in the middle have no
> meaning and
> cannot be present. This can only be achieved by using named
> parameters. The
> GoTo method, as a function, in VBA would be ...
sooner
Genius!
Thank you very much.
Can this example be added to the PHP Manual? All the online examples I've
seen relate to functions which you can pass the first few params and no
more. In this case having to pass the first and last param is not mentioned.
This simple example demonstrates the use of
Hi Harald.
The problem with some of the VBA functions is that the first and last
parameter need to be set and the ones in the middle have no meaning and
cannot be present. This can only be achieved by using named parameters. The
GoTo method, as a function, in VBA would be ...
GoTo(wdGoToBookmark,
I have to uninstall my Apache 2.0.x that came along with RedHat 8.0 because
the httpd (rpm) in RH8.0 does not have Apache apxs (why dont they include
it).
I need apxs to install lxp... (it seems lxp can only be installed on a
customized Linux platform... USER NOT FRIENDLY :( )
I already have PH
Just install the apache-devel package which is where the apxs tool lives.
-Rasmus
On Thu, 27 Feb 2003, Patrick LOK wrote:
> I have to uninstall my Apache 2.0.x that came along with RedHat 8.0 because
> the httpd (rpm) in RH8.0 does not have Apache apxs (why dont they include
> it).
>
> I need a
But where is the package?
rgds
./pl
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Just install the apache-devel package which is where the apxs tool lives.
>
> -Rasmus
>
> On Thu, 27 Feb 2003, Patrick LOK wrote:
>
> > I have to uninstall my Apache 2.0.x that came
101 - 169 of 169 matches
Mail list logo