how can i find out what kind of error i am recieving when i call a command thru
system()?
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
i take it you input this into a hence the subject
try this
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 in the code
fix one bug, co
ry 12, 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 cod
ll...
> if you're using apache, there's 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-
> &g
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
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 D
- 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.
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: "Richa
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
Subj
. . 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 conti
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
>
> N
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
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
how do i get the info back and process
it? should i be using cURL? something else sockets?(shiver)
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
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
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
A
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 on
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 bu
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: Thu
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.
eve
maybe i just cant do it. or maybe there is soemthing stupid i am missing?
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
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 A
- 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:
>
>
i was wondering this too what happen to
some title here
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: <[EMA
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
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
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 bu
. 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
quot;);
fputs($handle, $pg_info);
fclose($handle);
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 . . .
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 conti
url you can try it.
http://www.hvacsites.com/SiteBuilder/logo.php?tmpcolor=_dred&logo_text=sdfdsdfasfd&logo_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
10
re outside the document root, as long 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,
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
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
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 wit
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
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
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 -
Fr
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
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 i
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
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
opy($image, $himage, 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
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
switch($buttontype){case
1: $buttonfile = "images/butto
is there a function to get the mime of a given
file? if so what?
Thank You, Jon Yaggiewww.design-monster.com And
they were singing . . . '100 little bugs in the code100 bugs
in the codefix one bug, compile it again101 little bugs in the
code 101 little bugs in the code . . .' And i
is this what you want? there must be an
easier way. i am sure some one else knows it be i would -
$result = mysql_query("select * from
table");
?>
$i = 0;
while($my_array =
mysql_fetch_array($result))
{
if($i%2)
{
print"{$my_array[0]";
}
else
{
print"{$my_array[0]}";
}
$i++:
}
or
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.
Tha
quickly can some one tell me if time() return
server or usersystem time?
Thank You, Jon Yaggiewww.design-monster.com And
they were singing . . . '100 little bugs in the code100 bugs
in the codefix one bug, compile it again101 little bugs in the
code 101 little bugs in the code . . .
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.
f
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.
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
it seems that some of my manual is just missing . . . maybe it was aliens. i have the
link to the functions . ..
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
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 co
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 foo='
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
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, time
f
61 matches
Mail list logo