Re: [PHP] Re: Any good gif/jpg processing tool for PHP??

2001-08-07 Thread Jon Yaggie
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

[PHP] system()

2001-08-07 Thread Jon Yaggie
how can i find out what kind of error i am recieving when i call a command thru system()?

Re: [PHP] Text area ...

2001-08-06 Thread Jon Yaggie
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

[PHP] age

2001-08-05 Thread Jon Yaggie
, 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

Re: [PHP] Q: Hiding Folder Directories from public while still...

2001-08-03 Thread Jon Yaggie
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

Re: [PHP] Spot the difference?

2001-08-03 Thread Jon Yaggie
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

Re: [PHP] Q: Hiding Folder Directories from public while still...

2001-08-03 Thread Jon Yaggie
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

Re: [PHP] Re: HTTP_SESSION_VARS

2001-08-02 Thread Jon Yaggie
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:

[PHP] Fw: detecting mysql

2001-08-02 Thread Jon Yaggie
- 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

[PHP] env var

2001-08-01 Thread Jon Yaggie
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

Re: [PHP] env var

2001-08-01 Thread Jon Yaggie
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

[PHP] HTTP_SESSION_VARS

2001-08-01 Thread Jon Yaggie
. . 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

Re: [PHP] HTTP_SESSION_VARS

2001-08-01 Thread Jon Yaggie
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

[PHP] mail() a list favorite

2001-07-28 Thread Jon Yaggie
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

Re: [PHP] Re: Stripping HTML

2001-07-27 Thread Jon Yaggie
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

[PHP] successful error?

2001-07-27 Thread Jon Yaggie
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

Re: [PHP] successful error?

2001-07-27 Thread Jon Yaggie
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

[PHP] hosting

2001-07-26 Thread Jon Yaggie
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

Re: [PHP] Why doesn't this simple query work?

2001-07-25 Thread Jon Yaggie
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,

[PHP] magic quotes

2001-07-22 Thread Jon Yaggie
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

Re: [PHP] oop thingie

2001-07-20 Thread Jon Yaggie
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

Re: [PHP] set var in PHP

2001-07-18 Thread Jon Yaggie
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:

Re: [PHP] set var in PHP clarified

2001-07-18 Thread Jon Yaggie
- 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

Re: [PHP] whatever.php

2001-07-18 Thread Jon Yaggie
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

Re: [PHP] How to add a new color to JPEG

2001-07-17 Thread Jon Yaggie
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

[PHP] sessions . . . .

2001-07-16 Thread Jon Yaggie
); 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

Re: [PHP] sessions . . . .

2001-07-16 Thread Jon Yaggie
. 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

[PHP] true type fonts

2001-07-16 Thread Jon Yaggie
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

Re: [PHP] true type fonts

2001-07-16 Thread Jon Yaggie
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

[PHP] lack of error

2001-07-15 Thread Jon Yaggie
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

Re: [PHP] lack of error

2001-07-15 Thread Jon Yaggie
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

[PHP] flat file db

2001-07-10 Thread Jon Yaggie
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

Re: [PHP] flat file db

2001-07-10 Thread Jon Yaggie
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

[PHP] url without a query string?

2001-07-08 Thread Jon Yaggie
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

Re: [PHP] url without a query string?

2001-07-08 Thread Jon Yaggie
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

Re: [PHP] url without a query string?

2001-07-08 Thread Jon Yaggie
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

Re: [PHP] url without a query string?

2001-07-08 Thread Jon Yaggie
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

[PHP] watermarks

2001-07-07 Thread Jon Yaggie
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

Re: [PHP] watermarks

2001-07-07 Thread Jon Yaggie
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

Re: [PHP] caching

2001-07-04 Thread Jon Yaggie
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

RE: [PHP] Website dealing with PHP image generation?

2001-06-30 Thread Jon Yaggie
, 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

[PHP] caching

2001-06-30 Thread Jon Yaggie
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

Re: [PHP] Cookie ?

2001-06-30 Thread Jon Yaggie
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

[PHP] MIME type

2001-06-26 Thread Jon Yaggie
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

[PHP] images

2001-06-26 Thread Jon Yaggie
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");

Re: [PHP] newbie algorithm help!!!!

2001-06-23 Thread Jon Yaggie
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 {

[PHP] time

2001-06-20 Thread Jon Yaggie
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

[PHP] re: time

2001-06-20 Thread Jon Yaggie
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

[PHP] ff

2001-05-23 Thread Jon Yaggie
f

[PHP] cookies

2001-05-23 Thread Jon Yaggie
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,

[PHP] Re: Passing variables

2001-05-23 Thread Jon Yaggie
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

[PHP] Re:[PHP] MySQL Select

2001-05-23 Thread Jon Yaggie
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

Re: Re: [PHP] files

2001-05-23 Thread Jon Yaggie
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

[PHP] re: files

2001-05-23 Thread Jon Yaggie
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

[PHP] sorry correction

2001-05-23 Thread Jon Yaggie
it seems that some of my manual is just missing . . . maybe it was aliens. i have the link to the functions . ..

[PHP] tutorials

2001-05-23 Thread Jon Yaggie
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

[PHP] strftime()

2001-05-23 Thread Jon Yaggie
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.

[PHP] ff

2001-05-23 Thread Jon Yaggie
f

[PHP] test

2001-05-23 Thread Jon Yaggie
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.