[PHP] html2png

2007-09-07 Thread timothy johnson
I was wondering if anyone knew of some php code that I could use to create
thumbnails of webpages.


[PHP] Rate to charge

2005-07-20 Thread timothy johnson
I have been asked to look in toprogramming a PHP system for someone, and
while I have been programming for a while this will be the first time
it will be for someone other then a friend. Just wanted to get some
ideas on how much you charge for program PHP/Mysql. Any ideas on how
to charge would be great. Thanks

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] blob and long blob

2005-07-17 Thread timothy johnson
I am building a database that houses photo, I thought everything was
going fine til I went to upload a file that was bigger then 2MB. I
check my HTML int he form I have it set to 10MB, in php.ini I have it
set to 32MB, and then in mysql I am using a longblob so shouldnt that
handle like 4GB. Anyone have anyone idea, on why files above 2MB arent
working?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] getimagesize not working on images from MYSQL

2005-07-16 Thread timothy johnson
$id = $_GET['id'];
$query = "SELECT * FROM myPhotos WHERE photoId='$id'";
$result = mysql_query($query);
$row = mysql_fetch_assoc($result);
$im = imagecreatefromstring($row[photoData]);

$size = getimagesize($im);

header('Content-Type: image/jpeg');
imagejpeg($im, NULL, 100);

I have this nice little php page to return my images from a database,
and everything runs fine except then I try to  use getimagesize, I
then get..

Warning: getimagesize(Resource id #4): failed to open stream:

do I have to do something else, this function works fine if I am using
it on a fileimage, why not an image from a database???

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] OT - Fonts

2005-07-12 Thread timothy johnson
I am trying to use a font on my webpage that I have on my system only
after a friend sent it to me. But its a neat little font that I want
to use in a couple place on my site, like some of the headers. So I
have two options I think one is to find a way to have the font
download and work on the persons browser, this is the one I would like
to get working. The second would be to make a  php function that
creates an image of the text then post the image inline. Any howtos or
help that I might be able to get on the first one would be great. I
think this is the first time I am trying not to use php.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] url reload

2005-07-07 Thread timothy johnson
This should be pretty simple but I cant find any info on it at the
site. I am writing a function that will create a anchor, but I want it
to call the same page it is on. Is there a way to get the current php
page I am on so that when I output my anchor for that correct page.

so if I call it from index.php the link will say:
index.php?var=data

but if I can the same function from say photos.php then the link would be:
photos.php?var=data..

thanks

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] http scanner

2005-07-02 Thread timothy johnson
I am still writing a script for my friend he asked me about being able
to scan strings and make any strings that have http links in them,
able to be an anchor in a broswer, as I am sure I am not the first to
do this, any one have any ideas??? I am on php.net looking thru the
functions see lots of ides but nothing that seems to want to work.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] php 4 & php 5

2005-03-04 Thread timothy johnson
Is there a way to install two version of php on the same machine, and
use them for two different users?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Javascript & PHP

2005-02-27 Thread timothy johnson
I am trying to make a small menu system using javascript, but the
values that I want to use come from php/mysql. I can get the code to
work when I type in the values but when I try to use php. it doesnt
process the php. you view source and you can see the php functions. I
have tried naming the file different types like php, html,
js.phpnothing is working. How can I use php to output javascript
vars?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] break/exit

2005-02-27 Thread timothy johnson
I have a single php script that I am using to upload my gaim logs to a
mysql server, but I want to put in some type of means to where if that
log was already added then it will exit. what ways would you
recommend?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] sym links

2005-02-14 Thread timothy johnson
I am trying to write a php script that can read a dir which I have
linked into my public_html dir. But I get permission errors, what do I
need to change? Is this an Apache problem, gentoo, or php?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP with IMAP support

2004-10-06 Thread Timothy Johnson
Not sure if this is the right place to post this, but I am trying to get
PHP installed with IMAP support. It says that I need to install using
the --with-imap=/dir but how do I do that with Gentoo?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Error with php

2004-09-28 Thread Timothy Johnson
This is my first time using php on a gentoo system. I seem to be having
a problem everytime I use a > it exits out of the code and prints
everything after that like as if it was pure text. So I am assuming the
php engine doesnt even seen anything after that. Maybe I have something
configured wrong also.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php