RE: [PHP] Installing mcrypt
> > > > There has only been one version of libmcrypt (new server), so > I'm not sure > > why it thinks there is a 2.5.6 version on it. > > > > Where do I find the LD_LIBRARY_PATH enviroment variable to > change it? Or is > > there another solution? > > I had a similiar problem recently when trying to install aspell from > source. Don't know if this will help you, but check to see if you have > the RPM of libmcrypt installed too...that might be causing the conflict. > That was it. :) Problem is, I'm getting a different error now: *** Could not run libmcrypt test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding LIBMCRYPT or finding the wrong *** version of LIBMCRYPT. If it is not finding LIBMCRYPT, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system *** *** If you have an old version installed, it is best to remove it, although *** you may also be able to get things to work by modifying LD_LIBRARY_PATH *** configure: error: *** libmcrypt was not found Anyone know how to change the LD_LIBRARY_PATH variable? Or where to, actually. :) Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Installing mcrypt
> -Original Message- > From: John Nichel [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 12, 2003 12:33 PM > To: Mike R > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Installing mcrypt > > > Mike R wrote: > > > > That was it. :) > > > > Problem is, I'm getting a different error now: > > > > *** Could not run libmcrypt test program, checking why... > > *** The test program compiled, but did not run. This usually means > > *** that the run-time linker is not finding LIBMCRYPT or > finding the wrong > > *** version of LIBMCRYPT. If it is not finding LIBMCRYPT, > you'll need to set > > your > > *** LD_LIBRARY_PATH environment variable, or edit > /etc/ld.so.conf to point > > *** to the installed location Also, make sure you have run > ldconfig if that > > *** is required on your system > > *** > > *** If you have an old version installed, it is best to remove > it, although > > *** you may also be able to get things to work by modifying > LD_LIBRARY_PATH > > *** > > configure: error: *** libmcrypt was not found > > > > Anyone know how to change the LD_LIBRARY_PATH variable? Or where to, > > actually. > > You can put where-ever you installed libmcrypt into > /etc/ld.so.conf...ie, if you used '--prefix=/usr/local' when configuring > libmcrypt, put /usr/local into /etc/ld.so.conf, and run 'ldconfig' Did that. Same error. :\ -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Getting an uploaded picture
I wrote a script that uploads pictures and writes them to a particular directory on a server. Then I wrote a script that shows a list of what pictures are in the directory and creates a link to the picture. Everything seems to spit out from the list just fine, but the links do not work. Not because the html in them is wrong, but when you right-click on the picture to save it locally, it errors out with: "The server returned an invalid or unrecognized response". Anyone know what this might be about? Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php compile....
I'm compiling php (4.3.4) on a server with linux (different server than my other post), and the config, make, and make install all seem to go fine (no errors or special messages). No go on PHP, though. Restarted apache, but nothing. Should I reboot the server? Any other possibilities? Thanks for any help, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Getting an uploaded picture
> [snip] > Then I wrote a script that shows a list of what pictures are in the > directory and creates a link to the picture. Everything seems to spit > out > from the list just fine, but the links do not work. Not because the > html in > them is wrong, but when you right-click on the picture to save it > locally, > it errors out with: "The server returned an invalid or unrecognized > response". > [/snip] > > A little code would probably go a long way to help resolve this. I thought about that, but figured I'd ask first - particularly since I wasn't sure which code to send: the code for uploading the pictures or the code that displays the pictures/links to them? I should note that I can ftp in and download the pictures and they appear fine. :) Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php compile....
> -Original Message- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 12, 2003 3:32 PM > To: Mike R; [EMAIL PROTECTED] > Subject: RE: [PHP] php compile > > > [snip] > In what way would I have to modify it? I've compiled before without any > issues... (not on this server, though, admittedly). > [/snip] > > > # DirectoryIndex: Name of the file or files to use as a pre-written HTML > # directory index. Separate multiple entries with spaces. > # > > DirectoryIndex index.html index.php index.php3 > > > Make sure that you have > > AddType application/x-httpd-php .php > > in the httpd.conf Yeah, got that as: AddType application/x-httpd-php .php AddType application/x-httpd-php .html AddType application/x-httpd-php .phtml And the DirectoryIndex stuff is there, too. :) Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Getting an uploaded picture
> > From: "Mike R" <[EMAIL PROTECTED]> > > I thought about that, but figured I'd ask first - particularly since I > > wasn't sure which code to send: the code for uploading the > pictures or the > > code that displays the pictures/links to them? > > Show the code that displays the links to them and some of the resulting > HTML. > > Are you using a PHP page to "serve" the images, or linking directly to a > .gif/.jpg file? Linking directly. When it appears in the browser url, it is correct. I did, though, change the path that refers to the image from relative to absolute, and the problem was solved. Which is weird since it wasn't an issue with the zip'd files before. Well, one issue down, one to go. Thanks to all for help and reading. :) -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php compile....
> [snip] > Yeah, got that as: > > AddType application/x-httpd-php .php > AddType application/x-httpd-php .html > AddType application/x-httpd-php .phtml > > And the DirectoryIndex stuff is there, too. > [/snip] > > So, all of that is there, yet PHP does not work? After you compiled PHP > did you restart Apache? How, preceisely, are you testing for the > operation of PHP? I have a page for phpinfo() on the server called phpinfo.php - coming up a big blank. That and some other pages with scripts that want to download. :\ -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Microsoft .NET arguement
I have someone here at my desk arguing that Microsoft's .NET is better than PHP - faster to process, easier and quicker to program, etc. They also (claim) that Microsoft's SQL is much faster and such vs. MySQL. Any comments to help me defend PHP or to educate me? :) -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Microsoft .NET arguement
Actually, their claim is that Microsoft environments are secure - you just need the proper firewall (that, basically, the problems with Windows boxes has to do with the firewall, not the OS). That one I laughed at. -Mike > and next they will no doubt claim that IIS (and windowz in general) is a > secure environment -- just the place to run your important applications. > > > > -- Original Message ------ > > From: Mike R <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Date: Monday, November 17, 2003 11:06:37 AM -0500 > > Subject: [PHP] Microsoft .NET arguement > > > > > > I have someone here at my desk arguing that Microsoft's .NET is better > > than PHP - faster to process, easier and quicker to program, etc. > > > > They also (claim) that Microsoft's SQL is much faster and such vs. > > MySQL. > > > > Any comments to help me defend PHP or to educate me? > > > > :) > > > > -Mike > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > -- End Original Message -- > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Microsoft .NET arguement
You can't interface MySQL with ODBC? -Mike > > I agree. I've found MS SQL (and MS Access databases) to be extremely fast > when well optimised, even with massive databases. As you can > interface with > them using ODBC I prefer to use MS database backends when my > clients already > have them installed alongside PHP for Win32. > > C > > > Hi, > > From my experiences, your coworkers are somewhat correct. I found > MySQL to > be as fast in most cases, however in databases with millions of records, > MySQL started slowing down before the MS SQL did. > > As for PHP being slower to program, I disagree. Its about the same, > and in > some cases, PHP might have a few more shortcuts. > > Maybe they're using some visual editors to speed them up? > > -Dan Joseph > > > -Original Message- > > From: Mike R [mailto:[EMAIL PROTECTED] > > Sent: Monday, November 17, 2003 11:07 AM > > To: [EMAIL PROTECTED] > > Subject: [PHP] Microsoft .NET arguement > > > > > > > > I have someone here at my desk arguing that Microsoft's .NET is > > better than > > PHP - faster to process, easier and quicker to program, etc. > > > > They also (claim) that Microsoft's SQL is much faster and such > vs. MySQL. > > > > Any comments to help me defend PHP or to educate me? > > > > :) > > > > -Mike > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > If you are not the intended recipient of this e-mail, please preserve the > confidentiality of it and advise the sender immediately of any error in > transmission. Any disclosure, copying, distribution or action taken, or > omitted to be taken, by an unauthorised recipient in reliance upon the > contents of this e-mail is prohibited. Somerfield cannot accept liability > for any damage which you may sustain as a result of software viruses so > please carry out your own virus checks before opening an attachment. In > replying to this e-mail you are granting the right for that reply to be > forwarded to any other individual within the business and also to > be read by > others. Any views expressed by an individual within this message do not > necessarily reflect the views of Somerfield. Somerfield reserves > the right > to intercept, monitor and record communications for lawful business > purposes. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] jpeg Uploader issue
I am having an issue where a user with a MAC can't see jpegs uploaded to a web site I built. They are getting some sort of corrupt file indicator. All PC users are fine from what I gather. I saw only one reference to this on the web in a forum, and it lead to no particular answer; just a few people talking about how they were all having the issue. Anyone ever seen anything like this? Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: jpeg Uploader issue
> i had a problem like the one you descriped. > The problem was quite simple. In my case everything > worked fine with Windows-Web-Browsers but not with > MAC-Browsers. > Check the value of the filetype variable. There might be > differences between different plattforms. I'm sorry to sound stupid here, but what do you mean by that? :\ :) Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: jpeg Uploader issue
> On Mon, 12 Jan 2004, Mike R wrote: > > > i had a problem like the one you descriped. The problem was quite > > > simple. In my case everything worked fine with Windows-Web-Browsers > > > but not with MAC-Browsers. Check the value of the filetype variable. > > > There might be differences between different plattforms. > > > > I'm sorry to sound stupid here, but what do you mean by that? :\ > > This occurred to me too, but I couldn't find the thread to respond... > > I think he means that the server may be returning an incorrect > Content-type header for jpeg images. IE is especially notorious for > (incorrectly) ignoring this information if it can match the file extension > to a file type registered on the local machine. > > In an ideal world, all http clients should respect the Content-type header > to determine the file type. A .jpg should be Content-type: image/jpeg > > Normally this is set in your server configuration. However, if they are > being served by a script that is outputting the raw data to the client, > you may need to send this header from the script. That would explain why > Mac users see the problem only with uploaded images (did you say?). > > In PHP you would set the Content-type header like so: > header("Content-type: image/jpeg"); So, should I write that header to the actual image file prior to the image itself? :) I'll admit that while IE is incorrect for ignoring this information, I think it is also important for browsers to be flexible enough to understand what a file means to make the experience for the end user smooth. Thanks! -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: jpeg Uploader issue
> On Mon, 12 Jan 2004, Mike R wrote: > > > i had a problem like the one you descriped. The problem was quite > > > simple. In my case everything worked fine with Windows-Web-Browsers > > > but not with MAC-Browsers. Check the value of the filetype variable. > > > There might be differences between different plattforms. > > > > I'm sorry to sound stupid here, but what do you mean by that? :\ > > This occurred to me too, but I couldn't find the thread to respond... > > I think he means that the server may be returning an incorrect > Content-type header for jpeg images. IE is especially notorious for > (incorrectly) ignoring this information if it can match the file extension > to a file type registered on the local machine. > > In an ideal world, all http clients should respect the Content-type header > to determine the file type. A .jpg should be Content-type: image/jpeg > > Normally this is set in your server configuration. However, if they are > being served by a script that is outputting the raw data to the client, > you may need to send this header from the script. That would explain why > Mac users see the problem only with uploaded images (did you say?). > > In PHP you would set the Content-type header like so: > header("Content-type: image/jpeg"); So, should I write that header to the actual image file prior to the image itself? :) I'll admit that while IE is incorrect for ignoring this information, I think it is also important for browsers to be flexible enough to understand what a file means to make the experience for the end user smooth. Thanks! -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: Re[2]: [PHP] Re: jpeg Uploader issue
> Hello Mike, > > Tuesday, January 13, 2004, 2:55:44 PM, you wrote: > > >> In PHP you would set the Content-type header like so: > >> header("Content-type: image/jpeg"); > > MR> So, should I write that header to the actual image file prior > to the image > MR> itself? > > You should output it to the browser prior to the image data itself. > That's what I kind of thought, but this is a case where the browser is opening the image directly - there is no html code or placement in an html page. -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] payflowpro problem
Does anyone know if there are particular settings in php 4.3.4 that prevent payflowpro from responding properly? I'm getting 'Amount mismatch' when I run my function - which runs on other sites and ips just fine (i.e. I can move the exact code over there and it works fine) - but it doesn't seem to be even getting to verisign to begin with. All of the proper ports seem to be open as well. Since verisign uses port 443 for this, could it be an ssl or other issue? Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: Re[4]: [PHP] Re: jpeg Uploader issue
Sinc the link goes directly to the picture, how do I apply the header first? Should I apply it in the html page the link is on? :) Thanks! -Mike > > Hello Mike, > > Tuesday, January 13, 2004, 5:31:47 PM, you wrote: > > MR> That's what I kind of thought, but this is a case where the browser is > MR> opening the image directly - there is no html code or > placement in an html > MR> page. > > It doesn't matter, it's still being served via HTTP and that's what > you're trying to emulate. Here is a typical (real live) image request > as seen from a browser: > > HTTP/1.1 200 OK > Date: Tue, 13 Jan 2004 17:54:28 GMT > Server: Apache/1.3.26 (Unix) > Last-Modified: Mon, 31 Mar 2003 23:40:00 GMT > ETag: "64060d-18b4-3e88d1d0" > Accept-Ranges: bytes > Content-Type: image/gif > > The image in question was actually: > http://tucows.easynet.net/images/logo.gif > > Just happened to be on that page at the time :) > > -- > Best regards, > Richardmailto:[EMAIL PROTECTED] > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: Re[4]: [PHP] Re: jpeg Uploader issue
Since the link goes directly to the picture, how do I apply the header first? Should I apply it in the html page the link is on? :) Thanks! -Mike > > Hello Mike, > > Tuesday, January 13, 2004, 5:31:47 PM, you wrote: > > MR> That's what I kind of thought, but this is a case where the browser is > MR> opening the image directly - there is no html code or > placement in an html > MR> page. > > It doesn't matter, it's still being served via HTTP and that's what > you're trying to emulate. Here is a typical (real live) image request > as seen from a browser: > > HTTP/1.1 200 OK > Date: Tue, 13 Jan 2004 17:54:28 GMT > Server: Apache/1.3.26 (Unix) > Last-Modified: Mon, 31 Mar 2003 23:40:00 GMT > ETag: "64060d-18b4-3e88d1d0" > Accept-Ranges: bytes > Content-Type: image/gif > > The image in question was actually: > http://tucows.easynet.net/images/logo.gif > > Just happened to be on that page at the time :) > > -- > Best regards, > Richardmailto:[EMAIL PROTECTED] > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php & paypal
Does anyone know if it is possible to pass a variable in the URL to the return page when using paypal? Meaning, when someone is done a transaction in paypal and they return the merchant's site, can a variable be passed all of the way through back to the merchant's site? :) -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] php & paypal
That's trueI didn't even think of that. Not a cc number, but, say, an invoice number that the person starts with before they go off to paypal and return from paypal with the same invoice number so that I can then do more things with the user (the invoice number being unique). :) Thanks, -Mike > > Might be easier to use session vars to track whatever it is your tracking. > > Jason > > On Tue, 27 Jul 2004 11:11:31 -0400, Mike R > <[EMAIL PROTECTED]> wrote: > > > > Does anyone know if it is possible to pass a variable in the URL to the > > return page when using paypal? > > > > Meaning, when someone is done a transaction in paypal and they > return the > > merchant's site, can a variable be passed all of the way > through back to the > > merchant's site? > > > > :) > > > > -Mike > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re-compiling PHP
I am trying to re-compile php, but keep getting erros that the mysql extensions are not installed. I got the binary from php.net and included mysql in configure (following). What am I not doing correctly? ./configure '--prefix=/usr/local' '--enable-exif' '--enable-track-vars' '--with-calendar=shared' '--enable-magic-quotes' '--enable-trans-sid' '--enable-wddx' '--enable-ftp' '--with-gd' '--with-zlib' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--with-ttf' '--with-openssl' '--with-gettext=/usr' '--with-gd' '--with-zlib-dir=/usr/local' '--with-png-dir=/usr' '--with-jpeg-dir=/usr/local' '--with-mysql' Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re-compiling PHP
> Mike R wrote: > > I am trying to re-compile php, but keep getting erros that the mysql > > extensions are not installed. I got the binary from php.net > and included > > mysql in configure (following). What am I not doing correctly? > > You're trying to compile the binaries? Sorry, the tar'd file I should say. ;p :) -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re-compiling PHP
Sorry, no, its PHP 4.3.9 - and I am upgrading from 4.1.2. I have mysql installed and have been using it. I'll see if I can put something in about the exact location of the libs. Any other suggestions out there? :) Thanks, -Mike > Mike R wrote: > > > > > >>Mike R wrote: > >> > >>>I am trying to re-compile php, but keep getting erros that the mysql > >>>extensions are not installed. I got the binary from php.net > >> > >>and included > >> > >>>mysql in configure (following). What am I not doing correctly? > >> > >>You're trying to compile the binaries? > > > > > > Sorry, the tar'd file I should say. ;p > > This is PHP5? If I'm not mistaken (someone will correct me if I am), > PHP5 doesn't come bundled with MySQL anymore, so you will have to tell > the configure where MySQL is installed... > > --with-mysql=/path/to/mysql > > -- > John C. Nichel > ÜberGeek > KegWorks.com > 716.856.9675 > [EMAIL PROTECTED] > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re-compiling PHP
Even after re-compiling with the location of the mysql headers, it still won't work. :\ Pretty discouraging. What version of PHP did they start dropping the libraries? Maybe I need to just upgrade to that version.. :\ -Mike > -Original Message- > From: Robby Russell [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 21, 2004 2:56 PM > To: Mike R > Cc: John Nichel; [EMAIL PROTECTED] > Subject: RE: [PHP] Re-compiling PHP > > > On Thu, 2004-10-21 at 14:52 -0400, Mike R wrote: > > > > > > > Mike R wrote: > > > > I am trying to re-compile php, but keep getting erros that the mysql > > > > extensions are not installed. I got the binary from php.net > > > and included > > > > mysql in configure (following). What am I not doing correctly? > > > > > > You're trying to compile the binaries? > > > > Sorry, the tar'd file I should say. ;p > > > > You probably need to do --with-mysql=/path/to/mysql/libs > > It's not finding them by itself..so you my need to be a bit more > specific. > > ..you have mysql libs installed, right? > > -Robby > > > -- > /*** > * Robby Russell | Owner.Developer.Geek > * PLANET ARGON | www.planetargon.com > * Portland, OR | [EMAIL PROTECTED] > * 503.351.4730 | blog.planetargon.com > * PHP/PostgreSQL Hosting & Development > / > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re-compiling PHP
> On Thu, 21 Oct 2004 15:35:09 -0400, Mike R > <[EMAIL PROTECTED]> wrote: > > Even after re-compiling with the location of the mysql headers, it still > > won't work. :\ > > > > Pretty discouraging. What version of PHP did they start dropping the > > libraries? Maybe I need to just upgrade to that version.. > > What does the --with-mysql portion of your ./configure command look like? > > Do you actually have any files on your system named libmysql* ? A > quick check on two systems I have access to, Suse 9.1 and Debain > Sarge, they are in the same place: /usr/lib/libmysqlclient*. that > means I would have installed PHP like --with-mysql=/usr . > > How is your MySQL installed? From RPMs? If so do you have the MySQL > development RPMs installed? What OS are you running? Redhat 7.3, I believe MySQL was installed with an RPM. No, I don't have any development RPMs installed. Should I maybe recompile MySQL first? Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re-compiling PHP
> On Thu, 2004-10-21 at 16:05 -0400, Mike R wrote: > > > On Thu, 21 Oct 2004 15:35:09 -0400, Mike R > > > <[EMAIL PROTECTED]> wrote: > > > > Even after re-compiling with the location of the mysql > headers, it still > > > > won't work. :\ > > > > > > > > Pretty discouraging. What version of PHP did they start > dropping the > > > > libraries? Maybe I need to just upgrade to that version.. > > > > > > What does the --with-mysql portion of your ./configure > command look like? > > > > > > Do you actually have any files on your system named libmysql* ? A > > > quick check on two systems I have access to, Suse 9.1 and Debain > > > Sarge, they are in the same place: /usr/lib/libmysqlclient*. that > > > means I would have installed PHP like --with-mysql=/usr . > > > > > > How is your MySQL installed? From RPMs? If so do you have the MySQL > > > development RPMs installed? What OS are you running? > > > > Redhat 7.3, I believe MySQL was installed with an RPM. No, I > don't have any > > development RPMs installed. Should I maybe recompile MySQL first? > > > > Thanks, > > > > -Mike > > find the mysql-devel package that matches the version you are running. > > tip: download apt from freshrpms.net > > http://ftp.freshrpms.net/pub/freshrpms/redhat/7.3/apt/ > > install the rpm for apt... then run: > apt-get update > apt-get install mysql mysql-devel This is what I got when I did that: mysql is already the newest version. mysql-devel is already the newest version. 0 packages upgraded, 0 newly installed, 0 removed and 75 not upgraded. ? :\ -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP & Apache Version
Is there a version of Apache 2+ that now works with PHP? Last I checked, the were incompatible, but recently someone I ran into claimed that the bugs have been for such a setup. :) Thanks, -MIke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Value in URL issue
I have an issue where I have a value in a link like this: http://www.something.com/templates/nav.php?page=about But when the link is clicked on, the value of page is empty. Is this a globals issue of some sort? Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Value in URL issue
Both $_GET['page'] and print_r($_REQUEST) come up empty! No results at all. :\ -Mike > -Original Message- > From: Torsten Roehr [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 16, 2004 3:44 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: Value in URL issue > > > "Mike R" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > I have an issue where I have a value in a link like this: > > > > http://www.something.com/templates/nav.php?page=about > > > > But when the link is clicked on, the value of page is empty. Is this a > > globals issue of some sort? > > Try accessing it via $_GET['page']. You can always do a print_r($_REQUEST) > to see which variables are available. > > Regards, Torsten Roehr > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Value in URL issue
I only get 'NULL' when I do that. Sort of interesting. -Mike > -Original Message- > From: Matt Grimm [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 16, 2004 4:10 PM > To: Mike R > Subject: Re: [PHP] Re: Value in URL issue > > > Try this at the top of nav.php (before any other code): > > var_dump($_GET['page']); > > It can generally can give you more interesting information. > > -- > > Matt Grimm > Web Developer > The Health TV Channel, Inc. > (a non - profit organization) > 3820 Lake Otis Parkway > Anchorage, AK 99508 > 907.770.6200 ext. 686 > 907.336.6205 (fax) > E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > Web: www.healthtvchannel.org <http://www.healthtvchannel.org> > > > > Mike R wrote: > > > > > > >>-Original Message- > >>From: chmok [mailto:[EMAIL PROTECTED] > >>Sent: Wednesday, June 16, 2004 3:50 PM > >>To: [EMAIL PROTECTED] > >>Subject: [PHP] Re: Value in URL issue > >> > >> > >>[EMAIL PROTECTED] (Mike R) wrote in > >>news:[EMAIL PROTECTED]: > >> > >> > >> > >>>I have an issue where I have a value in a link like this: > >>> > >>>http://www.something.com/templates/nav.php?page=about > >>> > >>>But when the link is clicked on, the value of page is empty. Is this a > >>>globals issue of some sort? > >>> > >>>Thanks, > >>> > >>>-Mike > >>> > >>> > >>How are you testing for the variable on nav.php? It will be in $_GET > >>['page'] with more recent versions of PHP. If you want to use the > >>variable > >>directly, like $page, you need to extract it first - extract($_GET). > >> > >> > > > >I did print $_GET['page']; > > > >:) > > > >-Mike > > > > > > > > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Value in URL issue
Nothing gets printed out with this. :\ -Mike > -Original Message- > From: Gabino Travassos [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 16, 2004 4:04 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Value in URL issue > > > $_SERVER['QUERY_STRING'] should get anything after the "?" in your url. > > - Original Message - > From: "Mike R" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, June 16, 2004 1:45 PM > Subject: [PHP] Value in URL issue > > > > > > I have an issue where I have a value in a link like this: > > > > http://www.something.com/templates/nav.php?page=about > > > > But when the link is clicked on, the value of page is empty. Is this a > > globals issue of some sort? > > > > Thanks, > > > > -Mike > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Value in URL issue
Thanks to all for your help - I nuked php, re-installed it, and everything is cool now. Still odd why it started happening to begin with. :\ :) -Mike > -Original Message- > From: Gabino Travassos [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 16, 2004 5:02 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Value in URL issue > > > Maybe you should post all the relevant code. > > - Original Message - > From: "Mike R" <[EMAIL PROTECTED]> > To: "Gabino Travassos" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Wednesday, June 16, 2004 2:36 PM > Subject: RE: [PHP] Value in URL issue > > > > > > > > Nothing gets printed out with this. :\ > > > > -Mike > > > > > > > > > -Original Message- > > > From: Gabino Travassos [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, June 16, 2004 4:04 PM > > > To: [EMAIL PROTECTED] > > > Subject: Re: [PHP] Value in URL issue > > > > > > > > > $_SERVER['QUERY_STRING'] should get anything after the "?" in > your url. > > > > > > - Original Message - > > > From: "Mike R" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Wednesday, June 16, 2004 1:45 PM > > > Subject: [PHP] Value in URL issue > > > > > > > > > > > > > > I have an issue where I have a value in a link like this: > > > > > > > > http://www.something.com/templates/nav.php?page=about > > > > > > > > But when the link is clicked on, the value of page is > empty. Is this > a > > > > globals issue of some sort? > > > > > > > > Thanks, > > > > > > > > -Mike > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Really Annoying Require/Include Error
I am getting this error: Fatal error: Failed opening required '/home/sites/site111/web/news/settings/newsletter.settings.inc.php' (include_path='') in /home/sites/site111/web/news/forms/sign_in_out_form.inc.php on line 7 >From this piece of code: require ("/home/sites/site111/web/news/settings/newsletter.settings.inc.php"); Before I totally lose my mind, can someone point out to me why I would be getting the error? The file is there, and named correctly. I had two other people in the office confirm the path and filename. :\ Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: Really Annoying Require/Include Error
> -Original Message- > > I am getting this error: > > > > > > > > Fatal error: Failed opening required > > '/home/sites/site111/web/news/settings/newsletter.settings.inc.php' > > (include_path='') in > > /home/sites/site111/web/news/forms/sign_in_out_form.inc.php on line 7 > > > > > > From this piece of code: > > > > require > > ("/home/sites/site111/web/news/settings/newsletter.settings.inc.php"); > > Based on this path I'm assuming you use Linux? If that's the case you > need to be sure that your webserver has permissions to execute that > file. To test this, try chmod 777 and then execute the script... but > later chmod to something more sane, maybe 755. > Yes, Linux. I checked the permission - set the whole directory to 777, no change in the problem. Is there anything in the compiling of php or ini settings that would affect include or require statements? :) Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php