RE: [PHP] loading data into mysql from txt file from php

2001-07-03 Thread Don Read
On 03-Jul-01 Clif Wieden wrote: > I have a project where the admin uploads a new data file and it needs to > be loaded into a mysql database. What's the best way to do this? The > data file is tab-delimted but could be reformatted. > > Right now the file is uploaded and after copy($new_file, $fi

[PHP] RE: Processing checkboxes in Dynamic tables

2001-07-03 Thread Adrian Ciutureanu
Variables that are not checked are not send by default. Try the code below and see what variables are posted. value=1>p To process variables you may use $HTTP_GET_VARS (or $HTTP_POST_VARS if you preffer). adu PS: If you want the checkboxes to be checked by default you must use CHECKED, n

[PHP] RE: Deleting a string from a text file

2001-07-03 Thread Adrian Ciutureanu
> -Original Message- > From: Stevenson, Christopher > [mailto:[EMAIL PROTECTED]] > Sent: 3 iulie 2001 11:35 > To: '[EMAIL PROTECTED]' > Subject: Deleting a string from a text file > > > Hello, folks. I'm relatively new to this. > > Would anyone be willing to give me some code that wi

[PHP] iterating over /etc/group

2001-07-03 Thread Arcady Genkin
Does PHP provide no high-level means of iterating over the UNIX /etc/group file, a la getgrent() C function? The task is to figure out all groups that a user is in on a system with PHP in _safe mode_ (hence, cannot read from /etc/group directly). Am I overlooking something? Many thanks, -- Arca

RE: [PHP] Help Meeeeeeeeeee!!!!!!

2001-07-03 Thread Matthew Loff
(sorry for the off-topic still) http://www.mysql.com/Downloads/Contrib/MYSQLX.EXE A MySQL ActiveX control that can be accessed from VC++, VB, etc... Uses the MySQL API instead of ODBC... Sounds pretty versatile. -Original Message- From: Chris Anderson [mailto:[EMAIL PROTECTED]] Sent:

[PHP] Protecting from session hijacking

2001-07-03 Thread Arcady Genkin
Is there any real way to protect against possibility of session hijacking? I thought of checking IP address on subsequent requests, but apparently this cannot be relied on because of HTTP proxies etc. Any wizdom on the matter? (I'm already saving the session files in a directory protected from u

Re: [PHP] How to prevent people from downloading images

2001-07-03 Thread Victor Spång Arthursson
There is only one way to prevent people from steeling images, and that is to print a logo all over the image: If you write a javascript that disables the right mouse button, I'ld be able to steel it anyway cause I'm a Mac use

RE: [PHP] Help Meeeeeeeeeee!!!!!!

2001-07-03 Thread Matthew Loff
[I realize this is off-topic, I apologise] Would this have to be done with ODBC? Or are there any easy ways to link to the MySQL API libs via VB? I'm curious to know too... -Original Message- From: Chris Anderson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 03, 2001 10:34 PM To: [

Re: [PHP] max_execution_time

2001-07-03 Thread mike cullerton
rock on, it worked! thanks y'all, you've opened a whole new window. there turned out to be two ways to pull it off ini_set("max_execution_time", $seconds); set_time_limit($seconds) again, thanks, mike on 7/3/01 11:15 PM, Maxim Maletsky at [EMAIL PROTECTED] wrote: > this is the correct link:

[PHP] Language of choice

2001-07-03 Thread Kman
http://soldc.sun.com/polls/index.jshtml Someone sent me this. Aha. Another religious war? :-) -kittiwat -- 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:

Re: [PHP] max_execution_time

2001-07-03 Thread Rasmus Lerdorf
> i've got a script running into my max_execution_time. is there a way to > override the value in php.ini from within a script, rather than increasing > the time in php.ini? http://php.net/settimelimit -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP] max_execution_time

2001-07-03 Thread mike cullerton
hey folks, i've got a script running into my max_execution_time. is there a way to override the value in php.ini from within a script, rather than increasing the time in php.ini? thanks, mike -- mike cullerton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA

RE: [PHP] newbie has include path error & new problem

2001-07-03 Thread Daniel Goldin
Here what I get: Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 199.34.58.0 * 255.255.255.0 U 0 00 eth0 127.0.0.0 * 255.0.0.0 U 0 00 lo default 199.34.58.

Re: [PHP] help in getting results from mysql

2001-07-03 Thread Christian Dechery
At 12:07 4/7/2001 +0930, David Robley wrote: >On Wed, 4 Jul 2001 00:00, Christian Dechery wrote: > > well... I tought of that. > > It doesn't work for many reasons: > > 1 - '*' always has to be the first on the select list > > 2 - you can't have expressions (max, min, avg) without a group by > >

Re: [PHP] Free logo shirt for your school, camp or sports team

2001-07-03 Thread ReDucTor
Is this only for the first shirt, all for every shirt? - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 04, 2001 2:25 PM Subject: [PHP] Free logo shirt for your school, camp or sports team > > Free logo shirt for your school, camp or sports tea

[PHP] Free logo shirt for your school, camp or sports team

2001-07-03 Thread optin16
Free logo shirt for your school, camp or sports team Your own logo printed on top quality shirts for only $3.99 each! Our custom shirts nomally sell for $7.95 a piece. But with this limited offer you get them for half price. No other shirt printing company can even come close to matching

Re: [PHP] error_log not obeyed

2001-07-03 Thread Zak Greant
Arcady Genkin wrote: > [message format fixed] > "..s.c.o.t.t.." <[EMAIL PROTECTED]> writes: > > > > I'm trying to send PHP errors into a separate log file. I have the > > > following in php.ini: > > > > > > log_errors = On > > > error_log = /var/www/logs/php-errors.log > > > > > > After apach

Re: [PHP] sending 5000+ emails - use PHP?

2001-07-03 Thread Kman
From: "Henrik Hansen" <[EMAIL PROTECTED]> > > strange but i heard otherwise, I heard that sorting by domain would > speed up thing because the mailserver allready has a connection to > the forign mailserver, what do you mean by repeated replies? > OK, I got it partly wrong this time. What I sup

Re: [PHP] How to prevent people from downloading images

2001-07-03 Thread Aral Balkan
> if that image is viewable on the computer monitor, it's impossible to protect it if someone wants to steal it bad enough. True, and I have friends who are professional photographers who actually *don't* want to protect their images in this way. It is much more profitable to be able to log who i

Re: [PHP] error_log not obeyed

2001-07-03 Thread Arcady Genkin
[message format fixed] "..s.c.o.t.t.." <[EMAIL PROTECTED]> writes: > > I'm trying to send PHP errors into a separate log file. I have the > > following in php.ini: > > > > log_errors = On > > error_log = /var/www/logs/php-errors.log > > > > After apache restarted the errors are now being s

RE: [PHP] Deleting a string from a text file

2001-07-03 Thread ..s.c.o.t.t..
you could also do it this way: $ofile = "file.txt";// original file $nfile = "new.file.txt";// new file $string = "original"; // what needs to be replaced $replace = "replacement"; // what to replace it with $data = file($ofile); // original file's d

RE: [PHP] How to prevent people from downloading images

2001-07-03 Thread ..s.c.o.t.t..
there are two answers to this: 1) it cannot be done. as long as that image is on the person's computer screen, it is physically impossible to prevent that person from saving the image and using it. (a simple tap of the "print screen" will take a screenshot on windows machines, as someone else me

RE: [PHP] Help Meeeeeeeeeee!!!!!!

2001-07-03 Thread ..s.c.o.t.t..
perhaps you'll have better luck finding comments and suggestions on a VB or MySQL list > -Original Message- > From: Veerappan Rajendrakumar [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 03, 2001 19:30 > To: [EMAIL PROTECTED] > Subject: [PHP] Help Meee!! > > > > >

RE: [PHP] error_log not obeyed

2001-07-03 Thread ..s.c.o.t.t..
does the directory exist? does php or apache have the right to create new files in /var/www/logs/? if the file exists, are the permissions set correctly on it? keep in mind that the user that owns apache usually has very limited powers > -Original Message- > From: [EMAIL PROTECTED] [m

Re: [PHP] help in getting results from mysql

2001-07-03 Thread David Robley
On Wed, 4 Jul 2001 00:00, Christian Dechery wrote: > well... I tought of that. > It doesn't work for many reasons: > 1 - '*' always has to be the first on the select list > 2 - you can't have expressions (max, min, avg) without a group by > clause if you are handling multiple rows > 3 - etc. etc.

Re: [PHP] Help Meeeeeeeeeee!!!!!!

2001-07-03 Thread Chris Anderson
A Visual Basic and MySQL project. Ouch, not exactly made to work together. Plus Commercial + Open source, although that doesn't mean much. Really if you make them work together, I'd LOVE to know how. VB is one of my best real App programs. Next to C++ of course =) - Original Message - From

Re: [PHP] Deleting a string from a text file

2001-07-03 Thread David Robley
On Tue, 3 Jul 2001 18:04, Stevenson, Christopher wrote: > Hello, folks. I'm relatively new to this. > > Would anyone be willing to give me some code that will delete the first > occurrence of a string from a text file? > > Thanks, > Chris. Hello Chris - when did you guys discover PHP! Grab the

Re: [PHP] news.php.net -- will it work?

2001-07-03 Thread Rasmus Lerdorf
> I used to read this list via the newsserver news.php.net. It has been > down for a while: is the news service going to be restored eventually? Jim Winstead is currently applying all sorts of magic pixie dust to this thing. It should be back up and better than ever in the next couple of days.

Re: [PHP] How to prevent people from downloading images

2001-07-03 Thread John Meyer
On Tue, 03 Jul 2001, [EMAIL PROTECTED] wrote: > rodrigo <[EMAIL PROTECTED]> writes: > > > I need a way to prevent the download of some images in a web page. I > > also require that these images be presented within the web page. That > > is, I don' want them to be displayed in another window. They

[PHP] Help Meeeeeeeeeee!!!!!!

2001-07-03 Thread Veerappan Rajendrakumar
Hi, I am working on a banking project. we are planning to take our tour into vb/mysql combination. Please help me sending your comments. Thank you, V.Rajendrakumar. Buy Feng Shui Package for Rs. 151/- only, at http://shopping.rediff.c

[PHP] news.php.net -- will it work?

2001-07-03 Thread Arcady Genkin
I used to read this list via the newsserver news.php.net. It has been down for a while: is the news service going to be restored eventually? Thanks, -- Arcady Genkin i=1; while 1, hilb(i); i=i+1; end -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: [PHP] How to prevent people from downloading images

2001-07-03 Thread antipode
rodrigo <[EMAIL PROTECTED]> writes: > I need a way to prevent the download of some images in a web page. I > also require that these images be presented within the web page. That > is, I don' want them to be displayed in another window. They should > remain embedded in the web page along with the

Re: [PHP] To be or not to be : safe mode

2001-07-03 Thread Rasmus Lerdorf
> But I am considering setting it back on and change > (somehow) the default upload dir to a new one. Since > move_uploaded_file still works (even with safe_mode) I > assume I will work but another problem arises. > The name of the uploded file (which I do not control) > is something like phpUKXh6

Re: [PHP] How to prevent people from downloading images

2001-07-03 Thread Aral Balkan
I bought (it was something like $5-10) a java class called imageProtect from Liquid Cool Research (their new page is http://www.liquidcoolresearch.com/) a long time ago and I just checked on their site -- it doesn't seem to be on sale any more. It worked for me (basically it was just java loading

RE: [PHP] How to prevent people from downloading images

2001-07-03 Thread Peter Houchin - SunRentals Australia
yeah use macromedia's flash is One way there is a java script way ... but i think that basically just stops people right clicking the page -Original Message- From: rodrigo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 04, 2001 10:37 AM To: php php Subject: [PHP] How to prev

Re: [PHP] How to prevent people from downloading images

2001-07-03 Thread mike cullerton
on 7/3/01 6:36 PM, rodrigo at [EMAIL PROTECTED] wrote: > This is probably more of a client side programming issue rather than > something that has to do with PHP. But I figure that some of you might > have something meaningful to comment. > > I need a way to prevent the download of some images i

RE: [PHP] How to prevent people from downloading images

2001-07-03 Thread MRossland
I don't remember exactly the code on how to do it, but you have have the images placed in a folder outside the server's public document tree (like you would do with includes) ... that way, I couldn't link directly to your pic. As for stopping someone from right clicking on the image and doing a "

[PHP] How to prevent people from downloading images

2001-07-03 Thread rodrigo
This is probably more of a client side programming issue rather than something that has to do with PHP. But I figure that some of you might have something meaningful to comment. I need a way to prevent the download of some images in a web page. I also require that these images be presented within

[PHP] error_log not obeyed

2001-07-03 Thread antipode
Hello: I'm trying to send PHP errors into a separate log file. I have the following in php.ini: log_errors = On error_log = /var/www/logs/php-errors.log After apache restarted the errors are now being sent to apache's error log, but not the one I specified. Any ideas? Thanks, -- Arcady

[PHP] To be or not to be : safe mode

2001-07-03 Thread Robert Mena
Hi, I've decided to turn on/set safe_mode, document_root and open_basedir in apache's httpd.conf in order to make the scripts a little more secure (some upload files such as image) in a virtual host. Everything worked fine except for a couple of scripts. Those scripts (used for file upload) firs

RE: [PHP] poor HTML syntax crashing (!) netscape

2001-07-03 Thread Chris Hayes
> I have an interesting situation at the moment... my (slightly sloppy) HTML > is obviously missing a closing tag here or there but displays fine in opera, > ie etc however when I try and view it netscape (4.x, windows, linux, any > platform) netscape just nice and cleanly crashes!! you mean lik

[PHP] getimagesize w/ URL conflicting messages ...

2001-07-03 Thread [EMAIL PROTECTED]
http://www.php.net/manual/en/function.getimagesize.php Here it seems to say that you can use getimagesize with a URL But here http://www.phpbuilder.com/mail/php-developer-list/282/2426.php it says you can't Any comments? is it just in newer versions? Susan -- PHP General Maili

Re: [PHP] image button troubles

2001-07-03 Thread Kurt Lieber
Are you entering the fully-qualified URL? The following works perfectly on my machine: http://i.cnn.net/cnn/images/main/cnnlogo.gif";); echo $tempVar[3]; ?> (it's the main logo for cnn.com) --kurt - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday,

Re: [PHP] image button troubles

2001-07-03 Thread mike cullerton
because of problems just like this, i've moved to using printf() instead of echo(). printf("x = %s and y = %s",$mapclick,$mapclick_y); on 7/3/79 5:44 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: > on 7/3/01 7:52 PM, Kurt Lieber at [EMAIL PROTECTED] wrote: > >> I had a similar problem a wh

Re: [PHP] image button troubles

2001-07-03 Thread [EMAIL PROTECTED]
on 7/3/01 7:52 PM, Kurt Lieber at [EMAIL PROTECTED] wrote: > I had a similar problem a while back that I solved by isolating my > variables. Such as: > > > > As for why it's happening, I'm not sure. Wow, that fixed it! Though it turns out I was mistaken in thinking I'd fixed the bug... it

Re: [PHP] image button troubles (duh)

2001-07-03 Thread [EMAIL PROTECTED]
I've found the bug in this question. Still no luck with QUESTION 1 sorry to bug you guys Susan - QUESTION 2 I want to check how large the image is, so I tried this: $test = GetImageSize ("$maploc"); echo $test[3]; (it's a jpg, and $maploc is any URL) But I get this error: Wa

Re: [PHP] image button troubles

2001-07-03 Thread Kurt Lieber
I had a similar problem a while back that I solved by isolating my variables. Such as: As for why it's happening, I'm not sure. --kurt - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 03, 1979 4:25 PM Subject: [PHP] image button troubles QU

[PHP] Pdf as image

2001-07-03 Thread Todd Cary
Is there a way to convert a PDF file into a TIFF image without purchasing PdfLib? I would like to take a PDF file and use it as a "background" upon which I would place some other images. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

[PHP] image button troubles

2001-07-03 Thread [EMAIL PROTECTED]
QUESTION 1 I'm working on a form that reads where the user clicks on an image using: where the map has name="mapclick" I get this as output: Location is x = 94 and y =Ê36 What is that strange "e" thing? QUESTION 2 I want to check how large the image is, so I tried this: $test = GetImag

[PHP] User Authentication

2001-07-03 Thread Jason Rennie
Hi all, Is there a way in php4 to authenticate a user against the system passwords? I have to write a php program to handle student assignment submissions. These users need to authenticated against an winnt PDC. Samba has a package called winbind that will let me map the pdc's usernames and gr

RE: [PHP] Sina.com

2001-07-03 Thread Tim Taubert
i'm getting this like you... only unreadable messages.. - Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/ - -Original Message- From:

[PHP] Sina.com

2001-07-03 Thread Brad Hubbard
Is anyone else getting this sina.com crap? Could the moderators/administrators of the list take a look at it? Cheers, Brad -- 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 administ

RE: [PHP] IRC Gateway Functions

2001-07-03 Thread Matthias Winkelmann
Hi! I think the configure command is -enable-ircg, but as far as i know, it won'T work with apache but only with thttpd. Take a look at http://php.net/~sas/ good luck, Matt > -Original Message- > From: Brian C. Doyle [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 03, 2001 5:26 PM > T

Re: [PHP] Help Please

2001-07-03 Thread mike cullerton
on 7/3/01 9:56 AM, Martín Marqués at [EMAIL PROTECTED] wrote: >>> Even better! Execute phpinfo() and see all the http variables available! >>> Or var_dump($GLOBALS); >> >> yes, but since you won't be 'referred' from anywhere, you won't see >> $HTTP_REFERRER :) > > ouch! You're totally right! :-

Re: [PHP] Help Please

2001-07-03 Thread mike cullerton
on 7/3/01 9:48 AM, Martín Marqués at [EMAIL PROTECTED] wrote: > On Mié 04 Jul 2001 00:43, you wrote: >> Sorryyou'll need a '$' before the HTTP_REFERER part > > > Even better! Execute phpinfo() and see all the http variables available! > Or var_dump($GLOBALS); yes, but since you won't be 'r

Re: [PHP] Help Please

2001-07-03 Thread Tyler Longren
Sorryyou'll need a '$' before the HTTP_REFERER part - Original Message - From: "Tyler Longren" <[EMAIL PROTECTED]> To: "John Holcomb" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 03, 2001 4:23 PM Subject: Re: [PHP] Help Please > yes...do this: > print "HTTP_REFERER";

RE: [PHP] Fatal Error: Call to undefined function: sybase_connect() in

2001-07-03 Thread nelo manuel
Dear all, after lots of attempts to make my sybase work i still getting an error with my sybase_connect function, Fatal error call to undefined function sybase_connect()in my document root directory index.php3 ... i am now trying to compile ./configure -with -msql does any1 know the correct com

RE: [PHP] Help Please

2001-07-03 Thread Tim Taubert
yes there is one $HTTP_REFERER but it isn't supported by all browsers... bye Tim - Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/ - -O

Re: [PHP] Help Please

2001-07-03 Thread Tyler Longren
yes...do this: print "HTTP_REFERER"; tyler - Original Message - From: "John Holcomb" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 03, 2001 4:17 PM Subject: [PHP] Help Please > Is there an environmental variable like in Active > Server Pages ( HTTP_REFERRER ) that te

Re: [PHP] loading data into mysql from txt file from php

2001-07-03 Thread mike cullerton
write a script that reads in each line of the file, uses split() to break the line up at the tabs, and then inserts into the database. $data_array = split([tab],$file); $query = "insert into table values ($data_array[0], $data_array[1],...) you'll have to look up the regular expression for tab

[PHP] Help Please

2001-07-03 Thread John Holcomb
Is there an environmental variable like in Active Server Pages ( HTTP_REFERRER ) that tells you the page you just came from. Thanks. __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ -- PHP Genera

[PHP] loading data into mysql from txt file from php

2001-07-03 Thread Clif Wieden
I have a project where the admin uploads a new data file and it needs to be loaded into a mysql database. What's the best way to do this? The data file is tab-delimted but could be reformatted. Right now the file is uploaded and after copy($new_file, $file_loc) would like to refresh the db. unix

[PHP] PHP for APACHE 2.x API

2001-07-03 Thread N. Pari Purna Chand
Are there any pathches sort of availabe for php 4.0.x so that I can compile php4 for Apache 2.0.x beta regards Chandu

[PHP] How to Enable SSI on Windows Apache and PHP

2001-07-03 Thread Johnny Nguyen
Do I just uncomment: AddType text/html .shtml AddHandler server-parsed .shtml Do I have to uncomment: AddModule mod_mime.c AddModule mod_include.c I thought these modules are bound into the standard windows build? When I load the page up, the includes are not being included and the directive

Re: [PHP] sending 5000+ emails - use PHP?

2001-07-03 Thread Henrik Hansen
"Kman" <[EMAIL PROTECTED]> wrote: > From: "infoz" <[EMAIL PROTECTED]> >> >> If all the messages were identical, we might be able to get some > efficiency >> by sorting the list by domain name and batching them up with SMTP > > That's a very BAD idea. If you sort the mail by domain, you will

Re: [PHP] sending 5000+ emails - use PHP?

2001-07-03 Thread Henrik Hansen
Justin Farnsworth <[EMAIL PROTECTED]> wrote: > We do this with mail() now and then. > > The caution about doing "periodic pauses" may be important. > A few years ago I crashed a mail server by doing a mass email > with no sleep() embedded. > > However, FWIW, not more than a month or so a

[PHP] LDAP Add and Read Binary Data

2001-07-03 Thread Antonis Limperis
Hello, my friends I tried to register binary data in a Directory using LDAP Functions of php 4.04. Thsese data are UTF8 encoded strings in our local language. These tries were not successful and php did not register data in Directory. I would want to know if php LDAP functions support binary data

Re: [PHP] sending 5000+ emails - use PHP?

2001-07-03 Thread Henrik Hansen
"Kman" <[EMAIL PROTECTED]> wrote: > Yes, if you can stop mail server. Then kill the related process. No, > otherwise. or if the browser window is open you can just press esc (you can leave it open is your timeout is disabled) -- Henrik Hansen -- PHP General Mailing List (http://www.php.n

Re: [PHP] Troubleshooting syntax ?

2001-07-03 Thread mike cullerton
http://www.nestegg.net/validate.html on 7/3/01 2:17 PM, Jack Sasportas at [EMAIL PROTECTED] wrote: > Can anyone suggest a tool / web site etc, that helps you check the html > code for the missing / wrong syntax so that it is spotted quickly like > making it red or something, instead of reading t

RE: [PHP] poor HTML syntax crashing (!) netscape

2001-07-03 Thread Tim Taubert
don't know any bugs but could be helpful if we could see your code... but.. maybe you think we shouldn't see it ;) Tim Taubert - Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/rg/ -

RE: [PHP] Using PHP + GD to make bar graphs?

2001-07-03 Thread Matthew Loff
This may or may not be overkill for what you're doing, but it looks like a superb class: http://www.aditus.nu/jpgraph/index.php I've seen several other graphic classes as well... But this looks to be the best. -Original Message- From: Gonyou, Austin [mailto:[EMAIL PROTECTED]] Sent:

[PHP] poor HTML syntax crashing (!) netscape

2001-07-03 Thread Tom Carter
Hi guys, I have an interesting situation at the moment... my (slightly sloppy) HTML is obviously missing a closing tag here or there but displays fine in opera, ie etc however when I try and view it netscape (4.x, windows, linux, any platform) netscape just nice and cleanly crashes!! If anyone kn

Re: [PHP] configuring with gd for TTF

2001-07-03 Thread Michel 'ZioBudda' Morelli
On Tue, 3 Jul 2001, Michel 'ZioBudda' Morelli wrote: >On Tue, 3 Jul 2001, Brian White wrote: >> LD_LIBRARY_PATH=/usr/local/freetype/lib/ > >insert this line into argh... only /usr/local/freetype/lib/ sorry -- "La sapienza mi persegue, ma io sono più veloce". -- Michel Morelli

Re: [PHP] pspell dictionary

2001-07-03 Thread Aaron McBride
Ok, I got it to find the word list by copying en-aspell.pwli from /usr/share/pspell/ to ./usr/local/share/pspell/ go figure. Unfortunately, that didn't fix all of the problems. Now I get the following error message: Warning: PSPELL couldn't open the dictionary. reason: Unable to load the "aspel

RE: [PHP] Troubleshooting syntax ?

2001-07-03 Thread Matthew Loff
I can't suggest any syntax checkers off-hand, but a suggestion for future work... I keep track of TABLE, TR, TD, etc. by indenting them like PHP/C code... Perhaps that would alleviate this from happening again in the future for you... TABLE TR TD /TD

RE: [PHP] Troubleshooting syntax ?

2001-07-03 Thread Johnson, Kirk
I do a View Source on all my generated pages, save it as a file, then run the file through Arachnophilia's tag checker. It reports missing tags and line numbers where there are errors. Arachnophilia is "careware", I have used it for a long time. There are doubtless other programs that will do this

[PHP] Troubleshooting syntax ?

2001-07-03 Thread Jack Sasportas
OK I'm sure we've all run into this fun problem. Sometimes we forget a etc, from our html, and our friend Netscape doesn't display anything if the syntax is wrong or missing. IE on the other hand assumes what you are doing and displays it fine. Can anyone suggest a tool / web site etc, that hel

Re: [PHP] search

2001-07-03 Thread Lasse
- Original Message - From: "AJDIN BRANDIC" <[EMAIL PROTECTED]> To: "Tom Carter" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, July 03, 2001 2:57 PM Subject: Re: [PHP] search > On Tue, 3 Jul 2001, Tom Carter wrote: > > > Rather than trying to break it into an array, you can

[PHP] Using PHP + GD to make bar graphs?

2001-07-03 Thread Gonyou, Austin
I'm looking to see if it's possible to do something like this. Has anyone seen anything like this at all? Thanks for the time. -- Austin Gonyou Systems Architect, CCNA Coremetrics, Inc. Phone: 512-796-9023 email: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscrib

[PHP] [JOB OFFER] Mandarin Chinese speaking PHP Programmer needed

2001-07-03 Thread Adam Powell
Hi, sorry about the blatant use of this mailing list to advertise a job vacancy, but it seems to be the best place. Anyway, I represent Neopets.com, we are an online entertainment community, written in PHP/Apache/Redhat linux, and we are currently doing in excess of 130,000,000 pageviews daily (

Re: [PHP] configuring with gd for TTF

2001-07-03 Thread Michel 'ZioBudda' Morelli
On Tue, 3 Jul 2001, Brian White wrote: > LD_LIBRARY_PATH=/usr/local/freetype/lib/ insert this line into /etc/ld.so.cong and run ldconfig -v (via root) bye -- "Il mondo si divide in due categorie: chi ha la pistola carica e chi scava. Tu scavi". -- Michel Morelli [EMAIL

[PHP] problem with php and interbase

2001-07-03 Thread Yamilé
Hi: I have PHP4 and Interbase 6.0 Super Server but ... Fatal Error: Call to undefined function ibase_connect() ... any idea? Is there something like php-interbase...rpm? Thanks fausto. __ Do You Yahoo!? Get personalized email addresses fro

RE: [PHP] Fatal Error: Call to undefined function: sybase_connect() in

2001-07-03 Thread nelo manuel
nice 1 scott, appreciate your help, i'll keep working on it :) Many Thanks, Nelson London >From: "scott [gts]" <[EMAIL PROTECTED]> >To: "php" <[EMAIL PROTECTED]> >Subject: RE: [PHP] Fatal Error: Call to undefined function: >sybase_connect() in >Date: Tue, 3 Jul 2001 14:52:36 -0400 > >well,

[PHP] fscanf Help!!

2001-07-03 Thread James West
I'm starting to learn the language and I'm having a problem with fscanf as witnessed below: http://www.zephyr-works.com/ascii-5/dev/phpnews.phps The output is at: http://www.zephyr-works.com/ascii-5/dev/phpnews.php I can't seem to get the variables to assign correctly... The source file is:

RE: [PHP] Fatal Error: Call to undefined function: sybase_connect() in

2001-07-03 Thread scott [gts]
well, on second look at the microtime error messages, it looks like you might need to patch 'microtime.c'. i dont have any experience with sybase, so i'm the wrong person to ask for sybase-specific information, but try the sybase/php website and see if there's any mention of patches ... or per

[PHP] perl serialization

2001-07-03 Thread scott [gts]
i've been working on porting the functionality of PHP's serialize() and unserialize() functions that will turn an array/hash into a simple string. so far, i've got serialize() working in perl... i attached the files, but you can also get them at: http://furt.com/code/serialize/ if anyone feel

[PHP] pspell dictionary

2001-07-03 Thread Aaron McBride
I've just installed php with support for pspell. Pspell and aspell installed fine, and I even have a bunch of .pwli files. Problem is that when I do: $pspell_link = pspell_new ("en"); I get this error: Warning: PSPELL couldn't open the dictionary. reason: I'm sorry I can't find any suitable wo

RE: [PHP] Fatal Error: Call to undefined function: sybase_connect() in

2001-07-03 Thread nelo manuel
hi Scott, i've tried below by deleting the old config.cache then run ./configure -with-apxs=/usr/sbin/apxs -with-sybase=/opt/sybase i am still getting the micro time error on make and make install and when i run my php-4.0.6 script to get data from sybase the error Fatal error: Call to unsupport

Re: [PHP] qmail-inject: fatal: read error

2001-07-03 Thread teo
Hi Warren! On Tue, 03 Jul 2001, Warren Brundage wrote: > When I try to use PHP to send mail through qmail I get a "qmail-inject: > fatal: read error". I have read through the list and I have seen (and > tried) the following solutions: > > 1. Put /var/qmail/bin/qmail-inject into php.ini instead

[PHP] Netscape error on first attempt to load PHP page but not second

2001-07-03 Thread Tom Beidler
I get the following error when attempting to open a PHP page in Netscape 4.7 and 6 on the Macintosh. "The document contained no data. Try again later, or contact the server's administrator" Once you close the dialog box and then try to load the page it comes up fine. It's a secure site using co

[PHP] Re: recommend a good PHP site specific search engine

2001-07-03 Thread Tom Beidler
I should have mentioned that it will run on a Windows box. on 7/3/01 7:00 AM, Tom Beidler at [EMAIL PROTECTED] wrote: > Can anyone suggest a good PHP/MySQL search engine to be used to search a > site (not the entire Internet). I have a site with an extensive amount of > manual pages that we woul

Re: [PHP] #exec and php together

2001-07-03 Thread Kurt Lieber
First question is why not just use PHP for both parts? i.e. I'd guess the reason your second example doesn't work is because PHP isn't being called to parse the page. even though you're calling a php page with your SSI, the destination page is named *.htm meaning that PHP won't be involved.

RE: [PHP] php serialize

2001-07-03 Thread scott [gts]
wow... that looks like it might just do the job :) although it'd still be fun to hack up a simple serialize/deserialize in perl, i didnt know that WDDX modules existed for perl... i'll go and get it all and start playing around with it now :) > -Original Message- > From: Alexander Wag

[PHP] HTTP authentication logout

2001-07-03 Thread David A Dickson
I am using HTTP authentication to restrict access to certain pages and I want to add a logout option so that users must reauthenticate before being able to veiw the pages again. Here is the code I'm using to authenticate: This page requires a user name and password to view."); endPage();

Re: [PHP] php serialize

2001-07-03 Thread Alexander Wagner
scott [gts] wrote: > i want to write serialize() and unserialize() in perl > so that arrays (no objects or references yet) can be > read/written by both PHP and Perl to help with my > cross-language session implementation. Why don't you use WDDX? regards Wagner -- Madness takes its toll. P

Re: [PHP] caching

2001-07-03 Thread Jay Paulson
This is what I use for the header information.. I don't know if it will work for an image or not but it works nicely for text fields that are dynamically populated.. anyway if you aren't adding this extra little bit at the end of the header function you might want to give it a shot... header ("Ca

Re: [PHP] #exec and php together

2001-07-03 Thread Paolo Ciraci
> The problem with this is that, by default, Apache will ONLY parse > PHP code if the extension matches the PHP extension in > httpd.conf. You could add .htm and .html to that extension match > if you'd like, and that could possibly do it. No, that is not the problem. I don't want the .htm f

Re: [PHP] Re: [PHP-DB] PhpMyAdmin phpPgAdmin Security Issues

2001-07-03 Thread andreas \(@work\)
hi chris, server is running mysql and php are working perfekt on all the servers the correct url is http://www.mydomain.com/phpMyAdmin/sql.php?server=000&cfgServers[000][host]= hello&btnDrop=No&goto=/etc/passwd and we tried that "exploid" now on 10 different dedicated servers all with "defa

[PHP] php serialize

2001-07-03 Thread scott [gts]
does anyone know any good places to look for detailed information about PHP's serialize(), unserialize() (besides the PHP sources, becuase i'm already going thru them) i want to write serialize() and unserialize() in perl so that arrays (no objects or references yet) can be read/written by both P

Re: [PHP] PHP for NetWare?

2001-07-03 Thread Tony Gettig
Actually, NetWare is a very different operating system than Windows. It's a direct competitor to M$. Way more stable than windows. If PHP is available for NetWare, someone must have ported to the platform to run either as an NLM or with the JVM. There's a queston: is there perhaps a java execu

  1   2   >