On Sunday, August 31, 2003, at 04:38 PM, Catalin Trifu wrote:
Does the user under wich the Apache server runs (implicitly PHP)
has write access to those directories ?
Hmm... I don't know. Not exactly sure how Apache runs under OS X. I see
a handful of httpd processes which are under the use
php-general Digest 31 Aug 2003 23:38:33 - Issue 2270
Topics (messages 161291 through 161326):
Re: PHP SESSION timeouts
161291 by: Catalin Trifu
Re: manual/eng
161292 by: Paul Marinas
161294 by: David
161296 by: David
161298 by: David
Re: Help with co
Hi,
Does the user under wich the Apache server runs (implicitly PHP)
has write access to those directories ?
Cheers,
Catalin
"Seth Willits" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Warning: imagejpeg(): Unable to open
> 'thumbnails/marching/years/2000/Miscellane
Warning: imagejpeg(): Unable to open
'thumbnails/marching/years/2000/Miscellaneous/24left.jpg' for writing
in /Library/WebServer/Documents/pictures/list.php on line 28
I'm looping through a directory and creating thumbnail images and in
doing so, I get the error above for each image. The co
You can try to place the swf into a frame or div so browser will cache it.
The next request will read the swf from cache (assuming that you are not
requesting the flash file using some variables)
- Original Message -
From: "Catalin Trifu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: S
> Sure can:
>
> $im = imagecreatefromgif('/path/to/image.gif');
> imagejpeg($im, '/path/to/converted.jpg');
Thank you sooo much! I was completly sure that due to the
lizence claims it was not possible with gd > 1.6
This solves lots of my problems.
Have a great day,
merlin
Curt Zi
http://www.interactivetools.com/products/htmlarea/
this is not concerning php but javascript
-Mensaje original-
De: Todd Cary [mailto:[EMAIL PROTECTED]
Enviado el: domingo, 31 de agosto de 2003 21:18
Para: [EMAIL PROTECTED]
Asunto: [PHP] Input area allowing text formatting
I would like t
I would like to provide the surfer with a text input area that would
give a means of using bold, underline and different text colors. Can
this be done with PHP?
Todd
--
<>
* Thus wrote Merlin ([EMAIL PROTECTED]):
> h. I see your point.
>
> Imagemagick does not need to rebuild the configure, but the pear extension:
>
> 5) cd /usr/src/php/ext/imagick
> 6) phpize
Ahh.. that explains it all :)
>
> I need to be able to convert gifs to jpegs. GD cant do thsi, r
Hi,
Did you use a in HTML ?
Notice the POST method. You can also use $_REQUEST, which hold all
variable posted, either by POST or GET.
Cheers,
Catalin
"Ted Yu" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
> I found that $_POST['name'] is empty inside my PHP
Hi,
I found that $_POST['name'] is empty inside my PHP script whose previous
HTML page has the following:
How can I retrieve values in input fields ?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
h. I see your point.
Imagemagick does not need to rebuild the configure, but the pear extension:
5) cd /usr/src/php/ext/imagick
6) phpize
7) cd /usr/src/php
8) rm ./configure
9) ./buildconf
10) run configure as you normally would and add --with-imagick
If Imagemagick is installed in a non
* Thus wrote Merlin ([EMAIL PROTECTED]):
> Hi there,
>
> I am having trouble to install imagemagick. It requires to
>
> 8) rm ./configure
> 9) ./buildconf
You shouldn't be removing the configure script, and remaking one.
If this is the case I would suggest doing a rm -fR imagemagick/
then build
Hi all,
I tried to download the manual of php
wget http://www.php.net/manual/en/
I got a lot of files but not linked to read off line
the links where all to the website.
http://www.php.net/manual/en/faq.php
http://www.php.net/manual/en/zend.configuration-macros.php
Can someone please help me wi
* Thus wrote Mike Morton ([EMAIL PROTECTED]):
> Hey there - quick question - until a week ago, the mail() function I am
> using to email confirmations was working fine, now the following error is
> showing up in the logs:
>
> Aug 31 11:50:26 www2 sendmail[29579]: h7VFoQc7029579: localhost [127.0.0
Anyone have any sources of noun/verb/adjective lists for password
generation?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey all,
Nevermind this. I just solved it myself.
I found out it does not matter when you decalre a variable as global (other
than I guess before you use it)
So I made my function this way.
function key_value ( $mysql ) {
if ( $sao_row = $mysql -> fetchRow() ) {
do {
* Thus wrote Ryan A ([EMAIL PROTECTED]):
> Hi,
> I have a datetime field in my table, i want to enter a datetime 1 day,1 hour
> and 10 mins into the future from today/the present, how do i calculate that?
Your using mysql right? Just use mysql's date_add function:
date_add(now(), interval '1 1
Hi there,
I am having trouble to install imagemagick. It requires to
8) rm ./configure
9) ./buildconf
the proble is, that somehow libtool will not install. It requires
automake and I have installed this (see below), but does not change
anything.
OUtput:
SARATOGA:/home/sw # rpm --install automa
hope not ... winxp
- Original Message -
From: "Curt Zirzow" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 31, 2003 5:13 PM
Subject: Re: [PHP] rand() function not working right
> * Thus wrote john ([EMAIL PROTECTED]):
> > youre not the only one .. i just installed 4.3
On Sun, 31 Aug 2003 11:20:23 -0500, you wrote:
>No, what I'm looking for is a script that will download the backend.php
>file like you get from slashdot.org, and turn it into a readable html
>file that can be insterted into another php file. Make sense?
Oh, hey, wait a sec - XML, backend... are y
Greetings People,
Now basically I am trying to set up an easy way to have key value pairs
listed in a DB, and then be able to call the name of the key as a variable
later in the code of the page and list the corresponding value in the DB. I
am almost there. However I just need to figure out som
php-general Digest 31 Aug 2003 11:33:49 - Issue 2269
Topics (messages 161279 through 161290):
Re: Table format needs php correction
161279 by: Curt Zirzow
Help with copy()/uploading a file
161280 by: James Johnson
Re: Problems with $DOCUMENT_ROOT being blank
161281
Hello all,
Does anyone have a script, or know where to find a working script to pull
backend.php files from a site, parse them into a html type file, and display
them correctly? I have been working on one for my site for some time now,
and I cannot sem to get it right. I want to see the structure
David wrote:
[snip]
Sorry for being trigger happy there :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No, what I'm looking for is a script that will download the backend.php
file like you get from slashdot.org, and turn it into a readable html
file that can be insterted into another php file. Make sense?
Thanks,
RC
-Original Message-
From: Raditha Dissanayake [mailto:[EMAIL PROTECTED]
Hi,
offset = 1day + 1hour + 10 secs = 24 * 60 * 60 + 60 * 60 + 10 (seconds)
time() + offset = the time you need
or
$now = explode('.', date("d.m.Y.H.i.s", time());
$now is array ( 0 => the day, 1 => the month. aso)
add to the elements of the array the values you need
Hi,
You have to take into consideration the behaviour of the
datetime data type in MySQL. Look at the documentation
http://www.mysql.com/doc/en/DATETIME.html
I think the field type you need should be TIMESTAMP(14)
since you can use some MySQL functions to easily check for
expired d
[EMAIL PROTECTED] wrote:
Hi all,
I tried to download the manual of php
wget http://www.php.net/manual/en/
I got a lot of files but not linked to read off line
the links where all to the website.
http://www.php.net/manual/en/faq.php
http://www.php.net/manual/en/zend.configuration-macros.php
Can som
Hello,
If you want an elegant solution, you should grab Krysalis Foundation
from http://www.interakt.ro/products/Krysalis/.
It is an open platform that will allow you to easily publish content into an
XML/XSL approach, and will take all the configuration hassles away from you.
Then cre
make a script with just phpinfo() in it
and see the output to from where the php should get the php.ini
download a php.ini-dist from www.php.net and go for it
Cheers,
Catalin
"Seth Willits" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Sunday, August 31, 2003, at 09
Why am i saying 'finder' ? not enough coffee :-) i meant find a.
Raditha Dissanayake wrote:
Hello Ryan,
If you find the php date time functions not to your liking you will
finder more easy to understand version in mysql.
all the best
Ryan A wrote:
Hi,
Thanks for replying.
Am a bit confused eve
Hi,
Look at the php.ini file.
There you can define how and where to store the errors,
also the level of errors youn want to show
Cheers,
Catalin
"Seth Willits" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> This may be obvious, but I even looked in a few books and
Hello Ryan,
If you find the php date time functions not to your liking you will
finder more easy to understand version in mysql.
all the best
Ryan A wrote:
Hi,
Thanks for replying.
Am a bit confused even after your example as to how to enter this into the
datetime field in mysql so that i can c
This may be obvious, but I even looked in a few books and didn't see
it, but where are PHP errors logged? No errors ever appear on the page
yet the online documentation refers to error messages and such, so I'm
assuming there must be some log somewhere.
Thanks,
Seth Willits
hi Ron,
There's no way you can retrieve the php on a remote server (unless of
course they have a major security flow :-) )
Ron Clark wrote:
Hello all,
Does anyone have a script, or know where to find a working script to pull
backend.php files from a site, parse them into a html type file, and d
Hey there - quick question - until a week ago, the mail() function I am
using to email confirmations was working fine, now the following error is
showing up in the logs:
Aug 31 11:50:26 www2 sendmail[29579]: h7VFoQc7029579: localhost [127.0.0.1]
did not issue MAIL/EXPN/VRFY/ETRN during connection
Hi,
I have a datetime field in my table, i want to enter a datetime 1 day,1 hour
and 10 mins into the future from today/the present, how do i calculate that?
This is for the expiring links/members part of a script i am trying to
create.
I have looked around the archive and google but maybe i did
[EMAIL PROTECTED] wrote:
Hi all,
I tried to download the manual of php
wget http://www.php.net/manual/en/
I got a lot of files but not linked to read off line
the links where all to the website.
http://www.php.net/manual/en/faq.php
http://www.php.net/manual/en/zend.configuration-macros.php
Can som
Hi,
Thanks for replying.
Am a bit confused even after your example as to how to enter this into the
datetime field in mysql so that i can compare it to the present datetime
heres the code i made based on what you said:
";
print $FinalTime; echo "";
$Result=mktime($FinalTime);
echo $Result;//give
On Sun, 31 Aug 2003 11:20:23 -0500, you wrote:
>No, what I'm looking for is a script that will download the backend.php
>file like you get from slashdot.org, and turn it into a readable html
>file that can be insterted into another php file. Make sense?
Not really. Forget about the file extension
Hi,
Take a look here:
http://de2.php.net/manual/en/features.safe-mode.php#ini.open-basedir
Basically toy have opne_basedir in effect which means you can only
access
subdirs of the base dir, which in your case is, (I suppose)
/home/.paco/campuscb/campuscorkboard.com/
So take
On Sunday, August 31, 2003, at 09:38 AM, Catalin Trifu wrote:
Look at the php.ini file.
There you can define how and where to store the errors,
also the level of errors youn want to show
This may come as a really big shock, but, I have no php.ini file. I
just searched my entire hard dri
try http://www.php.net/download-docs.php
u have a link there for diferent languages
Paul
On Sun, 31 Aug 2003 [EMAIL PROTECTED] wrote:
> Hi all,
>
> I tried to download the manual of php
> wget http://www.php.net/manual/en/
>
> I got a lot of files but not linked to read off line
> the links whe
Hi,
No, there is not! You have to manage yourself
the timeout, for instance through a timestamp,
which you verify on each request. PHP does not
destry sessions by itself. It's up to you to manage
the "life" of a session.
if($_SESSION['last_seen'] && ($_SESSION['last_seen'] < time(
* Thus wrote john ([EMAIL PROTECTED]):
> youre not the only one .. i just installed 4.3.3 and $x = rand(1,173);
> always returns 101 for $x
>
> i changed to mt_rand(1,173); and that always returns 142 ???
>
> weirdness .. dont tell me this is happening to only me?
it works find with 4.3.3RC1 on
I can confirm that the funtion works fine using php 4.3.0. on Mac OS X.
While this may not be of any help, I will test on a later install on
a test server.
Thanks,
John
At 4:15 PM +1000 8/31/03, john wrote:
youre not the only one .. i just installed 4.3.3 and $x = rand(1,173);
always returns 101
youre not the only one .. i just installed 4.3.3 and $x = rand(1,173);
always returns 101 for $x
i changed to mt_rand(1,173); and that always returns 142 ???
weirdness .. dont tell me this is happening to only me?
- Original Message -
From: <[EMAIL PROTECTED]>
To: "php general list"
--- brad e <[EMAIL PROTECTED]> wrote:
> When i echo $DOCUMENT_ROOT...
$_SERVER['DOCUMENT_ROOT']
http://www.php.net/register_globals
Hope that helps.
Chris
=
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/
--
PHP General Mailing List (http://www.p
Hi,
I need some help with the copy() function in order to allow a user to upload
an image. The image will need to be in a folder that I can access it's URL
for display in a page.
The hosting company, www.dreamhost.com, isn't too helpful with my requests
for help.
I have the following code:
$web
* Thus wrote Gloria L. McMillan ([EMAIL PROTECTED]):
> This is all so advanced. Is it ready to be in place of the table HTML that I
> already have?
>
Yes it should be. I hope it isn't so advanced that you can't
understand what exactly I'm doing. That would rather defeat the
purpose of me writ
51 matches
Mail list logo