Re: [PHP] chill out

2003-04-03 Thread Mat Harris
On Thu, Apr 03, 2003 at 01:20:01 +0800, Jason Wong wrote: > On Thursday 03 April 2003 11:14, [EMAIL PROTECTED] wrote: > > > We subscribe to a few email lists on various languages. > > > > This list would have to be the worst for anyone learning > > - the amount of sarcasm and flaming that goes on

Re: [PHP] magic quotes

2003-04-03 Thread Leif K-Brooks
That's exactly what magic_quotes_runtime does. It adds slashes to data at runtime - including data returned from functions such as mysql_fetch_(assoc/row/array/object). Justin French wrote: Hi all, Can I just have a quick head check on magic quotes runtime (&gpc)? I have them both set to O

[PHP] space

2003-04-03 Thread Diksha Neel
hi all! in an html file thru a php script, i have to put in some data. i am using variable $string to write the data as under. what i want to know is how can i ensure that the value of $badd1 and $area get written on different lines. in other words, i want to know how to use '\n' here. thanks, dik

Re: [PHP] magic quotes

2003-04-03 Thread Chris Hewitt
Justin French wrote: Hi all, Can I just have a quick head check on magic quotes runtime (&gpc)? I have them both set to Off currently, and my pages work fine. However, when I set them to on, I end up with slashes throughout the mysql data. Is this the expected behaviour? Seems counter-intuitiv

Re: [PHP] space

2003-04-03 Thread Leif K-Brooks
The manual is your friend! :) www.php.net/nl2br Diksha Neel wrote: hi all! in an html file thru a php script, i have to put in some data. i am using variable $string to write the data as under. what i want to know is how can i ensure that the value of $badd1 and $area get written on different lin

Re: [PHP] magic quotes

2003-04-03 Thread Justin French
Hi Philip, Thanks for taking the time... $me = "confused"; ...but rather than attempting to get a grip on the past, I need a solution for the future :) So, 1. turn ON runtime and gpc 2. only addslashes() when inserting into the database IF get_magic_quotes_runtime() is 0 (false) 3. only str

[PHP] @getimagesize

2003-04-03 Thread Diana Castillo
even though I use a @getimagesize , I still get the following Warning when the image is not on the server. I need to somehow not have the warning come out when there is no image there. Warning: getimagesize(http://www.hotelresb2b.com/planos/PLHAHC019330.GIF) [function.getimagesize]: failed to

RE: [PHP] @getimagesize

2003-04-03 Thread Niklas Lampén
Check if file exists with file_exists(). Niklas -Original Message- From: Diana Castillo [mailto:[EMAIL PROTECTED] Sent: 3. huhtikuuta 2003 11:42 To: [EMAIL PROTECTED] Subject: [PHP] @getimagesize even though I use a @getimagesize , I still get the following Warning when the image is

RE: [PHP] Can php run as a script?

2003-04-03 Thread John Coggeshall
>Note that any errors will be chucked back to the terminal in HTML. Only if you are using the CGI version of PHP. The CLI version prints errors, etc without HTML. John -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~- John Coggeshall john at coggeshall dot org

[PHP] Apache SetHandler

2003-04-03 Thread Zoff
Hi Guys! ich have a question with apache and mod_perl I can write a Handler in perl which is called before anything else happens. this allows me to write all sorts of auth stuff. is there something similar in PHP. e.g.: in httpd.conf SetHandler MyFoo.php this would really help a lot ! Zoff.

Re: [PHP] Apache SetHandler

2003-04-03 Thread Jason Wong
On Thursday 03 April 2003 17:06, Zoff wrote: > ich have a question with apache and mod_perl I can write a Handler in perl > which is called before anything else happens. this allows me to write all > sorts of auth stuff. is there something similar in PHP. > > e.g.: > > in httpd.conf > > > SetHand

[PHP] sql: unable to save result set

2003-04-03 Thread Johannes Esteban Kalunka
Hi! since upgrading my mysql server from 3.23.xx to 4.0.12 the following error appears on all my php pages (that make use mysql, of course): php version used : 4.1.2   Warning: MySQL: Unable to save result set in ...   does anybody know why?   thanks in advance for any hints!   Johannes E Kalunka

[PHP] Re: *Umlauts/UTF-8

2003-04-03 Thread Alexey Lysenkov
Please, anybody? I'm really stuck with this. Please, help, if you know the solution. -Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ok, problem found, but that makes way for another...

2003-04-03 Thread Marek Kilimajer
The old installation is likely in /usr, and you installed in /usr/local. Simply remove the old installation (man rm ;-) and change httpd.conf to look for php in the new place Ryan Vennell wrote: ok, my last post stated that i've tried reconfigureing.making/makeinstalling php 4.3.1 a tons of ti

Re: [PHP] uploading entire directory, with or without compression ...

2003-04-03 Thread David T-G
Kenn -- ...and then Kenn Murrah said... % % i was afraid you were gonna say that, jason ... but i was hoping i had % overlooked something ... Yeah. I went the same route on the list a while back. Check the archives :-) % % anyway, thanks for your response ... i'm familiar enough with your i

Re: [PHP] @getimagesize

2003-04-03 Thread Diana Castillo
according to the documentation on php.net , This function will not work on remote files; the file to be examined must be accessible via the server's filesystem. so it wont work for http "Niklas lampén" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Check if file exists with file_e

Re: [PHP] uploading entire directory, with or without compression ...

2003-04-03 Thread Awlad Hussain
I found this link that has a stand alone java application that will allow to to upload a folder... if that what you want? or you want it to be embedded in your webpage? http://support.softartisans.com/docs/JFile/prog_g_recursive.htm hope you find it useful -awlad - Original Message - Fr

Re: [PHP] *Umlauts/UTF-8

2003-04-03 Thread Marek Kilimajer
Where do you get the ?'s and squares? In the browser? Did you specify encoding? Alexey Lysenkov wrote: Hello, I am having a problem with umlauts in utf-8 encoded txt file, which is being read by my script. Instead of umlauts I get ? or squares or anything else, but not those umlauts. What is

Re: [PHP] *Umlauts/UTF-8

2003-04-03 Thread Alexey Lysenkov
I have the junk showing up in my browser (Moz 1.3 / IE5.5 on Win2K) Strangely enough it happens only on one page - another page, containing even more text, shows all umlauts alright. I don't knwo where the problem is. :-/ Txt file self?... Alex Marek Kilimajer wrote: Where do you get the ?'s an

RE: [PHP] Re: *Umlauts/UTF-8

2003-04-03 Thread nospam
Hi Alexey I can't tell about Cyrillic, but for "Umlauts" : When you write the Text-Files, you can try to encode them an entities. I stole the following function somewhere : function encodemymail($txt) { for ($i = 0; $i < strlen($txt); $i++) { $ent .= "&#" . ord(substr($txt, $i, 1))

[PHP] Re: *Umlauts/UTF-8

2003-04-03 Thread Alexey Lysenkov
Sorry for disturbing. That was fault - the txt file was not properly encoded. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] tets

2003-04-03 Thread Craig
test -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MSSQL using Sybase FreeTDS

2003-04-03 Thread Craig
Hey all, Im hoping someone can shed some light on this for me: Im running PHP 4.31 on RH Advanced Server 2.1 I am connecting, to M$SQL Server 2000 using FreeTDS -- with Sybase support, and Im stumped on 1 thing: CODE:

Re: [PHP] MSSQL using Sybase FreeTDS

2003-04-03 Thread Jyry Kuukkanen
On Thu, 3 Apr 2003, Craig wrote: > Hey all, > > Im hoping someone can shed some light on this for me: > > Im running PHP 4.31 on RH Advanced Server 2.1 > > I am connecting, to M$SQL Server 2000 using FreeTDS -- with Sybase support, > and Im stumped on 1 thing: > > CODE: >

Re: [PHP] newbie2

2003-04-03 Thread Marek Kilimajer
You need to restart http server, php is loaded usually as module. For apache on unix: apachectl restart or /etc/init.d/httpd restart on windows close the apache console and start apache again Ilyas wrote: It is an online shop : oscommerce How can I restart Php? Any ideas??? Ilyas At 06:42 02.04.

[PHP] Re: Database Question

2003-04-03 Thread José Pereira
I Posted this and no one has helpedis this possible to get working or do I have to do it differently?? Thanks in advance "José Pereira" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > Hi all, > > I'm trying to grab information from two DBs one being a mamber db and the > oth

Re: [PHP] MSSQL using Sybase FreeTDS

2003-04-03 Thread Lowell Allen
> From: "Craig" <[EMAIL PROTECTED]> > > Im running PHP 4.31 on RH Advanced Server 2.1 > > I am connecting, to M$SQL Server 2000 using FreeTDS -- with Sybase support, > and Im stumped on 1 thing: > [snip] > > The above code works fine, except when one of the fields e.g client_name - > Has a quo

[PHP] Re PHP Message Board

2003-04-03 Thread blade xtreme
I am looking for a bbs script much like the one at this link: http://www.hardknox.com/discus/messages/board-topics.html Can anyone help please? Blade _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/

[PHP] RE: xml parse error?

2003-04-03 Thread SLanger
I might be mistaken but what you are getting is the normalized whitespaces inbetween your nodes, which is considered to be their content. Example: ... Will return the following dom: test | --- / | \ #text

Re: [PHP] Re: Database Question

2003-04-03 Thread Marek Kilimajer
What is the problem? You need to be more clear about it, especially you did not tell anything about the tables, how they are related and what they contain José Pereira wrote: I Posted this and no one has helpedis this possible to get working or do I have to do it differently?? Thanks in adv

[PHP] Ximian Mail on PHP

2003-04-03 Thread Chris Blake
Greetings learned PHP(eople), I want to create a PHP page that can pull all the messages from my PHP-list inbox, and display them on the local intranet. There are a few users who use PHP and I want to create a system where they simply log into the intranet, and view the messages with related answ

RE: [PHP] PHP Email Attachment problem

2003-04-03 Thread Steve Jackson
I also had a similar problem and it was simply because the directory holding the attachment didn't have permission to send the attachment, so check the permissions on the directory. Once I changed it it sends fine. Cheers, Steve Jackson Web Developer Viola Systems Ltd. http://www.violasystems.com [

[PHP] Stuck!

2003-04-03 Thread Andrew
Having spent hours on my members registration and login pages I am getting so close to cracking it, but have now hit a brick wall. I am getting a warning message which I think could stem from somewhere else in my code but I have no idea where. There is a little too much code to put here so is the

Re: [PHP] PHP Email Attachment problem

2003-04-03 Thread Chris Edwards
make sure your form tag has enctype="multipart/form-data" in it -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 [EMAIL PROTECTED] http://www.OuterBanksInternet.com - Original Message - From: "Steve Jackson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> S

RE: [PHP] @getimagesize

2003-04-03 Thread Niklas Lampén
Check the error reporting level on your server. I tried @getimagesize("http://www.hotelresb2b.com/planos/Pasdasda.gif";) and I got no error at all. One thing you could try is if fopen("http://file";, "r") success, but I don't know if it gives you this stream creating error as well. Remember to clos

Re: [PHP] MSSQL using Sybase FreeTDS

2003-04-03 Thread Michael Sims
On Thu, 3 Apr 2003 12:17:50 +0100, you wrote: >Has anyone experienced this, and if so know of a possible solution?? I have >used addslashes() etc but still no joy. In addition to what the other respondents have said, you can set the INI setting magic_quotes_sybase to 1, and this will change addsl

[PHP] Multiple odbc queries

2003-04-03 Thread Marco Laponder
Hi All, I have the problem. We have an application and we are using PHP. The startup page provides the user with a number of links. A link calls a php page where a call to the database is issued. The problem is with difficult queries, then it takes some time to process and the user is a little ima

[PHP] preg_match_all()

2003-04-03 Thread Thomas Johnsson
I am having problems with preg_match_all spanning over newlines. Using /m does not seem to ignore the the newlines. // This works // Both contents inside and are found $html = ' One cell Another '; // This does not // Only the contents inside the first and are found // The only difference is

Re: [PHP] preg_match_all()

2003-04-03 Thread Tom Rogers
Hi, Thursday, April 3, 2003, 11:33:02 PM, you wrote: TJ> I am having problems with preg_match_all spanning over newlines. TJ> Using /m does not seem to ignore the the newlines. TJ> // This works TJ> // Both contents inside and are found TJ> $html = ' TJ> One cell TJ> Another TJ> '; TJ> // This

RE: [PHP] preg_match_all()

2003-04-03 Thread Niklas Lampén
He needs both. /s makes dot to include new lines too, so you're right. Niklas -Original Message- From: Tom Rogers [mailto:[EMAIL PROTECTED] Sent: 3. huhtikuuta 2003 16:26 To: Thomas Johnsson Cc: [EMAIL PROTECTED] Subject: Re: [PHP] preg_match_all() Hi, Thursday, April 3, 2003, 11:33

RE: [PHP] chill out

2003-04-03 Thread Sysadmin
It's really funny that this happened because not more than one week ago I was discussing the professionalism of this list with one of my co-workers. I've been very happy with it, but I remember when I first joined it I asked a pretty dumb question and got slammed by a bunch of people because i

RE: [PHP] chill out

2003-04-03 Thread bbonkosk
Sorry to all who think this horse is sufficiently beat, but just to throw another couple of cents into the pot... I think this list is a product of its own behavior. Some people do get mad because of "dumb" or simple questions. We breed those questions though because instead of people explain

[PHP] Err:"Uninitialized string offset: 0" when doing count on multidim array

2003-04-03 Thread Timo Boettcher
Hi! I have an multidimensional array with contents like: $myarr["url"][]="http://www.example.com";; $myarr["img"][]="http://www.example.com/test.gif";; $myarr["text"][]="example.com"; I want to display all entries like: for ($i=0; $ihttp://www.gmx.net +++ Bitte lächeln! Fotogalerie online mi

[PHP] Redirect

2003-04-03 Thread shaun
Hi, How would one redirect a user to a different page if a certain condition was met? i.e. if($condition == true){ goTo newPage.php } Thanks for your help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Redirect

2003-04-03 Thread Lowell Allen
> From: "shaun" <[EMAIL PROTECTED]> > > How would one redirect a user to a different page if a certain condition was > met? > > i.e. > > if($condition == true){ > goTo newPage.php > } Redirects are done using the header() function. See the documentation at

Re: [PHP] chill out

2003-04-03 Thread Jason Wong
On Thursday 03 April 2003 08:43, [EMAIL PROTECTED] wrote: > I think this list is a product of its own behavior. Some people do get mad > because of "dumb" or simple questions. We breed those questions though > because instead of people explaining to the OP how to FIND the answers, we > just type

Re: [PHP] Redirect

2003-04-03 Thread Chris Hayes
At 15:55 3-4-2003, you wrote: Hi, How would one redirect a user to a different page if a certain condition was met? i.e. if($condition == true){ goTo newPage.php } if ($condition == true) { Header("Location: "http://www.sense.nl/index.php?module=ContentExpress&func=displ

Re: [PHP] Problem with PHP and MySQl after install

2003-04-03 Thread Don
Forgive my ignorance but I don't follow. I am not getting any compiling error messages or warnings. > > 2) Installed PHP 4.3.1 > > One of my config options was --with-mysql=shared,/usr > > I may be completely off base, but where did you intend the mysql > installation to go? Did it end up there?

Re: [PHP] Stuck!

2003-04-03 Thread Chris Hewitt
Andrew wrote: Having spent hours on my members registration and login pages I am getting so close to cracking it, but have now hit a brick wall. I am getting a warning message which I think could stem from somewhere else in my code but I have no idea where. There is a little too much code to put h

RE: [PHP] Redirect

2003-04-03 Thread Suretha Theron
if($condition == true){ Header ("Location: newpage.php"); exit; } -Original Message- From: Lowell Allen [mailto:[EMAIL PROTECTED] Sent: 03 April 2003 04:09 PM To: PHP Subject: Re: [PHP] Redirect > From: "shaun" <[EMAIL PROTECTED]> > > How would one redirect a user to a d

RE: [PHP] chill out

2003-04-03 Thread Hunter, Jess
Well as a relative newbie with little to no programming experience here is my 2 cents worth. I have found that I myself have asked some of the "simple" questions, while some people respond with "RTFM" I have had the good fortune of having an understanding sole shoot me back a snippet of code with

Re: [PHP] chill out

2003-04-03 Thread Miles Thompson
I mostly lurk -- my level of participation depends on what I'm working on. I do have these observations: 1. Far too many people don't try to help themselves first, i.e., by doing some creative searching /reading of (primarily) the manual. 2. A serious question usually gets prompt and helpful re

Re: [PHP] Submit Image Button

2003-04-03 Thread -{ Rene Brehmer }-
On Wed, 2 Apr 2003 21:41:02 -0500, John Coggeshall wrote about "RE: [PHP] Submit Image Button" what the universal translator turned into this: >Well you can ignore it if you don't need the X/Y cord... But you can use >it to make sure the button was clicked: > >If(!$_GET['sub_x'] || !_GET['sub_y'])

[PHP] Imagerotate() Problems

2003-04-03 Thread Mike Brum
I'm having some problems with imagerotate() - e.g. it won't work. I've tried many different ways to get it to work, but I have yet to see it do anything at all. I'm using PHP 4.3.1 on XP. I know that GD is working properly because I can do other image-manipulation with it without error. Plus, I in

Re: [PHP] PHP Email Attachment problem

2003-04-03 Thread Michael Arena
I just checked the directory that I specified for temporary uploads (/tmpuploads) and there is nothing there which leads me to believe the file isn't getting uploaded. Does the PHP code look ok? I suspect there's something in there that's not right. I could email you a copy of my PHP.ini file if yo

Re: [PHP] Apache SetHandler

2003-04-03 Thread Zoff
Jason Wong wrote: On Thursday 03 April 2003 17:06, Zoff wrote: ich have a question with apache and mod_perl I can write a Handler in perl which is called before anything else happens. this allows me to write all sorts of auth stuff. is there something similar in PHP. e.g.: in httpd.conf SetHan

Re: [PHP] chill out

2003-04-03 Thread Miles Thompson
Jason ... A fellow proofreader!! Well done! Miles > We all know your smarter than the rest of us ;-) I hope you don't think I'm making you stupid, but I think you mean "you're". -- Jason Wong -> Gremlins Associates -> www.gremlins.biz -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] Problem with PHP and MySQl after install

2003-04-03 Thread Don
Further to this point, I've just read that RedHat installed PHP RPM's do not come with MySQL support. Now I've d/l the latest stable version form php.net, version 4.3.1 but I still cannot get MySQL support after compiling and installing. So..., how does one remove every trace of a PHP install; I

Re: [PHP] Problem with PHP and MySQl after install

2003-04-03 Thread Ernest E Vogelsinger
At 16:58 03.04.2003, Don spoke out and said: [snip] >Further to this point, I've just read that RedHat installed PHP RPM's do not >come with MySQL support. Now I've d/l the latest stable version form >php.net, version 4.3.1 but I still cannot get MySQL suppo

Re: [PHP] Problem with PHP and MySQl after install

2003-04-03 Thread Don
The expected MySQL section is not even listed in the phpinfo() page. This would explain my "undefined function" errors when attempting MySQL functions. What I can't figure out is why MySQL is not being recognized by PHP. > At 16:58 03.04.2003, Don spoke out and said: > [snip

Re: [PHP] Problem with PHP and MySQl after install

2003-04-03 Thread Ernest E Vogelsinger
At 17:09 03.04.2003, Don spoke out and said: [snip] >The expected MySQL section is not even listed in the phpinfo() page. This >would explain my "undefined function" errors when attempting MySQL >functions. What I can't figure out is why MySQL is not being

RE: [PHP] Redirect

2003-04-03 Thread LeTortorec, Jean-Louis
To work around that "headers already sent" problem, I use: if ($condition == true) { echo "location.href=('http://...');"; } That works great all the time (unless the javascript has been disabled at the browser side, but usually it's enabled). Jean-Louis At 15:55 3-4-2003, you wrote: >Hi, >

Re: [PHP] chill out

2003-04-03 Thread Chris Hewitt
I lurk more than contribute. I'd contribute more (within the limitations of my knowledge) with more time. Being a fairly high volume list, I understand the frustration of considerably OT posts. I feel the list is not particularly suited to those both new to PHP and to programming. Other resourc

Re: [PHP] chill out

2003-04-03 Thread David T-G
Miles -- ...and then Miles Thompson said... % % Jason ... % % A fellow proofreader!! Well done! Oh, there are lots of us out here, but I for one hesitated to jump into the discussion just for that :-) HAND :-D -- David T-G * There is too much animal courage in (play) [

[PHP] Self-filling login form

2003-04-03 Thread Alberto Brea
A question please: I have a login form on (PHP 4.3.1 and Apache 1.3.27). When I click inside the ID box, you can glimpse at some of the user IDs inside it for a fraction of a second (similar to a drop-down menu), which shows an unauthorized visitor some of the id values. Worst of all, when you ente

Re: [PHP] Problem with PHP and MySQl after install

2003-04-03 Thread Don
Hmmm...well the php libraries indicate that it is PHP 4 which is what I had originally (upgraded from 4.1.x to 4.3.1). I did use the "i386-redhat'linux" configuration option. I am using the "--with-mysql=shared/usr" option. Following your point below, I did a search on all instances of 'mysql' a

Re: [PHP] uploading entire directory, with or without compression ...

2003-04-03 Thread David T-G
Awlad, et al -- ...and then Awlad Hussain said... % % I found this link that has a stand alone java application that will allow to % to upload a folder... if that what you want? or you want it to be embedded % in your webpage? I don't really know what I want other than the functionality. What I

Re: [PHP] Self-filling login form

2003-04-03 Thread David T-G
Alberto -- ...and then Alberto Brea said... % % A question please: % I have a login form on (PHP 4.3.1 and Apache 1.3.27). When I click inside ... % Does anybody know why this happens? Something in the php.ini or httpd.conf % files perhaps? Almost certainly not without seeing some code. % Than

Re: [PHP] Self-filling login form

2003-04-03 Thread CPT John W. Holmes
> A question please: > I have a login form on (PHP 4.3.1 and Apache 1.3.27). When I click inside > the ID box, you can glimpse at some of the user IDs inside it for a fraction > of a second (similar to a drop-down menu), which shows an unauthorized > visitor some of the id values. > Worst of all, w

RE: [PHP] Self-filling login form

2003-04-03 Thread LeTortorec, Jean-Louis
A few days ago, I found a way to stop the autocomplete feature. It's more html coding that php actually. Try Jean-Louis Jean-Louis -Original Message- From: Alberto Brea [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 10:33 AM To: [EMAIL PROTECTED] Subject: [PHP] Self-fi

Re: [PHP] Submit Image Button

2003-04-03 Thread Thomas
It works either way apparently...plus, I need the $POST not $_GET. but it works aswell. "-{ Rene Brehmer }-" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wed, 2 Apr 2003 21:41:02 -0500, John Coggeshall wrote about "RE: [PHP] > Submit Image Button" what the universal translato

[PHP] chill out

2003-04-03 Thread Alberto Brea
May I grab this opportunity to thank you for the load I've learnt on the list. A little row every now and then is colorful and makes work less boring. It also keeps you company if you are working alone. Keep up any rude behavior, it's fun to watch. The technical level is excellent and many contribu

[PHP] Select all that contains in MySql

2003-04-03 Thread Mike Tuller
I have built a search function that searches a table for all items that match what you enter into the search field. I would like it to return all items that contain a certain string rather that matches. For example, I want to have it so that if I enter M in the search field, it will return all

Re: [PHP] Select all that contains in MySql

2003-04-03 Thread Adam Voigt
Try: $query = "SELECT * FROM software_assets WHERE $searchType LIKE '$search%' "; Note the percent sign, this is equivalent to a wildcard (* for instance). On Thu, 2003-04-03 at 10:53, Mike Tuller wrote: > I have built a search function that searches a table for all items that > match what you

RE: [PHP] Submit Image Button

2003-04-03 Thread Ford, Mike [LSS]
> -Original Message- > From: -{ Rene Brehmer }- [mailto:[EMAIL PROTECTED] > Sent: 03 April 2003 15:28 > > On Wed, 2 Apr 2003 21:41:02 -0500, John Coggeshall wrote > about "RE: [PHP] > Submit Image Button" what the universal translator turned into this: > > >Well you can ignore it if you

RE: [PHP] php 3 to 4.3

2003-04-03 Thread daniel
hey thats harsh , use $_POST['form_name'] , i am currently having to work with php3 even though i code for php4+ usually i hate 3 with a passion so limited. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] php 3 to 4.3

2003-04-03 Thread daniel
if u need it to work for both versions use $HTTP_POST_VARS instead -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Submit Image Button

2003-04-03 Thread Maciek Ruckgaber Bielecki
have a look on tag in w3c.org mate On Wed, Apr 02, 2003 at 09:27:01PM -0500, Thomas wrote: > I have a problem with my php. > > I have a form and in that form there is an image submit button. When I > click on it, it won't tell me if the submit button is clicked. > It works fine with a normal on

[PHP] RE: [newbie] embed php in html file

2003-04-03 Thread Bobby Rahman
Hiya I need advice for an optimum solution to display the username that is logged in on every html form page of my application. I have a header.php : session_start(); echo "Logged in as: ".$_SESSION['curr_user'].""; ?> Now I have many html forms which user's see What I want to know is how t

Re: [PHP] Self-filling login form

2003-04-03 Thread Henrik Hudson
On Thursday 03 April 2003 09:33, Alberto Brea wrote: > A question please: > I have a login form on (PHP 4.3.1 and Apache 1.3.27). When I click inside > the ID box, you can glimpse at some of the user IDs inside it for a > fraction of a second (similar to a drop-down menu), which shows an > unauthor

Re: [PHP] Apache SetHandler

2003-04-03 Thread Jason Wong
On Thursday 03 April 2003 22:38, Zoff wrote: > that's not what I want. > I want something where all the POST and GET data gets passed thru > transparently. and where I can serve static and dynamic pages as well. > mod_perl can do this. In that case I really have no idea what you want. Could you g

RE: [PHP] RE: [newbie] embed php in html file

2003-04-03 Thread Matt Schroebel
> -Original Message- > From: Bobby Rahman [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 11:25 AM > To: [EMAIL PROTECTED] > Subject: [PHP] RE: [newbie] embed php in html file > > I have a header.php : > session_start(); > echo " color=\"red\"size=\"3\">Logged in as: > ".$_SE

Re: [PHP] Apache SetHandler

2003-04-03 Thread Erwin Kerk
Zoff wrote: Hi Guys! ich have a question with apache and mod_perl I can write a Handler in perl which is called before anything else happens. this allows me to write all sorts of auth stuff. is there something similar in PHP. There is a topic in the php manual which describes something similar

Re: [PHP] PHP Email Attachment problem

2003-04-03 Thread Jason Wong
On Thursday 03 April 2003 22:30, Michael Arena wrote: > I just checked the directory that I specified for temporary uploads > (/tmpuploads) and there is nothing there which leads me to believe the file > isn't getting uploaded. I'm not sure *how* you're checking that there's nothing there but pl

Re: [PHP] Problem with PHP and MySQl after install

2003-04-03 Thread Jason Wong
On Thursday 03 April 2003 23:31, Don wrote: > Hmmm...well the php libraries indicate that it is PHP 4 which is what I had > originally (upgraded from 4.1.x to 4.3.1). I did use the > "i386-redhat'linux" configuration option. > > I am using the "--with-mysql=shared/usr" option. Following your poin

RE: [PHP] php 3 to 4.3

2003-04-03 Thread Philip Olson
On Wed, 2 Apr 2003, daniel wrote: > if u need it to work for both versions use $HTTP_POST_VARS instead Keep in mind that the deprecated PHP directive track_vars must be on for $HTTP_*_VARS type variables to exist in PHP versions prior to 4.0.3 Regards, Philip -- PHP General Mailing List (http

[PHP] circumventing SAFE MODE Restriction

2003-04-03 Thread Henry Grech-Cini
Hi All, I want to get a list of files in my own sub-directory from where my .php file is. If I use dir(".") then I can list the file in the current directory BUT If I use dir("./subdirectory") or dir("subdirectory") I get the following error: Warning: SAFE MODE Restriction in effect. The script

Re: [PHP] chill out

2003-04-03 Thread Steve Keller
At 4/3/2003 01:14 PM, [EMAIL PROTECTED] wrote: > We subscribe to a few email lists on various languages. Why do people assume that because they subscribe to a mailing list with their work address that the mailing list must hold to their company's standards? > This list would have to be the wor

RE: [PHP] excel 2 csv 2 mysql

2003-04-03 Thread jon roig
Pretty cool, man... I actually didn't know about xls2csv. Learn something new every day -- this'll certainly come in handy. 'Course, it's not exactly standard with most distributions. For anyone looking for it, you can download it here: http://www.45.free.net/~vitus/ice/catdoc/ Or, depending on

RE: [PHP] chill out

2003-04-03 Thread daniel
lol , hey boyz and galz lets be professional now, we cant show the windoze ppl we are such a loose bunch now can we ? heh :D >= Original Message From Kevin Waterson <[EMAIL PROTECTED]> = >This one time, at band camp, ><[EMAIL PROTECTED]> wrote: > >> We subscribe to a few email lists on va

RE: [PHP] uploading entire directory, with or without compression ...

2003-04-03 Thread Dan Rossi
i have looked into this , and the browser is only limited to single file uploads , but yes a a java applet is prob the best options, i am considering on learning java as it is similar to php OO or maybe the other way round, it looks familiar so maye i can get my hed around it :D, maye there is an o

Re: [PHP] chill out

2003-04-03 Thread bob parker
On Thu, 3 Apr 2003 16:39, daniel wrote: > lol , hey boyz and galz lets be professional now, we cant show the windoze > ppl we are such a loose bunch now can we ? heh :D > Actually a lot of these folk are using wonders sadly. Bob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP] imap mail() problems

2003-04-03 Thread Alec Wallis
Hi I am experiencing problems with the mail functions, in that I can not send emails to multiple addresses in the to field, or send Cc's. The multiple addresses show up in the email when it arrives to the first email address, but the other copies never arrive. The code I use is: mail($strTo,

[PHP] datetime

2003-04-03 Thread Tim Haskins
How does one retrieve the date and time off a server in the following format? 2003-04-03 11:11:38 I've read much on date and time regarding php and mysql but could not figure out the above format...please help -- Tim Haskins -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Creating Session Variables

2003-04-03 Thread Tom Rawson
Hmmm, this doesn't seem clear in the docs ... Consider this: function foo() { $_SESSION['varname'] = "test"; . } At this point: - Can I reference $varname inside the function? If so, must it be declared global first? Or can I only reference

[PHP] PHP with PDFlib installation on windows

2003-04-03 Thread Bill Hudspeth
Hello, I am having problems getting the PDF extension to work with PHP on Windows. I am running PHP 4.2.3 on Windows NT 4.0 using IIS as my internet server. I have enabled the PDF extension in the php.ini file, with no apparent success. When I try to load the page, I get an empty screen (i.e., n

RE: [PHP] datetime

2003-04-03 Thread Matt Schroebel
> -Original Message- > From: Tim Haskins [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 03, 2003 2:45 PM > To: [EMAIL PROTECTED] > Subject: [PHP] datetime > > > How does one retrieve the date and time off a server in the following > format? > > 2003-04-03 11:11:38 Plenty of example

[PHP] Problem connecting to POP3 accounts

2003-04-03 Thread Alec Wallis
Hi I am currently experiencing some problems connecting to POP3 accounts using imap_open. I am using the following code: $ArrayImap = imap_open ($strMailServer, $strUsername, $strPassword); with the mail server being set to: $strMailServer = "{domain.co.uk/pop3:110}INBOX"; It seems to connect

RE: [PHP] Problem connecting to POP3 accounts

2003-04-03 Thread Danny Shepherd
Try: $strMailServer = "{domain.co.uk:110/pop3}INBOX"; As per the manual. HTH Danny. -Original Message- From: Alec Wallis [mailto:[EMAIL PROTECTED] Sent: 03 April 2003 18:35 To: [EMAIL PROTECTED] Hi I am currently experiencing some problems connecting to POP3 accounts using imap_open

Re: [PHP] Creating Session Variables

2003-04-03 Thread Jason Wong
On Friday 04 April 2003 03:47, Tom Rawson wrote: > Hmmm, this doesn't seem clear in the docs ... > > Consider this: > > function foo() { > $_SESSION['varname'] = "test"; > . > } > > At this point: > > - Can I reference $varname inside the function? If so

  1   2   >