Re: [PHP] ? about PHP includes

2001-08-04 Thread David Robley
On Fri, 3 Aug 2001 10:16, Craig Westerman wrote: > Hello all, > > I just discovered PHP this week. I'm reading about include statements. > If I have a text file 2000 characters in length that I want to include, > I would do this to include to whole file: > > include ("file.txt"); > ?> > > What w

RE: [PHP] New lists (was [PHP] Attitude of B van Ouwerkerk)

2001-08-04 Thread Sam Masiello
I think the problem with spreading out discussions that can be as broad as the PHP discussion is that you still tend to have people gravitate towards some of the more "general" or "higher level discussion" groups regardless of whether or not it should fall into the "newbie" category or not. This

RE: [PHP] Syntax

2001-08-04 Thread Mark Roedel
> -Original Message- > From: BRACK [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 02, 2001 10:10 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Syntax > > > I'm in a process of doing site with MySQL database, and most of > the code I plased in index.php3 (in one file) but I've got som

[PHP] PHP + GD 2.0.1 problem.

2001-08-04 Thread speedboy
Hello I am trying to install PHP 4.0.6 with GD 2+ support and I am receiving an error at `make` time. Can anyone suggest something to try and fix this problem? Thankyou :) I have installed the following with no path changes to the defaults: freetype-2.0.4.tar.gz gd-2.0.1.tar.gz jpegsrc.v6b.tar.g

Re: [PHP] How to destroy a $variable

2001-08-04 Thread Daniel Rezny
Hello Gerard, Saturday, August 04, 2001, 7:34:06 AM, you wrote: GS> Ok I have a form with a $PHP_SELF target, and I enter parts of the form GS> when they enter information if something is wrong with their input. Now GS> what I would like to do is destroy all the variables when the form is GS

[PHP] most recent 5 rows

2001-08-04 Thread Justin French
Hi all, I have a table with the column "id", which is a unique number, auto-incremented, so the highest "id" is the most recent. I wish to retrieve the last five rows from the table (there will be hundreds of rows) and print some columns to the screen. I have this table: id,heading,text,use

RE: [PHP] most recent 5 rows

2001-08-04 Thread Jeff Lewis
Try this SQL Justin: $sql = "SELECT * FROM news DESC LIMIT 5"; Jeff > -Original Message- > From: Justin French [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 04, 2001 5:52 AM > To: php > Subject: [PHP] most recent 5 rows > > > Hi all, > > I have a table with the column "id", whi

RE: [PHP] How to destroy a $variable

2001-08-04 Thread Jeff Lewis
Gerard, Try using: unset($Age); Jeff > -Original Message- > From: Gerard Samuel [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 04, 2001 1:34 AM > To: PHP > Subject: [PHP] How to destroy a $variable > > > Ok I have a form with a $PHP_SELF target, and I enter parts of the form >

Re: [PHP] most recent 5 rows

2001-08-04 Thread Justin French
Jeff Lewis wrote: > Try this SQL Justin: > > $sql = "SELECT * FROM news DESC LIMIT 5"; Hrm, Won't that retrieve the FIRST 5 rows, not the LAST 5? Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

RE: [PHP] most recent 5 rows

2001-08-04 Thread Jeff Lewis
It will give you the 5 HIGHEST values in your auto incremented field. If it was returneding the first 5, or the wrong 5, repace the DESC with ASC. Jeff > -Original Message- > From: Justin French [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 04, 2001 6:09 AM > To: [EMAIL PROTECTED]

[PHP] php suporrt IMAP in apache

2001-08-04 Thread Spear
when i make apache activate-module=src/modules/php4/libphp4.a it display this error /usr/src/bs/BUILD/imap-2000/c-client/auth_gss.c:344: undefined reference to `gss _release_buffer' /usr/src/bs/BUILD/imap-2000/c-client/auth_gss.c:349: undefined reference to `gss _release_name' /usr/lib/gcc-lib/i3

RE: [PHP] most recent 5 rows

2001-08-04 Thread Jeff Lewis
Sorry, forgot the ORDER BY, here is what you're looking for: $sql = "SELECT * FROM news ORDER BY id DESC LIMIT 5"; In a list of numbers up to 10, this would return rows 6,7,8,9, and 10. Jeff www.hyrum.net www.xnull.com > -Original Message- > From: Jeff Lewis [mailto:[EMAIL PROTECTED]]

Re: [PHP] most recent 5 rows

2001-08-04 Thread Justin French
Jeff Lewis wrote: > $sql = "SELECT * FROM news ORDER BY id DESC LIMIT 5"; many many many thanks for your (very quick) help!! Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] Postgresql + Sessions + Large objects.

2001-08-04 Thread speedboy
I am having trouble with the following function working _with_ sessions. If I turn off my session checking function it enables you to download the file flawlessly, if sessions are turned on then Internet Explorer displays an error: Internet Explorer cannot download ...URL Internet Explorer was n

Re: [PHP] Need Help Compiling PHP with Apache modules

2001-08-04 Thread Andreas D. Landmark
At 04.08.2001 01:33, Matthew Tyler wrote: >Hey all, > >I have a server with Apache running on it, and it currently uses PHP3 >(installed with the OS). I am trying to upgrade to PHP4, but from the >php.net documentation it appears that I have to reinstall Apache in order to >have access to the PHP4

[PHP] Re: Installation error..

2001-08-04 Thread James Tan
hi Ryan, did u make clean on your php 2? i can't recall, u must delete a file config.*** (i can't recall the extension...) b4 u reconfigure... refer in the php install.txt hope it works :) regards, James Ryan Christensen wrote: > Quick question.. > > I'm installing PHP 4.0.6 on a fresh in

[PHP] Re: How to destroy a $variable

2001-08-04 Thread James Tan
hi gerald, ok.. u could assign values to form input... eg: $myname= ""; > ok.. for the thank you? simply do a if syntax to check if it's been submited... and put in a alert for ur javascript.. eg: ... alert("thank you for your submittion..." ) ; hope it works :) Gerard Samuel wrote

Re: [PHP] shtml or php ??

2001-08-04 Thread Dave.O
This brings me back to an original problem I had before, I do have the instruction in my conf file to load php as a module but I get the following error:- [warn] loaded DSO c:/usr/php/sapi/php4apache.dll uses plain apache 1.3 api, this module might crash under EAPI! (please recompile it with -DE

Re: [PHP] weird behavior with a form

2001-08-04 Thread mike cullerton
on 8/3/01 6:43 PM, Ben Bleything at [EMAIL PROTECTED] wrote: > Whacky. It works now => i seem to remember a thread not that long ago (maybe it was on a different list) similar to this. the conclusion was that netscape and ie (and i'm sure others as well) handle this differently, and one of the

[PHP] include path syntax for php.ini under windows

2001-08-04 Thread Mark Lo
Hi, I would like to know the correct syntax of include_path for php.ini under windows. I have tried to set the include path as "C:\home\main\require" but it doesn't work. Thanks in advance Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE

[PHP] file downloads

2001-08-04 Thread Data Driven Design
Why does this code produce a page cannot be displayed error? Data Driven Design 1506 Tuscaloosa Ave Holly Hil, FL 32117 http://www.datadrivendesign.com http://www.rossidesigns.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: [PHP] file downloads

2001-08-04 Thread Rasmus Lerdorf
> Why does this code produce a page cannot be displayed error? Your query is probably wrong. Comment out the header stuff and add some error checking to your query. > mysql_connect("localhost","username","password"); > mysql_select_db("database"); > $query = "SELECT file_path from photos wh

Re: [PHP] New lists (was [PHP] Attitude of B van Ouwerkerk)

2001-08-04 Thread Joel Ricker
> Similarly the FAQ is easy to find, and I do believe the words "support" > suggest where help may be found. Actually my suggestion would be to take a page from way the Python lists are and call it tutor or PHP-tutor. Joel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

RE: [PHP] Re: Installation error..

2001-08-04 Thread Ryan Christensen
Yup, I did. I actually later found out that all I had to do was remove the old libphp4.so file, THEN recompile. Thanks anyways, Ryan > -Original Message- > From: James Tan [mailto:[EMAIL PROTECTED]] > Sent: Saturday, August 04, 2001 5:35 AM > To: [EMAIL PROTECTED] > Subject: [PHP] R

Re: [PHP] file downloads

2001-08-04 Thread Data Driven Design
I made the changes you suggested and it's still a no go. I'm sure of the query because print ""; Will display the image I'm trying to download. This is my environment. PHP Version 3.0.16 Apache/1.3.3 Cobalt safe_mode 1 "; //print "$file_name"; header("Content-Type: application/download\n"); h

php-general Digest 4 Aug 2001 16:58:11 -0000 Issue 796

2001-08-04 Thread php-general-digest-help
php-general Digest 4 Aug 2001 16:58:11 - Issue 796 Topics (messages 61221 through 61248): Re: PHP MyAdmin Error---weird 61221 by: CW Huang Re: How to add an excel file directly to MySQL database using PHP? 61222 by: Joel Ricker Re: IF ELSEIF ELSE?? 61223 by: Joel R

Re: [PHP] file downloads

2001-08-04 Thread Rasmus Lerdorf
> I made the changes you suggested and it's still a no go. I'm sure of the > query because > > print ""; > > Will display the image I'm trying to download. How does that make the SQL query valid? You didn't implement the mysql_query() error checking I suggested. That's likely what is causing yo

[PHP] Converting HTTP_POST_VARS to HTTP_SESSION_VARS !

2001-08-04 Thread Peter Dowie
Hi, I'm using sessions and everytime my script is called, I want to add all elements of $HTTP_POST_VARS to my $HTTP_SESSION_VARS so that I can access them throughout the session. I cant seem to get this working. This is what I have: session_start(); while ( list($name,$value) = each($HTTP_POST_

[PHP] when i start apache have some problem

2001-08-04 Thread Spear
Syntax error on line 205 of /etc/httpd/conf/httpd.conf: Cannot load /var/www/libexec/libphp4.so into server: undefined symbol: gss_mech krb5 /var/www/bin/apachectl start: httpd could not be started any one can help? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA

Re: [PHP] when i start apache have some problem

2001-08-04 Thread Rasmus Lerdorf
> Syntax error on line 205 of /etc/httpd/conf/httpd.conf: > Cannot load /var/www/libexec/libphp4.so into server: undefined symbol: > gss_mech > krb5 > /var/www/bin/apachectl start: httpd could not be started > any one can help? Add --with-kerberos to your PHP configure line -Rasmus -- PHP Gen

Re: [PHP] file downloads

2001-08-04 Thread Data Driven Design
I usually put or die(mysql_error()) and make it work before I put in the @, that's been done already. This will display the image $result = @mysql_query($query); $row = mysql_fetch_row($result); $path = $row[0]; print ""; What I want is to display a 'save as' box to download the image whose fil

Re: [PHP] when i start apache have some problem

2001-08-04 Thread Spear
the same problem occur "Rasmus Lerdorf" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Syntax error on line 205 of /etc/httpd/conf/httpd.conf: > > Cannot load /var/www/libexec/libphp4.so into server: undefined symbol: > > gss_mech > > krb5 > > /var/www/bin/apachect

Re: [PHP] file downloads

2001-08-04 Thread I_UNION
Hi I'm very news in php Anyone knows how can i submit sample HTML form by php and write into database ??? I have anly one registration form username, password, First name last_name, and phone I need only small samples and all will be ok .. thanks in advance ===

Re: [PHP] when i start apache have some problem

2001-08-04 Thread Spear
oh is other problem Cannot load /var/www/libexec/libphp4.so into server: undefined symbol: SSL_CTX_ et_tmp_rsa_callback "Spear" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > the same problem occur > "Rasmus Lerdorf" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó > [EMAIL PROTECTED]

[PHP] Matching Question

2001-08-04 Thread Jeff Oien
After a sign up page I want to check if someone is already entered into a database. The First Name, Last Name and Address all have to match exactly in order for it to be considered a duplicate. However this isn't doing what I want. I get the Error produced if the Address matches but the name does

[PHP] file download fixed

2001-08-04 Thread Data Driven Design
Rasmus thatnks for your help, this code works. Data Driven Design 1506 Tuscaloosa Ave Holly Hil, FL 32117 http://www.datadrivendesign.com http://www.rossidesigns.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] Cookies and servers problems

2001-08-04 Thread Inércia Sensorial
Hi All, I used to run a customized version of Php-Nuke (www.phpnuke.org) on a server that had PHP 4.05, Linux and Apache. Used to run fine. Now I am trying to run the same, just downloaded and uploaded to the new server, but it is a Windows, IIS, with PHP 4.0.3pl1. The phpinfo(); of the ne

RE: [PHP] most recent 5 rows

2001-08-04 Thread John Monfort
Or, you could do two steps 1) retrieve the last inserted ID, with mysql_last_inserted_ID (or something like that). 2) then, all records with id(s) greater then the_last_id_number minus five. something like $most_recent = select mysql_last_id(); select * from TABLE where id > '$mo

[PHP] making php problem

2001-08-04 Thread Spear
In file included from libmysql.c:10: global.h:240: warning: redefinition of `uint' /usr/include/sys/types.h:146: warning: `uint' previously declared here global.h:241: warning: redefinition of `ushort' /usr/include/sys/types.h:145: warning: `ushort' previously declared here In file included from l

[PHP] Re: making php problem

2001-08-04 Thread Spear
this is the main probelm mysql_version.h:15:41: warning: "MYSQL_UNIX_ADDR" redefined "Spear" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > In file included from libmysql.c:10: > global.h:240: warning: redefinition of `uint' > /usr/include/sys/types.h:146: warning:

[PHP] Re: Converting HTTP_POST_VARS to HTTP_SESSION_VARS !

2001-08-04 Thread Yasuo Ohgaki
"Peter Dowie" <[EMAIL PROTECTED]> wrote in message 001201c11d08$1b3fe280$021ea8c0@petexp">news:001201c11d08$1b3fe280$021ea8c0@petexp... > Hi, > > I'm using sessions and everytime my script is called, I want to add all > elements of $HTTP_POST_VARS to my $HTTP_SESSION_VARS > so that I can access th

[PHP] Re: Postgresql + Sessions + Large objects.

2001-08-04 Thread Yasuo Ohgaki
Do you have session db and your data db on the same db? If you do, most likely, transaction is started in session open handler. You cannot nest transaction and lo_read/open etc fails. If you have situation like this, create dedicated database for session db. Regards, -- Yasuo Ohgaki "Speedbo

Re: [PHP] Q: Hiding Folder Directories from public while still...

2001-08-04 Thread Marcus James Christian
Hmm so lets say in my "images" folder for the site if I just put an index somewhere in there it prevents access? Man that would be so cool. I really don't need some big security thing happening with .htaccess etc, that would be way overkill thanks, Marcus Jon Yaggie wrote: > i dont know if

Re: [PHP] shtml or php ??

2001-08-04 Thread Yasuo Ohgaki
"Dave.O" <[EMAIL PROTECTED]> wrote in message 000401c11ce9$c1ebd360$c0147ad5@tinypc">news:000401c11ce9$c1ebd360$c0147ad5@tinypc... > This brings me back to an original problem I had before, I do have the > instruction in my conf file to load php as a module but I get the following > error:- > > [w

Re: [PHP] Matching Question

2001-08-04 Thread Mark Maggelet
On Sat, 4 Aug 2001 12:40:42 -0500, Jeff Oien ([EMAIL PROTECTED]) wrote: >After a sign up page I want to check if someone is already entered >into a database. The First Name, Last Name and Address all have >to match exactly in order for it to be considered a duplicate. >However >this isn't doing wh

RE: [PHP] Q: Hiding Folder Directories from public while still...

2001-08-04 Thread Jack Dempsey
Actually it wouldn't be overkill or big...its really a small quick file to setup...if you just put the index file in there, someone won't be able to get a directory listing, but they'll still have access to your files...if you put the htaccess file in there, they're secure... jack -Original

[PHP] Potential bug?

2001-08-04 Thread Anthony Lieuallen
I've just discovered a weird quirk in PHP. I'd first like to check if it is a known bug/weird feature/something else already known. I've not yet tested it much, except I see it doesn't happen on every script, but either of the two results are quite strange to me. Suituation: file myscript.php e

[PHP] Update a SESSION_VAR on form submit

2001-08-04 Thread Peter Dowie
hello, I have a Session variable $Stage which I want to update (increment by 1)when my form submit button is pressed. how can I update this session variable ? I dont want to update it at the start of the script, because if the Reload button is pressed, it will keep updating it and it will mess u

RE: [PHP] Matching Question

2001-08-04 Thread Jeff Oien
Thank you. That worked and I'm sure will have made it work a lot faster later on when there is a lot of data in the database. Jeff Oien > On Sat, 4 Aug 2001 12:40:42 -0500, Jeff Oien ([EMAIL PROTECTED]) > wrote: > >After a sign up page I want to check if someone is already entered > >into a data

RE: [PHP] Potential bug?

2001-08-04 Thread Corin Rathbone
I have the same problem running Win98, Apache 1.3.17 and PHP 4.0.6 as an Apache Module. It doesn't return the source, but it's strange... -Original Message- From: Anthony Lieuallen [mailto:[EMAIL PROTECTED]] Sent: 22 July 2001 16:30 To: [EMAIL PROTECTED] Subject: [PHP] Potential bug? I

[PHP] chmod

2001-08-04 Thread Manu Verhaegen
I have the following question : I have a directory on my ftp server and i want give access to this directory by group (the name of the group is test) % ls % /ftp/test % chmod 070 test how can i do this Greetings, Manu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] chmod

2001-08-04 Thread Daniel Rezny
Hello Manu, Saturday, August 04, 2001, 11:25:16 PM, you wrote: MV> I have the following question : MV> I have a directory on my ftp server and i want give access to this directory MV> by group (the name of the group is test) MV> % ls MV> % /ftp/test MV> % chmod 070 test MV> how can i do this U

Re: [PHP] Re: Postgresql + Sessions + Large objects.

2001-08-04 Thread speedboy
> Do you have session db and your data db on the same db? No, the sessions are php sessions with data stored in flat files. -- 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 admini

Re: [PHP] Cookies and servers problems

2001-08-04 Thread Richard Baskett
I couldnt get php's cookies working at all, so finally I decided to send a header cookies which worked perfectly. So try this: header("Set-Cookie: Login[Email]=$Email; path=/; expires=$oneYear"); I made a function for $oneYear, but you can replace it with whatever date you would like :) I hope

[PHP] PHP + GD 2.0.1

2001-08-04 Thread speedboy
Has anyone got PHP successfully compiled and using GD 2.0.1? If so what was your configure line please and any other changes you had to make in order to get PHP to compile. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: [PHP] Potential bug?

2001-08-04 Thread Patrik Wallstrom
On Sun, 22 Jul 2001, Anthony Lieuallen wrote: > I've just discovered a weird quirk in PHP. I'd first like to check if it is > a known bug/weird feature/something else already known. I've not yet tested > it much, except I see it doesn't happen on every script, but either of the > two results ar

Re: [PHP] PHP + GD 2.0.1

2001-08-04 Thread Rasmus Lerdorf
> Has anyone got PHP successfully compiled and using GD 2.0.1? > > If so what was your configure line please and any other changes you had to > make in order to get PHP to compile. Thanks. Build gd-2.0.1 with these two lines in your GD2 Makefile: CFLAGS=-g -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIB

[PHP] Is there a setInterval function in PHP?

2001-08-04 Thread Zlutarch G.
Hi, I couldn't find a similar function in the official documentation. Does anyone know if there is a setInterval function in PHP? i.e., making repeated calls to a function separated by a given time period. Is such a function even possible in PHP? One way to do it, without a PHP function, is to

Re: [PHP] Is there a setInterval function in PHP?

2001-08-04 Thread Rasmus Lerdorf
Yes, see http://php.net/declare -Rasmus On Sat, 4 Aug 2001, Zlutarch G. wrote: > Hi, I couldn't find a similar function in the official documentation. Does > anyone know if there is a setInterval function in PHP? i.e., making repeated > calls to a function separated by a given time period. Is s

[PHP] php_gd.dll for windows, please help me....

2001-08-04 Thread Marius Pertravčius
Sveiki, PHP, Does anyone here has good php_gd.dll file that supports GD in windows.I can't download it from http://php.weblogs.com/php_gd , because it is damaged or smth. If you have, please email to me with this file. I need it very very much... Thank you 20

[PHP] LE INTERESARA

2001-08-04 Thread cursos
OFERTA PARA MEXICO: [EMAIL PROTECTED] 1.8.2001.Publicidad/Enseñanza a Distancia Hola que tal: El motivo de la presente carta es informarte de la posibilidad de poder

Re: [PHP] PHP + GD 2.0.1

2001-08-04 Thread speedboy
> > Has anyone got PHP successfully compiled and using GD 2.0.1? > > > > If so what was your configure line please and any other changes you had to > > make in order to get PHP to compile. Thanks. > > Build gd-2.0.1 with these two lines in your GD2 Makefile: > > CFLAGS=-g -DHAVE_LIBPNG -DHAVE_LI

Re: [PHP] PHP + GD 2.0.1

2001-08-04 Thread Rasmus Lerdorf
> > > Has anyone got PHP successfully compiled and using GD 2.0.1? > > > > > > If so what was your configure line please and any other changes you had to > > > make in order to get PHP to compile. Thanks. > > > > Build gd-2.0.1 with these two lines in your GD2 Makefile: > > > > CFLAGS=-g -DHAVE_LI

[PHP] Call to undefined function: imap_open()

2001-08-04 Thread Damiano Ferrari
I just tried to use the IMAP functions on my website. When I run the first script, I get this error: Call to undefined function: imap_open() Does this mean the IMAP functions are not installed? Damiano -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE

Re: [PHP] PHP + GD 2.0.1

2001-08-04 Thread speedboy
> > > Build gd-2.0.1 with these two lines in your GD2 Makefile: > > > > > > CFLAGS=-g -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE > > > > CFLAGS=-g -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBFREETYPE > > > > Same as mine. > > > > > LIBS=libgd.a -lpng -lz -ljpeg -lfreetype -lm > > > > LIBS=libgd.a

Re: [PHP] PHP + GD 2.0.1

2001-08-04 Thread Rasmus Lerdorf
> > > [root@b gd-2.0.1] ~ make test > > > gcc -I. -I/usr/include/freetype2 -I/usr/include/X11 -I/usr/X11R6/include/X11 >-I/usr/local/include gdtest.o -o gdtest -L/usr/local/lib -L/usr/lib/X11 >-L/usr/X11R6/lib libgd.a -lpng -lz -ljpeg -lfreetype -lm > > > gcc: libgd.a: No such file or directo

Re: [PHP] PHP + GD 2.0.1

2001-08-04 Thread speedboy
> > > > It's obviously a simple error but I have no idea about C. > > > > > > You left out your PHP configure line > > > > I was trying to make gd-2.0.1, are you saying don't make GD at all, > > just go straight to configuring php? > > Ah, no, type: make libgd.a > in your gd dir. Ok, making libg

Re: [PHP] PHP + GD 2.0.1

2001-08-04 Thread Rasmus Lerdorf
> Make php failed: Make sure you don't have gd-1.x header files in /usr/local/include -Rasmus -- 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 PROTE

[PHP] Compiling PHP + GD 2.0.1 Documentation

2001-08-04 Thread speedboy
> > Make php failed: > > Make sure you don't have gd-1.x header files in /usr/local/include Excellent! That worked. For everyone else, my documentation for installing: Apache with GD, zlib, png, jpg, tiff, pdf support is at: http://database.sourceforge.net/Installing_apache_with_gd_zlib_png

RE: [PHP] Matching Question

2001-08-04 Thread hassan el forkani
ok, if i understand you correctly, you're taking data from a form and want to check that it is not already in the database, right? then why don't you include the submitted vars in the query like this: $sql = "SELECT First_Name, Last_Name, Address FROM $table_name WHERE (Family_Position = 'H' or

Re: [PHP] newest PHP compile won't see pg_connect()

2001-08-04 Thread speedboy
> On linux 6.1, I've installed fresh builds of postgres 6.0.4, apache 1.3.20, > php 4.0.6. Get postgresql 7.1.2, make and install. Configure php --with-pgsql ./configure --help Will show you all available configure options. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] md5 on different platform

2001-08-04 Thread pierre-yves
Hello, excuse my ignorance on that field, but if I use md5 in a java server page (jsp), can I decrypt it in php ? Is the implemantation of md5 the same on both language ? py -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] md5 on different platform

2001-08-04 Thread Rasmus Lerdorf
> excuse my ignorance on that field, but if I use md5 in a java server page > (jsp), can I decrypt it > in php ? Is the implemantation of md5 the same on both language ? Sure, but you don't decrypt md5. You md5 again and compare the two md5's -Rasmus -- PHP General Mailing List (http://www.p

[PHP] Free PHP/MySQL Web Hosting ?

2001-08-04 Thread Arcadius A.
Hello ! Is there any free PHP/MySQL Web Hosting without add ? ... or ... at least , I could have the choice to choose where to place their banner on my pages ? Thanks... Arcad. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [PHP] md5 on different platform

2001-08-04 Thread pierre-yves
Sorry, I meant compare and I wrote decrypt, We will: - encrypt in jsp - compare in php I am curious about the "should" you wrote py - Original Message - From: "Joe Conway" <[EMAIL PROTECTED]> To: "pierre-yves" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, August 04, 2001

Re: [PHP] Free PHP/MySQL Web Hosting ?

2001-08-04 Thread Marius Pertravčius
Sveiki, Arcadius, 2001 m. rugpjûèio 5 d.(sekmadienis), 14:26:56, jûs raðëte: AA> Hello ! AA> Is there any free PHP/MySQL Web Hosting without add ? ... or ... at least , AA> I could have the choice to choose where to place their banner on my pages AA> ? AA> Thanks... AA> Arcad. www.f2s.com

[PHP] Link request.

2001-08-04 Thread Rajesh V. Tavakari
Hello! Let me introduce myself. My name is Mr. Rajesh Tavakari from www.website-promotion-ranking-services.com, and you can contact me at [EMAIL PROTECTED] or [EMAIL PROTECTED] I enjoyed visiting your interesting site at http://www.e-gineer.com/articles/php-hackers-paradise-revisited.phtml.

[PHP] web hosting

2001-08-04 Thread Damiano Ferrari
Since I am tired of switching from one web host to another because of the limitations that are imposed... does anybody know of a host provider that supports PHP & MySQL and that, differently from my current host, will also allow me to upload files and install the IMAP functions? Damiano -- PH

[PHP] Re: php-4.0.6 on RH-7.1

2001-08-04 Thread hunter
I am trying to compile and install php-4.0.6 on a redhat-7.1 linux-2.4.3 server using the following for configure: ./configure --prefix=/usr --with-apxs=/usr/sbin/ apxs --enable-versioning --with-mysql --enable-track-vars --with-xml --disable- debug --enable-pic --enable-shared --enable-inline-op

[PHP] cvs make error: php_output.h

2001-08-04 Thread Caffeinate The World
Making all in main make: don't know how to make ../php/php4-current/php4/ext/standard/php_output.h. Stop __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing

Re: [PHP] Re: include_once vs require_once

2001-08-04 Thread Andrew Sterling Hanenkamp
Perhaps the manual should be made to reflect this since, my understanding came from the online version of the manual. Sterling Philip Olson wrote: > Yes, this is essentially true. Zeev posted this to the list awhile ago, > see the following : > > http://www.faqts.com/knowledge_base/view.ph

[PHP] Does PHP scripts always finish, or are they halted if the web page loading is halted?

2001-08-04 Thread LDiablo
I've made some scripts that let a user work on a MySQL database via the web. When a web user clicks a button in an HTML form, a new page is loaded which runs PHP scripts which in turn manipulate the database accourding to the users's request. However I'm worried that the scripts may halt if th

[PHP] How to ?

2001-08-04 Thread Alawi Albaity
how can i to make my page as a browser for another pages i mean i want as a proxy how can i do that __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ -- PHP General Mailing

[PHP] Re: web hosting

2001-08-04 Thread Pere
Hi Damiano, I am using SiteTurn and I am really satisfied. You can check them at www.siteturn.com All the best, Pere -- 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 administrato

[PHP] Re: web hosting

2001-08-04 Thread Damiano Ferrari
Pere, I am checking them out right now. Thanks a lot for your help :-) Damiano "Pere" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi Damiano, > > I am using SiteTurn and I am really satisfied. > You can check them at www.siteturn.com > > All the best, > P

Re: [PHP] Free PHP/MySQL Web Hosting ?

2001-08-04 Thread B. van Ouwerkerk
>Hello ! >Is there any free PHP/MySQL Web Hosting without add ? ... or ... at least , >I could have the choice to choose where to place their banner on my pages >? Do a search on the archive.. I guess this is one of the most asked questions. Bye, B. -- PHP General Mailing List (http://w