how do you feel about the speed of imagemagick? fastwr? slower than gd
functions?
- Original Message -
From: Girish Nath [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 07, 2001 1:56 PM
Subject: Re: [PHP] Re: Any good gif/jpg processing tool for PHP??
Hi
I've used
how can i find out what kind of error i am recieving when i call a command thru
system()?
i take it you input this into a textarea hence the subject
try this textarea wrap=physical
this should carry over the formatting into the cariable or how ever your
store it
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs
, 1944);
$test2 = strtotime (January 9, 1954);
$oneyear = 3600 * 24 * 365;
$diff = $test2 - $test;
$ans = $diff/$oneyear;
echo $ans;
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
i dont know if this is elagant but ti works. but a fake index.htmlin your
directory for browsers to default to. . ..
- Original Message -
From: Marcus James Christian [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 03, 2001 12:30 AM
Subject: [PHP] Q: Hiding Folder
isnt this fact a good enough reason to believe it worthless???
- Original Message -
From: Kyle Smith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 03, 2001 6:34 AM
Subject: [PHP] Spot the difference?
Whats the difference between ASP and PHP cause ASP has gotta have
a *much* easier/secure way
of doing this.
setup an .htaccess file to restrict access to certain
username/passwords.
check out both:
man htaccess
man htpasswd
-Original Message-
From: Jon Yaggie [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 02, 2001 1:34 PM
To: [EMAIL
Actually after an hours nap i found the problem. It is not something anyone
could have helped me with since i didnt give complete enough code. the
very simple solution was stupidly i used it in a function without declaring
ir global. all is good now.
- Original Message -
From:
- Original Message -
From: sarahana [EMAIL PROTECTED]
To: Jon Yaggie [EMAIL PROTECTED]
Sent: Thursday, August 02, 2001 6:26 PM
Subject: detecting mysql
Does anybody here know how to detect with php whether mysql is installed
or
not.. ? Thanks, I haven't been able to get anything
is there not an array that saves all session variables? I just got done looking for
it and though i am sure there is a list of all these variable i am not sure where (it
is not in my info file).thanks
btw if you are the RTM (RTF(antastic)M) guy no need reply.
Thank You,
Jon
Message -
From: Philip Olson [EMAIL PROTECTED]
To: Jon Yaggie [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, August 01, 2001 11:36 PM
Subject: Re: [PHP] env var
See :
http://www.php.net/manual/en/ref.session.php
Note the use of $HTTP_SESSION_VARS within the examples, this may
. . is there soemthing i can do to make this
work?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code . . .'
And it continued until they reached 0
SORRY i just coppied it wrong
the actual code is capitalized
while(list($k, $v) = each($HTTP_SESSION_VARS))
- Original Message -
From: Faisal Nasim [EMAIL PROTECTED]
To: Jon Yaggie [EMAIL PROTECTED]
Sent: Thursday, August 02, 2001 12:23 AM
Subject: Re: [PHP] HTTP_SESSION_VARS
Make
ok please ignore my rather ongoing stupidity. I briefly scanned my manual and didnt
find this. so figured since everyone here should be experts on this function with so
many questions asked. .
Does this require a specific mail server e.g. sendmail?
Thank You,
Jon Yaggie
www.design
hmm i think there is a function specificlly for html. but i am not sure
have you tried strip_tags() it will remove html and php tags from a string
. . .
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug
okay i just got this error. what doe sit mean
Warning: file() - Success in /var/www/html/login/login.php on line 45
the lines of code involved are
$filename = log/userdb.txt.
$list = file($filename);
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100
elements for a reason .. .
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code . . .'
And it continued until they reached 0
- Original
would be nice so we could easily integrate it
in the rest of the site. Any one able to point me in the right direction?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs
hmmm i think you need to always have quotes around string regardless of if
they are variables . . .
$result = mysql_query(SELECT shootID FROM shoots WHERE
(location='$location'));
- Original Message -
From: Seb Frost [EMAIL PROTECTED]
To: php-general [EMAIL PROTECTED]
Sent: Thursday,
how do i get around this?i have a script works great for me, but the clients php
config has this set magic_quotes_gpc on. isnt there a varible i can change to
eliminate this for my script? if so how do you use it?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing
pets-dog-weekcount($newpets);
so i guess if the array prints find just before the function yet it still
shows an empty array i am baffle where else the problem could be the rest of
the code doesnt really even come near these values or function
Thank You,
Jon Yaggie
www.design-monster.com
i was wondering this too what happen to
TITLEsome title here/TITLE
reminds me of MIVA script or one of the build in things maybe (gulp) a
front page thing?
anyways i suspect that
$TITLE = some text here;
is what you want
- Original Message -
From: Chris Boget [EMAIL PROTECTED]
To:
- Original Message -
From: jessica lee tishmack [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 18, 2001 10:50 PM
Subject: [PHP] set var in PHP clarified
Thanks for the prompt replies...but I think I should clarify...
In regular html, I would do this:
!--#set
is whatever.php file encloded in php tags? sounds like it is interupting it
as texted. i didnt test this theory so dont kill me if i am wrong. but it
is a guess
- Original Message -
From: Jeremy Morano [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 19, 2001 12:53 AM
has this problem
check the annoted manual on php.net. i believe there is a work arround
posted on imagecolorallocate() and i reposted the same thing under
imagecreatefromjpeg. basically you create and image, allocate colors, and
then copy your jpeg on it.
Thank You,
Jon Yaggie
www.design
);
as you can see in the error $directory appears not to be there. i didnt unregister
it. i didnt change it. where did it go? and what might have cause this??
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one
. i
do register more variables on this page but i never reregister $directory
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code
can it? it has to be the files or maybe server set up? i have done
this before with no problem so i am stumped at what the difference here is and why
some work.
idea?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs
nope. the fonts are normalenough when i i open them. and in fact i guess i
get slight different boxes for different fonts. but all of them are
alpha-numeric fonts
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
is the url you can try it.
http://www.hvacsites.com/SiteBuilder/logo.php?tmpcolor=_dredlogo_text=sdfdsdfasfdlogo_style=1
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs
wonderful i hope ti is the only problem left:)
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code . . .'
And it continued until
way to protect the db other than
htaccess?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code . . .'
And it continued
as your apache isn't
jailed php can read your flat file wherever you put it, as long as its
owned by the webserver user - Russ
-Original Message-
From: Jon Yaggie [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 9:18 AM
To: [EMAIL PROTECTED]
Subject: [PHP] flat file db
i am
i do this? can i do this?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code . . .'
And it continued until they reached 0
needs to be exact. so the query
string needs to be stripped some how?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code
i have nothing to do with the popup stuff :)
- Original Message -
From: Ben Bleything [EMAIL PROTECTED]
To: 'Jon Yaggie' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, July 09, 2001 11:37 AM
Subject: RE: [PHP] url without a query string?
Yikes. Popups and porn.
Anyhoo, I guess
cna refresh it without the query string?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code . . .'
And it continued until
I am afraid I am completely stupid in the way that watermarks work(researching now).
however I need to know quickly if I can dynamically apply a watermark to an image
using PHP. Any one know?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code . . .'
And it continued until they reached 0
- Original Message -
From: Chris
to the images saved.
I placed the headers at the top of mypage.php. where else could i put them? and my
browser still caches unless i conpletely turn off caching.
What am i doing wrong?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs
, 400, 20, 1, 1, 60, 60)
Imagepng($image, signature.png);
ImageDestroy($image);
Am I using ImageCopy incorrectly? It doesn't put anything in the new image.
Jeff
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix
it wrongly? is there another method i can clear
the browser cache?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code
have worked with two alternatives here. one set another cookie that holds a
timestamp of the time you want the other cookie to expire and then compare
server time and the expiration cookie. or do the same thing basically b ut
use a variable set in a session.
Thank You,
Jon Yaggie
www.design
is there a function to get the mime of a given
file? if so what?
Thank You,Jon Yaggiewww.design-monster.comAnd
they were singing . . . '100 little bugs in the code100 bugs
in the codefix one bug, compile it again101 little bugs in the
code101 little bugs in the code . . .'And it
I am trying to produce buttons with
imagecreatefromjpeg(). the problem i am having is i cant allocate a color
for the text of the betton. it appears i have 2 choices black and
gray. Anyone know why this could be. Code is below
?php Header("Content-Type:
image/jpeg");
is this what you want? there must be an
easier way. i am sure some one else knows it be i would -
?php
$result = mysql_query("select * from
table");
?
table
$i = 0;
while($my_array =
mysql_fetch_array($result))
{
if($i%2)
{
print"td{$my_array[0]/td/tr";
}
else
{
quickly can some one tell me if time() return
server or usersystem time?
Thank You,Jon Yaggiewww.design-monster.comAnd
they were singing . . . '100 little bugs in the code100 bugs
in the codefix one bug, compile it again101 little bugs in the
code101 little bugs in the code . . .'And it
actually i believe if you date() it gives you users
system time
it is the problem i have run into in the script i
am trying to modify. the original person used date() and it clear shows my
time. As much as i admit the possibility of their server being in Siberia
but I doubt it.
Thank
f
Sorry. My emails is acting wierd. This is a repost. The suggestion was there is a
clock problem. My clock is right. Could it be cause by a time zone difference?
original message -
I have set up a user login so that it will assign a cookie for one hour -
setcookie(cookie_id, $id,
I dont know any other way. best is if you ssl available to use it on the forms that
pass these variable but using a form all variables are passed this way either post or
get through the url.
Jon
think this is what you want
$i = 0;
$result = mysql_query(SELECT jazz FROM funk WHERE foo='bar')
while($music = mysql_fetch_array($result))
{
$funk_music[$i] = $music[0];
$I++;
}
ok...sorry to ask a stupid question but
$result = mysql_query(SELECT jazz FROM funk WHERE
What i need is the function that allows me to read the files in the directory. This
is what i can'g find. To be honest I am lazy and was hoping there may be a secret
function out there like filetime() that worked on the whole directory. but all i
really need is what function will read the
Okay thanks perhaps i am using an old manual. I think i downloaded it about three
months ago but this function is not present there . ..
Jon
it seems that some of my manual is just missing . . . maybe it was aliens. i have the
link to the functions . ..
Okay i am not expecting any heavy research here but if any one know of tutorials on
these sujects it would really save me some time. thanks
1) useing php and xml
2) using perl and php together
Okay here is what I am trying
strftime(%A, %B %e, %Y %H:%M:%S, $last);
I have looked now at the manual and stared in amazement but it seems not to recognize
%e at all. What i get is this
Wednesday, May , 2001 12:44:08
Am i doing soemthing wrong?? %d works.
f
Dear Peter
It wasnt a test my email program gets out of hand occassionally. trust me i am trying
very hard to control. i am sorry if it really bothers you.
if you want a real question no one has answered the one i posted last nite regarding
strftime and why i cant pass the value %e to it.
59 matches
Mail list logo