Re: [PHP] parse error? how can I print spesific message for all error mesage

2002-03-11 Thread Ceyhun Güler
? $dir = $HTTP_GET_VARS[dir]; $dir = str_replace( ,/,$dir); $res = $HTTP_GET_VARS[res]; ? title?=$res;?/title img src=?=$dir;?/?=$res;?.jpg /body My code is running now until if a link comes trough here like resimgoster.php?dir=main products imagesres=pic01 but if you write resimgoster.php to

Re: [PHP] Re: A stupid question...

2002-03-11 Thread liljim
Hi chuck, use left() assuming your column is called name, then something like this will do: $letter = a; $get = @mysql_query(SELECT * FROM table WHERE LEFT(surname, 1) = '$letter' ORDER BY surname ASC); That should get out all of the fields beginning with a or A and list them alphabetically.

[PHP] Re: Congrats to Rasmus?

2002-03-11 Thread Matt Williams
Well, everyone's favorite PHP developer multiplied last night - Rasmus Lerdorf now has a son (9.0lbs, 19.25in. - a big boy) was born at 13:26 PDT on Wednesday March 6, 2002. If you'd like to see some pics from the family, check out this page - or to send congrats, email [EMAIL

[PHP] Sessions / MySQL

2002-03-11 Thread Chris Kay
I am wanting to store session data in a mysql db.. I have looked at a few examples and still cant get them to work Rather than asking for the answer, I perfer to try a few more time. Anyone have any links to tutorials that may help or examples that may help me out? Thanks in advance...

[PHP] [GD] quality of image after resize

2002-03-11 Thread M.S. Damen
Hello, At the moment I have a script in which foto's are uploaded, checked if the size fits the required dimensions and then it is stored on the server. Also a thumbnail is generated, but the quality of the thumbnail is very poor, even if I set the jpeg quality on 100%. I use gd 1.8.2, and below

RE: [PHP] Re: A stupid question...

2002-03-11 Thread Niklas Lampén
An option too: SELECT * FROM table WHERE SURNAME LIKE 'a%' ORDER BY surname ASC Niklas -Original Message- From: liljim [mailto:[EMAIL PROTECTED]] Sent: 11. maaliskuuta 2002 11:09 To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: A stupid question... Hi chuck, use left() assuming your

[PHP] Netscape 6.2 session problem?

2002-03-11 Thread Jan Grafström
Hi ! Anybody else haviing problem with netscape opening link in new window? On first page I do session start and set $_SESSION['myvar']=myword; Then clicking any other link on that page causes Netscape to open it in a new window. my links looks like this: a href=page.php??echo SID?link/a

[PHP] Hi problem with selected value!!

2002-03-11 Thread Balaji Ankem
Title: Message Hi friend, could u plz. Tell me how to display the slected option value in alert box?Code I wrote is like this.. But I am getting NULL.. Any help would be appreciable..=html head script language="Javascript"function check(){ var a;

Re: [PHP] Hi problem with selected value!!

2002-03-11 Thread Edward van Bilderbeek - Bean IT
guess that should be: alert(document.babai.bongu.selectedIndex); Greets, Edward - Original Message - From: Balaji Ankem [EMAIL PROTECTED] To: Php-General [EMAIL PROTECTED] Sent: Monday, March 11, 2002 11:23 AM Subject: [PHP] Hi problem with selected value!! Hi friend, could u

[PHP] Re:

2002-03-11 Thread Edward van Bilderbeek - Bean IT
why aren't you posting this on the general PHP list? you should upload the word doc and then base64encode it into you mailmessage... there are some mailclasses available on the internet... check them out... Edward - Original Message - From: Swati Patil [EMAIL PROTECTED] To: [EMAIL

[PHP] Can no one help with this opendir problem?

2002-03-11 Thread Nick selby
Hi, I wrote a few days ago and have heard nothing - can ANYONE help with this: I've got a script that is installed on a Solaris machine that is having difficulties, and I'm wondering if anyone can help. The script is trying to access and read files within a directory, pull some at random and

[PHP] Probleme de lien hypertexte

2002-03-11 Thread Jérome Moisy
Bonjour, Dans une page qui se nomme seriefr.php je place le code suivant à l'intérieur d'une boucle SWITCH.Le problème est que quand on clique sur le lien hypertexte la page est reloadée mais sans modification. La nouvelle valeur de la variable val n'est pas prise en compte. Si quelqu'un a

Re: [PHP] parse error? how can I print spesific message for all error mesage

2002-03-11 Thread Ceyhun Güler
Can AnyOne Help? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Can no one help with this opendir problem?

2002-03-11 Thread Jon Haworth
I don't think anyone's about to wade through your incredibly obfuscated code. I tried to have a look, and got as far as while (($file = readdir($banners)) != FALSE) before thinking you must be joking. You also have bits like this: // $l != 0 } // $banner != FALSE How are we supposed to know

[PHP] submitting to remote forms

2002-03-11 Thread Websitecd
I'm working on a program that will allow information to be submitted to a remote form. How can I do this with PHP? Thanks. Joserph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Probleme de lien hypertexte

2002-03-11 Thread Jon Haworth
Bonjour Jerome, Vous avez besoin de replacer If ($val = 1) { avec If ($val == 1) { Parce que = signifie une allocation, et == signifie une comparaison Je fais des excuses pour mon francais - je ne le parle pas tres bien :-) Regards Jon -Original Message- From: Jérome Moisy

[PHP] Link probleme

2002-03-11 Thread Jérome Moisy
Hy, Inthepageseriefr.phpthere is thecode in a SWITCH loop.The problemis that whenwe use the linknothings happen. The value of the variable val don't change.if someone know whycan you explain it to me ? Thanks The page seriefr.php join. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] ploblem with safe_mode_include_dir

2002-03-11 Thread Renato Lins
Dear Rasmus, I must be wrong, because fetching the cvs I found an entry in the Chanlog file 2002-02-01 James E. Flemer [EMAIL PROTECTED] * main/fopen_wrappers.c main/fopen_wrappers.h: Changed php.ini directive 'safe_mode_include_dir' to accept a (semi)colon separated path,

Re: [PHP] Sessions / MySQL

2002-03-11 Thread Michael Egan
Chris, There's a fairly comprehensive example of this included within 'Beginning PHP4' (ISBN 1861003730) - I think in Chapter 13. You can download the code examples for this book from http://p2p.wrox.com/php/ without actually buying the book - though I've found this book and the more recent

[PHP] Don't understand flock

2002-03-11 Thread Kristian Laren
Hi I've read the article on http://www.php.net/manual/en/function.flock.php but i stille don't understand what flock() is doing, what it's good for, how i use it and what it help Would someone please help understand it?? Thanks Kristian Larsen Denmark -- PHP General Mailing List

[PHP] unable to use built in functions

2002-03-11 Thread CHANDRA VENKAT RAO
Hi When I do ftp_connect() or printer_open() function in my scripts which are built in functions but I get Fatal error. Call to undefined function printer_open() in /home/~web on line 11 Pl help me regards CVR

RE: [PHP] Re: A stupid question...

2002-03-11 Thread Tim Ward
If you mean select by first letter then wild cards are what you want ... http://www.mysql.com/doc/S/t/String_comparison_functions.html http://www.mysql.com/doc/S/t/String_comparison_functions.html in your case SELECT ... WHERE lastname LIKE '$Letter%' ORDER BY lastname ... if you mean sort all

[PHP] Running PHP scripts from the shell

2002-03-11 Thread andy thomas
Just wondering but is there any way PHP scripts can be run from the command line from a standard Unix shell like, for example, perl rather than being invoked via a browser and running web server, etc? Such a feature would be very nice as there are a number of things that can be done better from

[PHP] upload status...

2002-03-11 Thread Philip Jeffs
Hi, I've got a script that uploads and resizes images. Is there a way to display a page while the images are being uploaded and then go somewhere else after the images have finished uploading? I don't need it to give status of how long it will take etc. It just needs to site there until the

Re: [PHP] unable to use built in functions

2002-03-11 Thread Jason Wong
On Monday 11 March 2002 20:07, CHANDRA VENKAT RAO wrote: Hi When I do ftp_connect() or printer_open() function in my scripts which are built in functions but FTP functions are only available when you compile PHP with --enable-ftp. I get Fatal error. Call to undefined function

[PHP] Help w/ join syntax

2002-03-11 Thread Anthony Rodriguez
When I call the following script, $qry_1 doesn't work (No Query # 1!). ?php set_time_limit(300); $connection=mysql_connect(localhost,wagner,???) or die (No connection!); $db=mysql_select_db(sbwresearch,$connection) or die (No database!); $qry_1=select first_name.con_inf, ... zip.con_inf,

Re: [PHP] Running PHP scripts from the shell

2002-03-11 Thread Jason Wong
On Monday 11 March 2002 20:18, andy thomas wrote: Just wondering but is there any way PHP scripts can be run from the command line from a standard Unix shell like, for example, perl rather than being invoked via a browser and running web server, etc? Such a feature would be very nice as

[PHP] PHP group in spanish

2002-03-11 Thread Frank
How know a PHP group that is in spanish?. Thanks beforehand... Frank.- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Running PHP scripts from the shell

2002-03-11 Thread andy thomas
On Mon, 11 Mar 2002, Jason Wong wrote: On Monday 11 March 2002 20:18, andy thomas wrote: Just wondering but is there any way PHP scripts can be run from the command line from a standard Unix shell like, for example, perl rather than being invoked via a browser and running web server,

[PHP] Re: mail() getenv() problems (after 4.1.2 update)...

2002-03-11 Thread Keith Waters
Just to report back to the group, the mail() delay problem was solved by putting entries into /etc/hosts to speed up reverse DNS lookups. (Worked fine before 4.1.2, but I guess there's some new code in there somewhere!) Paul's getenv() problem was a simple one, he forgot the double-quotes!

[PHP] Why am i not getting any php e-mails? just testing;

2002-03-11 Thread Caleb Carvalho
_ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] attachment through mail

2002-03-11 Thread Samuel Ottenhoff
There is a very good article (with some well written OO classes) available at PHPBuilder. http://www.phpbuilder.com/columns/kartic2807.php3 I think the classes are at: http://www.phpbuilder.com/columns/kartic2807.zip This will make file attachments very easy. BTW, the PHPBuilder

[PHP] Re: impossible to delete file after 'parse_ini_file'

2002-03-11 Thread Gregory Collette
Running on win nt ! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] connection speed?

2002-03-11 Thread Samuel Ottenhoff
There aren't too many elegant ways to do this, that I know of. You can create a flash movie with a big chunk of nothing in it... With a couple of calls, you can find how long it took to load So if it took 4 secs to load 200k You can sort of figure out their connection speed. But

RE: [PHP] Help w/ join syntax

2002-03-11 Thread Rick Emery
What do you mean it doesn't work? What results are you getting? Specifics...we need specifics... -Original Message- From: Anthony Rodriguez [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 6:44 AM To: [EMAIL PROTECTED] Subject: [PHP] Help w/ join syntax When I call the

[PHP] who can translate my ASP codes to PHP code? its very simple asp code...

2002-03-11 Thread Garth Dahlstrom
A perfect script to LEARN how to use PHP yourself... here is some documentation to get you started: http://www.php.net/quickref.php - PHP's function list index http://www.zend.com/codex.php - PHP code gallery http://www.phpbuilder.com/ - lots of articles on building things in PHP Northern.CA

RE: [PHP] Netscape Vs. IE

2002-03-11 Thread Vlad Kulchitski
Hi, Someone replied to my post about browsers incompatibilities but I lost the message, can someone remind me how to set up the background image: td style='background: white' I mean I need another command that will tell to load image as a bg. I am trying to use background-image:file.gif, but

RE: [PHP] Netscape Vs. IE

2002-03-11 Thread Richard S. Crawford
This can be done without CSS, actually. Try: td background=imagefile Not all browsers will support this, of course. But, then, even fewer browsers will support the use of CSS for the same application. You can also use: td bgcolor=#ff to make the background color white,

[PHP] problem with getdate()

2002-03-11 Thread Joshua E Minnie
I am having a problem with the getdate() function. I don't understand why I am getting the output that it is giving me. Here is the code: $timevalid_ = getdate(); $hours = $timevalid_[hours] + 1; $minutes = $timevalid_[minutes]; $month = $timevalid_[mon]; $day = $timevaild_[mday]; $year =

Re: [PHP] Don't understand flock

2002-03-11 Thread Chris Hewitt
Kristian, flock() is useful in a multiuser environment where two or more users might try to e.g edit a file at the same time. If this will not happen with what you are doing then you have no need for flock(). If, for example, you have a web application that updates a file then the

Re: [PHP] problem with getdate()

2002-03-11 Thread Jason Wong
On Monday 11 March 2002 23:31, Joshua E Minnie wrote: I am having a problem with the getdate() function. I don't understand why I am getting the output that it is giving me. Here is the code: $day = $timevaild_[mday]; Typo! -- Jason Wong - Gremlins Associates - www.gremlins.com.hk /*

[PHP] Multi-Densional Array Sorting?

2002-03-11 Thread houser
Okay - here's one for you. Probably something really small and stoopid which I'm fergeting, but I don't mind a little egg on my face as long as I can figure out the problem. Since you may or may not be down, I've included plenty o'comments to assist you in looking at this issue for me -

Re: [PHP] unable to use built in functions

2002-03-11 Thread Jason Wong
On Monday 11 March 2002 23:31, CHANDRA VENKAT RAO wrote: How do I know the php on the server is confired with ftp-enabled! Your PHP setup is NOT configured with --enable-ftp, that is why you're getting that error. How did you install PHP, from RPMs? from source? sorry I didn't get that

RE: [PHP] Database abstraction layer oci

2002-03-11 Thread Andrew Hill
Most powerful meaning being tied to Oracle? :) ODBC is not inherently slower than oci or any native access, and a properly written ODBC driver will actually enforce additional functionality against the back-end database. Best regards, Andrew Hill Director of Technology Evangelism OpenLink

[PHP] 5 Records per line

2002-03-11 Thread Thomas Edison Jr.
Hi, I would like to display 5 records per line on the Results page. Not seperated by a comma, but just seperated by Space. How can i do that? Thanks, T. Edison jr. = Rahul S. Johari (Director) ** Abraxas Technologies Inc. Homepage :

Re: [PHP] 5 Records per line

2002-03-11 Thread Thomas Edison Jr.
Hi, Thanks for writing back. Basically what i want is, that on a results page, i want that the records should be placed only 5 on one line. For example, let's say i have 100 usernames in a table in my database. Now on one page, i want to display all these usernames. But i want that in one

Re: [PHP] 5 Records per line

2002-03-11 Thread Jason Wong
On Tuesday 12 March 2002 00:03, Thomas Edison Jr. wrote: Hi, I would like to display 5 records per line on the Results page. Not seperated by a comma, but just seperated by Space. How can i do that? Pseudo code: connect to db make query while results { display 5 results separated

Re: [PHP] 5 Records per line

2002-03-11 Thread Edward van Bilderbeek - Bean IT
just use something like this in your while-loop: if ($counter % 5 == 0) { print br; } Greets, Edward - Original Message - From: Jason Wong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 11, 2002 5:08 PM Subject: Re: [PHP] 5 Records per line On Tuesday 12 March

Re: [PHP] 5 Records per line

2002-03-11 Thread Chris Boget
Basically what i want is, that on a results page, i want that the records You mean fields should be placed only 5 on one line. For example, let's say i have 100 usernames in a table in my database. Now on one page, i want to display all these usernames. But i want that in one line,

Re: [PHP] 5 Records per line

2002-03-11 Thread Thomas Edison Jr.
Hi, This is the code i'm using so far : ?php $db = mysql_connect(localhost,user,pass); mysql_select_db(mydb,$db); $result = mysql_query(SELECT * FROM sms ORDER BY ID DESC,$db); if ($myrow = mysql_fetch_array($result)) { do { echo(bfont color=#6ed8ff$myrow[num]/b br); } while ($myrow =

[PHP] Re: Authorize.net example

2002-03-11 Thread Jeremy Reed
Ahh, you had the same problem as I. Fortunately, I've worked out a pretty good fix. It makes use of the CURL module in PHP. I think CURL comes standard in the 4.x versions of PHP, but I'm not sure. Anywho, here's the code: --BEGIN CODE- ?php $ch =

FW: [PHP] Netscape Vs. IE

2002-03-11 Thread Johnson, Kirk
-Original Message- From: Richard S. Crawford [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 8:30 AM To: Vlad Kulchitski Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Netscape Vs. IE This can be done without CSS, actually. Try: td background=imagefile Not all browsers

[PHP] Problems installing PHP

2002-03-11 Thread Berlina
Hi again, Im trying to install an Apache Web Server and PHP in a Windows NT . * Apache 1.2.23 * PHP 4.1.1 * Windows NT Server 4.0 with SP4 The installation of Apache Web Server and PHP was succesfully ok, but when I configure the PHP and Apache, editing the PHP.ini and httpd.conf files, as

[PHP] Novata Como inicio??

2002-03-11 Thread Jenny Fox
Primeramente alguien sabe español???, estoy iniciandome en PHP entre a dicha página, pero me quede truncada en la instalación, alguien me puede dar una mano Saludos de Jenny León

[PHP] Installing PHP 4.1.2

2002-03-11 Thread Marcel Besancon
Hi everybody, i've got a problem again. I want to install PHP 4.1.2. Now my problem: There's only a source code distribution on php.net. How do I install it on Windows XP? I read the documentation, but I all I understood was bla. So, you see I understood nothing. Is there anyone who can

RE: [PHP] Novata Como inicio??

2002-03-11 Thread Hunter, Ray
Que es su problema? Thank you, Ray Hunter Firmware Engineer ENTERASYS NETWORKS -Original Message- From: Jenny Fox [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 9:41 AM To: [EMAIL PROTECTED] Subject: [PHP] Novata Como inicio?? Primeramente alguien sabe español???, estoy

[PHP] Update database via email

2002-03-11 Thread Jackson Miller
I am working on a site that I would like to be able to update content (basically news stories) on via email. I am sitting with the problem trying to figure out the best way to do this before I start coding. I am curious if anyone else has done this and has a list of lessons learned that they

Re: [PHP] Installing PHP 4.1.2

2002-03-11 Thread Andrey Hristov
There was a discussion on PHP-DEV. Win32 binaries will be available soon. Best regards, Andrey Hristov - Original Message - From: Marcel Besancon [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 11, 2002 6:43 PM Subject: [PHP] Installing PHP 4.1.2 Hi everybody,

RE: [PHP] Update database via email

2002-03-11 Thread Adam Plocher
If you want an html form in an email, that's possible, but the form will probably need to submit to a php script (via http, not email). You would just need to set the content-type of the email to text/html. You wouldn't be able to have an active php script embedded in an email (other than

[PHP] limiting the livetime of a session possible?

2002-03-11 Thread Andy
Hi there, I am building a user registering module and now I am wondering if there would be a way to destroy the session if the user was inactive for an specified amount of time. I found an article on that with following line: If you propagate the session ID via cookies, you can influence the

[PHP] removing ALL whitespace from a string

2002-03-11 Thread Lee P Reilly
Can somebody tell me if there is a function that will remove *all* whitespace (\n, \r, \t, \w, etc) from a string i.e. from the beginning, the end, and the middle?. Something like chop(), trim()? e.g. input =12 3ad e.g. output = 123ad Thanks, Lee -- PHP General Mailing List

[PHP] Re: removing ALL whitespace from a string

2002-03-11 Thread Jordan S. Jones
You can use a regular expression for that.. However, I don't have that right here.. Jordan Lee P Reilly [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Can somebody tell me if there is a function that will remove *all* whitespace (\n, \r, \t, \w, etc) from a

Re: [PHP] removing ALL whitespace from a string

2002-03-11 Thread Andrey Hristov
$new=preg_replace('/\s/','',$old); Best regards, Andrey Hristov - Original Message - From: Lee P Reilly [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Monday, March 11, 2002 6:56 PM Subject: [PHP] removing ALL whitespace from a string Can somebody tell me if there is a

Re: [PHP] removing ALL whitespace from a string

2002-03-11 Thread Rasmus Lerdorf
$output = preg_replace('/\s/','',$input); On Mon, 11 Mar 2002, Lee P Reilly wrote: Can somebody tell me if there is a function that will remove *all* whitespace (\n, \r, \t, \w, etc) from a string i.e. from the beginning, the end, and the middle?. Something like chop(), trim()? e.g. input

RE: [PHP] removing ALL whitespace from a string

2002-03-11 Thread Demitrious S. Kelly
You can use strtok() with ' ' as the delim -Original Message- From: Lee P Reilly [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 8:56 AM To: PHP List Subject: [PHP] removing ALL whitespace from a string Can somebody tell me if there is a function that will remove *all*

Re: [PHP] 5 Records per line

2002-03-11 Thread Thomas Edison Jr.
Hey THANKS! It worked.. just the way i wanted! Thank you so much. T. Edison Jr. --- RIVES Sergio [EMAIL PROTECTED] wrote: i don't know if it will work... i am quite a newbie in this stuff. Hope it could help you Thomas Edison Jr. a écrit : Hi, This is the code i'm using so

Re: [PHP] Update database via email

2002-03-11 Thread Samuel Ottenhoff
If I were you, I would start looking into procmail. http://www.procmail.org You would set up an alias on your server... Something like [EMAIL PROTECTED] Procmail would filter the email for the important stuff and pass that on to a PHP script. The php script would then update your database.

[PHP] php.ini ...

2002-03-11 Thread Marcel Besancon
Hi, it's me again, when I used the PHP 4.0.6 I had a php.ini with a lot of entries. Now, at Version 4.1.1, there's a php.ini with this content: - ; php.ini for PEAR

[PHP] Image upload and scaling

2002-03-11 Thread P.Agenbag
Hi, I am trying to make a util whereby ppl can upload their own images to my server for me to automatically display them. The below code works fine, but I have the following problem. It only works fne if everyone complies to a standard of a set width and height for the image. This is not always

Re: [PHP] Update database via email

2002-03-11 Thread Enrico Weigelt
On Mon, Mar 11, 2002 at 11:52:20AM -0500, Jackson Miller wrote: I am working on a site that I would like to be able to update content (basically news stories) on via email. I am sitting with the problem trying to figure out the best way to do this before I start coding. i'm doing

Re: [PHP] limiting the livetime of a session possible?

2002-03-11 Thread Andrey Hristov
PHP4 sessions or self made sessions. If PHP4 there is an option in php.ini to set about how frequently the GC(garbage collector) will be started. Otherwise if self made and using a DB for backend - add new field last_time , and on every page request do Delete from session_table where

RE: [PHP] php.ini ...

2002-03-11 Thread Hunter, Ray
Before you installed did you make a copy of the php.ini file...? If you did not then it might have been overwritten with the new installation. Sounds like you did the basic installer installation. You might need to download the zip file and do a manual installation to get the required data.

[PHP] dynamic startpage in flash...

2002-03-11 Thread Eric Trezza
Hello, Far from being an expert in PHP, I work with it to make Flash dynamic... But I need help for the following point: I would like to send a dynamic variable to a Flash movie at the same time PHP build the HTML page containing this Flash movie. The idea behind it is for mail links. We want

[PHP] ImagePng: No PNG support in this PHP build

2002-03-11 Thread Josep Raurell
Hello. I alwais get this message, i try with the gd and libpng librarys from the SuSE 7.0, and after uninstalling with the sources librarys. (gd works ok) The result is the same: ImagePng: No PNG support in this PHP build This is my last configure setting: './configure'

Re: [PHP] Problems installing PHP

2002-03-11 Thread DL Neil
Hi Berlina, Im trying to install an Apache Web Server and PHP in a Windows NT . * Apache 1.2.23 * PHP 4.1.1 * Windows NT Server 4.0 with SP4 The installation of Apache Web Server and PHP was succesfully ok, but when I configure the PHP and Apache, editing the PHP.ini and httpd.conf

[PHP] registering $_REQUEST variables as session variables.

2002-03-11 Thread Gonzalez, Zara E
Hullo, I was just wondering if anyone knew an easy way to register all $_REQUEST variables as session variables. Or if there's not any easy way to do that, if there is an easier way than doing it this way for each variable: $a = $_REQUEST['a']; session_register(a); $b = $_REQUEST['b'];

[PHP] phpMyAdmin

2002-03-11 Thread Chuck \PUP\ Payne
I have a client that has install phpMyAdmin but can't get into he gets this error; Error MySQL said: Access denied for user: 'root@localhost' (Using password: NO) Is there a way to get into if he knows the password? Chuck PUP Payne Sr. System Administrator GDI Engineering, Inc. -- PHP

[PHP] Re: registering $_REQUEST variables as session variables.

2002-03-11 Thread Julio Nobrega Trabalhando
$_SESSION['from_form'] = $_REQUEST; -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Zara E Gonzalez [EMAIL PROTECTED] wrote in message [EMAIL

RE: [PHP] Re: registering $_REQUEST variables as session variables.

2002-03-11 Thread Gonzalez, Zara E
So because I'm a little dense, would that register the whole $_REQUEST array as a session variable? Or just 'from_form' ? Thanks, Zara -Original Message- From: Julio Nobrega Trabalhando [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 12:09 PM To: [EMAIL PROTECTED] Subject:

Re: [PHP] phpMyAdmin

2002-03-11 Thread John S. Huggins
On Mon, 11 Mar 2002, Chuck PUP Payne wrote: -I have a client that has install phpMyAdmin but can't get into he gets this -error; - -Error -MySQL said: - - -Access denied for user: 'root@localhost' (Using password: NO) - - -Is there a way to get into if he knows the password? Well, yes. The

Re: [PHP] limiting the livetime of a session possible?

2002-03-11 Thread Andy
Hi Andrey, is there no way to control the lifetime without modifiying the php.ini? I am not on my own server. The ISP controles this file. Would you suggest to go for a self made session? Andy Andrey Hristov [EMAIL PROTECTED] schrieb im Newsbeitrag

Re: [PHP] Re: registering $_REQUEST variables as session variables.

2002-03-11 Thread Julio Nobrega Trabalhando
It would register a session variable name 'from_form' equal to $_REQUEST; The name 'from_form' was just an example, you need to change it according to your needs, if you wish. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Zara E Gonzalez [EMAIL PROTECTED]

[PHP] Check @ in Record show Error in mail() !!

2002-03-11 Thread Thomas Edison Jr.
Hi, I'm using the following code to get Email Address stored in a table in my Database : ?php $db = mysql_connect(localhost,user,pass); mysql_select_db(mydb,$db); $result = mysql_query(SELECT * FROM sms where email!='' ORDER BY ID DESC,$db); if ($myrow = mysql_fetch_array($result)) { do {

Re: [PHP] phpMyAdmin

2002-03-11 Thread Thomas Edison Jr.
With the phpMyAdmin, you get a Config.inc file. You will have to change the parameters (username, password, database) etc., in order to access your phpMyAdmin. T. Edison Jr. --- Chuck \PUP\ Payne [EMAIL PROTECTED] wrote: I have a client that has install phpMyAdmin but can't get into he gets

Re: [PHP] [GD] quality of image after resize

2002-03-11 Thread Hiroshi Ayukawa
I had the same situation before. At that time, I used Imagemagick and run it as another process. GD is actually poor quality in resizing images, but Imagemagick is not poor. Hiroshi Ayukawa http://hoover.ktplan.ne.jp/kaihatsu/php_en/index.php?type=top -- PHP General Mailing List

[PHP] using ahref tag in $msg variable

2002-03-11 Thread Claudia Smith
I would like to know how to code my mail msg to accept an a href tag my current code is: $msg = $username wants you to check out \The AdVentures of AdWoman: AdWoman's Dilemma.\\n\n; $msg .= Play for a chance to win a Caribbean cruise presented by Carnival Cruise Line and a

[PHP] index.php question

2002-03-11 Thread Omland Christopher m
Hi all, I'm new to the mailing list, I hope I'm in the right spot. I have installed php, and .php files work fine, unless they are my index file. For example http://whatever.com/~jondoe/info.php will work. But if I make a index.php file and go to http://whatever.com/~jondoe it wont work. I can

Re: [PHP] index.php question

2002-03-11 Thread Samuel Ottenhoff
# # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. # IfModule mod_dir.c DirectoryIndex index.php index.php3 index.html /IfModule Sam On 3/11/02 1:36 PM, Omland Christopher m [EMAIL PROTECTED] wrote: Hi

Re: [PHP] php.ini ...

2002-03-11 Thread pong-TC
Go to your PHP directory and open backup folder inside. It should have php.ini right there. That is a real one, and you can use it. Hope, this would help. Pong [EMAIL PROTECTED] writes: Hi, it's me again, when I used the PHP 4.0.6 I had a php.ini with a lot of entries. Now, at Version

Re: [PHP] Image upload and scaling

2002-03-11 Thread Samuel Ottenhoff
Someone just mentioned ImageMagick... Check it out: http://www.imagemagick.org/ ImageMagickTM is a robust collection of tools and libraries to read, write, and manipulate an image in many image formats (over 68 major formats) including popular formats like TIFF, JPEG, PNG, PDF, PhotoCD, and

[PHP] PHP/Apache install question

2002-03-11 Thread Chuck Bearden
I would like to be able to build PHP using the apxs of an existing Apache install, but I want to inhibit 'make install' from placing the libphp4.so file in the apache directory and from modifying its httpd.conf. I want the libphp4.so placed in the PHP target directory, so that I can symlink

Re: [PHP] php.ini ...

2002-03-11 Thread Marcel Besancon
Hi, thanks for last posting. But that doesn't work with me. Don't ask me why. I will try further. Maybe I have better luck with this 4.1.2 version. I was told that the php_gd.dll is included there. Thanks a lot, Sincerely Marcel -- registered Fli4l-User #0388 Ray Hunter [EMAIL

Re: [PHP] limiting the livetime of a session possible?

2002-03-11 Thread Samuel Ottenhoff
The last person gave you a way to do it without using php.ini Re-read the reply. 1) you can create a timestamp column last_access in your USERS table 2) every time that user hits a page, you need to update that column 3) every time the user asks for a new page, see if the last access is less

[PHP] upload script problems.

2002-03-11 Thread Brian Lee
Hello, I am trying to fix a upload script that doesn't seem to be working anymore. I had it up an running for a few months but it broke last week. I don't think that there was anything changed on the server. I am using php 4.0.4pl1. Any help you could give me would be great. I get this

Re: [PHP] index.php question

2002-03-11 Thread Daniel Negron/KBE
do you happen to have an answer for IIS. I alreazdy tried to add index.php to the list of documents, along with index.asp, index.html, and so on.But I still get the same result. Thank You Daniel Negrón Lotus Notes Administrator / Developer KB Electronics, Inc. 954.346.4900x122

Re: [PHP] Netscape Vs. IE

2002-03-11 Thread Gary
Vlad Kulchitski wrote: Hi, Someone replied to my post about browsers incompatibilities but I lost the message, can someone remind me how to set up the background image: td style='background: white' I mean I need another command that will tell to load image as a bg. I am trying to use

Re: [PHP] using ahref tag in $msg variable

2002-03-11 Thread Jason Wong
On Tuesday 12 March 2002 02:12, Claudia Smith wrote: I would like to know how to code my mail msg to accept an a href tag my current code is: $msg = $username wants you to check out \The AdVentures of AdWoman: AdWoman's Dilemma.\\n\n; $msg .= Play for a chance to win a Caribbean cruise

RE: [PHP] Check @ in Record show Error in mail() !!

2002-03-11 Thread Rick Emery
$result = mysql_query(SELECT * FROM sms where email LIKE \%@%\ ORDER BY ID DESC,$db); -Original Message- From: Thomas Edison Jr. [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 12:18 PM To: RIVES Sergio Cc: [EMAIL PROTECTED] Subject: [PHP] Check @ in Record show Error in mail()

Re: [PHP] ImagePng: No PNG support in this PHP build

2002-03-11 Thread Jason Wong
On Tuesday 12 March 2002 01:42, Josep Raurell wrote: Hello. I alwais get this message, i try with the gd and libpng librarys from the SuSE 7.0, and after uninstalling with the sources librarys. (gd works ok) The result is the same: ImagePng: No PNG support in this PHP build This is my

[PHP] Syntax for attaching a PDF file

2002-03-11 Thread Todd Cary
I am not sure of the correct syntax for attaching a PDF file to an email message using mail(). Any help is greatly appreciated since the documents are confusing for me. Todd -- Dr. Todd Cary Ariste Software 707-773-4523 [EMAIL PROTECTED] It is a worthy thing to fight for one's freedom; it is

  1   2   >