Re: [PHP] * populate menu from directory *

2004-02-16 Thread David T-G
e. 3) If the file paths are stored in a database, just connect to the DB and pull the list and then loop through it just as in #2. % % % d HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient

[PHP] IE6 with latest hotfixes breaks forms ...

2004-03-01 Thread Marc G. Fournier
#x27;re using sessions to pass the data around, and it seems to work with every other browser we've used, including IE6 previous to the latest hotfixes ... but, could it be something that *we* aren't doing right, or is there a known bug with sessions + IE6? Some sort of work around?

Re: [PHP] IE6 with latest hotfixes breaks forms ...

2004-03-01 Thread Marc G. Fournier
On Mon, 1 Mar 2004, Chris Shiflett wrote: > --- "Marc G. Fournier" <[EMAIL PROTECTED]> wrote: > > We're having a weird problem with some of our PHP forms, where, when a > > client uses IE6 with the latest hotfixes, they are reporting that have > > to r

RE: [PHP] IE6 with latest hotfixes breaks forms ...

2004-03-01 Thread Marc G. Fournier
x27;t being passed down > > properly to the FORM/ACTION ... > > > > We're using sessions to pass the data around, and it seems to > > work with every other browser we've used, including IE6 > > previous to the latest hotfixes ... but, could it be > >

RE: [PHP] IE6 with latest hotfixes breaks forms ...

2004-03-02 Thread Marc G. Fournier
:( > > At 03:15 AM 3/2/04, Chris Shiflett wrote: > >--- "Marc G. Fournier" <[EMAIL PROTECTED]> wrote: > > > Chris, you said you could recreate it ... can you check Beau's solution > > > here to see if it solves the problem we are seeing? > &g

[PHP] catching URL#target params

2004-03-15 Thread David T-G
that includes that target. Is there a var that will work for me? TIA & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science an

Re: [PHP] catching URL#target params

2004-03-15 Thread David T-G
p -i 'foo|query' QUERY_STRING no value QUERY_STRING no value _SERVER["QUERY_STRING"] no value _ENV["QUERY_STRING"] no value Any other ideas? TIA & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROT

Re: [PHP] catching URL#target params

2004-03-15 Thread David T-G
ixed already :-/ Thanks & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ S

Re: [PHP] catching URL#target params

2004-03-15 Thread David T-G
3325 Hully gee; it sure looks like you're right. Well, anyone with old calls will just be screwed, then. On with work... Thanks again & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage.

[PHP] categorizing and array mapping

2004-03-15 Thread David T-G
s method will be just as painful as jumping to that then perhaps I should bite the bullet and do it now. Or maybe this ver doesn't get categories, just like the current sprawl of HTML doesn't have that blessing, either :-) Recommendations? Ideas? Caveats? TIA & HAND :-D -- Dav

Re: [PHP] Printing landscape

2004-03-15 Thread David T-G
printer to use landscape, but I not only wouldn't sully myself by going there :-) but don't have the slightest idea where to look anyway. There's always educating/training the user, but that can be the hardest task of all! ;-) % % Any help is appreciated. Good luck! HTH

Re: [PHP] catching URL#target params

2004-03-15 Thread David T-G
site.com/index.php&anchor=target That sounds good, I think. % % I did it and it works. Great! Now tell me more :-) % % % Sebastiano Thanks & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral

Re: [PHP] help with storing multiple values in session variables.

2004-03-15 Thread David T-G
ecode what you get in the script. I use it frequently. HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health"

Re: [PHP] catching URL#target params

2004-03-15 Thread David T-G
Chris, et al -- ...and then David T-G said... % % ...and then Chris Hayes said... % % ... % % maybe via a javascript detour? % % Can't do that since I'm trying to write code that can handle the old % style call from some page that hasn't been updated, which means that I % d

[PHP] how does array_multisort work?(!??)

2004-03-18 Thread David T-G
rray is constructed in the proper order or make an index of titles => keys so that I could sort that and then pull the key out to display the list. Bleah. Once again it would probably be easier to just lay out a DB schema! TIA & HAND :-D -- David T-G * There is too

[PHP] replacing chars in input

2004-03-23 Thread David T-G
$i = preg_replace("/[\s]/","_",$i) ; but trying to add other chars doesn't do a thing. I want to end up with A-Za-z0-9_- (letters, numbers, underscore and dash). If there isn't a handy character class waiting for me, what must I do to get tho

Re: [PHP] Re: replacing chars in input

2004-03-23 Thread David T-G
Justin, et al -- ...and then Justin Patrin said... % % David T-G wrote: % % >I would like to make things easier for my users and replace all of the % >garbage characters % > % > `'";:[EMAIL PROTECTED]&*()[]{}<>/?\|+= % > % >plus white space (\s) with un

Re: [PHP] Image Storage

2004-03-23 Thread David T-G
that camp :-) % % Thanks, % % Matt % http://sweetphp.com/ HTH & HAND :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health"

Re: [PHP] .doc file

2004-03-30 Thread David T-G
parse the results - clean up, of course to get your last line. The wv* utils do a quite acceptable job of converting DOC files into other formats, and definitely don't need a Windows server laying around. % % Thank you. % TR HTH & HAND :-D -- David T-G * There

[PHP] PHP Command Line Scripts 'Aborting' at end ...

2004-10-27 Thread Marc G. Fournier
No such file or directory. Segmentation fault (core dumped) mod_php4 appears to work fine, just the command line version seems to be off ... and its running, producing expected output, its just that last 'Abort' that tends to screw things up a bit ... Not sure how to debug ... h

Re: [PHP] PHP Command Line Scripts 'Aborting' at end ...

2004-10-27 Thread Marc G. Fournier
I just did a reinstall from ports, and it works now as well ... maybe a stale library for one of hte modules :( thanks ... On Wed, 27 Oct 2004, Greg Donald wrote: On Wed, 27 Oct 2004 13:44:54 -0300 (ADT), Marc G. Fournier <[EMAIL PROTECTED]> wrote: I have a really simple PHP script that

[PHP] Apache 1.3 'lag' with PHP ...

2004-11-03 Thread Marc G. Fournier
to arise ... Is there something else that I should be looking at to optimize things? Or to track down the slowdown? Thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 -- PHP

[PHP] 4.3.9 slower then 4.3.8 ... ?

2004-11-03 Thread Marc G. Fournier
rver, no improvement ... the only thing I haven't tried yet is downgrading back to 4.3.8, which I'm going to try next ... But, if anyone has any ideas ... ? Something that I can look at, or use to debug? Marc G. Fournier Hub.Org Networking Services (http://www.hu

Re: [PHP] 4.3.9 slower then 4.3.8 ... ?

2004-11-05 Thread Marc G. Fournier
yOn Wed, 3 Nov 2004, James Kaufman wrote: On Wed, Nov 03, 2004 at 08:43:52PM -0400, Marc G. Fournier wrote: I'm not sure how to debug this further ... on the 27th, I upgraded our server(s) to 4.3.9, and since then, the sites just aren't performing very well ... I've tried adding

Re: [PHP] Search problem

2005-05-23 Thread Kristen G. Thorson
Jim Moseby wrote: Hi, I need to build up a search module for a shop. If I make a basic search (product title for example) it is ok. $query = "SELECT product_id FROM products WHERE title LIKE '%$title%'"; But i need an advance search for more than one field (title, description, price, wei

Re: [PHP] foreach ($media as $key => $val) problem

2005-06-01 Thread Kristen G. Thorson
Jack Jackson wrote: Hi, all, This might look like a mysql problem but I assure you it's my botching the PHP which is the problem! I'm building a part of a page with info from three tables: art, media and media_art. Media_art is the intersection table. For every entry in art there can be one

Re: [PHP] How to find random records in a subset?

2005-06-03 Thread Kristen G. Thorson
Try using a temporary table. It should be pretty fast. You'd do something like 1. Select from table1 according to search criteria 2. Insert data from #1 into temp_table1 3. Random selection from temp_table1 kgt Brian Dunning wrote: I am using a routine to find 50 random records in a l

Re: [PHP] Of .txt to .zip

2005-06-08 Thread Kristen G. Thorson
That's much clearer than your original question was. Try www.phpclasses.org Good luck. Denyl Meneses Guillén wrote: I do not want to open a ZIP , I want create a ZIP fron TXT . - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Denyl Meneses Guillén" <[EMAIL PR

Re: [PHP] Beautiful HTML Invoice -> Prints like crap! I need somesuggestions!

2005-06-09 Thread Kristen G. Thorson
Most web browsers I know of don't print anything specified as background by default. I imagine that functionality extends to CSS-defined background colors and images. I doubt there's a way to change that preference other than setting it manually. If changing the print settings on your machin

Re: [PHP] Checkboxes From Intersection Redux

2005-06-15 Thread Kristen G. Thorson
Hopefully I understand your question correctly. You have this SQL: $media_query = 'SELECT media_id,media_name FROM media GROUP BY media_name'; And "For every media_id which is associated with $cartoon in the table media_art, check the box; for all others leave them unchecked." The problem i

Re: [PHP] php/osx and firebird

2005-06-15 Thread Kristen G. Thorson
"Undefined service gds_db/tcp." Sounds to me like it's not finding the port in services. I don't know what default port Firebird is listening on, but you should have an entry like gds_db/tcp 1234/tcp in c:\windows\system32\drivers\etc\services. You'll have to find out exactly whic

Re: [PHP] Apache fails to start (oracle path problem?)

2005-06-15 Thread Kristen G. Thorson
I ran into a similar problem trying to get ODBC working with a Progress database. I managed to solve it by setting the environment variables in the httpd startup script. Not much help, I know, but a suggestion. ;) good luck kgt Shane Presley wrote: Hello, I'm having trouble compiling a

Re: [PHP] Showing tables (converting from MySQL to Oracle)

2005-06-23 Thread Kristen G. Thorson
This is really a question for an Oracle list, but I happen to know of the following page which has been helpful to me in the past: https://gdsg.ngdc.noaa.gov/tiki/tiki-index.php?page=SqlNotes kgt Shane Presley wrote: Hello, I've recompiled PHP to use Oracle, and been able to run a quick

Re: [PHP] Removing nonlatin characters

2005-06-27 Thread Kristen G. Thorson
Have you seen: http://us2.php.net/manual/en/function.recode-string.php kgt Dotan Cohen wrote: I thought that this was another old STFA but marc and google are quiet. I as parsing a bunch of submitted works and some of them have non-latin characters. I know that I once saw in the user-subm

Re: [PHP] Weird Image Problem

2005-06-30 Thread Kristen G. Thorson
Richard Lynch wrote: On Wed, June 29, 2005 3:30 pm, Shane Little said: I'm bin2hex'ing images from an upload script and inserting into a mysql blob field. The php script that re-packs the hex data back to binary, does the createimagefromstring() and streams the image to the browser is gen

Re: [PHP] date() problem

2005-07-06 Thread Kristen G. Thorson
Ryan A wrote: Hi, I'm confused, this should give me the age as 17 instead of 16...but it does not...any ideas why? Thanks, Ryan Subtracting the timestamps gives you 536457600 seconds, which is correct, but ( $dif_s / 60 / 60 / 24 ) gives you the actual number of days between these t

Re: [PHP] date() problem

2005-07-07 Thread Kristen G. Thorson
Philip Hallstrom wrote: of leap years between the two dates. Leap years occur every 4 years, and 17 / 4 = 4.25, so there were 4 leap years between 7/6/88 and 7/6/05 and Just to nitpick... :-) http://en.wikipedia.org/wiki/Leap_year The Gregorian calendar adds an extra day to February, maki

Re: [PHP] 404 error - DLL files needed ??

2005-07-14 Thread Kristen G. Thorson
In the extension manager for the site/directory where this is not working, make sure the check box "Verify file exists" is not checked. I think I ran into a similar problem with a different extension and had the same issue. kgt Grosz, Steve (IPG IT) wrote: Tjoekbezoer, I can tell you

Re: [PHP] cannot connect to MySQL server and not sure why

2005-07-14 Thread Kristen G. Thorson
MySQL authentication is user+host+password. Make sure user brucer_webmaster has host 69.90.88.155. kgt Bruce Gilbert wrote: I am having trouble connecting to MySQL server through a PHP script and I am not sure why. the error I receive is: Warning: mysql_pconnect(): Access denied for us

[PHP] "Only variable references should be returned by reference"

2005-07-19 Thread Marc G. Fournier
s while working on the application issues themselves? :( Thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] "Only variable references should be returned by reference"

2005-07-19 Thread Marc G. Fournier
yOn Wed, 20 Jul 2005, Jason Wong wrote: On Tuesday 19 July 2005 23:17, Marc G. Fournier wrote: Just upgraded to 4.4.0 ... several "legacy applications" that we have installed now break with the above error message ... specifically, older installs of Horde, but I've seen report

Re: [PHP] "Only variable references should be returned by reference"

2005-07-19 Thread Marc G. Fournier
On Wed, 20 Jul 2005, Jason Wong wrote: On Wednesday 20 July 2005 07:32, Marc G. Fournier wrote: Which is? If its: Yep. ; at function call time. This method is deprecated and is likely to be ; unsupported in future versions of PHP/Zend. The encouraged method of ; specifying which

[PHP] pspell.so causes server to crash ...

2005-07-20 Thread Marc G. Fournier
library itself? Thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] gethostbyname() time issues

2005-07-28 Thread Kristen G. Thorson
The following script: http://www.imakenews.com/progresspsdn/e_rss.aspx', 'http://rssnewsapps.ziffdavis.com/eweekdeveloper.xml', 'http://itpapers.zdnet.com/xml/RSS-239.xml', 'http://rssnewsapps.ziffdavis.com/eweeklinux.xml' ); foreach( $url_

Re: [PHP] gethostbyname() time issues

2005-07-28 Thread Kristen G. Thorson
Philip Hallstrom wrote: $diff = number_format(((substr($timeend,0,9)) + (substr($timeend,-10)) - (substr($timestart,0,9)) - (substr($timestart,-10))),4); This just looks wrong to me... at the very least shouldn't it be: (x + x) - (x + x) (x + y) - (w + z) = (x + y) + (-w - z) = x + y - w

Re: [PHP] PHP code in a MySQL record

2005-07-29 Thread Kristen G. Thorson
Is there a particular reason you need *PHP* in the database? If not, then use a placeholder system of some sort ( like #var# ) and str_replace(): while( $row=mysql_fetch_row($result) ) { echo str_replace( '#var#', $that_var, $row['entry'] ); } kgt Nathaniel Hall wrote: I am working

Re: [PHP] Dropdown Building Function

2005-07-29 Thread Kristen G. Thorson
I'm not 100% sure where you're saying you're stuck, but I think you're trying to do with one query what you will probably find is best to do with several. Hopefully the following will help some: //first get all the questions $sql = "select * from questions"; $result = mysql_query( $sql ); //

Re: [PHP] error checking woes

2005-08-01 Thread Kristen G. Thorson
Jack, Read below: Jack Jackson wrote: Hi, Now that the drop down is working properly (thanks!!), I am trying to validate, and having LOTS of trouble. After being ceaselessly derided last night on an irc channel for my dimwitedness, I am still not any closer. The code which works is this

Re: [PHP] Error Suppression with '@'

2005-08-02 Thread Kristen G. Thorson
Example: I was working on a HORRIBLE piece of code for a cart app. The original programmer had a line like this: $result = mysql_query( "SELECT * FROM user_logins WHERE cookie='".$cookie."'" ); Where $cookie is a session id stored in a cookie (what else? ;). The problem was, he had some

Re: [PHP] Re: Everything works...Unless they hit the "back" button...

2005-08-03 Thread Kristen G. Thorson
The code below isn't much help to debug. Do some checking to figure out how far into your IF statement you're getting. Is the query running? Is it the query you expect? (Step #1 when inserting or creating dynamic queries that aren't working: print them out to make sure they are what you thi

Re: [PHP] Calculation error - PHP not following math hierarchi ???

2005-08-03 Thread Kristen G. Thorson
See http://us3.php.net/manual/en/language.operators.php http://us3.php.net/manual/en/language.operators.bitwise.php You want this: function calc_distance($curX,$curY,$newX,$newY) { // calculate distance to new location $distX = abs($curX - $newX); $distY = abs($curY - $newY); if ($distX <

Re: [PHP] Job for SQL or PHP?

2005-08-03 Thread Kristen G. Thorson
Try INSERT INTO Orders (SELECT '678',Cust_ID,Item_No,No_ordered FROM Last_Order WHERE Cust_ID = '678') kgt -k. wrote: Just for the sake of example let's say i keep track of all of a customers previous orders in a table like this: Last_Order -- Cust_ID Item_No No_ordered When a c

Re: [PHP] Re: Everything works...Unless they hit the "back" button...

2005-08-03 Thread Kristen G. Thorson
7;s all coming from the same page - index.php!! What am I missing. . . ? Jack Jackson wrote: Hi Kristen, there's a misunderstanding: Kristen G. Thorson wrote: The code below isn't much help to debug. Do some checking to figure out how far into your IF statement you're getting.

Re: [PHP] Is gethostbyaddr() slow?

2005-08-04 Thread Kristen G. Thorson
I can say from personal experience that gethostbyaddr() and gethostbyname() can seem almost randomly slow, depending on machine, OS, software, who knows. I'm not smart enough to figure out the reason why it can vary so much on machines with nearly the same configuration, but I can tell you tha

Re: [PHP] Re: Is gethostbyaddr() slow?

2005-08-04 Thread Kristen G. Thorson
kalinga wrote: if you are quering a external host, the bad network conditions may cause delay in results. if your server is connected to a heavily loaded hub/ cheap switch, or the target hosts DNS servers are poorly configured/ slow in responce it adds further delay to your result. try dig/ n

Re: [PHP] Re: Everything works...Unless they hit the "back" button...

2005-08-05 Thread Kristen G. Thorson
Jack Jackson wrote: Kristen G. Thorson wrote: You said "If the user makes changes, those changes get error checked but do not become part of the sql query." Where in your code is it failing to become part of the query? Put a check at each level and see where *exactly* it fails t

Re: [PHP] Re: Is gethostbyaddr() slow?

2005-08-05 Thread Kristen G. Thorson
kalinga wrote: On 8/4/05, Kristen G. Thorson <[EMAIL PROTECTED]> wrote: kalinga wrote: if you are quering a external host, the bad network conditions may cause delay in results. if your server is connected to a heavily loaded hub/ cheap switch, or the target hosts DNS serve

Re: [PHP] How to suppress HTTP headers?

2005-08-16 Thread Kristen G. Thorson
Or use sockets... http://us3.php.net/manual/en/function.fsockopen.php Just don't send any HTTP headers. kgt [EMAIL PROTECTED] wrote: BTW: I made a mistake last time. Apparently with CLI there are headers. You can use "php -q" to suppress headers when using PHP via CLI. Odd. Not sure I

Re: [PHP] Automatically generated emails

2005-08-29 Thread Kristen G. Thorson
LOL. They could have opened up their browser window and performed the following: http://www.google.com/search?hl=en&q=php+send+email+after+form+submit&btnG=Google+Search But I think they were trying to suggest that you 1. do the same, or 2. ask a more specific question. kgt Ravi Gogna wr

Re: [PHP] User redirection, passing HTTP AUTH credentials

2005-08-30 Thread Kristen G. Thorson
Dan Trainor wrote: Hello once more, all - I was wondering if it's at all possible to redirect a user to a remote site, while passing HTTP AUTH credentials somehow. I've been tinkering around with making a secure login gateway, and the first server that they log in to would negotiate the login

Re: [PHP] mysql/php date functions..

2005-09-26 Thread Kristen G. Thorson
Read up on mysql date types and functions. You can convert a unix timestamp to a mysql date with the FROM_UNIXTIME() function. If you want to store as unix timestamp, store it in an int field. To use mysql date functions on it, use the FROM_UNIXTIME() function. If you want to store dates in

Re: [PHP] PROGRESS SQL_CUR_USE_ODBC

2005-10-04 Thread Kristen G. Thorson
cybermalandro cybermalandro wrote: I am connecting to a PROGRESS DB through the MERANT ODBC driver, When I have the 4th parameter SQL_CUR_USE_ODBC as shown, my queries return nothing but if I have the 4th parameter as lower case it returns my query results but with a PHP error complainning *Noti

Re: [PHP] PROGRESS SQL_CUR_USE_ODBC

2005-10-04 Thread Kristen G. Thorson
/05, *Kristen G. Thorson* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: cybermalandro cybermalandro wrote: >I am connecting to a PROGRESS DB through the MERANT ODBC driver, When I have >the 4th parameter SQL_CUR_USE_ODBC as shown, my queries return n

[PHP] Cookie problem

2005-11-18 Thread Kristen G. Thorson
I'm having problems with a customer who can't login to a wholesaler application. To ensure the problem was that the cookie was not being set, I sent him to this script: if( !isset( $_REQUEST['page'] ) ) { setcookie('VATtest','Cookie has been set.',time()+5, "/"); echo 'Test cookie.'; } e

[PHP] Cookie problem with IE

2005-11-21 Thread Kristen G. Thorson
Anyone have any suggestions? I'm still stuck. thanks, kgt Kristen G. Thorson wrote: I'm having problems with a customer who can't login to a wholesaler application. To ensure the problem was that the cookie was not being set, I sent him to this script: if( !isset(

Re: [PHP] Cookie problem with IE

2005-11-21 Thread Kristen G. Thorson
Jay Blanchard wrote: [snip] Anyone have any suggestions? I'm still stuck. [/snip] Can you send him another test where a basic cookie gets set and then checked? . Not sure what you mean. I sent him to this script: Test cookie.'; } else if( $_REQUEST['page'] == '1' ) { if( isset( $_COO

Re: [PHP] Cookie problem with IE

2005-11-21 Thread Kristen G. Thorson
Jay Blanchard wrote: [snip] Not sure what you mean. I sent him to this script: Test cookie.'; } else if( $_REQUEST['page'] == '1' ) { if( isset( $_COOKIE['VATtest'] ) ) { echo $_COOKIE['VATtest']; } else { echo 'Cookie NOT set.'; } } ?> Which is all I had in entirety. Is this not a "basi

Re: [PHP] Re: Cookie problem with IE

2005-11-22 Thread Kristen G. Thorson
n.g. wrote: save below as testcookie.php, request it from your browser twice, what do you get at 2nd time? On 11/22/05, Kristen G. Thorson <[EMAIL PROTECTED]> wrote: Anyone have any suggestions? I'm still stuck. thanks, kgt Kristen G. Thorson wrote: I'm havi

Re: [PHP] Cookie problem with IE

2005-11-22 Thread Kristen G. Thorson
Jay Blanchard wrote: But I sure would like to see the URL once he has clicked it. Have you tried changing to $_GET['page']? Again, all of this is just for gigglesbut there is likely to be a clue. On privacy policies in IE (can he try another browser?) what is his setting? I'm still

[PHP] preg_match_all for dummies

2005-11-23 Thread Kristen G. Thorson
I am a regex retard. I am trying to pull keywords out of this crazy bbcode-like file, but only for bbcode-like code NOT enclosed in HTML comments. I currently have managed to create this regex: '/(?)/U' Which matches [!keyword::crazy bbcode!] and not That's a step in the right directio

Re: [PHP] Regex to wrap tag around a tag

2005-12-02 Thread Kristen G. Thorson
Shaun wrote: Hi M, Thanks for your help, the code works fine except if there is a line break in the html, for example this works test But this doesnt test Any ideas? See the last user contributed note from *csaba at alum dot mit dot edu *at http://us3.php.net/manual/en/reference.p

Re: [PHP] script won't work on other server

2005-12-02 Thread Kristen G. Thorson
Peppy wrote: This info is for the server where the script does not work: Apache/1.3.33 (Unix) PHP/4.3.10 FreeBSD cliffb55.iserver.net 4.7-RELEASE-p28 FreeBSD 4.7-RELEASE-p28 #42: Tu i386 This info is for the server where the script works: Apache/2.0.40 (Red Hat Linux) PHP Version 4.3.2 Lin

Re: [PHP] Upgrading on RH ES3

2005-12-02 Thread Kristen G. Thorson
Jeff McKeon wrote: I've got a server with RedHat ES3 running. It has PHP 4.3.2 installed but for an application I want to install I need a min of 4.3.9. This server also runs apache2.0. I can't find RPMs for RH ES3 so I downloaded the source for PHP4.4.1 figuring I would just compile mysel

[PHP] set quota to disable ...

2005-12-08 Thread Marc G. Fournier
... and I can't pass it "none", since the function above only accepts an int value ... did doing: sq user.scrappy -1 used to work from cyradm, and get changed at some point to only accept 'none'? and the php interface just hasn't caught up yet ... ? t

[PHP] pear/Horde_Block can optionally use PHP extension "gettext" ...

2005-12-08 Thread Marc G. Fournier
about this :( gettext is installed ... php is php5 ... how do I get it to recognize, and therefore silence, these warnings ... ? :( Still searching, but if someone can point me to even the thread itself that is being eluded to, that would be great :( Thanks ... ---- Marc G. Fournier Hub.Org

[PHP] Can the URL be controlled for more user-friendly readability?

2005-12-23 Thread Dave M G
rformer data if someone typed the name directly into the URL. Obviously, I'm still a bit of a beginner with PHP. I may have approached this issue from the wrong starting point, so please let me know if I'm missing something fundamental. Thank you for any advice you may ha

Re: [PHP] Re: Can the URL be controlled for more user-friendly readability? [SOLVED]

2005-12-26 Thread Dave M G
more questions. I appreciate you taking the time to offer advice. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ODBC question

2005-12-28 Thread Kristen G. Thorson
Jeremy Schreckhise wrote: I have an Openlink Single Tier Driver on an XP pro machine with windows installed on drive f: because I have a dual boot with Red Hat. Database is Progress 8.3c on a SCO Unixware 7.1.4 Dell Server. I can connect to all progress databases and pull data utilizing a Sy

[PHP] Which is faster, a MySQL access, or a set of PHP variables?

2005-12-30 Thread Dave M G
eason why I've never seen it done this way. Opinions would be much appreciated. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Which is faster, a MySQL access, or a set of PHP variables?

2006-01-02 Thread Dave M G
st of variables from the database once a day with a cron job. I appreciate all the help people have given to let me understand the issue. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Graphically displayed number to confirm user is a human

2006-01-04 Thread Dave M G
distort it so it's only legible to humans, nor how to correlate the image with a number that a user inputs into a form field. Any advice would be much appreciated. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Graphically displayed number to confirm user is a human [SOLVED]

2006-01-04 Thread Dave M G
Thank you all for pointing me in the right direction. I was extremely unlikely to come across the term "CAPTCHA" by starting with the search terms I was using. I'm really glad I asked here. Your time taken to answer my query is much appreciated. -- Da

[PHP] imap_set_quota and php ...

2006-01-15 Thread Marc G. Fournier
this, where -1 does work? or is someone doing something else to get around this with php? Thanks ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 -- PHP General Mailing List (http://w

Re: [PHP] Site down?

2006-01-17 Thread Marc G. Fournier
looking at whois, it went through a few incarnations and is currently owned by Primus Telecom ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 -- PHP General Mailing List (http://w

Re: [PHP] PHP hosting with multiple domains?

2006-02-02 Thread Marc G. Fournier
mpter, the premier email notification software. Free download at http://www.ePrompter.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED

RE: [PHP] Limitation on PEAR : Spreadsheet_Excel_Writer

2006-02-10 Thread Kristen G. Thorson
-Original Message- From: Bagus Nugroho [mailto:[EMAIL PROTECTED] Sent: Thursday, February 09, 2006 5:48 PM To: php-general Subject: [PHP] Limitation on PEAR : Spreadsheet_Excel_Writer Hello Everyone, I'm succesfully generate report from mysql table using PEAR : Spreadsheet_Excel_Writer,

[PHP] Oracle buying out Zend ... how does that affect PHP?

2006-02-10 Thread Marc G. Fournier
y, which snared headlines last year when Netscape co-founder Marc Andreessen joined its board, has been trying to extend its success with the Web into business applications. Zend could sell for $200 million, according to one source." Marc G. Fournier Hub.Org Netwo

[PHP] phpinfo returns a permission error

2006-02-13 Thread Dave M G
ng at the file through a browser? By the way, I'm using PHP 4.4.0-3 on Ubuntu 5.10. Any advice or help would be much appreciated. Thank you. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] phpinfo returns a permission error

2006-02-14 Thread Dave M G
est here on my local machine, all of which use PHP extensively. In fact, exclusively. And they all execute and display PHP pages without any error. This phpinfo.php script is the first ever page that I've had any kind of issue with. -- Dave M G -- PHP General Mailing List (http://www.php.ne

Re: [PHP] URL / slash reduction

2002-06-10 Thread YLA G - X-power.be
@ http://www.X-power.be Gamecube @ http://www.cube-power.be - Original Message - From: "Martin Towell" <[EMAIL PROTECTED]> To: "'YLA G - X-power.be'" <[EMAIL PROTECTED]> Sent: Tuesday, June 11, 2002 2:42 AM Subject: RE: [PHP] URL / slash redu

Re: [PHP] URL / slash reduction

2002-06-10 Thread YLA G - X-power.be
t;YLA G - X-power.be" <[EMAIL PROTECTED]> To: "Martin Towell" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, June 11, 2002 2:49 AM Subject: Re: [PHP] URL / slash reduction > :) :) great help thx mate!!! > > > now can everyone create a a

[PHP] Re: [PHP-WIN] can I use Apache v 2 with PHP?

2005-08-03 Thread Leo G. Divinagracia III
Taksam wrote: Now, my question is: can I use Apache version 2 with PHP? And, even if I can use it in my development environment... is it safe to use Apache 2+PHP in a production environment? running apache 2 with php 4, not 5... -- Leo G. Divinagracia III [EMAIL PROTECTED] -- PHP

[PHP] RE: stupid error, please kick me (and send me a solution)

2002-06-03 Thread G r e g L a w r i e
It would also appear you are missing a closing ) at the end of the '$query=...' line. You have two opening backets and only one closing. Greg -Original Message- From: Bruce Lewis [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 4 June 2002 7:50 To: [EMAIL PROTECTED]; mysql; php-general Subject:

[PHP] PHP Web Hosting

2004-04-19 Thread Martin, Stanley G [Contractor for Sprint]
took them over last year. I can't contact them either. Does anyone know anything that may have happened here? I suspect I need to find another web hosting company before my site just goes away. Stanley G. Martin System Administrator Sprint - EAS Business Intelligence [EMAIL PROTECTED]

RE: [PHP] PHP Web Hosting

2004-04-19 Thread Martin, Stanley G [Contractor for Sprint]
I've received a number of suggestions as to where I should go to for my web hosting but it doesn't seem that anyone has any experience with Domehost. This brings up another question; transferring my Domain name. If I do move to another hosting site, can I take my domain name with me?

RE: [PHP] PHP Web Hosting

2004-04-20 Thread Martin, Stanley G [Contractor for Sprint]
's time to move on. Thanks for the link Justin. Stanley G. Martin System Administrator Sprint - EAS Business Intelligence [EMAIL PROTECTED] -Original Message- From: Justin Palmer [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 5:01 PM To: [EMAIL PROTECTED] Subject: RE

RE: [PHP] Regular Expression

2004-05-05 Thread Martin, Stanley G [Contractor for Sprint]
Here's a neat little tool I came across while taking an ASP.NET course at a local college for creating regular expressions. I've used it with my Perl/PHP scripting also. Regular Expression Designer http://www.radsoftware.com.au/web/Default.aspx Stanley G. Martin System Administra

[PHP] PHP 4.3.6

2004-05-20 Thread Martin, Stanley G [Contractor for Sprint]
s for building PHP and followed them, but that didn't help. Here is the configure line I used for PHP: ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs Now nothing works right. Stanley G. Martin System Administrator Sprint - EAS Business Intelligence 913.762.8667 913.221

RE: [PHP] PHP 4.3.6

2004-05-20 Thread Martin, Stanley G [Contractor for Sprint]
I'm getting a segmentation fault in the Apache error log whenever I access a page the doesn't finish. Stanley G. Martin System Administrator Sprint - EAS Business Intelligence [EMAIL PROTECTED] -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Thursday, Ma

RE: [PHP] PHP 4.3.6

2004-05-20 Thread Martin, Stanley G [Contractor for Sprint]
OK. Here it is [Thu May 20 11:52:41 2004] [notice] child pid 19615 exit signal Segmentation fault (11) Stanley G. Martin System Administrator Sprint - EAS Business Intelligence [EMAIL PROTECTED] -Original Message- From: raditha dissanayake [mailto:[EMAIL PROTECTED] Sent: Thursday

<    6   7   8   9   10   11   12   >