I am installing mcrypt on a linux server. I first installed libmcrypt 2.5.7
and now am working on mcrypt 2.6.4.
When I do a ./configure for mcrypt 2.6.4, it gives me this error:
checking for libmcrypt - version >= 2.5.0...
*** 'libmcrypt-config --version' returned 2.5.7, but LIBMCRYPT (2.5.6)
*
: Wednesday, November 05, 2003 9:50 AM
> To: 'Mike At Spy'
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Changing the php.ini file
>
>
> On 05 November 2003 14:39, Mike At Spy contributed these pearls of wisdom:
>
> > I re-checked the files - nothing I change
o:[EMAIL PROTECTED]
> Sent: Wednesday, November 05, 2003 9:25 AM
> To: Marek Kilimajer
> Cc: Mike At Spy; [EMAIL PROTECTED]
> Subject: Re: [PHP] Changing the php.ini file
>
>
> Marek Kilimajer wrote:
>
> > post_max_size is another setting that has effect on uploads. It
you're editing the proper php.ini and not
> some older install's or a backup or something? Check by setting some
> self-evident setting in php.ini and restarting Apache. Also, if you're
> sending the data to a database, make sure it's not the database who's
> barf
, 2003 9:15 AM
> To: Mike At Spy; [EMAIL PROTECTED]
> Subject: RE: [PHP] Changing the php.ini file
>
>
> [snip]
> I changed a value for max uploads in my php.ini file (linux box); I
> restarted apache, then the whole server, to get the new value to come up
> and, generally, ta
I changed a value for max uploads in my php.ini file (linux box); I
restarted apache, then the whole server, to get the new value to come up
and, generally, take affect.
Neither of those things did it. Does anyone know what I need to do to get
the ini file re-read by the OS, or system, so that t
Yes, that was it.
Thanks! :)
-Mike
> -Original Message-
> From: Roger Spears [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 04, 2003 12:45 PM
> To: Mike At Spy
> Subject: Re: [PHP] fwrite, fopen, or fread limit?
>
>
> check the php.ini file, there ma
Does anyone know if the commands for fwrite, fopen, or fread have memory
limits in dealing with large files?
I created a system for uploading files to a server. Small files work fine.
Larger ones (around 7 megs) do not work at all.
Thanks,
-Mike
--
PHP General Mailing List (http://www.php.ne
I am creating a form for editing records output from a mysql db (edit as an
html form). I've done this many times, but have never run into this issue.
I have code like this for the query:
$edit_list = mysql_query("SELECT general_inventory.quantity FROM
products_to_categories, general_inventory
Jason et al;
Thanks for all of your help up - I really appreciate it.
However, I still have the issue that while the jpeg libraries were
installed, the weren't. :\
This is what was installed through the only binary for jpeg libaries I can
find on the net off hand:
jpegsrc.v6b.tar.gz
yields:
51 PM
> To: Mike At Spy
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] imagejpeg function output
>
>
> You need to send the right header, in this case
> header('Content-type: image/jpg');
>
> Mike At Spy wrote:
> > Just to make sure no one is lead astray - I s
> >
> > Does anyone know how to get jpeg enabled in gd?
>
> Yes.
>
> > I'm using php 4.3.3.
>
> Unless dramatic changes were made in 4.3.3 then the procedure
> should be the
> same as the previous versions. Namely:
>
> --with-gd --with-jpeg-dir=/directory/where/jpeg/libs/are/installed
>
> manual >
Just to make sure no one is lead astray - I still have an issue getting jpeg
enabled on a server with gd and php. I am asking this question 'cause I am
doing some work on a different server where jpeg is enabled.
Anyway, I have this sort of setup:
$src_img = imagecreatefromjpeg($rand_image);
Rogers [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2003 7:27 PM
> To: Mike At Spy
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] jpeg libraries.
>
>
> Hi,
>
> Friday, August 29, 2003, 6:39:16 AM, you wrote:
>
> MAS> I got the jpeg libraries from:
>
> MA
>
> * Thus wrote Mike At Spy ([EMAIL PROTECTED]):
> >
> > It did install some jpeg stuff under /usr/local/bin, but I don't see
> > anything added to /usr/local/lib.
> >
> > After that, I re-compiled php with:
> >
> > --with-jpeg
> >
I got the jpeg libraries from:
http://freshmeat.net/projects/libjpeg/?topic_id=105%2C809
And installed them; even did a make test to make sure everything was
correct.
It did install some jpeg stuff under /usr/local/bin, but I don't see
anything added to /usr/local/lib.
After that, I re-compile
ursday, August 28, 2003 11:33 AM
> To: Mike At Spy; [EMAIL PROTECTED]
> Subject: RE: [PHP] GD & PHP
>
>
>
> You need to compile PHP with the option --with-gd in the configure step.
>
> The function is imagecreatefromjpeg()
>
>
> -Mensaje original-
>
Cool - thanks. :)
-Mike
> -Original Message-
> From: Javier Tacon [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2003 11:33 AM
> To: Mike At Spy; [EMAIL PROTECTED]
> Subject: RE: [PHP] GD & PHP
>
>
>
> You need to compile PHP with the option
Is there anything special I have to do to enable GD when using PHP 4.3.2?
I'm getting an error of:
Fatal error: Call to undefined function: imagecreatefromjpeg() in
/home/sites/site37/web/photos/functions.php on line 594
When I use the imagecreatefromjpeg() function. Is it not usable with gd?
Anyone here familiar with the installation of Image Magick and what files it
installs on your machine?
I had an admin put it on, and then took it off - but took it off by removing
what she thought were all of the files related to it. I just found some
files I think that are. They are located in
> [snip]
> > $person = mysql_query("The Query");
> > $thecount = mysql_num_rows($person);
> > echo "$thecount \n";
> >
> > And tell us what $thecount is...
>
> Returns 0 (zero).
> [/snip]
>
> Then
> if($thecount == 0){
>$whatever = 1;
> } else {
>$whatever = 4;
> }
>
> $whatever should be
Returns 0 (zero).
-Mike
> -Original Message-
> From: Jay Blanchard [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 29, 2003 3:05 PM
> To: Mike At Spy; [EMAIL PROTECTED]
> Subject: RE: [PHP] Bizarre SQl, if issue
>
>
> [snip]
> And when I plug values int
> [snip]
> if ($vthere == '0') { True } else { False }
>
>
>
> > if ($vthere == 0) { True } else { False }
>
>
> Same result (actually, that was the first statement I tried). :\
> [/snip]
>
> Then the query is failing.
But the query returns no errors - both on my code I use to test errors a
> This is a reply to an e-mail that you wrote on Tue, 29 Jul 2003 at
> 19:46, lines prefixed by '>' were originally written by you.
> > I did! Look at this again:
> > $which_person = mysql_query("SELECT ID FROM tblItems WHERE
> number =
> > $place");
> > $vthere = mysql_num_rows($whic
> -Original Message-
> From: Jay Blanchard [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 29, 2003 2:48 PM
> To: Mike At Spy; [EMAIL PROTECTED]
> Subject: RE: [PHP] Bizarre SQl, if issue
>
>
> [snip]
> I did! Look at this again:
>
> $which_per
> -Original Message-
> From: Jay Blanchard [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 29, 2003 2:41 PM
> To: Mike At Spy; [EMAIL PROTECTED]
> Subject: RE: [PHP] Bizarre SQl, if issue
>
>
> [snip]
> > I still want to know what you need to do, test fo
>
> [snip]
> Nothin' wrong with the SQL statement - it executes properly when I enter
> values that actually pull something from a table. When I enter values
> that
> are not present in the table, I go on to have the other issue of it
> looking
> like it is false, though it is not. :\
> [/snip]
Original Message-
> From: Jay Blanchard [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 29, 2003 2:24 PM
> To: Mike At Spy; Ford, Mike [LSS]; [EMAIL PROTECTED]
> Subject: RE: [PHP] Bizarre SQl, if issue
>
>
> [snip]
> I did the var_dump and got:
>
> bool(false)
&g
: Tuesday, July 29, 2003 2:07 PM
> To: 'Mike At Spy'; Ford, Mike [LSS]; [EMAIL PROTECTED]
> Subject: RE: [PHP] Bizarre SQl, if issue
>
>
> > -Original Message-
> > From: Mike At Spy [mailto:[EMAIL PROTECTED]
> > Sent: 29 July 2003 19:01
> >
> [snip]
> Off hand, I would agree. And that is what I would expect.
>
> However, the *exact* same setup on a different server gives me a result
> of
> 'FALSE' properly. The other server has php 4.3.3 on it - the one giving
> the
> improper response has php 4.1.2.
$which_person = mysql_query
-Original Message-
> From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 29, 2003 1:47 PM
> To: 'Mike At Spy'; [EMAIL PROTECTED]
> Subject: RE: [PHP] Bizarre SQl, if issue
>
>
> > -Original Message-
> > From: Mike At Spy [
AIL PROTECTED]
> Sent: Tuesday, July 29, 2003 1:44 PM
> To: Jay Blanchard; Mike At Spy; [EMAIL PROTECTED]
> Subject: RE: [PHP] Bizarre SQl, if issue
>
>
> [snip]
>
> ...lots of stuff...
>
> [/snip]
>
> What I forgot to say is that basically you were testing fo
Here's the SQL - I tested it via command line and it comes back empty set.
SELECT ID FROM tblItems WHERE number = $place
Does that help?
-Mike
> -Original Message-
> From: Jay Blanchard [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 29, 2003 1:31 PM
> To: Mi
Hey, I've got a weird issue. I have some code, an MySQL statement, that
returns an empty set, like this:
$person = mysql_query("Some Statement Here");
So, then I have an if/else statement:
if (!$person || $person == 0 || $person == '' || $person == '0') { $result =
1; }
else { $result = 4; }
-mm=shared --enable-xml --with-db3 --with-pgsql=shared --with-ldap
Thanks for any help,
-Mike
> -Original Message-
> From: Ralph Guzman [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 08, 2003 5:51 PM
> To: 'Mike At Spy'; [EMAIL PROTECTED]
> Subject: RE
--with-db3 --with-interbase=shared --with-pgsql=shared --with-ldap --with
-imap --with-pdflib=shared --with-kerberos
Anyone have any ideas? I'm on linux redhat 7.3.
Thanks,
-Mike
> -Original Message-
> From: Mike At Spy [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 08
I am doing a new compile of PHP (4.3.3) - anyone know what this error is?
configure: error: libgds or libib_util not found!
Here is my configuration:
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --enable-safe-mode --wi
th-config-file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib
I am trying to help one of our admins with a php config/setup issue on one
of our servers; the admin re-compiled php, but did not include all of the
correct settings. Outside of having the previous make and config files, is
there any other files on the server that may hold the old settings so tha
They have it set to "Show all errors except for notices".
-Mike
> -Original Message-
> From: Brian S. Drexler [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 07, 2003 2:18 PM
> To: 'Mike At Spy'
> Subject: RE: [PHP] mail() function
>
>
> O
age-
> From: Brian S. Drexler [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 07, 2003 2:06 PM
> To: 'Mike At Spy'
> Subject: RE: [PHP] mail() function
>
>
> I assume you are running this on the command line. Does the file
> have the correct permissions?
&
, 2003 1:01 PM
> To: Mike At Spy
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] mail() function
>
>
> Yeah, umm, thats a weird error message.
> What server platform / OS?
>
>
> On Mon, 2003-07-07 at 12:58, Mike At Spy wrote:
> > Is anyone familiar with the m
Is anyone familiar with the mail function and how it works on the server? I
can't get it to work on a client's server, and this error shows up in the
error log:
PHP Warning: U1Àå]Ãö¼': Unable to initialize module
Module compiled with debug=144, thread-safety=135 module API=1119810252
PHP com
Recently, I had Apache upgraded on my linux redhat 7.3 server from 1.2.3 to
1.3.27.
PHP stopped working when trying to process html files with php in them. In
the httpd.conf file, I have AllowOverride set to All. In the Virtual Host
settings I have 'AddType application/x-httpd-php .html'.
HTML
Does anyone know if there are issues with using the header() function inside
frames? Is there extra stuff that needs to be added to it to get it to work
correctly?
Or if there were issues with header in php 4.06?
Thanks,
-Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
I'll give one of the suggestions a whirl (or both). I do have this same
sort of thing on a different server with a more recent version of PHP -
which is why I thought it might be a version issue. :)
-Mike
> -Original Message-
> From: Esteban Fernandez [mailto:[EMAIL PROTECTED]
> Sent:
Gah!!!
:)
Thanks!
Thanks to all! :)
-Mike
> -Original Message-
> From: Jennifer Goodie [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 18, 2003 3:05 PM
> To: Mike At Spy; [EMAIL PROTECTED]
> Subject: RE: [PHP] Agh! Driving me crazy!
>
>
> You are missing
Anyone see anything wrong with this line of code?
$fine = mysql_query("INSERT INTO
tblPOItems(poID,poItemUPC,poItemNumber,poItemDescription,poItemInnerCasePkg,
poInnerQuantity,poItemEstQuantity,poItemCostEach,poItemSuggestedSellPrice)
values('$poID', '$place[0]', '$inmb', '$ides', '$iicp', '$case
Actually, I must apologize to you and the list. I checked the function on
the php site *after* I asked and saw that was the issue immediately. :\
:)
-Mike
> -Original Message-
> From: Neil Freeman [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 04, 2003 8:57 AM
> To:
I've been getting a warning on one of my scripts since I upgraded from 4.1.2
to the most recent version of PHP. The warning is:
Warning: setlocale(): Passing locale category name as string is deprecated.
Use the LC_* -constants instead
The script at the line that is failing sez:
setlocale ("L
Sorry, yes. :)
-Mike
> -Original Message-
> From: Leif K-Brooks [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 05, 2003 4:45 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] PHP vs. CGI
>
>
> CGI meaning perl?
>
> SpyProductions Support Team wrote:
>
> >D
Has anyone ever had an issue where PHP, for whatever reason, stopped
.htaccess files from working?
Thanks,
-Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Handler server-parsed .html
>
> And add this line:
> AddType application/x-httpd-php .php .htm .html
>
> Do a search for "parse html php" for more help.
>
> -Kevin
>
> - Original Message -
> From: "Mike At Spy" <[EMAIL PROTECTED]>
&g
PHP isn't working in my html docs - what changes do I need to make to get it
to do so? Does it need to be recompiled? Can I do it without re-compiling?
Thanks,
-Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to not be available... had a similar problem recently.
>
> Take the mysql_query out of the $cartquery assignment.
>
> -Jason
>
> Mike At Spy wrote:
> > Anyone ever have the experience of working on a site, working
> with MySQL and
> > then having something almost inexpl
Anyone ever have the experience of working on a site, working with MySQL and
then having something almost inexplicable happen?
I was working on a script, and had this weird event. A very simple script
with this:
mysql_connect("localhost","user","pass");
mysql_select_db("dbname")
or die("Qu
have no idea what this would produce...
> -David
>
> On Tuesday, September 10, 2002, at 10:33 AM, Mike At Spy wrote:
>
> >
> > You could use array_rand() to take stuff out of the array at random and
> > then
> > stuff it all back into another array.
> >
>
You could use array_rand() to take stuff out of the array at random and then
stuff it all back into another array.
-Mike
> -Original Message-
> From: ROBERT MCPEAK [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 10, 2002 10:22 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] random a
I would like to write a script that would populate someone else's form on
the net and get the results.
Off hand, I imagine I would use fopen() to open up the web page and pass
some variables to it. The problem I have is that the form I want to
populate is a multi-step CGI. Is this possible? H
But isn't taking off characters or spaces considered modifying a string?
I'll take another look at the manual, thanks.
-Mike
> -Original Message-
> From: Darren Gamble [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 21, 2002 10:32 AM
> To: 'Mik
}
}
else {}
$ce++;
}
}
// end of my stuff
Thanks,
-Mike
> -Original Message-
> From: Jason Wong [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 21, 2002 8:
Get this - it didn't work! :(
I tried decreasing the -1 to -2 and so on, but nothing on that either. :(
-Mike
> -Original Message-
> From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 20, 2002 12:45 PM
> To: Mike At Spy
> Cc: [EMAIL PROT
Sorry, I mistyped - $date should be $single.
Thanks for the suggestions and help to everyone! - I will pursue them. :)
-Mike
> -Original Message-
> From: Justin French [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 20, 2002 12:50 PM
> To: Mike At Spy; [EMA
Hey!
:)
I have an issue with trim / triml. Whenever I put a string in to trimmed,
it refuses to take the period at the end of the string off.
I did put more things to trim first, but this is basically what I am doing:
$single = "The date is 20-Aug-2002." // This is an example - see below
$t
If IMAP is entered under "Loaded Modules" in the apache section of a phpinfo
file, does that mean IMAP has been enabled?
Thanks,
-Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>
> On Mon, 18 Mar 2002, Mike At Spy wrote:
> > Anyone have any suggestions for getting better reporting on a generic
> > Parse Error? Code is falling to the end of the script, and I can't find
> > a problem anywhere.
>
> I'd guess you left a curly brace
Anyone have any suggestions for getting better reporting on a generic Parse
Error? Code is falling to the end of the script, and I can't find a problem
anywhere.
I looked on the PHP site for error reporting functions, but apparently they
do not handle Parse Errors.
Thanks,
-Mike
--
PHP Ge
Thanks, great place to start. Has anyone else done this stuff? Seems like
a big pain in the butt.
-Mike
>
> The php.net site
> (http://www.php.net/manual/en/ref.pfpro.php) has all the
> information you'll need to implement Payflow Pro. Check out
> the User Contributed Notes.
>
>
67 matches
Mail list logo