[PHP] Strange errors

2001-04-25 Thread Joseph Blythe
/browser.php' for inclusion (include_path='./inc:/usr/local/lib/php:.') in Unknown on line 0 If anyone knows what is wrong or has had a simular problem please let me know. Regards Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] Strange errors

2001-04-25 Thread Joseph Blythe
, all the scripts look fine, I have restarted apache too. This has me stuffed! Regards Joseph -- 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

Re: [PHP] Strange errors

2001-04-25 Thread Joseph Blythe
Mark Maggelet wrote: On Thu, 26 Apr 2001 09:54:04 +0930, Joseph Blythe ([EMAIL PROTECTED]) wrote: Chris Fry wrote: Have a look at php.ini in /usr/local/lib It looks like your prepend file is browser.php - just comment that line out. Those lines in the php.ini are blank

RE: [PHP] Image Processing in PHP

2001-04-24 Thread Joseph Bannon
I want a client to be able to upload a file to the web server via PHP. Then, I want that image to be processed, scaled, and made into thumbnails and full-size images. Is this possible with the image processing capabilities of PHP, or should I use something like Image Magick to do it

RE: [PHP] Image Processing in PHP

2001-04-24 Thread Joseph Bannon
Resizing (and resampling) an image: http://www.php.net/manual/en/function.imagecopyresized.php http://www.php.net/manual/en/function.imagecopyresampled.php Is there anything extra in need to install? J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP] This should be simple...

2001-04-20 Thread Joseph Koenig
I have a client who insists on being able to put quotes into one of the fields of the database. That's fine with me, however, when editing records, anything in the quotes won't show up on the admin page. Essentially what happens is this: INPUT TYPE ="text" blab blab VALUE = "Here's the text "in

Re: [PHP] This should be simple...

2001-04-20 Thread Joseph Koenig
Right on. That did it. I probably should have been RTFM'ed for that one :) I knew there was a simple solution. Joe Alexander Wagner wrote: Joseph Koenig wrote: INPUT TYPE ="text" blab blab VALUE = "Here's the text "in quotes"" Well, obviously there's a pro

Re: [PHP] array_push but with key, value pairs

2001-04-17 Thread Joseph Blythe
Dean Hall wrote Instead of 'array_push', do this: $input[$key] = $val; Hey thanks dean that did the trick, I was trying: $array[] = $key . "=" . $val which of course doesn't work hehe. Regards Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

Re: [PHP] HTTP_POST_VARS not and array when used in a function?

2001-04-17 Thread Joseph Blythe
scope in the PHP documentation. Thanks Rasmus, I should really be tarred and feathered eh :-) Joseph -- 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

[PHP] array_push but with key, value pairs

2001-04-16 Thread Joseph Blythe
excluding certain fields, like Submit or the X and Y values from a image button. Any ideas/suggestions are very welcomed, Regards Joseph, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contac

Re: [PHP] array_push but with key, value pairs

2001-04-16 Thread Joseph Blythe
ablility to use your own index values. I hope this is more clear. Regards Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] array_push but with key, value pairs

2001-04-16 Thread Joseph Blythe
2 = value2 keyname3 = value3 keyname4 = value4 Does anyone understand what I am on about? Regards, Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] search string

2001-04-15 Thread Joseph Bannon
What is the function to search a string? Basically, I want search a string (a url) to see if it has "www.yahoo.com" in it and if yes, tell the user their submission cannot be accepted. J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] validating form data via javaScript when stored in an array

2001-04-09 Thread Joseph Blythe
a little off topic in the way of javascript but I would not be having this trouble if I weren't passing the form data to php via an array :-) Regards, Joseph. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] validating form data via javaScript when stored in an array

2001-04-09 Thread Joseph Blythe
thod="post" action="whatever" onSubmit="return validateForm(this);" input type="text" name="input[name]" input type="text" name="input[address]" input type="submit" value="submit" /form --/snip-- How do I force all th

[PHP] last three characters of a string

2001-04-09 Thread Joseph Bannon
I need to examine the last 3 characters of a string. Is there code that does that? J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

RE: [PHP] submitting to a remote form

2001-04-08 Thread Joseph Bannon
Thanks for the info. Question: Is there a simple way to encode text? J -- 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

[PHP] running as a script

2001-04-07 Thread Joseph Bannon
How do you get PHP to run at a script, like at a telnet prompt? J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] submitting to a remote form

2001-04-07 Thread Joseph Bannon
I have a remote php script on a remote server that I need to submit information to. Does PHP have the ability for me to submit information remotely? J Say I'm Hot! - Post Your Picture! http://www.sayimhot.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] sockets (long)

2001-04-06 Thread Joseph Blythe
accept_connect() under the socket functions. I believe that the new socket functions non blocking mode is dead in the current version of php at least under linux. Regards, Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

[PHP] cookies that don't expire

2001-04-06 Thread Joseph Bannon
How do you set cookies that don't expire? J Say I'm Hot! - Post Your Picture! http://www.sayimhot.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

[PHP] PHP and geocities

2001-04-05 Thread Joseph Bannon
Sure you can, but the only way I know of is to use fsockopen() and use fputs() to mimick an HTTP connection session. Can you give me the coding for this? To fake geocities you'll need to set the referer, I believe. Not sure what it needs to be set to, however. What is the code for this

Re: [PHP] socket functions

2001-04-04 Thread Joseph Blythe
? (it returns an error) You have to use set_nonblocking() which doesn't seem to work. There is note that says it does not work with PHP4/Win32. I may need to check BugDB to find out status of this problem. I am running linux so this should not matter. Thanks for your reply, Regards Joseph

Re: [PHP] PHPSESSID sticks to every link after upgrate of Apache/PHP

2001-04-04 Thread Joseph Blythe
Maxim Maletsky wrote: Site uses sessions and, somehow, after this upgrade started carrying PHPSESSID through HREF. Sounds to me like php was compliled with the --enable-trans-sid option which does exactly that. Just a guess. Regards Joseph -- PHP General Mailing List (http

[PHP] sockets (long)

2001-04-04 Thread Joseph Blythe
not being set to nonblock mode? Can anyone verfiy this, give me a better way, or maybe just put me out of my misery :-) Regards, Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To cont

Re: [PHP] sockets (long)

2001-04-04 Thread Joseph Blythe
at the current time. Hopefully it will be fixed in 4.0.5, due out in a few days. It was probaly me as I posted a message about this a few days ago ;-) I really hope that it does get fixed in 4.0.5 Oh well as they say !@#$ happens, Thanks, Joseph -- PHP General Mailing List (http

Re: [PHP] socket functions

2001-04-03 Thread Joseph Blythe
Joseph Blythe wrote: hello, does anyone know if set_nonblock() works, what paramaters it takes and what it returns? there is only one mention of it in the manual under accept_connect, and I can not seem to set the socket to non block?? also has anybody successfully written

[PHP] UDDI

2001-04-03 Thread Joseph Blythe
Hey, Is anyone using php and UDDI together, if so I would appreciate some comments, insights, recommendations etc... I really don't feel like selling my soul to Microsoft yet :-) Regards, Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

RE: [PHP] is this syntax correct?

2001-04-02 Thread Joseph Bannon
What does global and session_register do? J Say I'm Hot! - Post Your Picture! http://www.sayimhot.com -- 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:

[PHP] geocities and php

2001-04-02 Thread Joseph Bannon
I notice that geocities does not allow you to reference images that are on their servers to your homepage on another server/host. Is there a way to make PHP send different host information to geocities' server? Thanks, J -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] changing image size

2001-04-02 Thread Joseph Bannon
Can PHP change the size of an image (gif or jpg)? J Say I'm Hot! - Post Your Picture! http://www.sayimhot.com -- 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,

[PHP] socket functions

2001-04-02 Thread Joseph Blythe
socket fuctions I can not get this to work eithier. any help would be appreciated, regards, joseph -- 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

[PHP] php jobs?

2001-04-01 Thread Joseph Bannon
What is a good place to find PHP jobs? J Say I'm Hot! - Post Your Picture! http://www.sayimhot.com -- 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] Easy HTML PHP question

2001-03-29 Thread Paulson, Joseph V. \Jay\
Yeah that would work if I knew how to do that? Any suggestions on how to go about doing that? Thanks, Jay -Original Message- From: Tim Ward [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001 1:59 AM To: 'Fabian Raygosa'; Paulson, Joseph V. "Jay"; [EMAIL PROTECTED] S

RE: [PHP] Easy HTML PHP question

2001-03-29 Thread Paulson, Joseph V. \Jay\
You are a God! :) It works great! Is there any chance I could get you to make some suggestions on some good javascript books or web sites? Jay -Original Message- From: Tim Ward [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001 9:28 AM To: Paulson, Joseph V. "Jay"

[PHP] Easy HTML PHP question

2001-03-28 Thread Paulson, Joseph V. \Jay\
Hello everyone- I have a pretty easy question that I can't seem to answer myself so I'm coming to you all. Below you'll see some html code for a form. Now what happens is that when I click on one of the images to submit the form (either on the update_event.gif image or the delete_event.gif

[PHP] browscap.ini

2001-03-27 Thread Joseph Blythe
) Any help always appreciated, Regards, Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] PHP Install Problem

2001-03-19 Thread Joseph Koenig
Hi, I'm trying to get php to install on a RH 6.2 system. Apache 1.3.12. All goes well with the configure, make, and make install, but my server (apache) won't start and I get this message: Syntax error on line 249 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/libphp4.so into

[PHP] Calling Java inside PHP

2001-03-07 Thread Paulson, Joseph V. \Jay\
Hello everyone- I was wondering if anyon has gotten PHP to call a Java class in a Unix enviroment? If so what are your settings in the php.ini file etc. Thanks for any help! Jay Paulson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [PHP] Text and formating

2001-03-07 Thread Paulson, Joseph V. \Jay\
or you could just call the nl2br() function to do the same thing... Jay Paulson Developer, Web Technologies Viatel, Inc. -Original Message- From: Hoover, Josh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 11:22 AM To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED] Subject: RE: [PHP]

[PHP] re:mod_dav and dreamweaver 4.0

2001-02-27 Thread Joseph H Blythe
bandwidth on this list. Cheers, Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Browser?

2001-02-26 Thread Paulson, Joseph V. \Jay\
Is there a way to tell what browser is being used by the client in php? Thanks, Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] About to update

2001-02-18 Thread Joseph H Blythe
. apc.communityconnect.com MK Thanks for your feedback, mysql3.23 is now a stable release that seems strange, I tried to install apc but I keep getting unresolved symbol errors, so apache fails to start. What version of php are you using? Regards, Joseph. -- PHP General Mailing List (http://www.php.net

Re: [PHP] deleting cart items on session expire

2001-02-15 Thread Joseph H Blythe
Thanks all, This gives me a good start, I think I will just get cron to do it at a certain time of day, the only problem is trying to tell which sessions have expired as the database is not going to know this. Regards Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] checking to see if value is a integer from a form text field

2001-02-15 Thread Joseph H Blythe
quantity is inputted. If there is no obvious soulution then I will use a piece of javascript to check the field onSubmit for illegal characters and alert the user I guess. Regards, Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

[PHP] About to update

2001-02-15 Thread Joseph H Blythe
this because of a bug in one of the mysql utils (mysqlimport) it dumps a core on exit in mysql-3.23.22, and thought I may as well update the whole lot and be done with it. Regards Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] deleting cart items on session expire

2001-02-14 Thread Joseph H Blythe
n the user closes thier browser window is this even possible? maybe using register_shutdown_function or something? Any ideas would be great! Thanks Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] Fast Template woes

2001-02-13 Thread Joseph H Blythe
the other pages which *are* working, no matter what I do this refuses to work, has anyone else run into a simular problem? Any help would be mutch appreciated, I am really stuck on this. Regards, Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] help with classes

2001-02-12 Thread Joseph H Blythe
} Thanks for your help! Regards, Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] help with classes

2001-02-12 Thread Joseph H Blythe
perl? shouldn't that be: function MyClass(){ $this-bar = $foo; } I tried this and it does not evaluate the variable. The only way I could get this to work was to create a function that I can pass the variable to as one of it paramaters (see previous post) I could be wrong? Regards Joseph

[PHP] PHP not sending email

2001-02-08 Thread Paulson, Joseph V. \Jay\
Hello everyone- I'm having a small problem with PHP not sending email anywhere using the mail() function. Here are my settings for sending mail in the php.ini file (PHP version 4.03pl1 - OS Solaris) [mail function] SMTP= localhost ;for win32 only

[PHP] ereg_replace all items in a array

2001-01-29 Thread Joseph H Blythe
of all possible case combinations then in my while loop replace each occurance found in $data with the highlighted replacment, sounds easy hmm If anyone has any ideas or can see what I am doing wrong so far, it would be mutch appreciated. Regards, Joseph -- PHP General Mailing List (http://

[PHP] How to escape '$' in scripts?

2001-01-22 Thread Joseph Stein
I have a dilemma. I have recently started using CVS to maintain my website, and am using some CVS tags ($Id$, etc) and they show up as follows: !-- Author: : joes $ Revision date: : 2001/01/10 21:10:10 $ ID: : index.php,v 1.3 2001/01/10 21:10:10 joes Exp $ Log Entry: : index.php,v $ --

[PHP] PHP conventions or classes

2001-01-22 Thread Paulson, Joseph V. \Jay\
Hello everyone-- Does anyone know where I can find information about training classes for php or conventions that are taking place? I'd like to know so I can start attending these functions. Thanks, Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: [PHP] PHP conventions or classes

2001-01-22 Thread Paulson, Joseph V. \Jay\
:37 AM To: Paulson, Joseph V. "Jay" Cc: [EMAIL PROTECTED] Subject: Re: [PHP] PHP conventions or classes Does anyone know where I can find information about training classes for php or conventions that are taking place? I'd like to know so I can start attending these functions. W

[PHP] Easy MySQL question

2001-01-11 Thread Paulson, Joseph V. \Jay\
Hello everyone-- I've got a easy question that I can't seem to answer for myself. I'm running a query in MySQL and want to know how many entries are in a table and then echo that out onto a page. I thought this would be easy but I don't know why it's not working. Anyway, here's what I am

<    4   5   6   7   8   9