RE: [PHP] php code to fax
I have finally uploaded a tar ball to the phpfax.sourceforge.net website. All the code is there, but it will take a good bit of work to get the whole thing working. Those who have shown interest in the project will probably just be interested in parts of the code for there own projects. If you have any questions, I'll do my best to help you out. Chris On Fri, 26 Oct 2001, Glenn Antoine wrote: Date: Fri, 26 Oct 2001 08:20:12 -0500 To: [EMAIL PROTECTED] From: Glenn Antoine [EMAIL PROTECTED] Subject: RE: [PHP] php code to fax Chris, I just wanted to touch base with you to see if you had received my email. I would be very interested in obtaining a copy of what you have to date. It seems that you have solved some of the very problems that I am dealing with. Again thanks for your help with this. Glenn -Original Message- From: Chris Carbaugh [mailto:[EMAIL PROTECTED]] Sent: Monday, October 22, 2001 1:59 PM To: Glenn Antoine; [EMAIL PROTECTED] Subject: Re: [PHP] php code to fax Check out phpfax.sourceforge.net This is a project I have pretty much abandoned, and never even posted the code. I have had some people interested in it though, and would like to give the code to the community, I just never found the time. Drop me a line if your interested, and I'll do my best to gather the code into a tarball and post it. Chris On Mon, 22 Oct 2001, Glenn Antoine wrote: Date: Mon, 22 Oct 2001 08:38:42 -0500 To: [EMAIL PROTECTED] From: Glenn Antoine [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Subject: [PHP] php code to fax I am working on a project that will require the ability to take input from a web interface and then fax the content out to some of the members. If anyone has had any experience with a similar project, I would greatly appreciate any assistance. Thanks in advance, Glenn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] php code to fax
Check out phpfax.sourceforge.net This is a project I have pretty much abandoned, and never even posted the code. I have had some people interested in it though, and would like to give the code to the community, I just never found the time. Drop me a line if your interested, and I'll do my best to gather the code into a tarball and post it. Chris On Mon, 22 Oct 2001, Glenn Antoine wrote: Date: Mon, 22 Oct 2001 08:38:42 -0500 To: [EMAIL PROTECTED] From: Glenn Antoine [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Subject: [PHP] php code to fax I am working on a project that will require the ability to take input from a web interface and then fax the content out to some of the members. If anyone has had any experience with a similar project, I would greatly appreciate any assistance. Thanks in advance, Glenn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Help with array creation
Hello, I'm trying to take the query string of a url and turn it into an associative array. Let's say I have a URL like myHost.com/somepage.php?val1=oneval2=two I can get the query with HTTP_SERVER_VARS["QUERY_STRING"], but how do I generate an array equivilent to array('val1'='one', 'val2'='two') Also, this example uses a GET method. First, can I do this? Also, can I do this with a POST method? Thanks, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: Re: [PHP] are sessions single threaded?
By not using cookies, each browser window would have it's own session, propagated through the URL. Which I don't think you would want users with multi sessions in an intranet app. You didn't mention how you are storing your session data, but I'll assume it's the defualt (files). I would further quess that the hanging that you are seeing is do to a lock on the particular session file. Any body know for sure? I'm currently working on are pretty complex intranet app that has mulitple frames, each needing access to the session data independant of the others. In my situation, PHP sessions just couldn't do what I wanted. I ended up rolling my own session/authentication scheme backed by a DB. Chris On Wed, 7 Mar 2001, Bill Rausch wrote: Date: Wed, 7 Mar 2001 15:00:41 -0800 To: Ernest E Vogelsinger [EMAIL PROTECTED] From: Bill Rausch [EMAIL PROTECTED] Subject: Re: [PHP] are sessions single threaded? At 4:04 PM -0800 3/6/01, Ernest E Vogelsinger wrote: At 00:56 07.03.2001, Bill Rausch said: [snip] What I mean is, if a user is connected to a php page that uses sessions and that is involved in a time consuming operation (say 20 seconds or more) before returning an answer, and the user also opens a second window in the same browser to connect to another page in the same site that uses sessions the second window will hang till the first operation is complete. While testing, I was able to show that if I don't use sessions this doesn't happen. I need to use sessions and would like to allow users to have multiple windows connected to my site (it is an intranet application). [snip] try not to use cookies - use session keys via URL/hidden form fields. This way multiple browser connects can have multiple session keys, and you won't "hang" Thanks for the answer. Help me to understand please. Is this a limitation of PHP somehow or is it a limitation of the browsers. Why does not using cookies make a difference? Where would I go to find more information on this issue? --- Bill Rausch, Software Development, Unix, Mac, Windows Numerical Applications, Inc. 509-943-0861 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: Re: Re: [PHP] are sessions single threaded?
It's a PHP class that's included at the top of every page that needs session/authentication. It's cookie based only, no option for URL propagation. PHPLib can do the same, as well as some other classes floating around. Chris On Thu, 8 Mar 2001, Bill Rausch wrote: Date: Thu, 8 Mar 2001 10:21:37 -0800 To: [EMAIL PROTECTED] From: Bill Rausch [EMAIL PROTECTED] Subject: Re: Re: [PHP] are sessions single threaded? Thanks Chris. I've been looking at the PHP source code and have tentatively come to the same conclusion about the file locks. I'm going to play around with the no-cookies option and see where that takes me. Bill PS: The roll-your-own that you did. Did you modify the PHP program or just handle it in your web pages? At 10:01 AM -0800 3/8/01, Chris Carbaugh wrote: By not using cookies, each browser window would have it's own session, propagated through the URL. Which I don't think you would want users with multi sessions in an intranet app. You didn't mention how you are storing your session data, but I'll assume it's the defualt (files). I would further quess that the hanging that you are seeing is do to a lock on the particular session file. Any body know for sure? I'm currently working on are pretty complex intranet app that has mulitple frames, each needing access to the session data independant of the others. In my situation, PHP sessions just couldn't do what I wanted. I ended up rolling my own session/authentication scheme backed by a DB. Chris On Wed, 7 Mar 2001, Bill Rausch wrote: Date: Wed, 7 Mar 2001 15:00:41 -0800 To: Ernest E Vogelsinger [EMAIL PROTECTED] From: Bill Rausch [EMAIL PROTECTED] Subject: Re: [PHP] are sessions single threaded? At 4:04 PM -0800 3/6/01, Ernest E Vogelsinger wrote: At 00:56 07.03.2001, Bill Rausch said: [snip] What I mean is, if a user is connected to a php page that uses sessions and that is involved in a time consuming operation (say 20 seconds or more) before returning an answer, and the user also opens a second window in the same browser to connect to another page in the same site that uses sessions the second window will hang till the first operation is complete. While testing, I was able to show that if I don't use sessions this doesn't happen. I need to use sessions and would like to allow users to have multiple windows connected to my site (it is an intranet application). [snip] try not to use cookies - use session keys via URL/hidden form fields. This way multiple browser connects can have multiple session keys, and you won't "hang" Thanks for the answer. Help me to understand please. Is this a limitation of PHP somehow or is it a limitation of the browsers. Why does not using cookies make a difference? Where would I go to find more information on this issue? --- Bill Rausch, Software Development, Unix, Mac, Windows Numerical Applications, Inc. 509-943-0861 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] --- Bill Rausch, Software Development, Unix, Mac, Windows Numerical Applications, Inc. 509-943-0861 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: RE: [PHP] Fax manipulation?
Check out PHPFax.sourceforge.net This is a project I started a while back and never quite finished. The project does work, and is in use by the 20 windoze users I support. If you interested in the code, I suppose I can make the time to upload it :) Let me know, Chris On Mon, 19 Feb 2001, Brian V Bonini wrote: Date: Mon, 19 Feb 2001 09:38:20 -0500 To: "Joshua Long" [EMAIL PROTECTED], [EMAIL PROTECTED] From: "Brian V Bonini" [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Subject: RE: [PHP] Fax manipulation? There are actually many ways to send an email to a fax gateway. So, you could generate an email, send it to a FAX gateway, ... and presto! -Brian * -Original Message- From: Joshua Long [mailto:[EMAIL PROTECTED]] Sent: Monday, February 19, 2001 9:26 AM To: [EMAIL PROTECTED] Subject: [PHP] Fax manipulation? Hello all... Is there anyway at all for a PHP script to somehow interact with a fax? dynamically generated pdfs... dynamically generated images... dynamically generated... faxes? I mean i don't even know how it would begin to work but is there a way to send a fax maybe as it does e-mail? Thanks in advance, Josh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: Re: RE: [PHP] Fax manipulation?
Humberto: Sorry it took me a while to repsond... I'll get some code uploaded to PHPFax.sourceforge.net as soon as possible. Be warned, however, that the code is in what I would call 'proof of concept' state. Meaning it works, but it is far from something that is easy to install and setup. It relies on several other software packages (all opensource, of course), and takes some effort to get working. I'll write up some instructions and upload. Hopefully this week? Chris On Mon, 19 Feb 2001, Indrek Jrv wrote: Date: Mon, 19 Feb 2001 18:44:09 +0200 To: [EMAIL PROTECTED] From: Indrek Jrv [EMAIL PROTECTED] Subject: Re: RE: [PHP] Fax manipulation? Check out PHPFax.sourceforge.net This is a project I started a while back and never quite finished. The project does work, and is in use by the 20 windoze users I support. If you interested in the code, I suppose I can make the time to upload it :) Let me know, Chris Hi Chris. Upload will be nice :) I like very much see this PHP code :) Indrek Jrv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] RE: [php_mysql] Creative solution with XML,PHP,MYSQL
Check out webfx.eae.net for a sample on how to do this. It does require IE4+ or Mozilla. Chris On Mon, 19 Feb 2001, Tim Ward wrote: Date: Mon, 19 Feb 2001 13:47:00 - To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] From: Tim Ward [EMAIL PROTECTED] Subject: [PHP] RE: [php_mysql] Creative solution with XML,PHP,MYSQL you can do it with javascript. assign all of the cell contents to a javascript 2-d array of strings (mytext[x][y]). create the table with a div in each cell. create a 2-d array of object pointers pointing to each div. you can then change the contents of each div at will (for example when a button is pressed). i.e. divobject[x][y].innerHTML = mytext[x][new_y]. I use this technique a lot for game writing in js. the complication in your case is that some of the js (building the arrays and the table) needs to be built by the php. I've never tried this but it should work if you just echo it as you would html. Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html -Original Message- From: Tom Knight [mailto:[EMAIL PROTECTED]] Sent: 19 February 2001 08:53 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [php_mysql] Creative solution with XML,PHP,MYSQL I hate to say it, but the only way I can see of doing this offhand is with ecmascript dhtml or does that Dynamic Data Binding (only works with ie5, or 5.5?) do this sort of thing? Either way, you're looking at unbounded fun catering for different browsers. -Original Message- From: Siim Einfeldt aka Itpunk [mailto:[EMAIL PROTECTED]] Sent: 17 February 2001 14:25 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [php_mysql] Creative solution with XML,PHP,MYSQL Hi everybody, I want to implement ordering something on a website without refreshing the page. Lets say i have four columns in the html table - name,age,skill and phone. All these are links - under these are the information, eg: Name Age Skill Phone Siim 23 php 051... Tony 18 html 132... Now, when i click on the name, it should order the listings by name, if I click on the age, I get the listing ordered by age and etc,etc. Generally it is easy to do it, but how to do it without refreshing the page every time I want to order by something else? It should be possible with XML; I get the data from mysql database with php, I write it into an array and ... now how could I make it function the way I just described? Could someone point me some already written code or explain me in detail how to do it? Thank you, Siim Einfeldt PS: Sorry about sending this message to so many lists, but I haven`t seen this kind of code anywhere, but at the same time I know it is possible. Yahoo! Groups Sponsor -~-~ eGroups is now Yahoo! Groups Click here for more details http://click.egroups.com/1/11231/1/_/19011/_/982419916/ -- ---_- the PHP_mySQL group is dedicated to learn more about the PHP_mySQL web database possibilities through group learning. http://www.1sdesign.com/web/books.shtml You can get books here. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: Re: [PHP] PDF Functions
Here's the steps I would take: ditch all those configure options except the ones needed to keep PDF functions working. Maybe even just ./configure --with-pdflib=/usr/local/lib, and test it out as a stand alone exec. If that fails, ditch the RPMs. Get the source for apache, php, pdflib, and whatever else you need. I have had problems in the past with RedHat's RPMs. They seem to put things in weird places. And just removing them and starting fresh with source always seems to work. Besides, once you have built from source a few times, it's really a piece of cake, and much less frustrating than screwing with RPMs. Chris On Wed, 14 Feb 2001, Mike Tuller wrote: Date: Wed, 14 Feb 2001 15:49:44 -0600 To: [EMAIL PROTECTED], php mailing list [EMAIL PROTECTED] From: Mike Tuller [EMAIL PROTECTED] Subject: Re: [PHP] PDF Functions The reason why I needed the RPM is because no matter what I tried, I couldn't get PHP to compile for the Apache rpm on Redhat 7. If at all possible, I like to use the rpms so that they can be easily updated. I have done everything everyone has suggested, and I still get an error. I have even compiled PHP and still I can't use PDFlib. What next? Here is the updated config script that I used. ./configure --prefix=/usr --with-config-file-path=/etc --disable-debug --enable-pic --enable-shared --enable-inline-optimization --with-apxs=/usr/sbin/apxs --with-exec-dir=/usr/bin --with-regex=system --with-gettext --with-gd --with-jpeg-dir=/usr --with-png --with-zlib --with-gdbm --enable-debugger --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-yp --enable-ftp --enable-wddx --with-mysql --with-xml --with-pdflib=/usr/local/lib --with-tiff From: Chris Carbaugh [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 14 Feb 2001 15:08:02 EST To: Mike Tuller [EMAIL PROTECTED], php mailing list [EMAIL PROTECTED] Subject: Re: [PHP] PDF Functions How about in /etc/ld.so.conf you make sure /usr/lib is in there. Then run /sbin/ldconfig. Also, why bother with the source RPM? I would rather just get the source tarball direct from PHP.net and run with it. Chris On Wed, 14 Feb 2001, Mike Tuller wrote: Date: Wed, 14 Feb 2001 12:07:50 -0600 To: php mailing list [EMAIL PROTECTED] From: Mike Tuller [EMAIL PROTECTED] Subject: [PHP] PDF Functions I finally got everything to install on RedHat 7, but I can't do anything with pdflib like I had expected. I get back Fatal error: Call to undefined function: pdf_new() in /var/www/html/pdfclock.php on line 7. Line 7 is $pdf = PDF_new(); This is rather frustrating that every time I try to install PHP on a machine it takes me a week to get it going. Here is what I have for the config from the srpm after modification as instructed earlier. ../configure \ --prefix=%{_prefix} \ --with-config-file-path=%{_sysconfdir} \ --disable-debug \ --enable-pic \ --enable-shared \ --enable-inline-optimization \ $* \ --with-exec-dir=%{_bindir} \ --with-regex=system \ --with-gettext \ --with-gd \ --with-jpeg-dir=%{_prefix} \ --with-png \ --with-zlib \ --with-gdbm \ --enable-debugger \ --enable-magic-quotes \ --enable-safe-mode \ --enable-sockets \ --enable-sysvsem \ --enable-sysvshm \ --enable-track-vars \ --enable-yp \ --enable-ftp \ --enable-wddx \ --with-mysql \ --with-xml \ --with-pdflib=/usr/lib/lipdf.so.0 \ --with-tiff Can someone look at this and tell me what else I need to put in to get this to work? Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: Re: [PHP] PDF Functions
Well, first let me say that I'm kind of surprised I'm the only one trying to help you guys out. It seems not many folk are into PHP/PDF? Any how, Redhat's *.0 releases are known to be problematic. They are usually pretty much bleading edge, meaning they're buggy. The last time I compiled PHP with PDF support, was a few weeks ago. It was on RedHat 6.2, PHP 4.0.2, and PDFLIB, as a CGI or a stand alone executable. The config was pretty much ./configure --with-pgsql=/usr/local/pgsql --with-pdf=/usr/local/bin (I really think that was it, note I did NOT point right to the libpdf.so). I also added /usr/local/lib to /etc/ld.so.conf and did a ldconfig. That's really all I did. RH 6.2, source tarballs of Apache 1.3.12, PHP 4.0.2, pdflib 3.03, postgresql 7.0.2. If everything configs/builds correctly, I would blame RH 7.0 While I would like to install RH 7.0 and figure out what's up, I just don't have the time. I would suggest, A) you try to install PHP/PDF as a CGI under your current install. This allows the simplest install. If that doesn't work, try RH 6.2 or some other distro? Good Luck, Chris On Wed, 14 Feb 2001, Mike Tuller wrote: Date: Wed, 14 Feb 2001 17:45:28 -0600 To: Michael Stearne [EMAIL PROTECTED] From: Mike Tuller [EMAIL PROTECTED] Subject: Re: [PHP] PDF Functions Exactly!!! I have gone back and redone everything 3 or 4 times, and am on day 3 of this. I watch while I configure, and it says that it is working, but when I go to check. I still get an error. From: Michael Stearne [EMAIL PROTECTED] Date: Wed, 14 Feb 2001 18:01:20 -0500 To: [EMAIL PROTECTED] Cc: Mike Tuller [EMAIL PROTECTED], php mailing list [EMAIL PROTECTED] Subject: Re: [PHP] PDF Functions Chris Carbaugh wrote: I have had problems in the past with RedHat's RPMs. They seem to put things in weird places. And just removing them and starting fresh with source always seems to work. Besides, once you have built from source a few times, it's really a piece of cake, and much less frustrating than screwing with RPMs. I am in the same situation except I have compiled from all the sources (not RPMS) and I still get hung up when I try to include PDF. My system is a new install of RH 7 with the updates that up2date suggests (gcc, etc.). I have compiled and installed PHP with PDF no problem on RH 6.2. I think the issue is something specific to RH7. I hope RH 7.1 fixes it. I think at this point I am going back to 6.2 Michael Chris On Wed, 14 Feb 2001, Mike Tuller wrote: Date: Wed, 14 Feb 2001 15:49:44 -0600 To: [EMAIL PROTECTED], php mailing list [EMAIL PROTECTED] From: Mike Tuller [EMAIL PROTECTED] Subject: Re: [PHP] PDF Functions The reason why I needed the RPM is because no matter what I tried, I couldn't get PHP to compile for the Apache rpm on Redhat 7. If at all possible, I like to use the rpms so that they can be easily updated. I have done everything everyone has suggested, and I still get an error. I have even compiled PHP and still I can't use PDFlib. What next? Here is the updated config script that I used. ./configure --prefix=/usr --with-config-file-path=/etc --disable-debug --enable-pic --enable-shared --enable-inline-optimization --with-apxs=/usr/sbin/apxs --with-exec-dir=/usr/bin --with-regex=system --with-gettext --with-gd --with-jpeg-dir=/usr --with-png --with-zlib --with-gdbm --enable-debugger --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-yp --enable-ftp --enable-wddx --with-mysql --with-xml --with-pdflib=/usr/local/lib --with-tiff From: Chris Carbaugh [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 14 Feb 2001 15:08:02 EST To: Mike Tuller [EMAIL PROTECTED], php mailing list [EMAIL PROTECTED] Subject: Re: [PHP] PDF Functions How about in /etc/ld.so.conf you make sure /usr/lib is in there. Then run /sbin/ldconfig. Also, why bother with the source RPM? I would rather just get the source tarball direct from PHP.net and run with it. Chris On Wed, 14 Feb 2001, Mike Tuller wrote: Date: Wed, 14 Feb 2001 12:07:50 -0600 To: php mailing list [EMAIL PROTECTED] From: Mike Tuller [EMAIL PROTECTED] Subject: [PHP] PDF Functions I finally got everything to install on RedHat 7, but I can't do anything with pdflib like I had expected. I get back Fatal error: Call to undefined function: pdf_new() in /var/www/html/pdfclock.php on line 7. Line 7 is $pdf = PDF_new(); This is rather frustrating that every time I try to install PHP on a machine it takes me a week to get it going. Here is what I have for the config from the srpm after modification as instructed earlier. ../configure \ --prefix=%{_prefix} \ --with-config-file-path
Re: Re: [PHP] PDF Functions
OS X? What's that? :) Damn Mac PPC somethin or other I just don't get it.. In the mean time, I'd say 6.2 is a good bet. Good Luck, Chris On Wed, 14 Feb 2001, Mike Tuller wrote: Date: Wed, 14 Feb 2001 19:03:05 -0600 To: [EMAIL PROTECTED], Michael Stearne [EMAIL PROTECTED] From: Mike Tuller [EMAIL PROTECTED] Subject: Re: [PHP] PDF Functions I decided on my way home tonight to ditch 7.0 and go back to 6.2. I think that it is the only way to get anything done. When 7.1 or later comes out then I can go back. Thanks for your help. When OS X finally ships I will be happy. Mike From: Chris Carbaugh [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 14 Feb 2001 19:39:04 EST To: Mike Tuller [EMAIL PROTECTED], Michael Stearne [EMAIL PROTECTED] Cc: php mailing list [EMAIL PROTECTED] Subject: Re: Re: [PHP] PDF Functions Well, first let me say that I'm kind of surprised I'm the only one trying to help you guys out. It seems not many folk are into PHP/PDF? Any how, Redhat's *.0 releases are known to be problematic. They are usually pretty much bleading edge, meaning they're buggy. The last time I compiled PHP with PDF support, was a few weeks ago. It was on RedHat 6.2, PHP 4.0.2, and PDFLIB, as a CGI or a stand alone executable. The config was pretty much ./configure --with-pgsql=/usr/local/pgsql --with-pdf=/usr/local/bin (I really think that was it, note I did NOT point right to the libpdf.so). I also added /usr/local/lib to /etc/ld.so.conf and did a ldconfig. That's really all I did. RH 6.2, source tarballs of Apache 1.3.12, PHP 4.0.2, pdflib 3.03, postgresql 7.0.2. If everything configs/builds correctly, I would blame RH 7.0 While I would like to install RH 7.0 and figure out what's up, I just don't have the time. I would suggest, A) you try to install PHP/PDF as a CGI under your current install. This allows the simplest install. If that doesn't work, try RH 6.2 or some other distro? Good Luck, Chris On Wed, 14 Feb 2001, Mike Tuller wrote: Date: Wed, 14 Feb 2001 17:45:28 -0600 To: Michael Stearne [EMAIL PROTECTED] From: Mike Tuller [EMAIL PROTECTED] Subject: Re: [PHP] PDF Functions Exactly!!! I have gone back and redone everything 3 or 4 times, and am on day 3 of this. I watch while I configure, and it says that it is working, but when I go to check. I still get an error. From: Michael Stearne [EMAIL PROTECTED] Date: Wed, 14 Feb 2001 18:01:20 -0500 To: [EMAIL PROTECTED] Cc: Mike Tuller [EMAIL PROTECTED], php mailing list [EMAIL PROTECTED] Subject: Re: [PHP] PDF Functions Chris Carbaugh wrote: I have had problems in the past with RedHat's RPMs. They seem to put things in weird places. And just removing them and starting fresh with source always seems to work. Besides, once you have built from source a few times, it's really a piece of cake, and much less frustrating than screwing with RPMs. I am in the same situation except I have compiled from all the sources (not RPMS) and I still get hung up when I try to include PDF. My system is a new install of RH 7 with the updates that up2date suggests (gcc, etc.). I have compiled and installed PHP with PDF no problem on RH 6.2. I think the issue is something specific to RH7. I hope RH 7.1 fixes it. I think at this point I am going back to 6.2 Michael Chris On Wed, 14 Feb 2001, Mike Tuller wrote: Date: Wed, 14 Feb 2001 15:49:44 -0600 To: [EMAIL PROTECTED], php mailing list [EMAIL PROTECTED] From: Mike Tuller [EMAIL PROTECTED] Subject: Re: [PHP] PDF Functions The reason why I needed the RPM is because no matter what I tried, I couldn't get PHP to compile for the Apache rpm on Redhat 7. If at all possible, I like to use the rpms so that they can be easily updated. I have done everything everyone has suggested, and I still get an error. I have even compiled PHP and still I can't use PDFlib. What next? Here is the updated config script that I used. ./configure --prefix=/usr --with-config-file-path=/etc --disable-debug --enable-pic --enable-shared --enable-inline-optimization --with-apxs=/usr/sbin/apxs --with-exec-dir=/usr/bin --with-regex=system --with-gettext --with-gd --with-jpeg-dir=/usr --with-png --with-zlib --with-gdbm --enable-debugger --enable-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-yp --enable-ftp --enable-wddx --with-mysql --with-xml --with-pdflib=/usr/local/lib --with-tiff From: Chris Carbaugh [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Wed, 14 Feb 2001 15:08:02 EST To: Mike Tuller [EMAIL PROTECTED], php mailing list [EMAIL PROTECTED] Subject: Re: [PHP] PDF Functions How
Re: RE: [PHP] Display progress in browser using flush(); IE versus NS
Netscape waits until the HTML entity is complete. Meaning it will render a table as soon as it gets "/TABLE". Chris On Sat, 27 Jan 2001, Sander Pilon wrote: Date: Sat, 27 Jan 2001 00:39:17 +0100 To: "Chris Lee" [EMAIL PROTECTED], [EMAIL PROTECTED] From: "Sander Pilon" [EMAIL PROTECTED] Subject: RE: [PHP] Display progress in browser using flush(); IE versus NS Look here - http://home.netscape.com/assist/net_sites/mozilla/index.html (That is not an animated gif) http://home.netscape.com/assist/net_sites/pushpull.html It only works in netscape (so far), but hey... you can't forget the two remaining people on the planet that actually use it, right? -Original Message- From: Chris Lee [mailto:[EMAIL PROTECTED]] Sent: 26 January 2001 23:53 To: [EMAIL PROTECTED] Subject: Re: [PHP] Display progress in browser using flush(); IE versus NS havent tested this but im almost sure that netscape waits until the entire page is downloaded until being displayed IF there are tables on the page. write a small test script to see if Im right. -- Chris Lee Mediawaveonline.com [EMAIL PROTECTED] ""Spallek, Heiko"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I have a script which slowly processes several thousand lines of text. I want to give users a feeling for that the process is not dead. Thus, I am using: ... print "processing "; print" "; flush(); for($i=0;$icount($total);$i++) { print". "; flush(); // do something time consuming } ... Works perfect in IE 5.5: It shows the word "processing" followed every 2 seconds (denpending on what I am doing) by a new period. But, in Netscape nothing shows up until the entire process has finished. When I push "stop" on the Netspace menu it shows what was transfered so far and "Transfer interrupted!" But, I would rather have it the way it is in IE. Any idea how to improve the code above? Thanks! Der Heiko Buchtipp: http://www.aufbruch.com/ Heiko und Gisela Spallek: Aufbruch ins Land der unbegrenzten Moeglichkeiten. Studieren, Arbeiten und Leben in den USA: Tips fuer Neuankoemmlinge 2. erweiterte und ueberarbeitete Auflage: ISBN: 3-934407-01-3 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- "What's the Constitution between friends?" - TIMOTHY J. CAMPBELL - Response to President Cleveland, who refused to support a bill because it was unconstitutional -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: Re: [PHP] url hide
Put the url you want hidden in a frame. Chris On Mon, 22 Jan 2001, AJDIN BRANDIC wrote: Date: Mon, 22 Jan 2001 10:44:06 + (GMT) To: [EMAIL PROTECTED] From: AJDIN BRANDIC [EMAIL PROTECTED] Subject: Re: [PHP] url hide OK, I don't have access to the server (except ftp). All I can use is PHP or JavaScript. I just thought that I could use some thing that will just hide it. Like that NoRightClick javascript script where if you try to view the source code of a page it stops you but you can still use View/Source Code option on your main menu to view the code. Thanks Ajdin On Mon, 22 Jan 2001, bard wrote: If you're using apache, try mod_rewrite. I'm pretty sure you have to run something on the server side to do this. JavaScript runs client-side and will therefore be useless. Cheers, Brad On Mon, 22 Jan 2001, AJDIN BRANDIC wrote: Perhaps not related to php but I was wandering, is it possible to hide site's real url and replace it with something else (some other URL). ie. someone clicks on a link on www.blah.co.uk which takes the user to an designated area (ie. /house-search/) on www.foo.co.uk. I want the user still to see www.blah.co.uk. This is just for aesthetic reasons since ones the user finishes the search for houses (on www.foo.co.uk/house-search/) he/she will return to www.blah.co.uk. I have tried www.javascripts.com but no success?? Thanks Ajdin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]