No but you can use imagemagicks convert to convert the pdf to an image and
then make a thumbnail of it.
On 11/20/08 4:39 PM, "Brian Dunning" <[EMAIL PROTECTED]> wrote:
> Well can it?
--
Stephen Johnson
The Lone Coder
http://www.ouradoptionblog.com
*Join us on our adopti
test my installation like this:
> echo "";
> system("convert -version");
> echo "";
> ?>
> But it just returns blank. Can anyone help me get ImageMagick working
> on my server?
>
>
> On Nov 20, 2008, at 4:41 PM, Stephen Johnson wrote:
&
What an odd question
Personally PHP makes much more sense to me then the many variations of
bridge...
http://www.ouradoptionblog.com
Join our journey of adoption
http://www.thelonecoder.com
[EMAIL PROTECTED]
continuing the struggle against bad code
*/
?>
> From: pub <[EMAIL PROTECTED]
> From: Richard Lynch <[EMAIL PROTECTED]>
> On Sun, March 11, 2007 11:24 am, Mike Shanley wrote:
>> I am just not understanding what I could have possibly done wrong with
>> this query. All of the variables are good, without special characters
>> in
>> any sense of the word... So why isn't it impor
I find it humorous that these types of debates keep coming back up -- no
matter what the topic, the IT world can not seem to agree on anything.
OS wars - Browser wars - coding languages.
It all gets very tiring. Bottom line - go with what you like and with what
can get the job done. Myself pers
Now I am assuming that 4 and 6 would not always be the next article ID -
otherwise you could just increment your id accordingly.
If you wanted to do that without running multiple queries, this is who I
might do it, rather sloppy, but I think it would work.
$idGet= $_GET['id'];
$sql = "select id,
Sounds to me like you need to go out and hire a PHP programmer to go through
your code and get your site back up and running.
Then that same person can give someone in your organization some tutorials
on how to maintain your code so that this sort of thing does not continue to
happen.
http://www
for ($i = 1; $i <= $sendnum; $i++)
{
$qty = $_POST['qty'.$i];
$total = $total + $qty;
echo $qty . '';
}
echo "Total $total";
http://www.thelonecoder.com
[EMAIL PROTECTED]
562.924.4454 (office)
562.924.4075 (fax)
continuing the struggle against bad code
OK -- dumb question -- what is an OP?
http://www.thelonecoder.com
[EMAIL PROTECTED]
562.924.4454 (office)
562.924.4075 (fax)
continuing the struggle against bad code
*/
?>
> From: John Nichel <[EMAIL PROTECTED]>
> Date: Wed, 23 Feb 2005 14:13:20 -0500
> To: php Mailing Lists
> Subject: Re:
According to Larry Hotchkiss on Jan 31,2001
Its my understanding that you use the odbc functions to access db/2
400. I also recall reading that the db2/400 functionality is true db2
functionality and does not use the generic odbc layer even though it is
grouped in. Apparently its smart enough t
You have to trick the browser into thinking that the jpg file is something
other then a jpg. This is sketchy and does not always work.
Something like this maybe
$len = filesize($file_path);
header("Content-Type: application/force-download");
header("Content-
First off - do you have global variables turned on? If not then you need to
collect the data from the $_POST variable.
Also - when you use a multiple select form field the values come across in
an array.
So you would need to access the data using something like this:
$i=0;
while($rooms[$i]) {
code
*/
?>
> From: "Richard Lynch" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Tue, 8 Mar 2005 08:56:57 -0800 (PST)
> To: "Stephen Johnson" <[EMAIL PROTECTED]>
> Cc: "zzapper" <[EMAIL PROTECTED]>, "php"
&
gt;Click here to view
newsletter - Which obviously doesn't work.
I would be most grateful if anyone could help.
Cheers,
Simon
*
Stephen Johnson
[EMAIL PROTECTED]
http://www.thelonecoder.com
--continuing the struggle against bad code--
*
--
PHP General Mailing List (ht
-
Steve Slater
[EMAIL PROTECTED]
PHP / MySQL / Web App Security (LAMP) Training:
http://www.handsonsecurity.com/training.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
*
Stephen Johnson
[EMAIL PROTECTED]
http://www.t
rch.wildlime.com
Professional Website Hosting Services -www.hostonlime.com.au
Winner 2004 Telstra North QLD Media Awards - Best Website - Online
Content & Information
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
*
Steph
List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
*****
Stephen Johnson
[EMAIL PROTECTED]
http://www.thelonecoder.com
--continuing the struggle against bad code--
*
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You need to setup your apache server to accept and parse .html files as PHP.
Add this line or modify it to look like this in your httpd.conf file.
AddType application/x-httpd-php .php .html .shtml
HTH
http://www.thelonecoder.com
[EMAIL PROTECTED]
562.924.4454 (office)
562.924.4075 (fax)
conti
You need to make sure that output_buffering is turned on in your php.ini
file on the dev server.
http://www.thelonecoder.com
[EMAIL PROTECTED]
562.924.4454 (office)
562.924.4075 (fax)
continuing the struggle against bad code
*/
?>
> From: "Mignon Hunter" <[EMAIL PROTECTED]>
> Date: Wed, 23
I have done this sort of thing with PDF's but I have never done it with
images.
It has also always been a web page that is on my site -- I get the
impression that you want to read in someone else's url and do this.
I would start off by looking at the ob_start and other related functions.
Once yo
I am using JPGraph for a project that I am working on right now and I have
hit a small snag -
My client wants to have the user be able to select from a list of about 20
30 standard fonts. JPGraph only has about six built into it and the
support in the docs is not very helpful since it wants you
你好- 測試被接受。歡迎到小組。
http://www.thelonecoder.com
[EMAIL PROTECTED]
562.924.4454 (office)
562.924.4075 (fax)
continuing the struggle against bad code
*/
?>
> From: [EMAIL PROTECTED]
> Date: Tue, 5 Apr 2005 09:40:55 +0800
> To: php-general@lists.php.net
> Subject: [PHP] test
>
>
Yes --
In your example - $result_id would be accessed on page2 as
$result_id = $_GET['result_id'];
Then through out your script on page 2 you could access $result_id.
Hope that helps.
æ--
åæçäå- $result_id æèçååé2
$result_id = $_get['result_id ' ];
çåééåæçåæäååé2 æèèå $result_idã
åæååã
Nothing --
However - try adding a path to your cookie statement. It may not be the
problem - but it has corrected this issue for me in the past.
I.e :
setcookie('myCookie',"blah",time()+3600, "/");
http://www.thelonecoder.com
[EMAIL PROTECTED]
562.924.4454 (office)
562.924.4075 (fax)
contin
ery appreciated.
Thanks.
Tommy.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
*****
Stephen Johnson
[EMAIL PROTECTED]
http://www.thelonecoder.com
--continuing the struggle against bad code--
*
--
PHP General Mailing List (http://w
Include a space in your str_replace statement.
For instance
$t = str_replace(" $word ", " $word ", $text);
That should prevent the problem your having and ensure only individual words
are bolded.
http://www.thelonecoder.com
[EMAIL PROTECTED]
562.924.4454 (office)
562.924.4075 (fax)
contin
#x27;s
> and I have another table that has the name's and points
> I want to know how to list the name's of the first table by the points
> of the second table
--
Stephen Johnson
The Lone Coder
http://www.myonlinepros.com
*How can we help you today?*
[EMAIL PROTECTED]
http://
I wrote about this a long time ago ... In a galaxy far far away...
http://www.thelonecoder.com/Blog/?p=7
Be good lemmings and do as you're told...
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle against bad code
http://www.thumbnailresum
Who says you can't please them all... ;)
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle against bad code
http://www.thumbnailresume.com
--
> From: Jay Blanchard <[EMAIL PROTECTED]>
> Date: Tue, 20 Nov 2007 14:25:21 -0600
>
lists like this tend to get very noisy, and
anything that can cut down on unnecessary noise is friend not foe..
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle against bad code
http://www.thumbnailresume.com
--
--
PHP General Mailing List (h
are friends. Everyone else hates
you. It is not personal, it's just a fact.
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle against bad code
http://www.thumbnailresume.com
--
> From: Brenden Wilson <[EMAIL PROTECTED]>
> Date: Mon, 3
man
how to fish" philosophy, and answering lazy questions breeds lazy
programmers, which in the end hurts us all.
Part of this job is learning how to learn, and so many times people just
want you to write the code for them.
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
con
for your reading enjoyment :
http://php.net/array
http://us.php.net/manual/en/reserved.variables.php // specifically the
section on $_POST
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle against bad code
http://www.thumbnailresume.com
--
> From
True randomization is only really possible in nature, so I am not sure you
ever be completely happy with programming random numbers... But it may help
you get better results if you include srand() in your randomization code.
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
LOL..
Guess I need to keep up with the change log a little better...
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle against bad code
http://www.thumbnailresume.com
--
> From: Nathan Nobbe <[EMAIL PROTECTED]>
> Date: Mon, 10 Dec 2
Wow... You clearly put a lot of thought into randomization... I am
impressed..LOL
Personally, most of my web applications do not have to factor 13.7 billion
years of space drift in to the calculations, so php's rand function has been
great for me... ;)
--
Stephen Johnson c | eh
The Lone
(taken from
> http://www.php.net/manual/en/funcref.php) to look for a particular fn
> that you don't know the name of let alone which area it belongs in.
OK then how about a STFW answer...
Google : php exexcute windows commands
You can even hit the "I'm feeling lucky but
>
>
>
>
>
>
>
> ";
>
> Although example above is not working, what I want to achieve is something
> like that. Is it possible how can I do that ?
>
> Regards,
>
> Feris
--
Stephen Johnson
T
y opinion that you, as a PHP
developer, have a responsibility to understand what the php.ini file is,
what it does, and how to change it if necessary and you should have this
knowledge before you begin writing code that would be used by anyone but
yourself.
--
Stephen Johnson c | eh
The Lone Coder
http:
ailed.";
}
Because mysql_insert_id() acts on the last performed query, be sure to call
mysql_insert_id() immediately after the query that generates the value.
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle against bad code
http://www.thumbnailresume.com
--
> Or you can cheat...
>
> $url = $_SERVER['SERVER_NAME'];
> header( 'Location:https://'.$url.'');
>
>
I think that would cause an infinite loop of redirection...
This would be better
https://www.domain.com$pageTo";);
exit;
}
standard ports, so I have never had any issues on that front.
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle against bad code
http://www.fortheloveofgeeks.com
I¹m a geek and I¹m OK!
--
> From: Wolf <[EMAIL PROTECTED]>
> Date: Mon, 25 Feb 2
> I thought ASP was the language and .NET was the framework.
I was under this impression as well.. I always equated .NET to ASP the same
way I would ZEND to PHP...
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle against bad code
h
This is AWESOME!... I am so saving this post for my next Review...
Couldn't have said it better Dan...
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle against bad code
http://www.fortheloveofgeeks.com
I¹m a geek and I¹m OK!
--
> From
Talk about a thread hijack... LOL
In my day we had to write basic going up hill in the snow... Both ways...
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle against bad code
http://www.fortheloveofgeeks.com
I¹m a geek and I¹m OK!
--
> F
s is implemented as a 64-bit unsigned (i think)
> value. so if you use it you should be good to go.
>
> php > echo date_create('2040-10-24')->format('M-d-Y');
> Oct-24-2040
>
> -nathan
--
Stephen Johnson
The Lone Coder
http://www.ouradoptionblog.com
*Join us on our adoption journey*
[EMAIL PROTECTED]
http://www.thelonecoder.com
*Continuing the struggle against bad code*
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
entication enabled web site?
> I would appreciate any good references.
--
Stephen Johnson
The Lone Coder
http://www.thumbnailresume.com
*Network with your Resume, not just your card.*
[EMAIL PROTECTED]
http://www.thelonecoder.com
*Continuing the struggle against bad code*
--
--
http://us2.php.net/ob_start
Hope this helps
http://www.ouradoptionblog.com
Join our journey of adoption
http://www.thelonecoder.com
[EMAIL PROTECTED]
continuing the struggle against bad code
*/
?>
> From: Todd Cary <[EMAIL PROTECTED]>
> Date: Thu, 30 Mar 2006 08:02:16 -0800
> To:
> Subject
ss the checkboxes as an array value with the JobID as the
identifier.
Then on the other side, you can run through the list of JobID's and see
which ones need to be updated.
Hope this helps
--
Stephen Johnson
The Lone Coder
http://www.ouradoptionblog.com
*Join us on our adoption journey
On 8/20/08 6:57 AM, "tedd" <[EMAIL PROTECTED]> wrote:
> Seriously, I saw a new invention recently. The inventor made
> underwear with three leg holes. The idea was to rotate the underwear
> as needed.
>
> What people won't invent.
>
> Cheers,
>
&g
1057
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle against bad code
http://www.fortheloveofgeeks.com
I¹m a geek and I¹m OK!
--
Thanks everyone ... It was a brain fart ...
Long bad day today, and I am not paying proper attention ... :)
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle against bad code
http://www.fortheloveofgeeks.com
I¹m a geek and I¹m OK!
--
--
PHP
It sounds like you simply need to number format the data to ensure that PHP
does not truncate
http://php.net/number_format
If excel, or whatever your using to view the csv file, is truncating then
you will need to properly format that cell.
--
Stephen Johnson c | eh
The Lone Coder
http
then gives me in PHP
0.00104167 = 1.25 / (12 * 100);
-2.170138889 = 25000 * ( 0.00104167 / (1 - (1 +
0.00104167) ^ -12)) ::
^ is the problem ...
The solution SHOULD be 2,097.47 ... Not 2.17
Would be willing to help correct this and make it valid in PHP?
--
St
Right ... But that is producing even funkier results...
doing pow( (1-(1+$nMonthlyInterest)) , ($iMonths*-1) ) ;
Gives me :
4.2502451372964E-35 = 25000 * (0.00104167 / 6.1270975733019E+35);
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle
Eric ... I LOVE YOU...
Thanks
--
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
continuing the struggle against bad code
http://www.fortheloveofgeeks.com
I¹m a geek and I¹m OK!
--
> From: Eric Gorr <[EMAIL PROTECTED]>
> Date: Fri, 19 Sep 2008 16:13:49 -0400
&
Produces what you see here :
http://www.thumbnailresume.com/index.html?allow=1
Any one have any thoughts on what is going on?
--
Stephen Johnson c | eh
The Lone Coder
office: 562.366.4433
fax: 562.278.0133
http://www.thelonecoder.com
continuing the struggle against bad
t; <[EMAIL PROTECTED]> wrote:
> Eric Butera wrote:
>> On Mon, Oct 6, 2008 at 7:28 PM, Stephen Johnson
>> <[EMAIL PROTECTED]> wrote:
>>> OK .. I am upgrading to PHP5 on a clients box, and after doing so I have
>>> run into the problem that files that get br
TECTED]> wrote:
> Yes, because I will create a field within the for loop, and the
> options of the select should be letters.
>
> --
> MIGUEL GUIRAO AGUILERA
> Logistica R8 - Telcel
> Tel: (999) 960.7994
> Cel: 9931-6
>
> - Mensaje o
Personally I am an organization freak so I tend to do the first option -
store the images in individual folders, generally using the unique username
to create the folder itself.
That way when I need to look at a group of images/files/whatever for that
user, I can just pull up their directory.
I s
>
> Any rough estimates what number of images would be too much?
> and does anyone think i should make folders for each user?
> Each user is limited to max 3mb of pics though...
>
> Thanks,
> Ryan
Personally I believe it is doubtful that you would ever reach the limit
unless you where going to
Where do you populate $success ?
It looks too me that $success would always be empty no matter whether you
connected or not.
On 7/14/05 8:27 AM, "Bruce Gilbert" <[EMAIL PROTECTED]> wrote:
> mysql_pconnect ($mysql_host, $mysql_user, $mysql_password);
> if (!$success)
&
o I can receive mail? I am using my ISP's POP
> server but I dosent send back because my e-mail is [EMAIL PROTECTED] How
> do I setup my own domain and does it cost money for an e-mail?
--
Stephen Johnson
The Lone Coder
[EMAIL PROTECTED]
http://www.thelonecoder.com
*Continuing the struggle against bad code*
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 8/18/05 9:06 PM, "Richard Lynch" <[EMAIL PROTECTED]> wrote:
>
> Maybe if everybody did this, MS would realize how broken their
> cache-handling is and fix it... Nah. They'd just break it even worse.
Is someone feeling a bit cynical tonight? Nah. Not
Can you include the SQL statement that is creating the error?
The error basically means you are trying to put more data into the dB then
you have data cells for.
For instance :
Good sql statement:
$sql = "insert into table (name, address, city, state, zip) VALUES ('$name',
'$address', '$city',
Ravi -
http://www.php.net/mail
That page should get you on your way.
http://www.ouradoptionblog.com
Join our journey of adoption
http://www.thelonecoder.com
[EMAIL PROTECTED]
continuing the struggle against bad code
*/
?>
> From: Ravi Gogna <[EMAIL PROTECTED]>
> Reply-To: <[EMAIL PROTEC
form. My question is How do I do that?
>
> the webserver that I will be placing this page on has php ver 4.4.0 on it.
>
> Any help would be appreciated
>
> Paul
--
Stephen Johnson
The Lone Coder
http://www.ouradoptionblog.com
*Join us on our adoption journey*
[EMAIL PROTEC
ter approach??
>
> or do i really need/wind up doing something like
>
> if ($_GET['foo'])...
>
> if ($_POST['apple'])...
>
> and just have a mix of both methods within the code...
>
> thanks
>
> -bruce
> [EMAIL PROTECTED]
--
Stephen
help you with these questions better then
the folks here on the PHP list.
>
> thanks
>
> -bruce
> [EMAIL PROTECTED]
--
Stephen Johnson
The Lone Coder
http://www.ouradoptionblog.com
*Join us on our adoption journey*
[EMAIL PROTECTED]
http://www.thelonecoder.com
*Continuing the struggle against bad code*
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 9/12/05 12:39 PM, "Peppy" <[EMAIL PROTECTED]> wrote:
> for ($i = 1; $i <= 6; $i++) {
>Is it possible to increment $i by 5?
for ($i = 1; $i <= 6; $i+5) {
--
Stephen Johnson
The Lone Coder
http://www.ouradoptionblog.com
*Join us on our adoption jour
code
*/
?>
> From: "M. Sokolewicz" <[EMAIL PROTECTED]>
> Date: Mon, 12 Sep 2005 23:48:05 +0200
> To: Stephen Johnson <[EMAIL PROTECTED]>
> Cc: Peppy <[EMAIL PROTECTED]>,
> Subject: Re: [PHP] incrementing in a for loop
>
>
>>
>&g
ent, only the file name
> is different. But if I do the former way(call editStaff.html as a form
> action), it doesn't work. It calls some files but looks horrible.
> So the advice of the guy was wrong, or did I do something wrong?
>
> Thanks,
--
Stephen Johnson
The Lone Coder
ht
请停止发送电子邮件到这个列表, 或我将被迫使解开一千头骆驼蚤入您的腋窝。
http://www.ouradoptionblog.com
Join our journey of adoption
http://www.thelonecoder.com
[EMAIL PROTECTED]
continuing the struggle against bad code
*/
?>
> From: KOKO电子传单 <[EMAIL PROTECTED]>
> Date: Fri, 14 Oct 2005 06:33:57 +0800
> To:
> Subject: [PHP] 电子
You would access them by declaring them as regular variables and then using
the regular variables in your code.
As a side note - please do NOT turn global variables on in your php.ini
file. There is a good reason for why it is shut off and "good" php does not
need to have it turned on.
Hope
Try this :
$sql = "SELECT nameOfPedigree FROM tbpedigrees WHERE nameOfPedigree like
"'%";
The % is a wildcard and will give you the results you want.
http://www.ouradoptionblog.com
Join our journey of adoption
http://www.thelonecoder.com
[EMAIL PROTECTED]
continuing the struggle against bad
er with php upload script in
> http://us3.php.net/features.file-upload, I can't access the file with web
> browser. I get error message as "403 Forbidden" or "You are not authorized
> to view this page".
> However, there is no such problem when i using FTP to
ideas?
>
> I can't seem to get anything to work
>
> Chris
What type of field are you using? In these cases I have always passed the
data in an array and passed the post into an array variable which I could
then increment.
--
Stephen Johnson
The Lone Coder
http://www.
e.Rock" <[EMAIL PROTECTED]> wrote:
> Here is an example of one of the fields:
>
>
> I'm looping thru this form several times, so each time the name gets
> incremented. Do you have an example of what your talking about?
--
Stephen Johnson
The Lone Coder
http://ww
78 matches
Mail list logo